From 67fe8fb7f530c0afb5c8f1a7ab75b862be2d6b30 Mon Sep 17 00:00:00 2001 From: m-kovalsky Date: Thu, 30 Sep 2021 17:59:36 +0300 Subject: [PATCH] v1.1.3 --- ProcessingManager.cs | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/ProcessingManager.cs b/ProcessingManager.cs index 3127090..e017c68 100644 --- a/ProcessingManager.cs +++ b/ProcessingManager.cs @@ -22,6 +22,7 @@ int batchPrefixLen = batchPrefix.Length; var sb_ExportScript = new System.Text.StringBuilder(); string newline = Environment.NewLine; +string ebiURL = @"https://www.elegantbi.com"; // Start screen System.Windows.Forms.Form newForm = new System.Windows.Forms.Form(); @@ -31,6 +32,7 @@ System.Windows.Forms.ComboBox batchComboBox = new System.Windows.Forms.ComboBox(); System.Windows.Forms.Button goButton = new System.Windows.Forms.Button(); System.Windows.Forms.Label homeToolLabel = new System.Windows.Forms.Label(); +System.Windows.Forms.LinkLabel ebiHome = new System.Windows.Forms.LinkLabel(); // Main screen System.Windows.Forms.Panel topPanel = new System.Windows.Forms.Panel(); @@ -97,7 +99,7 @@ System.Drawing.Font stdFont = new Font("Century Gothic", 10); // Form -newForm.TopMost = true; +newForm.TopLevel = true; newForm.BackColor = bkgrdColor; newForm.Text = "Processing Manager"; newForm.Size = new Size(formWidth,formHeight); @@ -122,6 +124,17 @@ startPanel.Size = new Size(formWidth,formHeight); startPanel.Location = new Point(0,0); +startPanel.Controls.Add(ebiHome); +ebiHome.Text = "Designed by Elegant BI"; +ebiHome.Size = new Size(200,40); +ebiHome.Location = new Point(165,460); +ebiHome.Font = elegantFont; + +ebiHome.LinkClicked += (System.Object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e) => { + + System.Diagnostics.Process.Start(ebiURL); +}; + // Panels topPanel.Visible = false; topPanel.Size = new Size(formWidth,70); @@ -169,7 +182,7 @@ // Start Screen Objects homeToolLabel.Text = "Processing Manager"; -homeToolLabel.Size = new Size(450,350); +homeToolLabel.Size = new Size(450,100); homeToolLabel.Location = new Point(80,150); homeToolLabel.Font = homeToolNameFont;