DESKTOP-999R8N3\CJY 2023-04-05 11:15:54 +09:00
commit 3c6ada8643
4 changed files with 75 additions and 2 deletions

View File

@ -71,6 +71,7 @@
this.buttonUpdateDisplay = new SmartX.SmartButton(); this.buttonUpdateDisplay = new SmartX.SmartButton();
this.smartKeyboard1 = new SmartX.SmartKeyboard(); this.smartKeyboard1 = new SmartX.SmartKeyboard();
this.timer = new SmartX.SmartTimer(); this.timer = new SmartX.SmartTimer();
this.smartButton1 = new SmartX.SmartButton();
this.smartGroupBox1.SuspendLayout(); this.smartGroupBox1.SuspendLayout();
this.smartGroupBox4.SuspendLayout(); this.smartGroupBox4.SuspendLayout();
this.smartGroupBox3.SuspendLayout(); this.smartGroupBox3.SuspendLayout();
@ -1183,6 +1184,7 @@
this.smartGroupBox2.BackGround = null; this.smartGroupBox2.BackGround = null;
this.smartGroupBox2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32))))); this.smartGroupBox2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartGroupBox2.BackImage = null; this.smartGroupBox2.BackImage = null;
this.smartGroupBox2.Controls.Add(this.smartButton1);
this.smartGroupBox2.Controls.Add(this.smartLabel3); this.smartGroupBox2.Controls.Add(this.smartLabel3);
this.smartGroupBox2.Controls.Add(this.smartLabel4); this.smartGroupBox2.Controls.Add(this.smartLabel4);
this.smartGroupBox2.Controls.Add(this.buttonUpdateMainboard); this.smartGroupBox2.Controls.Add(this.buttonUpdateMainboard);
@ -1612,6 +1614,41 @@
this.timer.TimeFormStringSeparator = ":"; this.timer.TimeFormStringSeparator = ":";
this.timer.Tick += new System.EventHandler(this.timer_Tick); 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 // ControlMenuSystemInformation
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -1671,5 +1708,6 @@
private SmartX.SmartButton buttonSave; private SmartX.SmartButton buttonSave;
private SmartX.SmartLabel labelCurrentTime; private SmartX.SmartLabel labelCurrentTime;
private SmartX.SmartTimer timer; private SmartX.SmartTimer timer;
private SmartX.SmartButton smartButton1;
} }
} }

View File

@ -384,5 +384,11 @@ namespace INT_PT002.Controls
this.ParentForm.ParentForm.ChildFormMainDisplay.UpdateDisplayTime(); this.ParentForm.ParentForm.ChildFormMainDisplay.UpdateDisplayTime();
} }
#endregion #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);
}
} }
} }

View File

@ -137,7 +137,7 @@
this.buttonCancel.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); this.buttonCancel.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129)))));
this.buttonCancel.ButtonImageAutoSize = true; this.buttonCancel.ButtonImageAutoSize = true;
this.buttonCancel.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; 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.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCancel.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.buttonCancel.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.buttonCancel.GroupID = 0; 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.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129)))));
this.buttonLogOn.ButtonImageAutoSize = true; this.buttonLogOn.ButtonImageAutoSize = true;
this.buttonLogOn.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; 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.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonLogOn.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold); this.buttonLogOn.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.buttonLogOn.GroupID = 0; this.buttonLogOn.GroupID = 0;

View File

@ -60,6 +60,7 @@ namespace INT_PT002.Forms
this.DefaultSetting(); this.DefaultSetting();
this.InitializeData(); this.InitializeData();
this.InitializeLanguage();
} }
#endregion #endregion
@ -185,6 +186,34 @@ namespace INT_PT002.Forms
this.CollectionLabelSbAlarm[i].Visible = false; 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) private void labelImageLocation(Define.E_ProcessStatus process)
{ {
int gap = 219; int gap = 219;