Merge branch 'main' of https://gitlab.com/IntechkoreaLCD/int_pt002
						commit
						3c6ada8643
					
				|  | @ -71,6 +71,7 @@ | |||
|             this.buttonUpdateDisplay = new SmartX.SmartButton(); | ||||
|             this.smartKeyboard1 = new SmartX.SmartKeyboard(); | ||||
|             this.timer = new SmartX.SmartTimer(); | ||||
|             this.smartButton1 = new SmartX.SmartButton(); | ||||
|             this.smartGroupBox1.SuspendLayout(); | ||||
|             this.smartGroupBox4.SuspendLayout(); | ||||
|             this.smartGroupBox3.SuspendLayout(); | ||||
|  | @ -1183,6 +1184,7 @@ | |||
|             this.smartGroupBox2.BackGround = null; | ||||
|             this.smartGroupBox2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32))))); | ||||
|             this.smartGroupBox2.BackImage = null; | ||||
|             this.smartGroupBox2.Controls.Add(this.smartButton1); | ||||
|             this.smartGroupBox2.Controls.Add(this.smartLabel3); | ||||
|             this.smartGroupBox2.Controls.Add(this.smartLabel4); | ||||
|             this.smartGroupBox2.Controls.Add(this.buttonUpdateMainboard); | ||||
|  | @ -1612,6 +1614,41 @@ | |||
|             this.timer.TimeFormStringSeparator = ":"; | ||||
|             this.timer.Tick += new System.EventHandler(this.timer_Tick); | ||||
|             //  | ||||
|             // smartButton1 | ||||
|             //  | ||||
|             this.smartButton1.BackGround = this.smartGroupBox2; | ||||
|             this.smartButton1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32))))); | ||||
|             this.smartButton1.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); | ||||
|             this.smartButton1.ButtonDownColor = System.Drawing.Color.SlateGray; | ||||
|             this.smartButton1.ButtonImageAutoSize = true; | ||||
|             this.smartButton1.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; | ||||
|             this.smartButton1.ButtonText = "English"; | ||||
|             this.smartButton1.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.smartButton1.GroupID = 0; | ||||
|             this.smartButton1.ImageDisable = null; | ||||
|             this.smartButton1.ImageDown = null; | ||||
|             this.smartButton1.ImageUp = null; | ||||
|             this.smartButton1.Location = new System.Drawing.Point(644, 49); | ||||
|             this.smartButton1.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; | ||||
|             this.smartButton1.Name = "smartButton1"; | ||||
|             this.smartButton1.NestedClickEventPrevent = false; | ||||
|             this.smartButton1.OutlinePixel = 2; | ||||
|             this.smartButton1.OverlapOptimize = true; | ||||
|             this.smartButton1.RepeatInterval = 200; | ||||
|             this.smartButton1.RepeatIntervalAccelerate = null; | ||||
|             this.smartButton1.RoundSize = 10; | ||||
|             this.smartButton1.SafeInterval = 200; | ||||
|             this.smartButton1.Size = new System.Drawing.Size(84, 24); | ||||
|             this.smartButton1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; | ||||
|             this.smartButton1.TabIndex = 91; | ||||
|             this.smartButton1.Text = null; | ||||
|             this.smartButton1.TextColor = System.Drawing.Color.White; | ||||
|             this.smartButton1.TextColorDisable = System.Drawing.Color.Gray; | ||||
|             this.smartButton1.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); | ||||
|             this.smartButton1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; | ||||
|             this.smartButton1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; | ||||
|             this.smartButton1.Click += new System.EventHandler(this.smartButton1_Click); | ||||
|             //  | ||||
|             // ControlMenuSystemInformation | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); | ||||
|  | @ -1671,5 +1708,6 @@ | |||
|         private SmartX.SmartButton buttonSave; | ||||
|         private SmartX.SmartLabel labelCurrentTime; | ||||
|         private SmartX.SmartTimer timer; | ||||
|         private SmartX.SmartButton smartButton1; | ||||
|     } | ||||
| } | ||||
|  |  | |||
|  | @ -384,5 +384,11 @@ namespace INT_PT002.Controls | |||
|             this.ParentForm.ParentForm.ChildFormMainDisplay.UpdateDisplayTime(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|         private void smartButton1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.ParentForm.ParentForm.SystemConfig.LANGUAGE = Define.E_LanguageID.English; | ||||
|             this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  |  | |||
|  | @ -137,7 +137,7 @@ | |||
|             this.buttonCancel.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); | ||||
|             this.buttonCancel.ButtonImageAutoSize = true; | ||||
|             this.buttonCancel.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; | ||||
|             this.buttonCancel.ButtonText = "취소"; | ||||
|             this.buttonCancel.ButtonText = "Cancel"; | ||||
|             this.buttonCancel.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonCancel.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); | ||||
|             this.buttonCancel.GroupID = 0; | ||||
|  | @ -173,7 +173,7 @@ | |||
|             this.buttonLogOn.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); | ||||
|             this.buttonLogOn.ButtonImageAutoSize = true; | ||||
|             this.buttonLogOn.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; | ||||
|             this.buttonLogOn.ButtonText = "로그인"; | ||||
|             this.buttonLogOn.ButtonText = "Login"; | ||||
|             this.buttonLogOn.ColorKeySamplePosition = new System.Drawing.Point(0, 0); | ||||
|             this.buttonLogOn.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); | ||||
|             this.buttonLogOn.GroupID = 0; | ||||
|  |  | |||
|  | @ -60,6 +60,7 @@ namespace INT_PT002.Forms | |||
| 
 | ||||
