ProgressBar 조정, 메인화면 결과라벨 위치 조정

main
DESKTOP-999R8N3\CJY 2023-04-06 15:11:05 +09:00
parent 13a896d82d
commit 08444d2be0
3 changed files with 268 additions and 182 deletions

View File

@ -30,6 +30,9 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMainDisplay2));
this.smartForm1 = new SmartX.SmartForm();
this.progressBar6 = new SmartX.SmartProgressBar();
this.progressBar4 = new SmartX.SmartProgressBar();
this.progressBar3 = new SmartX.SmartProgressBar();
this.smartButton5 = new SmartX.SmartButton();
this.pictureBoxProgress8Selected = new System.Windows.Forms.PictureBox();
this.pictureBoxProgress7Selected = new System.Windows.Forms.PictureBox();
@ -139,9 +142,7 @@
this.smartTimerAlarm = new SmartX.SmartTimer();
this.smartTimerMessageShow = new SmartX.SmartTimer();
this.smartTimerLogin = new SmartX.SmartTimer();
this.progressBar3 = new SmartX.SmartProgressBar();
this.progressBar4 = new SmartX.SmartProgressBar();
this.progressBar6 = new SmartX.SmartProgressBar();
this.smartTimerProgressBar = new SmartX.SmartTimer();
this.smartForm1.SuspendLayout();
this.smartGroupBox1.SuspendLayout();
this.SuspendLayout();
@ -152,6 +153,16 @@
this.smartForm1.BackGroundFillStyle = SmartXUIBase.SmartUIControlFormBase.BackGroundFillStyles.UseBackImage;
this.smartForm1.BackImage = ((System.Drawing.Image)(resources.GetObject("smartForm1.BackImage")));
this.smartForm1.CenterLocation = false;
this.smartForm1.Controls.Add(this.labelResult9);
this.smartForm1.Controls.Add(this.labelResult4);
this.smartForm1.Controls.Add(this.labelResult10);
this.smartForm1.Controls.Add(this.labelResult8);
this.smartForm1.Controls.Add(this.labelResult7);
this.smartForm1.Controls.Add(this.labelResult6);
this.smartForm1.Controls.Add(this.labelResult5);
this.smartForm1.Controls.Add(this.labelResult3);
this.smartForm1.Controls.Add(this.labelResult2);
this.smartForm1.Controls.Add(this.labelResult1);
this.smartForm1.Controls.Add(this.progressBar6);
this.smartForm1.Controls.Add(this.progressBar4);
this.smartForm1.Controls.Add(this.progressBar3);
@ -235,16 +246,6 @@
this.smartForm1.Controls.Add(this.labelPressure4);
this.smartForm1.Controls.Add(this.labelPressure3);
this.smartForm1.Controls.Add(this.labelPressure2);
this.smartForm1.Controls.Add(this.labelResult9);
this.smartForm1.Controls.Add(this.labelResult4);
this.smartForm1.Controls.Add(this.labelResult10);
this.smartForm1.Controls.Add(this.labelResult8);
this.smartForm1.Controls.Add(this.labelResult7);
this.smartForm1.Controls.Add(this.labelResult6);
this.smartForm1.Controls.Add(this.labelResult5);
this.smartForm1.Controls.Add(this.labelResult3);
this.smartForm1.Controls.Add(this.labelResult2);
this.smartForm1.Controls.Add(this.labelResult1);
this.smartForm1.Controls.Add(this.buttonUser);
this.smartForm1.Controls.Add(this.labelStop);
this.smartForm1.Controls.Add(this.labelStart);
@ -273,6 +274,132 @@
this.smartForm1.SpecialFunctionClickPointSize = 100;
this.smartForm1.UseMainMenu = false;
//
// progressBar6
//
this.progressBar6.AutoColorSet = true;
this.progressBar6.BackGround = this.smartForm1;
this.progressBar6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224)))));
this.progressBar6.BarBackColor1 = System.Drawing.Color.White;
this.progressBar6.BarBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar6.BarColor1 = System.Drawing.Color.Teal;
this.progressBar6.BarColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar6.BarStyle = SmartX.SmartProgressBar.BARTYPE.Flat;
this.progressBar6.Direction = SmartX.SmartProgressBar.DIR.Horizontal;
this.progressBar6.FormatString = "";
this.progressBar6.Location = new System.Drawing.Point(493, 497);
this.progressBar6.Maximum = new decimal(new int[] {
100,
0,
0,
0});
this.progressBar6.Minimum = new decimal(new int[] {
0,
0,
0,
0});
this.progressBar6.Name = "progressBar6";
this.progressBar6.OutlineColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.progressBar6.OverlapOptimize = true;
this.progressBar6.RoundedCorners = true;
this.progressBar6.Size = new System.Drawing.Size(150, 5);
this.progressBar6.TabIndex = 329;
this.progressBar6.Text = "smartProgressBar3";
this.progressBar6.TextAutoRotation = true;
this.progressBar6.TextColor = System.Drawing.Color.White;
this.progressBar6.TextColorDisable = System.Drawing.Color.Gray;
this.progressBar6.Units = "";
this.progressBar6.Value = new decimal(new int[] {
50,
0,
0,
0});
this.progressBar6.ValueTextType = SmartX.SmartProgressBar.TextValueOutputType.None;
this.progressBar6.Visible = false;
//
// progressBar4
//
this.progressBar4.AutoColorSet = true;
this.progressBar4.BackGround = this.smartForm1;
this.progressBar4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224)))));
this.progressBar4.BarBackColor1 = System.Drawing.Color.White;
this.progressBar4.BarBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar4.BarColor1 = System.Drawing.Color.Teal;
this.progressBar4.BarColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar4.BarStyle = SmartX.SmartProgressBar.BARTYPE.Flat;
this.progressBar4.Direction = SmartX.SmartProgressBar.DIR.Horizontal;
this.progressBar4.FormatString = "";
this.progressBar4.Location = new System.Drawing.Point(712, 497);
this.progressBar4.Maximum = new decimal(new int[] {
100,
0,
0,
0});
this.progressBar4.Minimum = new decimal(new int[] {
0,
0,
0,
0});
this.progressBar4.Name = "progressBar4";
this.progressBar4.OutlineColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.progressBar4.OverlapOptimize = true;
this.progressBar4.RoundedCorners = true;
this.progressBar4.Size = new System.Drawing.Size(150, 5);
this.progressBar4.TabIndex = 328;
this.progressBar4.Text = "smartProgressBar2";
this.progressBar4.TextAutoRotation = true;
this.progressBar4.TextColor = System.Drawing.Color.White;
this.progressBar4.TextColorDisable = System.Drawing.Color.Gray;
this.progressBar4.Units = "";
this.progressBar4.Value = new decimal(new int[] {
50,
0,
0,
0});
this.progressBar4.ValueTextType = SmartX.SmartProgressBar.TextValueOutputType.None;
this.progressBar4.Visible = false;
//
// progressBar3
//
this.progressBar3.AutoColorSet = true;
this.progressBar3.BackGround = this.smartForm1;
this.progressBar3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224)))));
this.progressBar3.BarBackColor1 = System.Drawing.Color.White;
this.progressBar3.BarBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar3.BarColor1 = System.Drawing.Color.Teal;
this.progressBar3.BarColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar3.BarStyle = SmartX.SmartProgressBar.BARTYPE.Flat;
this.progressBar3.Direction = SmartX.SmartProgressBar.DIR.Horizontal;
this.progressBar3.FormatString = "";
this.progressBar3.Location = new System.Drawing.Point(712, 240);
this.progressBar3.Maximum = new decimal(new int[] {
100,
0,
0,
0});
this.progressBar3.Minimum = new decimal(new int[] {
0,
0,
0,
0});
this.progressBar3.Name = "progressBar3";
this.progressBar3.OutlineColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.progressBar3.OverlapOptimize = true;
this.progressBar3.RoundedCorners = true;
this.progressBar3.Size = new System.Drawing.Size(150, 5);
this.progressBar3.TabIndex = 327;
this.progressBar3.Text = "smartProgressBar1";
this.progressBar3.TextAutoRotation = true;
this.progressBar3.TextColor = System.Drawing.Color.White;
this.progressBar3.TextColorDisable = System.Drawing.Color.Gray;
this.progressBar3.Units = "";
this.progressBar3.Value = new decimal(new int[] {
50,
0,
0,
0});
this.progressBar3.ValueTextType = SmartX.SmartProgressBar.TextValueOutputType.None;
this.progressBar3.Visible = false;
//
// smartButton5
//
this.smartButton5.BackGround = this.smartForm1;
@ -1889,15 +2016,15 @@
this.labelResult9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.labelResult9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelResult9.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult9.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelResult9.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult9.LineSpacing = 0F;
this.labelResult9.Location = new System.Drawing.Point(570, 162);
this.labelResult9.Location = new System.Drawing.Point(590, 680);
this.labelResult9.Name = "labelResult9";
this.labelResult9.OverlapOptimize = true;
this.labelResult9.PasswordChar = '\0';
this.labelResult9.Radius = 3;
this.labelResult9.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelResult9.Size = new System.Drawing.Size(50, 20);
this.labelResult9.Size = new System.Drawing.Size(123, 63);
this.labelResult9.TabIndex = 120;
this.labelResult9.Text = "Leak";
this.labelResult9.TextColor = System.Drawing.Color.White;
@ -1913,15 +2040,15 @@
this.labelResult4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelResult4.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult4.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelResult4.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult4.LineSpacing = 0F;
this.labelResult4.Location = new System.Drawing.Point(262, 162);
this.labelResult4.Location = new System.Drawing.Point(590, 609);
this.labelResult4.Name = "labelResult4";
this.labelResult4.OverlapOptimize = true;
this.labelResult4.PasswordChar = '\0';
this.labelResult4.Radius = 3;
this.labelResult4.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelResult4.Size = new System.Drawing.Size(50, 20);
this.labelResult4.Size = new System.Drawing.Size(123, 63);
this.labelResult4.TabIndex = 115;
this.labelResult4.Text = "Pass";
this.labelResult4.TextColor = System.Drawing.Color.White;
@ -1937,15 +2064,15 @@
this.labelResult10.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
this.labelResult10.BorderColor = System.Drawing.Color.Black;
this.labelResult10.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult10.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelResult10.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult10.LineSpacing = 0F;
this.labelResult10.Location = new System.Drawing.Point(626, 162);
this.labelResult10.Location = new System.Drawing.Point(759, 680);
this.labelResult10.Name = "labelResult10";
this.labelResult10.OverlapOptimize = true;
this.labelResult10.PasswordChar = '\0';
this.labelResult10.Radius = 3;
this.labelResult10.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelResult10.Size = new System.Drawing.Size(50, 20);
this.labelResult10.Size = new System.Drawing.Size(123, 63);
this.labelResult10.TabIndex = 121;
this.labelResult10.Text = "Leak";
this.labelResult10.TextColor = System.Drawing.Color.White;
@ -1961,15 +2088,15 @@
this.labelResult8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult8.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult8.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelResult8.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult8.LineSpacing = 0F;
this.labelResult8.Location = new System.Drawing.Point(509, 162);
this.labelResult8.Location = new System.Drawing.Point(420, 680);
this.labelResult8.Name = "labelResult8";
this.labelResult8.OverlapOptimize = true;
this.labelResult8.PasswordChar = '\0';
this.labelResult8.Radius = 3;
this.labelResult8.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelResult8.Size = new System.Drawing.Size(50, 20);
this.labelResult8.Size = new System.Drawing.Size(123, 63);
this.labelResult8.TabIndex = 119;
this.labelResult8.Text = "Pass";
this.labelResult8.TextColor = System.Drawing.Color.White;
@ -1985,15 +2112,15 @@
this.labelResult7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult7.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult7.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelResult7.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult7.LineSpacing = 0F;
this.labelResult7.Location = new System.Drawing.Point(443, 162);
this.labelResult7.Location = new System.Drawing.Point(250, 680);
this.labelResult7.Name = "labelResult7";
this.labelResult7.OverlapOptimize = true;
this.labelResult7.PasswordChar = '\0';
this.labelResult7.Radius = 3;
this.labelResult7.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelResult7.Size = new System.Drawing.Size(50, 20);
this.labelResult7.Size = new System.Drawing.Size(123, 63);
this.labelResult7.TabIndex = 118;
this.labelResult7.Text = "Pass";
this.labelResult7.TextColor = System.Drawing.Color.White;
@ -2009,15 +2136,15 @@
this.labelResult6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult6.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult6.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelResult6.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult6.LineSpacing = 0F;
this.labelResult6.Location = new System.Drawing.Point(378, 162);
this.labelResult6.Location = new System.Drawing.Point(80, 680);
this.labelResult6.Name = "labelResult6";
this.labelResult6.OverlapOptimize = true;
this.labelResult6.PasswordChar = '\0';
this.labelResult6.Radius = 3;
this.labelResult6.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelResult6.Size = new System.Drawing.Size(50, 20);
this.labelResult6.Size = new System.Drawing.Size(123, 63);
this.labelResult6.TabIndex = 117;
this.labelResult6.Text = "Pass";
this.labelResult6.TextColor = System.Drawing.Color.White;
@ -2033,15 +2160,15 @@
this.labelResult5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult5.BorderColor = System.Drawing.Color.Black;
this.labelResult5.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult5.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelResult5.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult5.LineSpacing = 0F;
this.labelResult5.Location = new System.Drawing.Point(316, 162);
this.labelResult5.Location = new System.Drawing.Point(759, 609);
this.labelResult5.Name = "labelResult5";
this.labelResult5.OverlapOptimize = true;
this.labelResult5.PasswordChar = '\0';
this.labelResult5.Radius = 3;
this.labelResult5.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelResult5.Size = new System.Drawing.Size(50, 20);
this.labelResult5.Size = new System.Drawing.Size(123, 63);
this.labelResult5.TabIndex = 116;
this.labelResult5.Text = "Pass";
this.labelResult5.TextColor = System.Drawing.Color.White;
@ -2057,15 +2184,15 @@
this.labelResult3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult3.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult3.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelResult3.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult3.LineSpacing = 0F;
this.labelResult3.Location = new System.Drawing.Point(206, 162);
this.labelResult3.Location = new System.Drawing.Point(420, 610);
this.labelResult3.Name = "labelResult3";
this.labelResult3.OverlapOptimize = true;
this.labelResult3.PasswordChar = '\0';
this.labelResult3.Radius = 3;
this.labelResult3.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelResult3.Size = new System.Drawing.Size(50, 20);
this.labelResult3.Size = new System.Drawing.Size(123, 63);
this.labelResult3.TabIndex = 114;
this.labelResult3.Text = "Pass";
this.labelResult3.TextColor = System.Drawing.Color.White;
@ -2081,15 +2208,15 @@
this.labelResult2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult2.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelResult2.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult2.LineSpacing = 0F;
this.labelResult2.Location = new System.Drawing.Point(150, 162);
this.labelResult2.Location = new System.Drawing.Point(250, 610);
this.labelResult2.Name = "labelResult2";
this.labelResult2.OverlapOptimize = true;
this.labelResult2.PasswordChar = '\0';
this.labelResult2.Radius = 3;
this.labelResult2.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelResult2.Size = new System.Drawing.Size(50, 20);
this.labelResult2.Size = new System.Drawing.Size(123, 63);
this.labelResult2.TabIndex = 113;
this.labelResult2.Text = "Pass";
this.labelResult2.TextColor = System.Drawing.Color.White;
@ -2105,15 +2232,15 @@
this.labelResult1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult1.BorderColor = System.Drawing.Color.Black;
this.labelResult1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult1.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelResult1.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult1.LineSpacing = 0F;
this.labelResult1.Location = new System.Drawing.Point(94, 162);
this.labelResult1.Location = new System.Drawing.Point(80, 610);
this.labelResult1.Name = "labelResult1";
this.labelResult1.OverlapOptimize = true;
this.labelResult1.PasswordChar = '\0';
this.labelResult1.Radius = 3;
this.labelResult1.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelResult1.Size = new System.Drawing.Size(50, 20);
this.labelResult1.Size = new System.Drawing.Size(123, 63);
this.labelResult1.TabIndex = 112;
this.labelResult1.Text = "Pass";
this.labelResult1.TextColor = System.Drawing.Color.White;
@ -2576,131 +2703,14 @@
this.smartTimerLogin.TimeFormStringSeparator = ":";
this.smartTimerLogin.Tick += new System.EventHandler(this.smartTimerLogin_Tick);
//
// progressBar3
// smartTimerProgressBar
//
this.progressBar3.AutoColorSet = true;
this.progressBar3.BackGround = this.smartForm1;
this.progressBar3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224)))));
this.progressBar3.BarBackColor1 = System.Drawing.Color.White;
this.progressBar3.BarBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar3.BarColor1 = System.Drawing.Color.Teal;
this.progressBar3.BarColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar3.BarStyle = SmartX.SmartProgressBar.BARTYPE.Flat;
this.progressBar3.Direction = SmartX.SmartProgressBar.DIR.Horizontal;
this.progressBar3.FormatString = "";
this.progressBar3.Location = new System.Drawing.Point(712, 240);
this.progressBar3.Maximum = new decimal(new int[] {
100,
0,
0,
0});
this.progressBar3.Minimum = new decimal(new int[] {
0,
0,
0,
0});
this.progressBar3.Name = "progressBar3";
this.progressBar3.OutlineColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.progressBar3.OverlapOptimize = true;
this.progressBar3.RoundedCorners = true;
this.progressBar3.Size = new System.Drawing.Size(150, 5);
this.progressBar3.TabIndex = 327;
this.progressBar3.Text = "smartProgressBar1";
this.progressBar3.TextAutoRotation = true;
this.progressBar3.TextColor = System.Drawing.Color.White;
this.progressBar3.TextColorDisable = System.Drawing.Color.Gray;
this.progressBar3.Units = "";
this.progressBar3.Value = new decimal(new int[] {
50,
0,
0,
0});
this.progressBar3.ValueTextType = SmartX.SmartProgressBar.TextValueOutputType.None;
this.progressBar3.Visible = false;
//
// progressBar4
//
this.progressBar4.AutoColorSet = true;
this.progressBar4.BackGround = this.smartForm1;
this.progressBar4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224)))));
this.progressBar4.BarBackColor1 = System.Drawing.Color.White;
this.progressBar4.BarBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar4.BarColor1 = System.Drawing.Color.Teal;
this.progressBar4.BarColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar4.BarStyle = SmartX.SmartProgressBar.BARTYPE.Flat;
this.progressBar4.Direction = SmartX.SmartProgressBar.DIR.Horizontal;
this.progressBar4.FormatString = "";
this.progressBar4.Location = new System.Drawing.Point(712, 497);
this.progressBar4.Maximum = new decimal(new int[] {
100,
0,
0,
0});
this.progressBar4.Minimum = new decimal(new int[] {
0,
0,
0,
0});
this.progressBar4.Name = "progressBar4";
this.progressBar4.OutlineColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.progressBar4.OverlapOptimize = true;
this.progressBar4.RoundedCorners = true;
this.progressBar4.Size = new System.Drawing.Size(150, 5);
this.progressBar4.TabIndex = 328;
this.progressBar4.Text = "smartProgressBar2";
this.progressBar4.TextAutoRotation = true;
this.progressBar4.TextColor = System.Drawing.Color.White;
this.progressBar4.TextColorDisable = System.Drawing.Color.Gray;
this.progressBar4.Units = "";
this.progressBar4.Value = new decimal(new int[] {
50,
0,
0,
0});
this.progressBar4.ValueTextType = SmartX.SmartProgressBar.TextValueOutputType.None;
this.progressBar4.Visible = false;
//
// progressBar6
//
this.progressBar6.AutoColorSet = true;
this.progressBar6.BackGround = this.smartForm1;
this.progressBar6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224)))));
this.progressBar6.BarBackColor1 = System.Drawing.Color.White;
this.progressBar6.BarBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar6.BarColor1 = System.Drawing.Color.Teal;
this.progressBar6.BarColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.progressBar6.BarStyle = SmartX.SmartProgressBar.BARTYPE.Flat;
this.progressBar6.Direction = SmartX.SmartProgressBar.DIR.Horizontal;
this.progressBar6.FormatString = "";
this.progressBar6.Location = new System.Drawing.Point(493, 497);
this.progressBar6.Maximum = new decimal(new int[] {
100,
0,
0,
0});
this.progressBar6.Minimum = new decimal(new int[] {
0,
0,
0,
0});
this.progressBar6.Name = "progressBar6";
this.progressBar6.OutlineColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.progressBar6.OverlapOptimize = true;
this.progressBar6.RoundedCorners = true;
this.progressBar6.Size = new System.Drawing.Size(150, 5);
this.progressBar6.TabIndex = 329;
this.progressBar6.Text = "smartProgressBar3";
this.progressBar6.TextAutoRotation = true;
this.progressBar6.TextColor = System.Drawing.Color.White;
this.progressBar6.TextColorDisable = System.Drawing.Color.Gray;
this.progressBar6.Units = "";
this.progressBar6.Value = new decimal(new int[] {
50,
0,
0,
0});
this.progressBar6.ValueTextType = SmartX.SmartProgressBar.TextValueOutputType.None;
this.progressBar6.Visible = false;
this.smartTimerProgressBar.CounterMode = SmartX.SmartTimer.CounterModes.Up_Counter;
this.smartTimerProgressBar.Interval = 1000;
this.smartTimerProgressBar.IntervalSeries = null;
this.smartTimerProgressBar.TimeCount = ((long)(1000000));
this.smartTimerProgressBar.TimeFormStringSeparator = ":";
this.smartTimerProgressBar.Tick += new System.EventHandler(this.smartTimerProgressBar_Tick);
//
// FormMainDisplay2
//
@ -2834,5 +2844,6 @@
private SmartX.SmartProgressBar progressBar3;
private SmartX.SmartProgressBar progressBar6;
private SmartX.SmartProgressBar progressBar4;
private SmartX.SmartTimer smartTimerProgressBar;
}
}

View File

@ -25,6 +25,7 @@ namespace INT_PT002.Forms
private string MessageBoxRange;
int testIndex;
private Define.E_ProcessStatus ProcessStatus;
private Color ColorProgressOn;
private Size SizeProgressOn;
@ -61,7 +62,7 @@ namespace INT_PT002.Forms
this.DefaultSetting();
this.InitializeData();
this.InitializeLanguage();
}
}
#endregion
#region Property
@ -79,6 +80,7 @@ namespace INT_PT002.Forms
this.FlagIgnoreCNT = 0;
this.MessageBoxRange = "";
this.ProcessStatus = Define.E_ProcessStatus._0_None;
this.ColorProgressOff = Color.FromArgb(231, 231, 231);
this.SizeProgressOff = new Size(155, 140);
@ -227,7 +229,7 @@ namespace INT_PT002.Forms
this.labelProgress4_1.Text = "검사 진행중";
this.labelProgress6_1.Text = "진공파기";
this.labelProgress7_1.Text = "챔버분리";
this.labelProgress8_1.Text = "배출";
this.labelProgress8_1.Text = "배출";
break;
case Define.E_LanguageID.English:
this.labelProgress0_1.Text = "Ready";
@ -251,7 +253,7 @@ namespace INT_PT002.Forms
this.CollectionLabelProgress[index].RoundRectFillColor = this.ColorProgressOn;
// 문구가 적히는 label
this.CollectionLabelProgress2[index].BackGroundColor = this.ColorProgressOn;
this.CollectionPictureBoxSelected[index].Visible = true;
this.CollectionPictureBoxSelected[index].BringToFront();
}
@ -468,9 +470,60 @@ namespace INT_PT002.Forms
if (label.Text != value)
label.Text = value;
}
private void ProgressBarSetting(Define.E_ProcessStatus status)
{
switch (status)
{
case Define.E_ProcessStatus._1_Initial:
this.progressBar3.Visible = false;
this.progressBar4.Visible = false;
this.progressBar6.Visible = false;
if (this.smartTimerProgressBar.IsStart == true)
this.smartTimerProgressBar.Stop();
break;
case Define.E_ProcessStatus._4_VacuumStart:
this.progressBar3.Maximum = this.ParentForm.CurrentRecipe.VACUUM_RELIEF * 10;
this.progressBar3.Value = this.progressBar3.Maximum;
this.progressBar3.Visible = true;
this.smartTimerProgressBar.Start();
break;
case Define.E_ProcessStatus._5_VacuumHold:
this.progressBar4.Maximum = this.ParentForm.CurrentRecipe.VACUUM_HOLD1 * 10;
this.progressBar4.Value = this.progressBar4.Maximum;
if (this.smartTimerProgressBar.IsStart == true)
this.smartTimerProgressBar.Stop();
this.ProgressBarSetting(status);
this.progressBar3.Visible = false;
this.progressBar4.Visible = true;
this.smartTimerProgressBar.Start();
break;
case Define.E_ProcessStatus._7_VacuumBreak:
this.progressBar6.Maximum = this.ParentForm.CurrentRecipe.VACUUM_BLOWOFF * 10;
this.progressBar4.Value = this.progressBar4.Maximum;
if (this.smartTimerProgressBar.IsStart == true)
this.smartTimerProgressBar.Stop();
this.ProgressBarSetting(status);
this.progressBar4.Visible = false;
this.progressBar6.Visible = true;
this.smartTimerProgressBar.Start();
break;
case Define.E_ProcessStatus._8_ChamberSeparation:
if (this.smartTimerProgressBar.IsStart == true)
this.smartTimerProgressBar.Stop();
this.progressBar6.Visible = false;
break;
default:
break;
}
}
public void UpdateProcessStatusDisplay(Define.E_ProcessStatus status)
{
this.ProcessStatus = status;
switch (status)
{
case Define.E_ProcessStatus._0_None:
@ -478,10 +531,7 @@ namespace INT_PT002.Forms
case Define.E_ProcessStatus._1_Initial:
for (int i = 0; i < this.CollectionLabelProgress.Count; i++)
this.CollectionLabelProgress[i].Location = this.CollectionLabelPoint[i];
this.progressBar3.Visible = false;
this.progressBar4.Visible = false;
this.progressBar6.Visible = false;
this.UnselectLabelRefresh(this.CollectionLabelProgress.Count - 1);
this.SelectLabelRefresh(0);
break;
@ -496,26 +546,20 @@ namespace INT_PT002.Forms
case Define.E_ProcessStatus._4_VacuumStart:
this.UnselectLabelRefresh(2);
this.SelectLabelRefresh(3);
this.progressBar3.Visible = true;
break;
case Define.E_ProcessStatus._5_VacuumHold:
this.UnselectLabelRefresh(3);
this.SelectLabelRefresh(4);
this.progressBar3.Visible = false;
this.progressBar4.Visible = true;
break;
case Define.E_ProcessStatus._6_Judgment:
break;
case Define.E_ProcessStatus._7_VacuumBreak:
this.UnselectLabelRefresh(4);
this.SelectLabelRefresh(5);
this.progressBar4.Visible = false;
this.progressBar6.Visible = true;
break;
case Define.E_ProcessStatus._8_ChamberSeparation:
this.UnselectLabelRefresh(5);
this.SelectLabelRefresh(6);
this.progressBar6.Visible = false;
break;
case Define.E_ProcessStatus._9_ProductRelease:
this.UnselectLabelRefresh(6);
@ -524,6 +568,8 @@ namespace INT_PT002.Forms
default:
break;
}
this.ProgressBarSetting(status);
}
private void UpdateDisplayDotGraphDiff(SmartDraw draw, DiffData diff)
{
@ -542,7 +588,7 @@ namespace INT_PT002.Forms
dValue = 1;
iValue = int.Parse(string.Format("{0:f0}", dValue));
draw.Chart.PutData(iValue);
}
private void UpdateDisplayDotGraphDisp(SmartDraw draw, DispData disp)
@ -639,7 +685,7 @@ namespace INT_PT002.Forms
}
public void UpdateDisplayDispData(Collection<DispData> datas)
{
}
public void UpdateDisplayPresData(Collection<PressureData> datas)
{
@ -843,6 +889,32 @@ namespace INT_PT002.Forms
//this.Login();
}
private void smartTimerProgressBar_Tick(object sender, EventArgs e)
{
switch (this.ProcessStatus)
{
case Define.E_ProcessStatus._4_VacuumStart:
if (this.progressBar3.Value > 0)
this.progressBar3.Value -= 10;
else
this.smartTimerProgressBar.Stop();
break;
case Define.E_ProcessStatus._5_VacuumHold:
if (this.progressBar4.Value > 0)
this.progressBar4.Value -= 10;
else
this.smartTimerProgressBar.Stop();
break;
case Define.E_ProcessStatus._7_VacuumBreak:
if (this.progressBar6.Value > 0)
this.progressBar6.Value -= 10;
else
this.smartTimerProgressBar.Stop();
break;
default:
break;
}
}
#endregion
private void smartButton1_Click(object sender, EventArgs e)

View File

@ -4951,6 +4951,9 @@
<metadata name="smartTimerLogin.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>358, 11</value>
</metadata>
<metadata name="smartTimerProgressBar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>503, 11</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
</metadata>