|             this.DefaultSetting(); | ||||
|             this.InitializeData(); | ||||
|             this.InitializeLanguage(); | ||||
|         }  | ||||
|         #endregion | ||||
| 
 | ||||
|  | @ -185,6 +186,34 @@ namespace INT_PT002.Forms | |||
|                 this.CollectionLabelSbAlarm[i].Visible = false; | ||||
|             } | ||||
|         } | ||||
|         private void InitializeLanguage() | ||||
|         { | ||||
|             switch (this.ParentForm.SystemConfig.LANGUAGE) | ||||
|             { | ||||
|                 case Define.E_LanguageID.Korean: | ||||
|                     this.labelProgress0_1.Text = "초기상태"; | ||||
|                     this.labelProgress1_1.Text = "제품진입"; | ||||
|                     this.labelProgress2_1.Text = "챔버결합"; | ||||
|                     this.labelProgress3_1.Text = "진공시작"; | ||||
|                     this.labelProgress4_1.Text = "검사 진행중"; | ||||
|                     this.labelProgress6_1.Text = "진공파기"; | ||||
|                     this.labelProgress7_1.Text = "챔버분리"; | ||||
|                     this.labelProgress8_1.Text = "배출";                     | ||||
|                     break; | ||||
|                 case Define.E_LanguageID.English: | ||||
|                     this.labelProgress0_1.Text = "Ready"; | ||||
|                     this.labelProgress1_1.Text = "Entry"; | ||||
|                     this.labelProgress2_1.Text = "Linkage"; | ||||
|                     this.labelProgress3_1.Text = "V. Start"; | ||||
|                     this.labelProgress4_1.Text = "Measuerment"; | ||||
|                     this.labelProgress6_1.Text = "V. Break"; | ||||
|                     this.labelProgress7_1.Text = "Separation"; | ||||
|                     this.labelProgress8_1.Text = "Release"; | ||||
|                     break; | ||||
|                 default: | ||||
|                     break; | ||||
|             } | ||||
|         } | ||||
|         private void labelImageLocation(Define.E_ProcessStatus process) | ||||
|         { | ||||
|             int gap = 219; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue