- 언어 추가

중문 추가
master
DESKTOP-999R8N3\CJY 2025-04-15 16:58:21 +09:00
parent 5a650a265a
commit c32c4f0163
58 changed files with 4185 additions and 2602 deletions

Binary file not shown.

View File

@ -76,6 +76,7 @@
this.smartGroupBox1.Controls.Add(this.labelFileName);
this.smartGroupBox1.Controls.Add(this.buttonBackup);
this.smartGroupBox1.Controls.Add(this.labelCount);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -95,7 +96,7 @@
this.labelTitleDetail.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleDetail.BorderColor = System.Drawing.Color.Black;
this.labelTitleDetail.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleDetail.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleDetail.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleDetail.LineSpacing = 1F;
this.labelTitleDetail.Location = new System.Drawing.Point(732, 108);
this.labelTitleDetail.Name = "labelTitleDetail";
@ -118,7 +119,7 @@
this.labelTitleEvent.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleEvent.BorderColor = System.Drawing.Color.Black;
this.labelTitleEvent.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleEvent.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleEvent.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleEvent.LineSpacing = 1F;
this.labelTitleEvent.Location = new System.Drawing.Point(448, 108);
this.labelTitleEvent.Name = "labelTitleEvent";
@ -141,7 +142,7 @@
this.labelTitleID.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleID.BorderColor = System.Drawing.Color.Black;
this.labelTitleID.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleID.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleID.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleID.LineSpacing = 1F;
this.labelTitleID.Location = new System.Drawing.Point(350, 108);
this.labelTitleID.Name = "labelTitleID";
@ -557,7 +558,7 @@
this.labelTitleTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleTime.BorderColor = System.Drawing.Color.Black;
this.labelTitleTime.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleTime.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleTime.LineSpacing = 1F;
this.labelTitleTime.Location = new System.Drawing.Point(271, 108);
this.labelTitleTime.Name = "labelTitleTime";
@ -772,6 +773,7 @@
this.labelTitleList.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleList.BorderColor = System.Drawing.Color.Black;
this.labelTitleList.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleList.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleList.LineSpacing = 0F;
this.labelTitleList.Location = new System.Drawing.Point(22, 45);
this.labelTitleList.Name = "labelTitleList";
@ -794,6 +796,7 @@
this.labelTitleFileName.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleFileName.BorderColor = System.Drawing.Color.Black;
this.labelTitleFileName.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleFileName.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleFileName.LineSpacing = 0F;
this.labelTitleFileName.Location = new System.Drawing.Point(271, 45);
this.labelTitleFileName.Name = "labelTitleFileName";
@ -842,6 +845,7 @@
this.buttonBackup.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonBackup.ButtonText = "Backup";
this.buttonBackup.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonBackup.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonBackup.GroupID = 0;
this.buttonBackup.ImageDisable = null;
this.buttonBackup.ImageDown = null;

View File

@ -37,6 +37,7 @@ namespace INT_LKD_2.Controls
this.Initialize();
this.DefaultSetting();
this.InitializeDesign();
}
#endregion
@ -51,7 +52,6 @@ namespace INT_LKD_2.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "Log > Alarm";
}
private void DefaultSetting()
{
@ -72,17 +72,21 @@ namespace INT_LKD_2.Controls
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.labelTitleList.Text = "";
this.labelTitleFileName.Text = "";
this.smartGroupBox1.Text = "日志 > 警报";
this.labelTitleTime.Text = "";
this.labelTitleID.Text = "";
this.labelTitleEvent.Text = "";
this.labelTitleDetail.Text = "";
this.labelTitleList.Text = "档案清单";
this.labelTitleFileName.Text = "文件名";
this.buttonBackup.Text = "";
this.labelTitleTime.Text = "时间";
this.labelTitleID.Text = "用户名";
this.labelTitleEvent.Text = "事件";
this.labelTitleDetail.Text = "细节";
this.buttonBackup.ButtonText = "备份";
break;
default:
this.smartGroupBox1.Text = "Log > Alarm";
this.labelTitleList.Text = "List";
this.labelTitleFileName.Text = "File name";
@ -91,7 +95,7 @@ namespace INT_LKD_2.Controls
this.labelTitleEvent.Text = "Event";
this.labelTitleDetail.Text = "Detail";
this.buttonBackup.Text = "Backup";
this.buttonBackup.ButtonText = "Backup";
break;
}
}

View File

@ -92,6 +92,7 @@
this.smartGroupBox1.Controls.Add(this.buttonBackup);
this.smartGroupBox1.Controls.Add(this.listBoxTime);
this.smartGroupBox1.Controls.Add(this.treeView);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -111,7 +112,7 @@
this.labelTitleType.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleType.BorderColor = System.Drawing.Color.Black;
this.labelTitleType.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleType.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleType.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleType.LineSpacing = 1F;
this.labelTitleType.Location = new System.Drawing.Point(763, 108);
this.labelTitleType.Name = "labelTitleType";
@ -134,7 +135,7 @@
this.labelTitleAfter.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleAfter.BorderColor = System.Drawing.Color.Black;
this.labelTitleAfter.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleAfter.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleAfter.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleAfter.LineSpacing = 1F;
this.labelTitleAfter.Location = new System.Drawing.Point(709, 108);
this.labelTitleAfter.Name = "labelTitleAfter";
@ -157,7 +158,7 @@
this.labelTitleBefore.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleBefore.BorderColor = System.Drawing.Color.Black;
this.labelTitleBefore.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleBefore.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleBefore.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleBefore.LineSpacing = 1F;
this.labelTitleBefore.Location = new System.Drawing.Point(655, 108);
this.labelTitleBefore.Name = "labelTitleBefore";
@ -180,7 +181,7 @@
this.labelTitleDetail.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleDetail.BorderColor = System.Drawing.Color.Black;
this.labelTitleDetail.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleDetail.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleDetail.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleDetail.LineSpacing = 1F;
this.labelTitleDetail.Location = new System.Drawing.Point(536, 108);
this.labelTitleDetail.Name = "labelTitleDetail";
@ -203,7 +204,7 @@
this.labelTitleEvent.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleEvent.BorderColor = System.Drawing.Color.Black;
this.labelTitleEvent.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleEvent.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleEvent.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleEvent.LineSpacing = 1F;
this.labelTitleEvent.Location = new System.Drawing.Point(427, 108);
this.labelTitleEvent.Name = "labelTitleEvent";
@ -226,7 +227,7 @@
this.labelTitleID.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleID.BorderColor = System.Drawing.Color.Black;
this.labelTitleID.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleID.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleID.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleID.LineSpacing = 1F;
this.labelTitleID.Location = new System.Drawing.Point(338, 108);
this.labelTitleID.Name = "labelTitleID";
@ -328,6 +329,7 @@
this.labelTitleFileName.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleFileName.BorderColor = System.Drawing.Color.Black;
this.labelTitleFileName.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleFileName.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleFileName.LineSpacing = 0F;
this.labelTitleFileName.Location = new System.Drawing.Point(271, 45);
this.labelTitleFileName.Name = "labelTitleFileName";
@ -350,6 +352,7 @@
this.labelTitleList.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleList.BorderColor = System.Drawing.Color.Black;
this.labelTitleList.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleList.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleList.LineSpacing = 0F;
this.labelTitleList.Location = new System.Drawing.Point(22, 45);
this.labelTitleList.Name = "labelTitleList";
@ -1067,7 +1070,7 @@
this.labelTitleTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleTime.BorderColor = System.Drawing.Color.Black;
this.labelTitleTime.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleTime.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleTime.LineSpacing = 1F;
this.labelTitleTime.Location = new System.Drawing.Point(271, 108);
this.labelTitleTime.Name = "labelTitleTime";
@ -1166,6 +1169,7 @@
this.buttonBackup.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonBackup.ButtonText = "Backup";
this.buttonBackup.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonBackup.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonBackup.GroupID = 0;
this.buttonBackup.ImageDisable = null;
this.buttonBackup.ImageDown = null;

View File

@ -38,6 +38,7 @@ namespace INT_LKD_2.Controls
this.Initialize();
this.DefaultSetting();
this.InitializeDesign();
}
#endregion
@ -52,7 +53,6 @@ namespace INT_LKD_2.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "Log > History";
}
private void DefaultSetting()
{
@ -76,20 +76,24 @@ namespace INT_LKD_2.Controls
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.labelTitleList.Text = "";
this.labelTitleFileName.Text = "";
this.smartGroupBox1.Text = "日志 > 历史";
this.labelTitleTime.Text = "";
this.labelTitleID.Text = "";
this.labelTitleEvent.Text = "";
this.labelTitleDetail.Text = "";
this.labelTitleBefore.Text = "";
this.labelTitleAfter.Text = "";
this.labelTitleType.Text = "";
this.labelTitleList.Text = "档案清单";
this.labelTitleFileName.Text = "文件名";
this.buttonBackup.Text = "";
this.labelTitleTime.Text = "时间";
this.labelTitleID.Text = "用户名";
this.labelTitleEvent.Text = "事件";
this.labelTitleDetail.Text = "细节";
this.labelTitleBefore.Text = "之前";
this.labelTitleAfter.Text = "之后";
this.labelTitleType.Text = "类型";
this.buttonBackup.ButtonText = "备份";
break;
default:
this.smartGroupBox1.Text = "Log > History";
this.labelTitleList.Text = "List";
this.labelTitleFileName.Text = "File name";
@ -101,7 +105,7 @@ namespace INT_LKD_2.Controls
this.labelTitleAfter.Text = "After";
this.labelTitleType.Text = "Type";
this.buttonBackup.Text = "Backup";
this.buttonBackup.ButtonText = "Backup";
break;
}
}

View File

@ -164,6 +164,7 @@
this.smartGroupBox1.Controls.Add(this.listBox1);
this.smartGroupBox1.Controls.Add(this.buttonBackup);
this.smartGroupBox1.Controls.Add(this.listBoxTime);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -604,6 +605,7 @@
this.labelTitleFileName.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleFileName.BorderColor = System.Drawing.Color.Black;
this.labelTitleFileName.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleFileName.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleFileName.LineSpacing = 0F;
this.labelTitleFileName.Location = new System.Drawing.Point(177, 45);
this.labelTitleFileName.Name = "labelTitleFileName";
@ -626,6 +628,7 @@
this.labelTitleList.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleList.BorderColor = System.Drawing.Color.Black;
this.labelTitleList.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleList.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleList.LineSpacing = 0F;
this.labelTitleList.Location = new System.Drawing.Point(11, 45);
this.labelTitleList.Name = "labelTitleList";
@ -671,6 +674,7 @@
this.labelTitlePass.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitlePass.BorderColor = System.Drawing.Color.Black;
this.labelTitlePass.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitlePass.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitlePass.LineSpacing = 0F;
this.labelTitlePass.Location = new System.Drawing.Point(177, 599);
this.labelTitlePass.Name = "labelTitlePass";
@ -693,6 +697,7 @@
this.labelTitleLeak.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleLeak.BorderColor = System.Drawing.Color.Black;
this.labelTitleLeak.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleLeak.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleLeak.LineSpacing = 0F;
this.labelTitleLeak.Location = new System.Drawing.Point(177, 618);
this.labelTitleLeak.Name = "labelTitleLeak";
@ -1507,7 +1512,7 @@
this.labelTitleTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleTime.BorderColor = System.Drawing.Color.Black;
this.labelTitleTime.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
this.labelTitleTime.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.labelTitleTime.LineSpacing = 1F;
this.labelTitleTime.Location = new System.Drawing.Point(177, 108);
this.labelTitleTime.Name = "labelTitleTime";
@ -2664,6 +2669,7 @@
this.buttonBackup.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonBackup.ButtonText = "Backup";
this.buttonBackup.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonBackup.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonBackup.GroupID = 0;
this.buttonBackup.ImageDisable = null;
this.buttonBackup.ImageDown = null;

View File

@ -42,6 +42,7 @@ namespace INT_LKD_2.Controls
this.Initialize();
this.DefaultSetting();
this.InitializeDesign();
}
#endregion
@ -56,7 +57,6 @@ namespace INT_LKD_2.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "Log > Inspection";
}
private void DefaultSetting()
{
@ -123,16 +123,20 @@ namespace INT_LKD_2.Controls
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.labelTitleList.Text = "";
this.labelTitleFileName.Text = "";
this.smartGroupBox1.Text = "日志 > 判断";
this.labelTitleTime.Text = "";
this.labelTitlePass.Text = "";
this.labelTitleLeak.Text = "";
this.labelTitleList.Text = "档案清单";
this.labelTitleFileName.Text = "文件名";
this.buttonBackup.Text = "";
this.labelTitleTime.Text = "时间";
this.labelTitlePass.Text = "标准";
this.labelTitleLeak.Text = "泄漏";
this.buttonBackup.ButtonText = "备份";
break;
default:
this.smartGroupBox1.Text = "Log > Inspection";
this.labelTitleList.Text = "List";
this.labelTitleFileName.Text = "File name";
@ -140,7 +144,7 @@ namespace INT_LKD_2.Controls
this.labelTitlePass.Text = "Pass";
this.labelTitleLeak.Text = "Leak";
this.buttonBackup.Text = "Backup";
this.buttonBackup.ButtonText = "Backup";
break;
}
}

View File

@ -372,6 +372,7 @@
this.groupBoxLane12.Controls.Add(this.labelHeight12);
this.groupBoxLane12.Controls.Add(this.labelLRSec12);
this.groupBoxLane12.Controls.Add(this.labelTitle12LRSec);
this.groupBoxLane12.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane12.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane12.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane12.FrameLineThickness = 2;
@ -461,6 +462,7 @@
this.groupBoxLane1.Controls.Add(this.labelDiff1);
this.groupBoxLane1.Controls.Add(this.labelLRSec1);
this.groupBoxLane1.Controls.Add(this.labelTitle1work);
this.groupBoxLane1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane1.FrameLineThickness = 2;
@ -746,7 +748,7 @@
this.labelTitle1LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle1LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle1LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle1LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle1LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle1LRMax.LineSpacing = 0F;
this.labelTitle1LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle1LRMax.Name = "labelTitle1LRMax";
@ -910,7 +912,7 @@
this.labelTitle1LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle1LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle1LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle1LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle1LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle1LRSec.LineSpacing = 0F;
this.labelTitle1LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle1LRSec.Name = "labelTitle1LRSec";
@ -1209,7 +1211,7 @@
this.labelTitle12LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle12LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle12LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle12LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle12LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle12LRMax.LineSpacing = 0F;
this.labelTitle12LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle12LRMax.Name = "labelTitle12LRMax";
@ -1478,7 +1480,7 @@
this.labelTitle12LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle12LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle12LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle12LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle12LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle12LRSec.LineSpacing = 0F;
this.labelTitle12LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle12LRSec.Name = "labelTitle12LRSec";
@ -1524,6 +1526,7 @@
this.groupBoxLane11.Controls.Add(this.labelHeight11);
this.groupBoxLane11.Controls.Add(this.labelLRSec11);
this.groupBoxLane11.Controls.Add(this.labelTitle11LRSec);
this.groupBoxLane11.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane11.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane11.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane11.FrameLineThickness = 2;
@ -1773,7 +1776,7 @@
this.labelTitle11LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle11LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle11LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle11LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle11LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle11LRMax.LineSpacing = 0F;
this.labelTitle11LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle11LRMax.Name = "labelTitle11LRMax";
@ -2042,7 +2045,7 @@
this.labelTitle11LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle11LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle11LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle11LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle11LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle11LRSec.LineSpacing = 0F;
this.labelTitle11LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle11LRSec.Name = "labelTitle11LRSec";
@ -2088,6 +2091,7 @@
this.groupBoxLane3.Controls.Add(this.labelHeight3);
this.groupBoxLane3.Controls.Add(this.labelLRSec3);
this.groupBoxLane3.Controls.Add(this.labelTitle3LRSec);
this.groupBoxLane3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane3.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane3.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane3.FrameLineThickness = 2;
@ -2337,7 +2341,7 @@
this.labelTitle3LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle3LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle3LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle3LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle3LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle3LRMax.LineSpacing = 0F;
this.labelTitle3LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle3LRMax.Name = "labelTitle3LRMax";
@ -2606,7 +2610,7 @@
this.labelTitle3LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle3LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle3LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle3LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle3LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle3LRSec.LineSpacing = 0F;
this.labelTitle3LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle3LRSec.Name = "labelTitle3LRSec";
@ -2652,6 +2656,7 @@
this.groupBoxLane4.Controls.Add(this.labelHeight4);
this.groupBoxLane4.Controls.Add(this.labelLRSec4);
this.groupBoxLane4.Controls.Add(this.labelTitle4LRSec);
this.groupBoxLane4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane4.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane4.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane4.FrameLineThickness = 2;
@ -2901,7 +2906,7 @@
this.labelTitle4LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle4LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle4LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle4LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle4LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle4LRMax.LineSpacing = 0F;
this.labelTitle4LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle4LRMax.Name = "labelTitle4LRMax";
@ -3170,7 +3175,7 @@
this.labelTitle4LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle4LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle4LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle4LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle4LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle4LRSec.LineSpacing = 0F;
this.labelTitle4LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle4LRSec.Name = "labelTitle4LRSec";
@ -3216,6 +3221,7 @@
this.groupBoxLane2.Controls.Add(this.labelDiffMadc2);
this.groupBoxLane2.Controls.Add(this.labelLRSec2);
this.groupBoxLane2.Controls.Add(this.labelTitle2LRSec);
this.groupBoxLane2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane2.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane2.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane2.FrameLineThickness = 2;
@ -3468,7 +3474,7 @@
this.labelTitle2LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle2LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle2LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle2LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle2LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle2LRMax.LineSpacing = 0F;
this.labelTitle2LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle2LRMax.Name = "labelTitle2LRMax";
@ -3734,7 +3740,7 @@
this.labelTitle2LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle2LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle2LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle2LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle2LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle2LRSec.LineSpacing = 0F;
this.labelTitle2LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle2LRSec.Name = "labelTitle2LRSec";
@ -3780,6 +3786,7 @@
this.groupBoxLane5.Controls.Add(this.labelHeight5);
this.groupBoxLane5.Controls.Add(this.labelLRSec5);
this.groupBoxLane5.Controls.Add(this.labelTitle5LRSec);
this.groupBoxLane5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane5.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane5.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane5.FrameLineThickness = 2;
@ -4029,7 +4036,7 @@
this.labelTitle5LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle5LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle5LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle5LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle5LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle5LRMax.LineSpacing = 0F;
this.labelTitle5LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle5LRMax.Name = "labelTitle5LRMax";
@ -4298,7 +4305,7 @@
this.labelTitle5LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle5LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle5LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle5LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle5LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle5LRSec.LineSpacing = 0F;
this.labelTitle5LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle5LRSec.Name = "labelTitle5LRSec";
@ -4344,6 +4351,7 @@
this.groupBoxLane9.Controls.Add(this.labelHeight9);
this.groupBoxLane9.Controls.Add(this.labelLRSec9);
this.groupBoxLane9.Controls.Add(this.labelTitle9LRSec);
this.groupBoxLane9.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane9.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane9.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane9.FrameLineThickness = 2;
@ -4593,7 +4601,7 @@
this.labelTitle9LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle9LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle9LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle9LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle9LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle9LRMax.LineSpacing = 0F;
this.labelTitle9LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle9LRMax.Name = "labelTitle9LRMax";
@ -4862,7 +4870,7 @@
this.labelTitle9LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle9LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle9LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle9LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle9LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle9LRSec.LineSpacing = 0F;
this.labelTitle9LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle9LRSec.Name = "labelTitle9LRSec";
@ -4908,6 +4916,7 @@
this.groupBoxLane10.Controls.Add(this.labelHeight10);
this.groupBoxLane10.Controls.Add(this.labelLRSec10);
this.groupBoxLane10.Controls.Add(this.labelTitle10LRSec);
this.groupBoxLane10.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane10.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane10.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane10.FrameLineThickness = 2;
@ -5157,7 +5166,7 @@
this.labelTitle10LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle10LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle10LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle10LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle10LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle10LRMax.LineSpacing = 0F;
this.labelTitle10LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle10LRMax.Name = "labelTitle10LRMax";
@ -5426,7 +5435,7 @@
this.labelTitle10LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle10LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle10LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle10LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle10LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle10LRSec.LineSpacing = 0F;
this.labelTitle10LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle10LRSec.Name = "labelTitle10LRSec";
@ -5472,6 +5481,7 @@
this.groupBoxLane8.Controls.Add(this.labelHeight8);
this.groupBoxLane8.Controls.Add(this.labelLRSec8);
this.groupBoxLane8.Controls.Add(this.labelTitle8LRSec);
this.groupBoxLane8.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane8.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane8.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane8.FrameLineThickness = 2;
@ -5721,7 +5731,7 @@
this.labelTitle8LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle8LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle8LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle8LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle8LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle8LRMax.LineSpacing = 0F;
this.labelTitle8LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle8LRMax.Name = "labelTitle8LRMax";
@ -5990,7 +6000,7 @@
this.labelTitle8LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle8LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle8LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle8LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle8LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle8LRSec.LineSpacing = 0F;
this.labelTitle8LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle8LRSec.Name = "labelTitle8LRSec";
@ -6036,6 +6046,7 @@
this.groupBoxLane7.Controls.Add(this.labelHeight7);
this.groupBoxLane7.Controls.Add(this.labelLRSec7);
this.groupBoxLane7.Controls.Add(this.labelTitle7LRSec);
this.groupBoxLane7.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane7.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane7.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane7.FrameLineThickness = 2;
@ -6285,7 +6296,7 @@
this.labelTitle7LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle7LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle7LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle7LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle7LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle7LRMax.LineSpacing = 0F;
this.labelTitle7LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle7LRMax.Name = "labelTitle7LRMax";
@ -6554,7 +6565,7 @@
this.labelTitle7LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle7LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle7LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle7LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle7LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle7LRSec.LineSpacing = 0F;
this.labelTitle7LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle7LRSec.Name = "labelTitle7LRSec";
@ -6600,6 +6611,7 @@
this.groupBoxLane6.Controls.Add(this.labelLRSec6);
this.groupBoxLane6.Controls.Add(this.labelTitle6LRSec);
this.groupBoxLane6.Controls.Add(this.labelDiff6);
this.groupBoxLane6.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLane6.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLane6.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLane6.FrameLineThickness = 2;
@ -6803,7 +6815,7 @@
this.labelTitle6LRMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle6LRMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle6LRMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle6LRMax.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle6LRMax.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle6LRMax.LineSpacing = 0F;
this.labelTitle6LRMax.Location = new System.Drawing.Point(4, 173);
this.labelTitle6LRMax.Name = "labelTitle6LRMax";
@ -7095,7 +7107,7 @@
this.labelTitle6LRSec.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitle6LRSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitle6LRSec.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitle6LRSec.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle6LRSec.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitle6LRSec.LineSpacing = 0F;
this.labelTitle6LRSec.Location = new System.Drawing.Point(4, 151);
this.labelTitle6LRSec.Name = "labelTitle6LRSec";

View File

@ -34,6 +34,16 @@ namespace INT_LKD_2.Controls.MainDisplay
private Collection<SmartLabel> CollectionPressureWork;
private Collection<SmartLabel> CollectionPressureMaster;
private Collection<SmartGroupBox> CollectionGroupBoxTitle;
private Collection<SmartLabel> CollectionLabelTitleWork;
private Collection<SmartLabel> CollectionLabelTitleMaster;
private Collection<SmartLabel> CollectionLabelTitleLRSec;
private Collection<SmartLabel> CollectionLabelTitleLRMax;
private Collection<SmartLabel> CollectionLabelTitleLevel;
private Collection<SmartLabel> CollectionLabelTitleHeight;
private Collection<SmartLabel> CollectionLabelTitleMaxHeight;
private Collection<SmartLabel> CollectionLabelTitleDiff;
#endregion
#region Constructor
@ -45,6 +55,7 @@ namespace INT_LKD_2.Controls.MainDisplay
this.Initialize();
this.InitializeData();
this.InitializeDesign();
}
#endregion
@ -60,172 +71,53 @@ namespace INT_LKD_2.Controls.MainDisplay
private void Initialize()
{
this.CollectionLabelResult = new Collection<SmartLabel>();
this.CollectionLabelResult.Add(this.labelResult1);
this.CollectionLabelResult.Add(this.labelResult2);
this.CollectionLabelResult.Add(this.labelResult3);
this.CollectionLabelResult.Add(this.labelResult4);
this.CollectionLabelResult.Add(this.labelResult5);
this.CollectionLabelResult.Add(this.labelResult6);
this.CollectionLabelResult.Add(this.labelResult7);
this.CollectionLabelResult.Add(this.labelResult8);
this.CollectionLabelResult.Add(this.labelResult9);
this.CollectionLabelResult.Add(this.labelResult10);
this.CollectionLabelResult.Add(this.labelResult11);
this.CollectionLabelResult.Add(this.labelResult12);
this.CollectionLabelResultDiff = new Collection<SmartLabel>();
this.CollectionLabelResultDiff.Add(this.labelResultDiff1);
this.CollectionLabelResultDiff.Add(this.labelResultDiff2);
this.CollectionLabelResultDiff.Add(this.labelResultDiff3);
this.CollectionLabelResultDiff.Add(this.labelResultDiff4);
this.CollectionLabelResultDiff.Add(this.labelResultDiff5);
this.CollectionLabelResultDiff.Add(this.labelResultDiff6);
this.CollectionLabelResultDiff.Add(this.labelResultDiff7);
this.CollectionLabelResultDiff.Add(this.labelResultDiff8);
this.CollectionLabelResultDiff.Add(this.labelResultDiff9);
this.CollectionLabelResultDiff.Add(this.labelResultDiff10);
this.CollectionLabelResultDiff.Add(this.labelResultDiff11);
this.CollectionLabelResultDiff.Add(this.labelResultDiff12);
this.CollectionLabelResultDisp = new Collection<SmartLabel>();
this.CollectionLabelResultDisp.Add(this.labelResultDisp1);
this.CollectionLabelResultDisp.Add(this.labelResultDisp2);
this.CollectionLabelResultDisp.Add(this.labelResultDisp3);
this.CollectionLabelResultDisp.Add(this.labelResultDisp4);
this.CollectionLabelResultDisp.Add(this.labelResultDisp5);
this.CollectionLabelResultDisp.Add(this.labelResultDisp6);
this.CollectionLabelResultDisp.Add(this.labelResultDisp7);
this.CollectionLabelResultDisp.Add(this.labelResultDisp8);
this.CollectionLabelResultDisp.Add(this.labelResultDisp9);
this.CollectionLabelResultDisp.Add(this.labelResultDisp10);
this.CollectionLabelResultDisp.Add(this.labelResultDisp11);
this.CollectionLabelResultDisp.Add(this.labelResultDisp12);
this.CollectionLabelLevel = new Collection<SmartLabel>();
this.CollectionLabelLevel.Add(this.labelLevel1);
this.CollectionLabelLevel.Add(this.labelLevel2);
this.CollectionLabelLevel.Add(this.labelLevel3);
this.CollectionLabelLevel.Add(this.labelLevel4);
this.CollectionLabelLevel.Add(this.labelLevel5);
this.CollectionLabelLevel.Add(this.labelLevel6);
this.CollectionLabelLevel.Add(this.labelLevel7);
this.CollectionLabelLevel.Add(this.labelLevel8);
this.CollectionLabelLevel.Add(this.labelLevel9);
this.CollectionLabelLevel.Add(this.labelLevel10);
this.CollectionLabelLevel.Add(this.labelLevel11);
this.CollectionLabelLevel.Add(this.labelLevel12);
this.CollectionLabelHeight = new Collection<SmartLabel>();
this.CollectionLabelHeight.Add(this.labelHeight1);
this.CollectionLabelHeight.Add(this.labelHeight2);
this.CollectionLabelHeight.Add(this.labelHeight3);
this.CollectionLabelHeight.Add(this.labelHeight4);
this.CollectionLabelHeight.Add(this.labelHeight5);
this.CollectionLabelHeight.Add(this.labelHeight6);
this.CollectionLabelHeight.Add(this.labelHeight7);
this.CollectionLabelHeight.Add(this.labelHeight8);
this.CollectionLabelHeight.Add(this.labelHeight9);
this.CollectionLabelHeight.Add(this.labelHeight10);
this.CollectionLabelHeight.Add(this.labelHeight11);
this.CollectionLabelHeight.Add(this.labelHeight12);
this.CollectionLabelDiff = new Collection<SmartLabel>();
this.CollectionLabelDiff.Add(this.labelDiff1);
this.CollectionLabelDiff.Add(this.labelDiff2);
this.CollectionLabelDiff.Add(this.labelDiff3);
this.CollectionLabelDiff.Add(this.labelDiff4);
this.CollectionLabelDiff.Add(this.labelDiff5);
this.CollectionLabelDiff.Add(this.labelDiff6);
this.CollectionLabelDiff.Add(this.labelDiff7);
this.CollectionLabelDiff.Add(this.labelDiff8);
this.CollectionLabelDiff.Add(this.labelDiff9);
this.CollectionLabelDiff.Add(this.labelDiff10);
this.CollectionLabelDiff.Add(this.labelDiff11);
this.CollectionLabelDiff.Add(this.labelDiff12);
this.CollectionLabelMaxHeight = new Collection<SmartLabel>();
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight1);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight2);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight3);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight4);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight5);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight6);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight7);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight8);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight9);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight10);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight11);
this.CollectionLabelMaxHeight.Add(this.labelMaxHeight12);
this.CollectionLabelDiffMadc = new Collection<SmartLabel>();
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc1);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc2);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc3);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc4);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc5);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc6);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc7);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc8);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc9);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc10);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc11);
this.CollectionLabelDiffMadc.Add(this.labelDiffMadc12);
this.CollectionLabelLRSec = new Collection<SmartLabel>();
this.CollectionLabelLRSec.Add(this.labelLRSec1);
this.CollectionLabelLRSec.Add(this.labelLRSec2);
this.CollectionLabelLRSec.Add(this.labelLRSec3);
this.CollectionLabelLRSec.Add(this.labelLRSec4);
this.CollectionLabelLRSec.Add(this.labelLRSec5);
this.CollectionLabelLRSec.Add(this.labelLRSec6);
this.CollectionLabelLRSec.Add(this.labelLRSec7);
this.CollectionLabelLRSec.Add(this.labelLRSec8);
this.CollectionLabelLRSec.Add(this.labelLRSec9);
this.CollectionLabelLRSec.Add(this.labelLRSec10);
this.CollectionLabelLRSec.Add(this.labelLRSec11);
this.CollectionLabelLRSec.Add(this.labelLRSec12);
this.CollectionLabelLRMax = new Collection<SmartLabel>();
this.CollectionLabelLRMax.Add(this.labelLRMax1);
this.CollectionLabelLRMax.Add(this.labelLRMax2);
this.CollectionLabelLRMax.Add(this.labelLRMax3);
this.CollectionLabelLRMax.Add(this.labelLRMax4);
this.CollectionLabelLRMax.Add(this.labelLRMax5);
this.CollectionLabelLRMax.Add(this.labelLRMax6);
this.CollectionLabelLRMax.Add(this.labelLRMax7);
this.CollectionLabelLRMax.Add(this.labelLRMax8);
this.CollectionLabelLRMax.Add(this.labelLRMax9);
this.CollectionLabelLRMax.Add(this.labelLRMax10);
this.CollectionLabelLRMax.Add(this.labelLRMax11);
this.CollectionLabelLRMax.Add(this.labelLRMax12);
this.CollectionPressureWork = new Collection<SmartLabel>();
this.CollectionPressureWork.Add(this.labelPressureWork1);
this.CollectionPressureWork.Add(this.labelPressureWork2);
this.CollectionPressureWork.Add(this.labelPressureWork3);
this.CollectionPressureWork.Add(this.labelPressureWork4);
this.CollectionPressureWork.Add(this.labelPressureWork5);
this.CollectionPressureWork.Add(this.labelPressureWork6);
this.CollectionPressureWork.Add(this.labelPressureWork7);
this.CollectionPressureWork.Add(this.labelPressureWork8);
this.CollectionPressureWork.Add(this.labelPressureWork9);
this.CollectionPressureWork.Add(this.labelPressureWork10);
this.CollectionPressureWork.Add(this.labelPressureWork11);
this.CollectionPressureWork.Add(this.labelPressureWork12);
this.CollectionPressureMaster = new Collection<SmartLabel>();
this.CollectionPressureMaster.Add(this.labelPressureMaster1);
this.CollectionPressureMaster.Add(this.labelPressureMaster2);
this.CollectionPressureMaster.Add(this.labelPressureMaster3);
this.CollectionPressureMaster.Add(this.labelPressureMaster4);
this.CollectionPressureMaster.Add(this.labelPressureMaster5);
this.CollectionPressureMaster.Add(this.labelPressureMaster6);
this.CollectionPressureMaster.Add(this.labelPressureMaster7);
this.CollectionPressureMaster.Add(this.labelPressureMaster8);
this.CollectionPressureMaster.Add(this.labelPressureMaster9);
this.CollectionPressureMaster.Add(this.labelPressureMaster10);
this.CollectionPressureMaster.Add(this.labelPressureMaster11);
this.CollectionPressureMaster.Add(this.labelPressureMaster12);
this.CollectionGroupBoxTitle = new Collection<SmartGroupBox>();
this.CollectionLabelTitleWork = new Collection<SmartLabel>();
this.CollectionLabelTitleMaster = new Collection<SmartLabel>();
this.CollectionLabelTitleLRSec = new Collection<SmartLabel>();
this.CollectionLabelTitleLRMax = new Collection<SmartLabel>();
this.CollectionLabelTitleLevel = new Collection<SmartLabel>();
this.CollectionLabelTitleHeight = new Collection<SmartLabel>();
this.CollectionLabelTitleMaxHeight = new Collection<SmartLabel>();
this.CollectionLabelTitleDiff = new Collection<SmartLabel>();
for (int i = 1; i <= this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
this.CollectionLabelResult.Add(FindByNameUtil.SmartLabel("labelResult" + i, this));
this.CollectionLabelResultDiff.Add(FindByNameUtil.SmartLabel("labelResultDiff" + i, this));
this.CollectionLabelResultDisp.Add(FindByNameUtil.SmartLabel("labelResultDisp" + i, this));
this.CollectionLabelLevel.Add(FindByNameUtil.SmartLabel("labelLevel" + i, this));
this.CollectionLabelHeight.Add(FindByNameUtil.SmartLabel("labelHeight" + i, this));
this.CollectionLabelDiff.Add(FindByNameUtil.SmartLabel("labelDiff" + i, this));
this.CollectionLabelMaxHeight.Add(FindByNameUtil.SmartLabel("labelMaxHeight" + i, this));
this.CollectionLabelDiffMadc.Add(FindByNameUtil.SmartLabel("labelDiffMadc" + i, this));
this.CollectionLabelLRSec.Add(FindByNameUtil.SmartLabel("labelLRSec" + i, this));
this.CollectionLabelLRMax.Add(FindByNameUtil.SmartLabel("labelLRMax" + i, this));
this.CollectionPressureWork.Add(FindByNameUtil.SmartLabel("labelPressureWork" + i, this));
this.CollectionPressureMaster.Add(FindByNameUtil.SmartLabel("labelPressureMaster" + i, this));
this.CollectionGroupBoxTitle.Add(FindByNameUtil.SmartGroupBox("groupBoxLane" + i, this));
this.CollectionLabelTitleWork.Add(FindByNameUtil.SmartLabel("labelTitle" + i + "work", this));
this.CollectionLabelTitleMaster.Add(FindByNameUtil.SmartLabel("labelTitle" + i + "Master", this));
this.CollectionLabelTitleLRSec.Add(FindByNameUtil.SmartLabel("labelTitle" + i + "LRSec", this));
this.CollectionLabelTitleLRMax.Add(FindByNameUtil.SmartLabel("labelTitle" + i + "LRMax", this));
this.CollectionLabelTitleLevel.Add(FindByNameUtil.SmartLabel("labelTitle" + i + "Level", this));
this.CollectionLabelTitleHeight.Add(FindByNameUtil.SmartLabel("labelTitle" + i + "Height", this));
this.CollectionLabelTitleMaxHeight.Add(FindByNameUtil.SmartLabel("labelTitle" + i + "MaxHeight", this));
this.CollectionLabelTitleDiff.Add(FindByNameUtil.SmartLabel("labelTitle" + i + "Diff", this));
}
}
public void InitializeData()
{
@ -251,8 +143,38 @@ namespace INT_LKD_2.Controls.MainDisplay
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
this.CollectionLabelResultDiff[i].Text = "压差";
this.CollectionLabelResultDisp[i].Text = "位移";
this.CollectionGroupBoxTitle[i].Text = "巷 " + (i + 1).ToString();
this.CollectionLabelTitleWork[i].Text = "工作腔";
this.CollectionLabelTitleMaster[i].Text = "主腔";
this.CollectionLabelTitleLRSec[i].Text = "每秒变化率";
this.CollectionLabelTitleLRMax[i].Text = "最大变化率";
this.CollectionLabelTitleLevel[i].Text = "等级";
this.CollectionLabelTitleHeight[i].Text = "高度";
this.CollectionLabelTitleMaxHeight[i].Text = "最大高度";
this.CollectionLabelTitleDiff[i].Text = "差异";
}
break;
default:
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
{
this.CollectionLabelResultDiff[i].Text = "Diff";
this.CollectionLabelResultDisp[i].Text = "Disp";
this.CollectionGroupBoxTitle[i].Text = "Lane " + (i + 1).ToString();
this.CollectionLabelTitleWork[i].Text = "Work";
this.CollectionLabelTitleMaster[i].Text = "Master";
this.CollectionLabelTitleLRSec[i].Text = "LR.Sec";
this.CollectionLabelTitleLRMax[i].Text = "LR.Max";
this.CollectionLabelTitleLevel[i].Text = "Level";
this.CollectionLabelTitleHeight[i].Text = "Height";
this.CollectionLabelTitleMaxHeight[i].Text = "MaxHeight";
this.CollectionLabelTitleDiff[i].Text = "Diff";
}
break;
}
}
@ -269,22 +191,54 @@ namespace INT_LKD_2.Controls.MainDisplay
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Pass:
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
value = "标准";
break;
default:
value = "Pass";
break;
}
label2.TextColor = Define.ColorTextResultPass;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Ng:
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
value = "泄漏";
break;
default:
value = "Leak";
break;
}
label2.TextColor = Define.ColorTextResultNG;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Empty:
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
value = "空的";
break;
default:
value = "Empty";
break;
}
label2.TextColor = Define.ColorTextResultNone;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;
case Define.E_JudgmentStatus.Error:
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
value = "错误";
break;
default:
value = "Error";
break;
}
label2.TextColor = Define.ColorTextResultNone;
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
break;

View File

@ -61,10 +61,26 @@ namespace INT_LKD_2.Controls
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
#region 중문
this.labelTitleOffset.Text = "抵消";
this.labelTitleLane.Text = "巷";
this.labelTitleContents.Text = "目录";
this.labelTitleValueDecimal.Text = "值(十进制)";
this.labelTitleValueHexa.Text = "值(十六进制)";
for (int i = 1; i <= this.ModbusCount; i++)
{
if (i % 2 == 1)
this.CollectionContents[i - 1].Text = "工序";
else
this.CollectionContents[i - 1].Text = "结果";
}
#endregion
break;
case Define.E_LanguageID.English:
#region 영문
this.labelTitleOffset.Text = "Offset";
this.labelTitleLane.Text = "Lane";
this.labelTitleContents.Text = "Contents";
this.labelTitleValueDecimal.Text = "Value(Decimal)";
this.labelTitleValueHexa.Text = "Value(Hexa)";

File diff suppressed because it is too large Load Diff

View File

@ -39,7 +39,7 @@
this.labelResultDisp.BackGroundColor = System.Drawing.Color.Black;
this.labelResultDisp.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelResultDisp.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResultDisp.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelResultDisp.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelResultDisp.LineSpacing = 0F;
this.labelResultDisp.Location = new System.Drawing.Point(68, 43);
this.labelResultDisp.Name = "labelResultDisp";
@ -62,7 +62,7 @@
this.labelResultDiff.BackGroundColor = System.Drawing.Color.Black;
this.labelResultDiff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelResultDiff.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResultDiff.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelResultDiff.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelResultDiff.LineSpacing = 0F;
this.labelResultDiff.Location = new System.Drawing.Point(0, 43);
this.labelResultDiff.Name = "labelResultDiff";
@ -85,7 +85,7 @@
this.labelResult.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
this.labelResult.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelResult.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.labelResult.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.labelResult.LineSpacing = 0F;
this.labelResult.Location = new System.Drawing.Point(0, 0);
this.labelResult.Name = "labelResult";

View File

@ -31,6 +31,7 @@ namespace INT_LKD_2.Controls.MainDisplay
this.ParentForm = parent;
this.Initialize();
this.InitializeDesign();
}
#endregion
@ -70,19 +71,51 @@ namespace INT_LKD_2.Controls.MainDisplay
label.BackGroundColor = this.ColorResultNone;
break;
case Define.E_JudgmentStatus.Pass:
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
value = "标准";
break;
default:
value = "Pass";
break;
}
label.BackGroundColor = this.ColorResultPass;
break;
case Define.E_JudgmentStatus.Ng:
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
value = "泄漏";
break;
default:
value = "Leak";
break;
}
label.BackGroundColor = this.ColorResultNG;
break;
case Define.E_JudgmentStatus.Empty:
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
value = "空的";
break;
default:
value = "Empty";
break;
}
label.BackGroundColor = this.ColorResultNone;
break;
case Define.E_JudgmentStatus.Error:
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
value = "错误";
break;
default:
value = "Error";
break;
}
label.BackGroundColor = this.ColorResultNone;
break;
default:
@ -94,7 +127,17 @@ namespace INT_LKD_2.Controls.MainDisplay
}
private void GetJudgmentResultDiff(Define.E_JudgmentStatus judg, SmartLabel label)
{
string value = "Diff";
string value;
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
value = "压差";
break;
default:
value = "Diff";
break;
}
switch (judg)
{
@ -122,7 +165,17 @@ namespace INT_LKD_2.Controls.MainDisplay
}
private void GetJudgmentResultDisp(Define.E_JudgmentStatus judg, SmartLabel label)
{
string value = "Disp";
string value;
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
value = "位移";
break;
default:
value = "Disp";
break;
}
switch (judg)
{

View File

@ -107,6 +107,7 @@
this.smartGroupBox1.Controls.Add(this.groupBoxOutput);
this.smartGroupBox1.Controls.Add(this.groupBoxStatus);
this.smartGroupBox1.Controls.Add(this.groupBoxInput);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -146,7 +147,7 @@
this.groupBoxServo.Controls.Add(this.buttonMotor1Origin);
this.groupBoxServo.Controls.Add(this.buttonMotorChamber2);
this.groupBoxServo.Controls.Add(this.buttonMotorChamber1);
this.groupBoxServo.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxServo.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxServo.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxServo.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxServo.FrameLineThickness = 2;
@ -194,6 +195,7 @@
this.buttonMotorReady.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorReady.ButtonText = "Ready";
this.buttonMotorReady.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorReady.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonMotorReady.GroupID = 0;
this.buttonMotorReady.ImageDisable = null;
this.buttonMotorReady.ImageDown = null;
@ -229,6 +231,7 @@
this.buttonJogCCW.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonJogCCW.ButtonText = "JOG CCW";
this.buttonJogCCW.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonJogCCW.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonJogCCW.GroupID = 0;
this.buttonJogCCW.ImageDisable = null;
this.buttonJogCCW.ImageDown = null;
@ -265,6 +268,7 @@
this.buttonJogCW.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonJogCW.ButtonText = "JOG CW";
this.buttonJogCW.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonJogCW.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonJogCW.GroupID = 0;
this.buttonJogCW.ImageDisable = null;
this.buttonJogCW.ImageDown = null;
@ -349,6 +353,7 @@
this.buttonMotorDischarge.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorDischarge.ButtonText = "Discharge";
this.buttonMotorDischarge.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorDischarge.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonMotorDischarge.GroupID = 0;
this.buttonMotorDischarge.ImageDisable = null;
this.buttonMotorDischarge.ImageDown = null;
@ -384,6 +389,7 @@
this.buttonMotorChamber6.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber6.ButtonText = "Chamber 6";
this.buttonMotorChamber6.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber6.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonMotorChamber6.GroupID = 0;
this.buttonMotorChamber6.ImageDisable = null;
this.buttonMotorChamber6.ImageDown = null;
@ -443,6 +449,7 @@
this.buttonMotorChamber5.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber5.ButtonText = "Chamber 5";
this.buttonMotorChamber5.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonMotorChamber5.GroupID = 0;
this.buttonMotorChamber5.ImageDisable = null;
this.buttonMotorChamber5.ImageDown = null;
@ -526,6 +533,7 @@
this.buttonMotorChamber4.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber4.ButtonText = "Chamber 4";
this.buttonMotorChamber4.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonMotorChamber4.GroupID = 0;
this.buttonMotorChamber4.ImageDisable = null;
this.buttonMotorChamber4.ImageDown = null;
@ -561,6 +569,7 @@
this.buttonMotorChamber3.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber3.ButtonText = "Chamber 3";
this.buttonMotorChamber3.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonMotorChamber3.GroupID = 0;
this.buttonMotorChamber3.ImageDisable = null;
this.buttonMotorChamber3.ImageDown = null;
@ -596,6 +605,7 @@
this.buttonMotor1AlarmClear.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotor1AlarmClear.ButtonText = "Alarm Clear";
this.buttonMotor1AlarmClear.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotor1AlarmClear.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonMotor1AlarmClear.GroupID = 0;
this.buttonMotor1AlarmClear.ImageDisable = null;
this.buttonMotor1AlarmClear.ImageDown = null;
@ -703,6 +713,7 @@
this.buttonMotor1Origin.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotor1Origin.ButtonText = "ORIGIN";
this.buttonMotor1Origin.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotor1Origin.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonMotor1Origin.GroupID = 0;
this.buttonMotor1Origin.ImageDisable = null;
this.buttonMotor1Origin.ImageDown = null;
@ -738,6 +749,7 @@
this.buttonMotorChamber2.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber2.ButtonText = "Chamber 2";
this.buttonMotorChamber2.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonMotorChamber2.GroupID = 0;
this.buttonMotorChamber2.ImageDisable = null;
this.buttonMotorChamber2.ImageDown = null;
@ -773,6 +785,7 @@
this.buttonMotorChamber1.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMotorChamber1.ButtonText = "Chamber 1";
this.buttonMotorChamber1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMotorChamber1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonMotorChamber1.GroupID = 0;
this.buttonMotorChamber1.ImageDisable = null;
this.buttonMotorChamber1.ImageDown = null;
@ -817,7 +830,7 @@
this.groupBoxOutput.Controls.Add(this.buttonOut5);
this.groupBoxOutput.Controls.Add(this.buttonOut6);
this.groupBoxOutput.Controls.Add(this.buttonOut7);
this.groupBoxOutput.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxOutput.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxOutput.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxOutput.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxOutput.FrameLineThickness = 2;
@ -837,6 +850,7 @@
this.labelTitleDiscriptionPD.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleDiscriptionPD.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleDiscriptionPD.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleDiscriptionPD.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleDiscriptionPD.LineSpacing = 0F;
this.labelTitleDiscriptionPD.Location = new System.Drawing.Point(31, 410);
this.labelTitleDiscriptionPD.Name = "labelTitleDiscriptionPD";
@ -860,6 +874,7 @@
this.labelTitleDiscriptionCD.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleDiscriptionCD.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleDiscriptionCD.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleDiscriptionCD.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleDiscriptionCD.LineSpacing = 0F;
this.labelTitleDiscriptionCD.Location = new System.Drawing.Point(31, 390);
this.labelTitleDiscriptionCD.Name = "labelTitleDiscriptionCD";
@ -886,6 +901,7 @@
this.buttonOut11.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut11.ButtonText = "None";
this.buttonOut11.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut11.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut11.GroupID = 0;
this.buttonOut11.ImageDisable = null;
this.buttonOut11.ImageDown = null;
@ -921,6 +937,7 @@
this.buttonOut12.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut12.ButtonText = "None";
this.buttonOut12.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut12.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut12.GroupID = 0;
this.buttonOut12.ImageDisable = null;
this.buttonOut12.ImageDown = null;
@ -956,6 +973,7 @@
this.buttonOut10.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut10.ButtonText = "None";
this.buttonOut10.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut10.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut10.GroupID = 0;
this.buttonOut10.ImageDisable = null;
this.buttonOut10.ImageDown = null;
@ -991,6 +1009,7 @@
this.buttonOut1.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut1.ButtonText = "Red";
this.buttonOut1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut1.GroupID = 0;
this.buttonOut1.ImageDisable = null;
this.buttonOut1.ImageDown = null;
@ -1026,6 +1045,7 @@
this.buttonOut2.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut2.ButtonText = "Green";
this.buttonOut2.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut2.GroupID = 0;
this.buttonOut2.ImageDisable = null;
this.buttonOut2.ImageDown = null;
@ -1061,6 +1081,7 @@
this.buttonOut9.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut9.ButtonText = "None";
this.buttonOut9.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut9.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut9.GroupID = 0;
this.buttonOut9.ImageDisable = null;
this.buttonOut9.ImageDown = null;
@ -1096,6 +1117,7 @@
this.buttonOut3.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut3.ButtonText = "Buzzer";
this.buttonOut3.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut3.GroupID = 0;
this.buttonOut3.ImageDisable = null;
this.buttonOut3.ImageDown = null;
@ -1131,6 +1153,7 @@
this.buttonOut4.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut4.ButtonText = "Valve relief";
this.buttonOut4.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut4.GroupID = 0;
this.buttonOut4.ImageDisable = null;
this.buttonOut4.ImageDown = null;
@ -1166,6 +1189,7 @@
this.buttonOut8.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut8.ButtonText = "None";
this.buttonOut8.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut8.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut8.GroupID = 0;
this.buttonOut8.ImageDisable = null;
this.buttonOut8.ImageDown = null;
@ -1201,6 +1225,7 @@
this.buttonOut5.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut5.ButtonText = "Valve hold 1";
this.buttonOut5.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut5.GroupID = 0;
this.buttonOut5.ImageDisable = null;
this.buttonOut5.ImageDown = null;
@ -1236,6 +1261,7 @@
this.buttonOut6.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut6.ButtonText = "Valve hold 2";
this.buttonOut6.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut6.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut6.GroupID = 0;
this.buttonOut6.ImageDisable = null;
this.buttonOut6.ImageDown = null;
@ -1271,6 +1297,7 @@
this.buttonOut7.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonOut7.ButtonText = "CD Sol Valve";
this.buttonOut7.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOut7.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOut7.GroupID = 0;
this.buttonOut7.ImageDisable = null;
this.buttonOut7.ImageDown = null;
@ -1312,7 +1339,7 @@
this.groupBoxStatus.Controls.Add(this.labelTitleDisp);
this.groupBoxStatus.Controls.Add(this.labelSbAlarm1);
this.groupBoxStatus.Controls.Add(this.labelLane);
this.groupBoxStatus.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxStatus.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxStatus.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxStatus.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxStatus.FrameLineThickness = 2;
@ -1355,7 +1382,7 @@
this.labelTitlePressureW.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitlePressureW.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitlePressureW.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitlePressureW.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitlePressureW.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitlePressureW.LineSpacing = 0F;
this.labelTitlePressureW.Location = new System.Drawing.Point(115, 102);
this.labelTitlePressureW.Name = "labelTitlePressureW";
@ -1422,7 +1449,7 @@
this.labelTitlePressureM.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitlePressureM.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitlePressureM.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitlePressureM.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitlePressureM.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitlePressureM.LineSpacing = 0F;
this.labelTitlePressureM.Location = new System.Drawing.Point(115, 129);
this.labelTitlePressureM.Name = "labelTitlePressureM";
@ -1468,7 +1495,7 @@
this.labelTitleDiff.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleDiff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleDiff.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleDiff.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleDiff.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleDiff.LineSpacing = 0F;
this.labelTitleDiff.Location = new System.Drawing.Point(115, 75);
this.labelTitleDiff.Name = "labelTitleDiff";
@ -1514,7 +1541,7 @@
this.labelTitleDisp.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleDisp.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleDisp.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleDisp.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleDisp.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleDisp.LineSpacing = 0F;
this.labelTitleDisp.Location = new System.Drawing.Point(115, 48);
this.labelTitleDisp.Name = "labelTitleDisp";
@ -1590,7 +1617,7 @@
this.groupBoxInput.Controls.Add(this.labelTitleInput1);
this.groupBoxInput.Controls.Add(this.labelInput3);
this.groupBoxInput.Controls.Add(this.labelInput1);
this.groupBoxInput.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxInput.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.groupBoxInput.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxInput.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxInput.FrameLineThickness = 2;
@ -1610,6 +1637,7 @@
this.labelTitleInput5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleInput5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleInput5.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleInput5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleInput5.LineSpacing = 0F;
this.labelTitleInput5.Location = new System.Drawing.Point(51, 125);
this.labelTitleInput5.Name = "labelTitleInput5";
@ -1653,6 +1681,7 @@
this.labelTitleInput4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleInput4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleInput4.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleInput4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleInput4.LineSpacing = 0F;
this.labelTitleInput4.Location = new System.Drawing.Point(207, 89);
this.labelTitleInput4.Name = "labelTitleInput4";
@ -1675,6 +1704,7 @@
this.labelTitleInput2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleInput2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleInput2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleInput2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleInput2.LineSpacing = 0F;
this.labelTitleInput2.Location = new System.Drawing.Point(207, 53);
this.labelTitleInput2.Name = "labelTitleInput2";
@ -1739,6 +1769,7 @@
this.labelTitleInput3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleInput3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleInput3.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleInput3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleInput3.LineSpacing = 0F;
this.labelTitleInput3.Location = new System.Drawing.Point(51, 89);
this.labelTitleInput3.Name = "labelTitleInput3";
@ -1761,6 +1792,7 @@
this.labelTitleInput1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleInput1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleInput1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleInput1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleInput1.LineSpacing = 0F;
this.labelTitleInput1.Location = new System.Drawing.Point(51, 53);
this.labelTitleInput1.Name = "labelTitleInput1";

View File

@ -35,6 +35,7 @@ namespace INT_LKD_2.Controls
this.ParentForm = parent;
this.BoardMode = mode;
this.Initialize();
this.InitializeDesign();
}
#endregion
@ -74,8 +75,6 @@ namespace INT_LKD_2.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = string.Format("Manual > {0}", this.BoardMode);
this.ColorEnable = Color.Lime;
this.ColorDisable = Color.Gainsboro;
@ -84,7 +83,7 @@ namespace INT_LKD_2.Controls
this.CollLabelInput.Add(this.labelInput2);
this.CollLabelInput.Add(this.labelInput3);
this.CollLabelInput.Add(this.labelInput4);
this.CollLabelInput.Add(this.labelInput4);
this.CollLabelInput.Add(this.labelInput5);
this.labelDiff.Text = "0.00";
this.labelDisp.Text = "0.00";
@ -95,6 +94,113 @@ namespace INT_LKD_2.Controls
for (int i = 0; i < this.CollLabelInput.Count; i++)
this.CollLabelInput[i].RoundRectFillColor = this.ColorDisable;
}
public void InitializeDesign()
{
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.smartGroupBox1.Text = string.Format("手动设置 > {0}", this.BoardMode);
this.groupBoxInput.Text = "输入";
this.groupBoxStatus.Text = "地位";
this.groupBoxOutput.Text = "输出";
this.groupBoxServo.Text = "伺服电机";
this.labelTitleInput1.Text = "输入 1";
this.labelTitleInput2.Text = "输入 2";
this.labelTitleInput3.Text = "输入 3";
this.labelTitleInput4.Text = "输入 4";
this.labelTitleInput5.Text = "输入 5";
this.labelTitleDisp.Text = "位移";
this.labelTitleDiff.Text = "压差";
this.labelTitlePressureW.Text = "工作腔";
this.labelTitlePressureM.Text = "主腔";
this.buttonOut4.ButtonText = "阀门稳定";
this.buttonOut5.ButtonText = "阀门维护 1";
this.buttonOut6.ButtonText = "阀门维护 2";
this.buttonOut7.ButtonText = "CD 电磁阀";
this.buttonOut8.ButtonText = "未使用";
this.buttonOut9.ButtonText = "未使用";
this.buttonOut10.ButtonText = "未使用";
this.buttonOut11.ButtonText = "未使用";
this.buttonOut12.ButtonText = "未使用";
this.labelTitleDiscriptionCD.Text = "CD : 商会下电磁阀";
this.buttonMotor1Origin.ButtonText = "原点";
this.buttonMotor1AlarmClear.ButtonText = "报警清除";
this.buttonMotorReady.ButtonText = "初始状态";
this.buttonMotorDischarge.ButtonText = "排出";
this.buttonJogCW.ButtonText = "顺时针点动";
this.buttonJogCCW.ButtonText = "逆时针点动";
if (this.BoardMode == Define.E_BoardMode.Master)
{
this.buttonMotorChamber1.ButtonText = "腔 12";
this.buttonMotorChamber2.ButtonText = "腔 11";
this.buttonMotorChamber3.ButtonText = "腔 10";
this.buttonMotorChamber4.ButtonText = "腔 9";
this.buttonMotorChamber5.ButtonText = "腔 8";
this.buttonMotorChamber6.ButtonText = "腔 7";
this.buttonOut1.ButtonText = "红色";
this.buttonOut2.ButtonText = "绿色";
this.buttonOut3.ButtonText = "蜂鸣器";
}
else
{
this.buttonMotorChamber1.ButtonText = "腔 1";
this.buttonMotorChamber2.ButtonText = "腔 2";
this.buttonMotorChamber3.ButtonText = "腔 3";
this.buttonMotorChamber4.ButtonText = "腔 4";
this.buttonMotorChamber5.ButtonText = "腔 5";
this.buttonMotorChamber6.ButtonText = "腔 6";
this.buttonOut1.ButtonText = "未使用";
this.buttonOut2.ButtonText = "未使用";
this.buttonOut3.ButtonText = "未使用";
}
break;
default:
this.smartGroupBox1.Text = string.Format("Manual > {0}", this.BoardMode);
this.groupBoxInput.Text = "INPUT";
this.groupBoxStatus.Text = "STATUS";
this.groupBoxOutput.Text = "OUTPUT";
this.groupBoxServo.Text = "SERVO";
this.labelTitleInput1.Text = "Input 1";
this.labelTitleInput2.Text = "Input 2";
this.labelTitleInput3.Text = "Input 3";
this.labelTitleInput4.Text = "Input 4";
this.labelTitleInput5.Text = "Input 5";
this.labelTitleDisp.Text = "Disp";
this.labelTitleDiff.Text = "Diff";
this.labelTitlePressureW.Text = "Pressure W";
this.labelTitlePressureM.Text = "Pressure M";
this.buttonOut4.ButtonText = "Valve relief";
this.buttonOut5.ButtonText = "Valve hold 1";
this.buttonOut6.ButtonText = "Valve hold 2";
this.buttonOut7.ButtonText = "CD Sol Valve";
this.buttonOut8.ButtonText = "None";
this.buttonOut9.ButtonText = "None";
this.buttonOut10.ButtonText = "None";
this.buttonOut11.ButtonText = "None";
this.buttonOut12.ButtonText = "None";
this.labelTitleDiscriptionCD.Text = "CD : Chamber Down";
this.buttonMotor1Origin.ButtonText = "ORIGIN";
this.buttonMotor1AlarmClear.ButtonText = "Alarm Clear";
this.buttonMotorReady.ButtonText = "Ready";
this.buttonMotorDischarge.ButtonText = "Discharge";
this.buttonJogCW.ButtonText = "JOG CW";
this.buttonJogCCW.ButtonText = "JOG CCW";
if (this.BoardMode == Define.E_BoardMode.Master)
{
@ -104,21 +210,24 @@ namespace INT_LKD_2.Controls
this.buttonMotorChamber4.ButtonText = "Chamber 9";
this.buttonMotorChamber5.ButtonText = "Chamber 8";
this.buttonMotorChamber6.ButtonText = "Chamber 7";
this.buttonOut1.ButtonText = "Red";
this.buttonOut2.ButtonText = "Green";
this.buttonOut3.ButtonText = "Buzzer";
}
else
{
this.buttonMotorChamber1.ButtonText = "Chamber 1";
this.buttonMotorChamber2.ButtonText = "Chamber 2";
this.buttonMotorChamber3.ButtonText = "Chamber 3";
this.buttonMotorChamber4.ButtonText = "Chamber 4";
this.buttonMotorChamber5.ButtonText = "Chamber 5";
this.buttonMotorChamber6.ButtonText = "Chamber 6";
this.buttonOut1.ButtonText = "None";
this.buttonOut2.ButtonText = "None";
this.buttonOut3.ButtonText = "None";
}
}
public void InitializeDesign()
{
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
break;
default:
break;
}
}
@ -660,7 +769,7 @@ namespace INT_LKD_2.Controls
string caption = "Origin", before = "", after = "";
before = this.labelMotor1Origin.Text;
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotor1Origin.Text, 7, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotor1Origin.Text, 7, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -688,7 +797,7 @@ namespace INT_LKD_2.Controls
before = this.labelMotorReady.Text;
caption = string.Format("{0} Location - {1}", this.buttonMotorReady.ButtonText, before);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorReady.Text, 7, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorReady.Text, 7, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -716,7 +825,7 @@ namespace INT_LKD_2.Controls
before = this.labelMotorChamber1.Text;
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber1.ButtonText, before);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber1.Text, 7, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber1.Text, 7, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -743,7 +852,7 @@ namespace INT_LKD_2.Controls
before = this.labelMotorChamber2.Text;
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber2.ButtonText, before);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber2.Text, 7, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber2.Text, 7, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -770,7 +879,7 @@ namespace INT_LKD_2.Controls
before = this.labelMotorChamber3.Text;
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber3.ButtonText, before);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber3.Text, 7, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber3.Text, 7, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -797,7 +906,7 @@ namespace INT_LKD_2.Controls
before = this.labelMotorChamber4.Text;
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber4.ButtonText, before);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber4.Text, 7, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber4.Text, 7, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -824,7 +933,7 @@ namespace INT_LKD_2.Controls
before = this.labelMotorChamber5.Text;
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber5.ButtonText, before);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber5.Text, 7, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber5.Text, 7, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -851,7 +960,7 @@ namespace INT_LKD_2.Controls
before = this.labelMotorChamber6.Text;
caption = string.Format("{0} Location - {1}", this.buttonMotorChamber6.ButtonText, before);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber6.Text, 7, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber6.Text, 7, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -878,7 +987,7 @@ namespace INT_LKD_2.Controls
before = this.labelMotorDischarge.Text;
caption = string.Format("{0} Location - {1}", this.buttonMotorDischarge.ButtonText, before);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorDischarge.Text, 7, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorDischarge.Text, 7, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{

View File

@ -28,7 +28,7 @@
/// </summary>
private void InitializeComponent()
{
SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle chartPenStyle2 = new SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle();
SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle chartPenStyle1 = new SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle();
this.groupBoxMeasuring1 = new SmartX.SmartGroupBox();
this.labelMesResultDisp = new SmartX.SmartLabel();
this.labelMesResultDiff = new SmartX.SmartLabel();
@ -96,6 +96,7 @@
this.groupBoxMeasuring1.Controls.Add(this.labelMesDispRData);
this.groupBoxMeasuring1.Controls.Add(this.labelTitleLevel);
this.groupBoxMeasuring1.Controls.Add(this.labelMesResult);
this.groupBoxMeasuring1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxMeasuring1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxMeasuring1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxMeasuring1.FrameLineThickness = 2;
@ -257,6 +258,7 @@
this.groupBoxPressure.BackImage = null;
this.groupBoxPressure.Controls.Add(this.smartDrawDiff);
this.groupBoxPressure.Controls.Add(this.smartLabel61);
this.groupBoxPressure.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxPressure.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxPressure.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxPressure.FrameLineThickness = 2;
@ -294,10 +296,10 @@
//
// smartDraw_ChartChannelPenStyle1
//
chartPenStyle2.ChannelColor = System.Drawing.Color.White;
chartPenStyle2.PenStyle = SmartX.SmartDraw_ChartChannelPenStyle.PenStyles.SOLID;
chartPenStyle2.PenWidth = 3;
this.smartDraw_ChartChannelPenStyle1.ChartChannelPenStyle.Add(chartPenStyle2);
chartPenStyle1.ChannelColor = System.Drawing.Color.White;
chartPenStyle1.PenStyle = SmartX.SmartDraw_ChartChannelPenStyle.PenStyles.SOLID;
chartPenStyle1.PenWidth = 3;
this.smartDraw_ChartChannelPenStyle1.ChartChannelPenStyle.Add(chartPenStyle1);
//
// smartLabel61
//
@ -709,6 +711,7 @@
this.groupBoxDisplacement.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.groupBoxDisplacement.BackImage = null;
this.groupBoxDisplacement.Controls.Add(this.smartDrawDisp);
this.groupBoxDisplacement.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxDisplacement.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxDisplacement.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxDisplacement.FrameLineThickness = 2;

View File

@ -32,6 +32,7 @@ namespace INT_LKD_2.Controls
this.InitializeData();
this.InitializeDrawDiff();
this.InitializeDrawDisp();
this.InitializeDesign();
}
#endregion
@ -57,9 +58,7 @@ namespace INT_LKD_2.Controls
{
this.labelMesResult.Text = "-";
this.labelMesResult.TextColor = Define.ColorTextResultNone;
this.labelMesResultDiff.Text = "Diff";
this.labelMesResultDiff.TextColor = Define.ColorTextResultNone;
this.labelMesResultDisp.Text = "Disp";
this.labelMesResultDisp.TextColor = Define.ColorTextResultNone;
this.labelMesPressureMaster.Text = "0.0";
@ -79,8 +78,40 @@ namespace INT_LKD_2.Controls
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.groupBoxPressure.Text = "压差";
this.groupBoxDisplacement.Text = "位移";
this.groupBoxMeasuring1.Text = "测量中";
this.labelMesResultDiff.Text = "压差";
this.labelMesResultDisp.Text = "位移";
this.labelTitleMaster.Text = "主腔";
this.labelTitleWork.Text = "工作腔";
this.labelTitleLRSec.Text = "每秒变化率";
this.labelTitleLRMax.Text = "最大变化率";
this.labelTitleLevel.Text = "等级";
this.labelTitleHeight.Text = "高度";
this.labelTitleMaxHeight.Text = "最大高度";
this.labelTitleDiff.Text = "差异";
break;
default:
this.groupBoxPressure.Text = "Differential Pressure";
this.groupBoxDisplacement.Text = "Displacement";
this.groupBoxMeasuring1.Text = "Measuring";
this.labelMesResultDiff.Text = "Diff";
this.labelMesResultDisp.Text = "Disp";
this.labelTitleMaster.Text = "Master";
this.labelTitleWork.Text = "Work";
this.labelTitleLRSec.Text = "LR.Sec";
this.labelTitleLRMax.Text = "LR.Max";
this.labelTitleLevel.Text = "Level";
this.labelTitleHeight.Text = "Height";
this.labelTitleMaxHeight.Text = "Max Height";
this.labelTitleDiff.Text = "Diff";
break;
}
}

View File

@ -120,9 +120,6 @@
<metadata name="smartDraw_ChartChannelPenStyle1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="smartDraw_ChartChannelPenStyle1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
<value>WEBPAD</value>
</metadata>

View File

@ -125,6 +125,7 @@
this.smartGroupBox1.Controls.Add(this.groupBoxRecipe);
this.smartGroupBox1.Controls.Add(this.labelDiffLrCycle);
this.smartGroupBox1.Controls.Add(this.smartLabel11);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -204,7 +205,7 @@
this.labelProgress3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress3.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress3.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress3.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress3.LineSpacing = 0F;
this.labelProgress3.Location = new System.Drawing.Point(381, 7);
this.labelProgress3.Name = "labelProgress3";
@ -227,7 +228,7 @@
this.labelProgress7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress7.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress7.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
this.labelProgress7.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress7.LineSpacing = 0F;
this.labelProgress7.Location = new System.Drawing.Point(645, 7);
this.labelProgress7.Name = "labelProgress7";
@ -250,7 +251,7 @@
this.labelProgress6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress6.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress6.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress6.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress6.LineSpacing = 0F;
this.labelProgress6.Location = new System.Drawing.Point(579, 7);
this.labelProgress6.Name = "labelProgress6";
@ -273,7 +274,7 @@
this.labelProgress9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress9.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress9.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress9.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress9.LineSpacing = 0F;
this.labelProgress9.Location = new System.Drawing.Point(777, 7);
this.labelProgress9.Name = "labelProgress9";
@ -296,7 +297,7 @@
this.labelProgress10.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress10.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress10.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress10.LineSpacing = 0F;
this.labelProgress10.Location = new System.Drawing.Point(843, 7);
this.labelProgress10.Name = "labelProgress10";
@ -319,7 +320,7 @@
this.labelProgress8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress8.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress8.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress8.LineSpacing = 0F;
this.labelProgress8.Location = new System.Drawing.Point(711, 7);
this.labelProgress8.Name = "labelProgress8";
@ -342,7 +343,7 @@
this.labelProgress5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress5.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress5.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress5.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress5.LineSpacing = 0F;
this.labelProgress5.Location = new System.Drawing.Point(513, 7);
this.labelProgress5.Name = "labelProgress5";
@ -365,7 +366,7 @@
this.labelProgress4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress4.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress4.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress4.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress4.LineSpacing = 0F;
this.labelProgress4.Location = new System.Drawing.Point(447, 7);
this.labelProgress4.Name = "labelProgress4";
@ -388,7 +389,7 @@
this.labelProgress2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress2.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress2.LineSpacing = 0F;
this.labelProgress2.Location = new System.Drawing.Point(315, 7);
this.labelProgress2.Name = "labelProgress2";
@ -411,7 +412,7 @@
this.labelProgress1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress1.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress1.LineSpacing = 0F;
this.labelProgress1.Location = new System.Drawing.Point(249, 7);
this.labelProgress1.Name = "labelProgress1";
@ -619,7 +620,7 @@
this.buttonInspection.ButtonStyle = SmartX.SmartButton.ButtonStyles.Round3D;
this.buttonInspection.ButtonText = "Inspection";
this.buttonInspection.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonInspection.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.buttonInspection.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.buttonInspection.GroupID = 0;
this.buttonInspection.ImageDisable = null;
this.buttonInspection.ImageDown = null;
@ -655,7 +656,7 @@
this.buttonMaster.ButtonStyle = SmartX.SmartButton.ButtonStyles.Round3D;
this.buttonMaster.ButtonText = "Master";
this.buttonMaster.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMaster.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonMaster.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonMaster.GroupID = 0;
this.buttonMaster.ImageDisable = null;
this.buttonMaster.ImageDown = null;
@ -691,7 +692,7 @@
this.buttonSlave.ButtonStyle = SmartX.SmartButton.ButtonStyles.Round3D;
this.buttonSlave.ButtonText = "Slave";
this.buttonSlave.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSlave.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonSlave.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonSlave.GroupID = 0;
this.buttonSlave.ImageDisable = null;
this.buttonSlave.ImageDown = null;
@ -764,6 +765,7 @@
this.groupBoxRecipe.Controls.Add(this.labelTitlePressure);
this.groupBoxRecipe.Controls.Add(this.labelDispMaxDiff);
this.groupBoxRecipe.Controls.Add(this.labelTitleMaxDiff);
this.groupBoxRecipe.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxRecipe.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxRecipe.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxRecipe.FrameLineThickness = 2;
@ -783,7 +785,7 @@
this.labelTitleDiffNG.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleDiffNG.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleDiffNG.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleDiffNG.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleDiffNG.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleDiffNG.LineSpacing = 0F;
this.labelTitleDiffNG.Location = new System.Drawing.Point(129, 561);
this.labelTitleDiffNG.Name = "labelTitleDiffNG";
@ -850,7 +852,7 @@
this.labelTitleMaxHeightNG.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleMaxHeightNG.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleMaxHeightNG.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMaxHeightNG.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMaxHeightNG.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMaxHeightNG.LineSpacing = 0F;
this.labelTitleMaxHeightNG.Location = new System.Drawing.Point(129, 508);
this.labelTitleMaxHeightNG.Name = "labelTitleMaxHeightNG";
@ -895,7 +897,7 @@
this.labelTitleLevelNG.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleLevelNG.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleLevelNG.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleLevelNG.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleLevelNG.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleLevelNG.LineSpacing = 0F;
this.labelTitleLevelNG.Location = new System.Drawing.Point(129, 455);
this.labelTitleLevelNG.Name = "labelTitleLevelNG";
@ -940,7 +942,7 @@
this.labelTitleLRMaxNG.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleLRMaxNG.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleLRMaxNG.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleLRMaxNG.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleLRMaxNG.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleLRMaxNG.LineSpacing = 0F;
this.labelTitleLRMaxNG.Location = new System.Drawing.Point(129, 322);
this.labelTitleLRMaxNG.Name = "labelTitleLRMaxNG";
@ -1108,7 +1110,7 @@
this.labelTitleVacuum.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleVacuum.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleVacuum.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleVacuum.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleVacuum.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleVacuum.LineSpacing = 0F;
this.labelTitleVacuum.Location = new System.Drawing.Point(8, 72);
this.labelTitleVacuum.Name = "labelTitleVacuum";
@ -1177,6 +1179,7 @@
this.labelTitleBreakTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleBreakTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleBreakTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleBreakTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleBreakTime.LineSpacing = 0F;
this.labelTitleBreakTime.Location = new System.Drawing.Point(3, 252);
this.labelTitleBreakTime.Name = "labelTitleBreakTime";
@ -1235,6 +1238,7 @@
this.labelTitleDelayTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleDelayTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleDelayTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleDelayTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleDelayTime.LineSpacing = 0F;
this.labelTitleDelayTime.Location = new System.Drawing.Point(3, 379);
this.labelTitleDelayTime.Name = "labelTitleDelayTime";
@ -1257,6 +1261,7 @@
this.labelTitleHoldTime2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleHoldTime2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleHoldTime2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleHoldTime2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleHoldTime2.LineSpacing = 0F;
this.labelTitleHoldTime2.Location = new System.Drawing.Point(3, 216);
this.labelTitleHoldTime2.Name = "labelTitleHoldTime2";
@ -1279,7 +1284,7 @@
this.labelTitleDifferentialPressure.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleDifferentialPressure.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleDifferentialPressure.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleDifferentialPressure.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleDifferentialPressure.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleDifferentialPressure.LineSpacing = 0F;
this.labelTitleDifferentialPressure.Location = new System.Drawing.Point(8, 288);
this.labelTitleDifferentialPressure.Name = "labelTitleDifferentialPressure";
@ -1325,6 +1330,7 @@
this.labelTitleHoldTime1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleHoldTime1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleHoldTime1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleHoldTime1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleHoldTime1.LineSpacing = 0F;
this.labelTitleHoldTime1.Location = new System.Drawing.Point(3, 180);
this.labelTitleHoldTime1.Name = "labelTitleHoldTime1";
@ -1383,6 +1389,7 @@
this.labelTitleStartTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleStartTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleStartTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleStartTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleStartTime.LineSpacing = 0F;
this.labelTitleStartTime.Location = new System.Drawing.Point(3, 144);
this.labelTitleStartTime.Name = "labelTitleStartTime";
@ -1405,7 +1412,7 @@
this.labelTitleProductDisplacement.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleProductDisplacement.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleProductDisplacement.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleProductDisplacement.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleProductDisplacement.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleProductDisplacement.LineSpacing = 0F;
this.labelTitleProductDisplacement.Location = new System.Drawing.Point(8, 422);
this.labelTitleProductDisplacement.Name = "labelTitleProductDisplacement";
@ -1451,6 +1458,7 @@
this.labelTitleNumber.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleNumber.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleNumber.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleNumber.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleNumber.LineSpacing = 0F;
this.labelTitleNumber.Location = new System.Drawing.Point(3, 36);
this.labelTitleNumber.Name = "labelTitleNumber";
@ -1496,6 +1504,7 @@
this.labelTitleMinHeight.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleMinHeight.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleMinHeight.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMinHeight.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleMinHeight.LineSpacing = 0F;
this.labelTitleMinHeight.Location = new System.Drawing.Point(3, 529);
this.labelTitleMinHeight.Name = "labelTitleMinHeight";
@ -1518,6 +1527,7 @@
this.labelTitleLR.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleLR.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleLR.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleLR.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleLR.LineSpacing = 0F;
this.labelTitleLR.Location = new System.Drawing.Point(3, 343);
this.labelTitleLR.Name = "labelTitleLR";
@ -1609,6 +1619,7 @@
this.labelTitleEmptyLevel.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleEmptyLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleEmptyLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleEmptyLevel.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleEmptyLevel.LineSpacing = 0F;
this.labelTitleEmptyLevel.Location = new System.Drawing.Point(3, 476);
this.labelTitleEmptyLevel.Name = "labelTitleEmptyLevel";
@ -1631,6 +1642,7 @@
this.labelTitlePressure.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitlePressure.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitlePressure.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitlePressure.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitlePressure.LineSpacing = 0F;
this.labelTitlePressure.Location = new System.Drawing.Point(3, 108);
this.labelTitlePressure.Name = "labelTitlePressure";
@ -1676,6 +1688,7 @@
this.labelTitleMaxDiff.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.labelTitleMaxDiff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleMaxDiff.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMaxDiff.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleMaxDiff.LineSpacing = 0F;
this.labelTitleMaxDiff.Location = new System.Drawing.Point(3, 582);
this.labelTitleMaxDiff.Name = "labelTitleMaxDiff";

View File

@ -24,8 +24,8 @@ namespace INT_LKD_2.Controls
private Collection<Control> CollControls;
private ControlMenuRecipeData ChildControlRecipeData1;
private ControlMenuRecipeData ChildControlRecipeData2;
public ControlMenuRecipeData ChildControlRecipeData1;
public ControlMenuRecipeData ChildControlRecipeData2;
#endregion
#region Constructor
@ -35,6 +35,7 @@ namespace INT_LKD_2.Controls
this.ParentForm = parent;
this.Initialize();
this.InitializeDesign();
}
#endregion
@ -49,7 +50,6 @@ namespace INT_LKD_2.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "Recipe > Setting";
this.MessageBoxRange = "";
this.CollControls = new Collection<Control>();
@ -91,8 +91,88 @@ namespace INT_LKD_2.Controls
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.smartGroupBox1.Text = "配方设置 > 设置";
this.labelProgress1.Text = "初始状态";
this.labelProgress2.Text = "进入";
this.labelProgress3.Text = "移动";
this.labelProgress4.Text = "合并";
this.labelProgress5.Text = "启动真空";
this.labelProgress6.Text = "保持真空";
this.labelProgress7.Text = "判断";
this.labelProgress8.Text = "中断真空";
this.labelProgress9.Text = "释放";
this.labelProgress10.Text = "移动";
this.buttonSlave.ButtonText = "Slave";
this.buttonMaster.ButtonText = "Master";
this.buttonInspection.ButtonText = "检测";
this.groupBoxRecipe.Text = "配方";
this.labelTitleNumber.Text = "编号";
this.labelTitleVacuum.Text = "真空";
this.labelTitlePressure.Text = "压力";
this.labelTitleStartTime.Text = "减压时间";
this.labelTitleHoldTime1.Text = "保压时间 1";
this.labelTitleHoldTime2.Text = "保压时间 2";
this.labelTitleBreakTime.Text = "压力释放时间";
this.labelTitleDifferentialPressure.Text = "压差";
this.labelTitleLRMaxNG.Text = "< 最大变化率 (不良)";
this.labelTitleLR.Text = "LR";
this.labelTitleDelayTime.Text = "真空延迟时间";
this.labelTitleProductDisplacement.Text = "位移";
this.labelTitleLevelNG.Text = "< 级别 (不良)";
this.labelTitleEmptyLevel.Text = "空能级";
this.labelTitleMaxHeightNG.Text = "> 最大高度 (不良)";
this.labelTitleMinHeight.Text = "最小高度";
this.labelTitleDiffNG.Text = "< 差异 (不良)";
this.labelTitleMaxDiff.Text = "最大高度差";
break;
default:
this.smartGroupBox1.Text = "Recipe > Setting";
this.labelProgress1.Text = "Ready";
this.labelProgress2.Text = "Entry";
this.labelProgress3.Text = "Move";
this.labelProgress4.Text = "Merge";
this.labelProgress5.Text = "V.Start";
this.labelProgress6.Text = "V.Hold";
this.labelProgress7.Text = "Judge";
this.labelProgress8.Text = "V.Break";
this.labelProgress9.Text = "Release";
this.labelProgress10.Text = "Move";
this.buttonSlave.ButtonText = "Slave";
this.buttonMaster.ButtonText = "Master";
this.buttonInspection.ButtonText = "Inspection";
this.groupBoxRecipe.Text = "Recipe";
this.labelTitleNumber.Text = "NUMBER";
this.labelTitleVacuum.Text = "Vaccum";
this.labelTitlePressure.Text = "Pressure";
this.labelTitleStartTime.Text = "Start time";
this.labelTitleHoldTime1.Text = "Hold time 1";
this.labelTitleHoldTime2.Text = "Hold time 2";
this.labelTitleBreakTime.Text = "Break time";
this.labelTitleDifferentialPressure.Text = "Differential pressure";
this.labelTitleLRMaxNG.Text = "< LR.Max (NG)";
this.labelTitleLR.Text = "LR";
this.labelTitleDelayTime.Text = "Delay time";
this.labelTitleProductDisplacement.Text = "Product displacement";
this.labelTitleLevelNG.Text = "< Level (NG)";
this.labelTitleEmptyLevel.Text = "Empty Level";
this.labelTitleMaxHeightNG.Text = "> Max Height (NG)";
this.labelTitleMinHeight.Text = "Min Height";
this.labelTitleDiffNG.Text = "< Diff (NG)";
this.labelTitleMaxDiff.Text = "Max Diff";
break;
}
}
@ -605,7 +685,7 @@ namespace INT_LKD_2.Controls
string before = "", after = "";
before = this.labelNumber.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleNumber.Text, this.labelNumber.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleNumber.Text, this.labelNumber.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -630,7 +710,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelPressureLevel.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitlePressure.Text, this.labelPressureLevel.Text, 5, 1, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitlePressure.Text, this.labelPressureLevel.Text, 5, 1, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -678,7 +758,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelVacuumStart.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleStartTime.Text, this.labelVacuumStart.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleStartTime.Text, this.labelVacuumStart.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -707,7 +787,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelVacuumHold1.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleHoldTime1.Text, this.labelVacuumHold1.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleHoldTime1.Text, this.labelVacuumHold1.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -736,7 +816,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelVacuumHold2.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleHoldTime2.Text, this.labelVacuumHold2.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleHoldTime2.Text, this.labelVacuumHold2.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -765,7 +845,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelVacuumBreak.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleBreakTime.Text, this.labelVacuumBreak.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleBreakTime.Text, this.labelVacuumBreak.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -796,7 +876,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelDispEmptyLevel.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleEmptyLevel.Text, this.labelDispEmptyLevel.Text, 5, 2, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleEmptyLevel.Text, this.labelDispEmptyLevel.Text, 5, 2, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -825,7 +905,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelDispMaxDiff.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleMaxDiff.Text, this.labelDispMaxDiff.Text, 5, 2, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleMaxDiff.Text, this.labelDispMaxDiff.Text, 5, 2, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -854,7 +934,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelDispMinHeight.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleMinHeight.Text, this.labelDispMinHeight.Text, 5, 2, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleMinHeight.Text, this.labelDispMinHeight.Text, 5, 2, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -920,7 +1000,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelDiffLrLimit.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleLR.Text, this.labelDiffLrLimit.Text, 5, 2, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleLR.Text, this.labelDiffLrLimit.Text, 5, 2, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -956,7 +1036,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelDiffLrCycle.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel11.Text, this.labelDiffLrCycle.Text, 2, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel11.Text, this.labelDiffLrCycle.Text, 2, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -985,7 +1065,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelDiffDelayTime.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleDelayTime.Text, this.labelDiffDelayTime.Text, 4, 1, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleDelayTime.Text, this.labelDiffDelayTime.Text, 4, 1, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{

View File

@ -120,6 +120,7 @@
this.smartGroupBox1.Controls.Add(this.groupBoxServer);
this.smartGroupBox1.Controls.Add(this.groupBoxLocalSettings);
this.smartGroupBox1.Controls.Add(this.groupBoxModeSettings);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -280,7 +281,7 @@
this.groupBoxModbusSetting.Controls.Add(this.labelTitleStartAddress);
this.groupBoxModbusSetting.Controls.Add(this.labelTitleFunctions);
this.groupBoxModbusSetting.Controls.Add(this.labelTitleRole);
this.groupBoxModbusSetting.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxModbusSetting.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxModbusSetting.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxModbusSetting.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxModbusSetting.FrameLineThickness = 2;
@ -304,6 +305,7 @@
this.buttonSaveModbus.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonSaveModbus.ButtonText = "Save";
this.buttonSaveModbus.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSaveModbus.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonSaveModbus.GroupID = 0;
this.buttonSaveModbus.ImageDisable = null;
this.buttonSaveModbus.ImageDown = null;
@ -491,7 +493,7 @@
this.groupBoxClient.Controls.Add(this.labelTitleClientStatus);
this.groupBoxClient.Controls.Add(this.labelTitleClientServerIP);
this.groupBoxClient.Controls.Add(this.labelTitleClientServerPort);
this.groupBoxClient.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxClient.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxClient.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxClient.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxClient.FrameLineThickness = 2;
@ -515,6 +517,7 @@
this.buttonSaveClient.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonSaveClient.ButtonText = "Save";
this.buttonSaveClient.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSaveClient.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonSaveClient.GroupID = 0;
this.buttonSaveClient.ImageDisable = null;
this.buttonSaveClient.ImageDown = null;
@ -551,7 +554,7 @@
this.buttonStopClient.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonStopClient.ButtonText = "Stop";
this.buttonStopClient.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonStopClient.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.buttonStopClient.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.buttonStopClient.GroupID = 0;
this.buttonStopClient.ImageDisable = null;
this.buttonStopClient.ImageDown = null;
@ -611,7 +614,7 @@
this.buttonStartClient.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonStartClient.ButtonText = "Start";
this.buttonStartClient.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonStartClient.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.buttonStartClient.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.buttonStartClient.GroupID = 0;
this.buttonStartClient.ImageDisable = null;
this.buttonStartClient.ImageDown = null;
@ -842,7 +845,7 @@
this.groupBoxServer.Controls.Add(this.labelTitleServerStatus);
this.groupBoxServer.Controls.Add(this.labelTitleServerConnectedIP);
this.groupBoxServer.Controls.Add(this.labelTitleServerLocalPort);
this.groupBoxServer.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxServer.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxServer.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxServer.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxServer.FrameLineThickness = 2;
@ -866,6 +869,7 @@
this.buttonSaveServer.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonSaveServer.ButtonText = "Save";
this.buttonSaveServer.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSaveServer.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonSaveServer.GroupID = 0;
this.buttonSaveServer.ImageDisable = null;
this.buttonSaveServer.ImageDown = null;
@ -902,7 +906,7 @@
this.buttonStopServer.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonStopServer.ButtonText = "Stop";
this.buttonStopServer.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonStopServer.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.buttonStopServer.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.buttonStopServer.GroupID = 0;
this.buttonStopServer.ImageDisable = null;
this.buttonStopServer.ImageDown = null;
@ -938,7 +942,7 @@
this.buttonStartServer.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonStartServer.ButtonText = "Start";
this.buttonStartServer.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonStartServer.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.buttonStartServer.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.buttonStartServer.GroupID = 0;
this.buttonStartServer.ImageDisable = null;
this.buttonStartServer.ImageDown = null;
@ -1137,7 +1141,7 @@
this.groupBoxLocalSettings.Controls.Add(this.labelTitleIPAddress);
this.groupBoxLocalSettings.Controls.Add(this.buttonSaveLocal);
this.groupBoxLocalSettings.Controls.Add(this.labelHelp);
this.groupBoxLocalSettings.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxLocalSettings.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxLocalSettings.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLocalSettings.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLocalSettings.FrameLineThickness = 2;
@ -1333,7 +1337,7 @@
this.radioButtonLocalIpStatic.BackGround = null;
this.radioButtonLocalIpStatic.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.radioButtonLocalIpStatic.Checked = false;
this.radioButtonLocalIpStatic.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.radioButtonLocalIpStatic.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.radioButtonLocalIpStatic.ForeColor = System.Drawing.Color.White;
this.radioButtonLocalIpStatic.GroupID = 0;
this.radioButtonLocalIpStatic.ImageCheckRadioButton = null;
@ -1360,7 +1364,7 @@
this.radioButtonLocalIpDHCP.BackGround = null;
this.radioButtonLocalIpDHCP.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.radioButtonLocalIpDHCP.Checked = false;
this.radioButtonLocalIpDHCP.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.radioButtonLocalIpDHCP.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.radioButtonLocalIpDHCP.ForeColor = System.Drawing.Color.White;
this.radioButtonLocalIpDHCP.GroupID = 0;
this.radioButtonLocalIpDHCP.ImageCheckRadioButton = null;
@ -1776,6 +1780,7 @@
this.buttonSaveLocal.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonSaveLocal.ButtonText = "Save";
this.buttonSaveLocal.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSaveLocal.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonSaveLocal.GroupID = 0;
this.buttonSaveLocal.ImageDisable = null;
this.buttonSaveLocal.ImageDown = null;
@ -1837,7 +1842,7 @@
this.groupBoxModeSettings.Controls.Add(this.labelTitleOperationMode);
this.groupBoxModeSettings.Controls.Add(this.comboBoxEthernetOpMode);
this.groupBoxModeSettings.Controls.Add(this.comboBoxEthernetMode);
this.groupBoxModeSettings.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxModeSettings.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxModeSettings.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxModeSettings.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxModeSettings.FrameLineThickness = 2;
@ -1861,6 +1866,7 @@
this.buttonTestSend.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonTestSend.ButtonText = "Test send";
this.buttonTestSend.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonTestSend.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonTestSend.GroupID = 0;
this.buttonTestSend.ImageDisable = null;
this.buttonTestSend.ImageDown = null;
@ -1919,6 +1925,7 @@
this.buttonSaveMode.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonSaveMode.ButtonText = "Save";
this.buttonSaveMode.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSaveMode.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonSaveMode.GroupID = 0;
this.buttonSaveMode.ImageDisable = null;
this.buttonSaveMode.ImageDown = null;

View File

@ -32,8 +32,8 @@ namespace INT_LKD_2.Controls
this.ParentForm = parent;
this.Initialize();
this.InitializeDesign();
this.DefaultSetting();
this.InitializeDesign();
}
#endregion
@ -48,63 +48,119 @@ namespace INT_LKD_2.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "System > Ethernet";
}
public void InitializeDesign()
{
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.groupBoxModbusSetting.Text = "";
this.groupBoxServer.Text = "";
this.groupBoxClient.Text = "";
this.groupBoxLocalSettings.Text = "";
this.groupBoxModbusSetting.Text = "";
this.smartGroupBox1.Text = "系统设定 > 以太网";
this.labelTitleOperationMode.Text = "";
this.labelTitleCommMode.Text = "";
this.groupBoxModeSettings.Text = "模式";
this.groupBoxServer.Text = "Server";
this.groupBoxClient.Text = "Client";
this.groupBoxLocalSettings.Text = "本地设置";
this.groupBoxModbusSetting.Text = "协议转换";
this.labelTitleServerStatus.Text = this.labelTitleClientStatus.Text = "";
this.labelTitleServerConnectedIP.Text = "";
this.labelTitleServerLocalPort.Text = "";
this.labelTitleOperationMode.Text = "运转模式";
this.labelTitleCommMode.Text = "通信模式";
this.labelTitleClientServerIP.Text = "";
this.labelTitleClientServerPort.Text = "";
this.labelTitleServerStatus.Text = this.labelTitleClientStatus.Text = "地位";
this.labelTitleServerConnectedIP.Text = "连接的IP";
this.labelTitleServerLocalPort.Text = "端口";
this.buttonSaveMode.Text = this.buttonSaveServer.Text
= this.buttonSaveClient.Text = this.buttonSaveLocal.Text
= this.buttonSaveModbus.Text = "";
this.buttonStartServer.Text = this.buttonStartClient.Text = "";
this.buttonStopServer.Text = this.buttonStopClient.Text = "";
this.labelTitleClientServerIP.Text = "Server IP";
this.labelTitleClientServerPort.Text = "Server端口";
this.labelHelp.Text = "※ After setup, reboot is required.";
this.labelTitleIPConfiguration.Text = "";
this.labelTitleIPAddress.Text = "";
this.labelTitleSubnetMask.Text = "";
this.labelTitleGateway.Text = "";
this.labelTitleMACAddress.Text = "";
this.buttonTestSend.ButtonText = "测试发送";
this.buttonSaveMode.ButtonText = this.buttonSaveServer.ButtonText
= this.buttonSaveClient.ButtonText = this.buttonSaveLocal.ButtonText
= this.buttonSaveModbus.ButtonText = "节省";
this.buttonStartServer.ButtonText = this.buttonStartClient.ButtonText = "开启";
this.buttonStopServer.ButtonText = this.buttonStopClient.ButtonText = "停止";
this.labelTitleRole.Text = "";
this.labelTitleFunctions.Text = "";
this.labelTitleStartAddress.Text = "";
this.labelHelp.Text = "※ 设置完成后需要重启.";
this.labelTitleIPConfiguration.Text = "IP 配置";
this.labelTitleIPAddress.Text = "IP Address";
this.labelTitleSubnetMask.Text = "Subnet mask";
this.labelTitleGateway.Text = "GateWay";
this.labelTitleMACAddress.Text = "MAC Address";
this.labelTitleRole.Text = "角色";
this.labelTitleFunctions.Text = "功能";
this.labelTitleStartAddress.Text = "起始地址";
break;
case Define.E_LanguageID.English:
this.smartGroupBox1.Text = "System > Ethernet";
this.groupBoxModeSettings.Text = "Mode Settings";
this.groupBoxServer.Text = "Server";
this.groupBoxClient.Text = "Client";
this.groupBoxLocalSettings.Text = "Local Settings";
this.groupBoxModbusSetting.Text = "Modbus Settings";
this.labelTitleOperationMode.Text = "Operation Mode";
this.labelTitleCommMode.Text = "Communication Mode";
this.labelTitleServerStatus.Text = this.labelTitleClientStatus.Text = "Status";
this.labelTitleServerConnectedIP.Text = "Connected IP";
this.labelTitleServerLocalPort.Text = "Local Port";
this.labelTitleClientServerIP.Text = "Server IP";
this.labelTitleClientServerPort.Text = "Server Port";
this.buttonTestSend.ButtonText = "Test send";
this.buttonSaveMode.ButtonText = this.buttonSaveServer.ButtonText
= this.buttonSaveClient.ButtonText = this.buttonSaveLocal.ButtonText
= this.buttonSaveModbus.ButtonText = "Save";
this.buttonStartServer.ButtonText = this.buttonStartClient.ButtonText = "Start";
this.buttonStopServer.ButtonText = this.buttonStopClient.ButtonText = "Stop";
this.labelHelp.Text = "※ After setup, reboot is required.";
this.labelTitleIPConfiguration.Text = "IP Configuration";
this.labelTitleIPAddress.Text = "IP Address";
this.labelTitleSubnetMask.Text = "Subnet mask";
this.labelTitleGateway.Text = "Gateway";
this.labelTitleGateway.Text = "GateWay";
this.labelTitleMACAddress.Text = "MAC Address";
this.labelTitleRole.Text = "Role";
this.labelTitleFunctions.Text = "Function";
this.labelTitleStartAddress.Text = "Start Address";
break;
case Define.E_LanguageID.Korean:
this.labelHelp.Text = "※ 설정 후, 재부팅 필수";
this.groupBoxModeSettings.Text = "Mode Settings";
this.groupBoxServer.Text = "Server";
this.groupBoxClient.Text = "Client";
this.groupBoxLocalSettings.Text = "Local Settings";
this.groupBoxModbusSetting.Text = "Modbus Settings";
this.labelTitleOperationMode.Text = "동작모드";
this.labelTitleCommMode.Text = "통신모드";
this.labelTitleServerStatus.Text = this.labelTitleClientStatus.Text = "Status";
this.labelTitleServerConnectedIP.Text = "Connected IP";
this.labelTitleServerLocalPort.Text = "Local Port";
this.labelTitleClientServerIP.Text = "Server IP";
this.labelTitleClientServerPort.Text = "Server Port";
this.buttonTestSend.ButtonText = "Test send";
this.buttonSaveMode.ButtonText = this.buttonSaveServer.ButtonText
= this.buttonSaveClient.ButtonText = this.buttonSaveLocal.ButtonText
= this.buttonSaveModbus.ButtonText = "Save";
this.buttonStartServer.ButtonText = this.buttonStartClient.ButtonText = "Start";
this.buttonStopServer.ButtonText = this.buttonStopClient.ButtonText = "Stop";
this.labelHelp.Text = "※ 설정 후, 재부팅 필수";
this.labelTitleIPConfiguration.Text = "IP Configuration";
this.labelTitleIPAddress.Text = "IP Address";
this.labelTitleSubnetMask.Text = "Subnet mask";
this.labelTitleGateway.Text = "Gateway";
this.labelTitleGateway.Text = "GateWay";
this.labelTitleMACAddress.Text = "MAC Address";
this.labelTitleRole.Text = "Role";
this.labelTitleFunctions.Text = "Function";
this.labelTitleStartAddress.Text = "Start Address";
break;
default:
break;
@ -611,7 +667,7 @@ namespace INT_LKD_2.Controls
// Server
private void labelLocalPort_Click(object sender, EventArgs e)
{
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalPort.Text, 5, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalPort.Text, 5, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -713,7 +769,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelHostIP1.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelHostIP1.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -734,7 +790,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelHostIP2.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelHostIP2.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -755,7 +811,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelHostIP3.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelHostIP3.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -776,7 +832,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelHostIP4.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelHostIP4.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -795,7 +851,7 @@ namespace INT_LKD_2.Controls
}
private void labelHostPort_Click(object sender, EventArgs e)
{
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelHostPort.Text, 5, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelHostPort.Text, 5, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -823,7 +879,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalIP1.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalIP1.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -844,7 +900,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalIP2.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalIP2.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -865,7 +921,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalIP3.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalIP3.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -886,7 +942,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalIP4.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalIP4.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -908,7 +964,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalSubnetMask1.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalSubnetMask1.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -929,7 +985,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalSubnetMask2.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalSubnetMask2.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -950,7 +1006,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalSubnetMask3.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalSubnetMask3.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -971,7 +1027,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalSubnetMask4.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalSubnetMask4.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -993,7 +1049,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalGateway1.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalGateway1.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -1014,7 +1070,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalGateway2.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalGateway2.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -1035,7 +1091,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalGateway3.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalGateway3.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -1056,7 +1112,7 @@ namespace INT_LKD_2.Controls
{
string temp = "";
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalGateway4.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelLocalGateway4.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -1203,8 +1259,7 @@ namespace INT_LKD_2.Controls
// Modbus Settings
private void labelStartAddress_Click(object sender, EventArgs e)
{
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelStartAddress.Text, 5, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelStartAddress.Text, 5, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{

View File

@ -90,6 +90,7 @@
this.smartGroupBox1.Controls.Add(this.groupBoxContact);
this.smartGroupBox1.Controls.Add(this.groupBoxInformation);
this.smartGroupBox1.Controls.Add(this.smartKeyboard1);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -118,7 +119,7 @@
this.groupBoxTime.Controls.Add(this.upDownDate);
this.groupBoxTime.Controls.Add(this.upDownMonth);
this.groupBoxTime.Controls.Add(this.upDownYear);
this.groupBoxTime.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxTime.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxTime.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxTime.FrameLineThickness = 2;
@ -165,6 +166,7 @@
this.buttonSave.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonSave.ButtonText = "Save";
this.buttonSave.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSave.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonSave.GroupID = 0;
this.buttonSave.ImageDisable = null;
this.buttonSave.ImageDown = null;
@ -892,7 +894,7 @@
this.groupBoxContact.Controls.Add(this.labelTitleEmail);
this.groupBoxContact.Controls.Add(this.labelTitleTel);
this.groupBoxContact.Controls.Add(this.labelTitleAddress);
this.groupBoxContact.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxContact.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxContact.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxContact.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxContact.FrameLineThickness = 2;
@ -1206,7 +1208,7 @@
this.groupBoxInformation.Controls.Add(this.labelTitleVersion1);
this.groupBoxInformation.Controls.Add(this.labelDisplayVersion);
this.groupBoxInformation.Controls.Add(this.buttonUpdateDisplay);
this.groupBoxInformation.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxInformation.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular);
this.groupBoxInformation.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxInformation.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxInformation.FrameLineThickness = 2;
@ -1230,6 +1232,7 @@
this.buttonUpdateMainboardSlave.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonUpdateMainboardSlave.ButtonText = "Update";
this.buttonUpdateMainboardSlave.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonUpdateMainboardSlave.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonUpdateMainboardSlave.GroupID = 0;
this.buttonUpdateMainboardSlave.ImageDisable = null;
this.buttonUpdateMainboardSlave.ImageDown = null;
@ -1334,6 +1337,7 @@
this.smartButton1.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.smartButton1.ButtonText = "English";
this.smartButton1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButton1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartButton1.GroupID = 0;
this.smartButton1.ImageDisable = null;
this.smartButton1.ImageDown = null;
@ -1416,6 +1420,7 @@
this.buttonUpdateMainboardMaster.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonUpdateMainboardMaster.ButtonText = "Update";
this.buttonUpdateMainboardMaster.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonUpdateMainboardMaster.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonUpdateMainboardMaster.GroupID = 0;
this.buttonUpdateMainboardMaster.ImageDisable = null;
this.buttonUpdateMainboardMaster.ImageDown = null;
@ -1682,6 +1687,7 @@
this.buttonUpdateDisplay.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonUpdateDisplay.ButtonText = "Update";
this.buttonUpdateDisplay.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonUpdateDisplay.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonUpdateDisplay.GroupID = 0;
this.buttonUpdateDisplay.ImageDisable = null;
this.buttonUpdateDisplay.ImageDown = null;

View File

@ -33,6 +33,7 @@ namespace INT_LKD_2.Controls
this.ParentForm = parent;
this.Initialize();
this.InitializeDesign();
}
#endregion
@ -47,8 +48,6 @@ namespace INT_LKD_2.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "System > Information";
this.labelDisplayVersion.Text = "1.2.0";
this.labelSerialNo.Text = this.ParentForm.ParentForm.SystemConfig.SERIAL_NUMBER;
@ -73,26 +72,36 @@ namespace INT_LKD_2.Controls
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.groupBoxInformation.Text = "";
this.groupBoxContact.Text = "";
this.groupBoxTime.Text = "";
this.smartGroupBox1.Text = "系统设定 > 系统信息";
this.labelTitleModel.Text = "Model:";
this.labelTitleSerialNo.Text = "Serial No.:";
this.labelTitleDisplay.Text = "Display:";
this.labelTitleMainControl.Text = "Main Control:";
this.groupBoxInformation.Text = "系统信息";
this.groupBoxContact.Text = "接触";
this.groupBoxTime.Text = "时间";
this.labelTitleCompany.Text = "Company:";
this.labelTitleTel.Text = "Tel:";
this.labelTitleFax.Text = "Fax:";
this.labelTitleAddress.Text = "Address:";
this.labelTitleEmail.Text = "E-mail:";
this.labelTitleHomepage.Text = "Homepage:";
this.labelTitleModel.Text = "模型:";
this.labelTitleSerialNo.Text = "序列号:";
this.labelTitleDisplay.Text = "显示:";
this.labelTitleMainControl.Text = "主控:";
this.labelTitleCompany.Text = "公司:";
this.labelTitleTel.Text = "电话:";
this.labelTitleFax.Text = "传真:";
this.labelTitleAddress.Text = "地址:";
this.labelTitleEmail.Text = "邮箱:";
this.labelTitleHomepage.Text = "主页:";
this.labelTitleVersion1.Text = this.labelTitleVersion2.Text = this.labelTitleVersion3.Text = "版本:";
this.buttonUpdateDisplay.ButtonText = "更新";
this.buttonUpdateMainboardMaster.ButtonText = "更新";
this.buttonUpdateMainboardSlave.ButtonText = "更新";
break;
default:
this.groupBoxInformation.Text = "";
this.groupBoxContact.Text = "";
this.groupBoxTime.Text = "";
this.smartGroupBox1.Text = "System > Information";
this.groupBoxInformation.Text = "Information";
this.groupBoxContact.Text = "Contact";
this.groupBoxTime.Text = "Time";
this.labelTitleModel.Text = "Model:";
this.labelTitleSerialNo.Text = "Serial No.:";
@ -105,6 +114,12 @@ namespace INT_LKD_2.Controls
this.labelTitleAddress.Text = "Address:";
this.labelTitleEmail.Text = "E-mail:";
this.labelTitleHomepage.Text = "Homepage:";
this.labelTitleVersion1.Text = this.labelTitleVersion2.Text = this.labelTitleVersion3.Text = "Version:";
this.buttonUpdateDisplay.ButtonText = "Update";
this.buttonUpdateMainboardMaster.ButtonText = "Update";
this.buttonUpdateMainboardSlave.ButtonText = "Update";
break;
}
}

View File

@ -78,6 +78,7 @@
this.smartGroupBox1.Controls.Add(this.labelTitleBuzzer);
this.smartGroupBox1.Controls.Add(this.labelTitleSBDiffFilter);
this.smartGroupBox1.Controls.Add(this.labelBuzzer);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -106,6 +107,7 @@
this.labelTitleLanguage.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleLanguage.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleLanguage.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleLanguage.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleLanguage.LineSpacing = 0F;
this.labelTitleLanguage.Location = new System.Drawing.Point(482, 289);
this.labelTitleLanguage.Name = "labelTitleLanguage";
@ -151,6 +153,7 @@
this.labelTitleCheckLane.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleCheckLane.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleCheckLane.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleCheckLane.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleCheckLane.LineSpacing = 0F;
this.labelTitleCheckLane.Location = new System.Drawing.Point(482, 181);
this.labelTitleCheckLane.Name = "labelTitleCheckLane";
@ -196,6 +199,7 @@
this.labelTitleLCDDataPeriod.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleLCDDataPeriod.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleLCDDataPeriod.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleLCDDataPeriod.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleLCDDataPeriod.LineSpacing = 0F;
this.labelTitleLCDDataPeriod.Location = new System.Drawing.Point(111, 217);
this.labelTitleLCDDataPeriod.Name = "labelTitleLCDDataPeriod";
@ -218,6 +222,7 @@
this.labelTitleEquipmentLane.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleEquipmentLane.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleEquipmentLane.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleEquipmentLane.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleEquipmentLane.LineSpacing = 0F;
this.labelTitleEquipmentLane.Location = new System.Drawing.Point(111, 181);
this.labelTitleEquipmentLane.Name = "labelTitleEquipmentLane";
@ -285,6 +290,7 @@
this.labelTitleChattering.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleChattering.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleChattering.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleChattering.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleChattering.LineSpacing = 0F;
this.labelTitleChattering.Location = new System.Drawing.Point(111, 253);
this.labelTitleChattering.Name = "labelTitleChattering";
@ -374,6 +380,7 @@
this.labelTitleCutWait.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleCutWait.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleCutWait.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleCutWait.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleCutWait.LineSpacing = 0F;
this.labelTitleCutWait.Location = new System.Drawing.Point(111, 289);
this.labelTitleCutWait.Name = "labelTitleCutWait";
@ -464,6 +471,7 @@
this.labelTitleBuzzer.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleBuzzer.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleBuzzer.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleBuzzer.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleBuzzer.LineSpacing = 0F;
this.labelTitleBuzzer.Location = new System.Drawing.Point(482, 217);
this.labelTitleBuzzer.Name = "labelTitleBuzzer";
@ -486,6 +494,7 @@
this.labelTitleSBDiffFilter.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleSBDiffFilter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleSBDiffFilter.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleSBDiffFilter.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleSBDiffFilter.LineSpacing = 0F;
this.labelTitleSBDiffFilter.Location = new System.Drawing.Point(482, 253);
this.labelTitleSBDiffFilter.Name = "labelTitleSBDiffFilter";

View File

@ -32,6 +32,7 @@ namespace INT_LKD_2.Controls
this.ParentForm = parent;
this.Initialize();
this.InitializeDesign();
}
#endregion
@ -46,7 +47,6 @@ namespace INT_LKD_2.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "System > Setting";
this.MessageBoxRange = "";
this.CollLabel = new Collection<SmartLabel>();
@ -68,24 +68,28 @@ namespace INT_LKD_2.Controls
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.labelTitleEquipmentLane.Text = "";
this.labelTitleLCDDataPeriod.Text = "";
this.labelTitleChattering.Text = "";
this.labelTitleCutWait.Text = "";
this.labelTitleCheckLane.Text = "";
this.labelTitleBuzzer.Text = "";
this.labelTitleSBDiffFilter.Text = "";
this.labelTitleLanguage.Text = "";
this.smartGroupBox1.Text = "系统设定 > 设置";
this.labelTitleEquipmentLane.Text = "设备巷";
this.labelTitleLCDDataPeriod.Text = "数据保存周期";
this.labelTitleChattering.Text = "颤振";
this.labelTitleCutWait.Text = "减少等待";
this.labelTitleCheckLane.Text = "设备检验编号";
this.labelTitleBuzzer.Text = "蜂鸣器";
this.labelTitleSBDiffFilter.Text = "滤波器";
this.labelTitleLanguage.Text = "语言";
break;
default:
this.labelTitleEquipmentLane.Text = "";
this.labelTitleLCDDataPeriod.Text = "";
this.labelTitleChattering.Text = "";
this.labelTitleCutWait.Text = "";
this.labelTitleCheckLane.Text = "";
this.labelTitleBuzzer.Text = "";
this.labelTitleSBDiffFilter.Text = "";
this.labelTitleLanguage.Text = "";
this.smartGroupBox1.Text = "System > Setting";
this.labelTitleEquipmentLane.Text = "Equipment Lane";
this.labelTitleLCDDataPeriod.Text = "LCD data period";
this.labelTitleChattering.Text = "Chattering";
this.labelTitleCutWait.Text = "Cut wait";
this.labelTitleCheckLane.Text = "Check Lane number";
this.labelTitleBuzzer.Text = "Buzzer";
this.labelTitleSBDiffFilter.Text = "SB diff filter";
this.labelTitleLanguage.Text = "Language";
break;
}
}
@ -192,7 +196,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelLcdDataPeriod.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleLCDDataPeriod.Text, this.labelLcdDataPeriod.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleLCDDataPeriod.Text, this.labelLcdDataPeriod.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -220,7 +224,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelChattering.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleChattering.Text, this.labelChattering.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleChattering.Text, this.labelChattering.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -248,7 +252,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelCutWait.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleCutWait.Text, this.labelCutWait.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleCutWait.Text, this.labelCutWait.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -276,7 +280,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelBuzzer.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleBuzzer.Text, this.labelBuzzer.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleBuzzer.Text, this.labelBuzzer.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -304,7 +308,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelSbDiffFilter.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleSBDiffFilter.Text, this.labelSbDiffFilter.Text, 2, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleSBDiffFilter.Text, this.labelSbDiffFilter.Text, 2, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -332,7 +336,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelEquipmentLane.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleEquipmentLane.Text, this.labelEquipmentLane.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleEquipmentLane.Text, this.labelEquipmentLane.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -360,7 +364,7 @@ namespace INT_LKD_2.Controls
string value = "", before = "", after = "";
before = this.labelCheckLane.Text;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleCheckLane.Text, this.labelCheckLane.Text, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.labelTitleCheckLane.Text, this.labelCheckLane.Text, 4, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{
@ -419,8 +423,14 @@ namespace INT_LKD_2.Controls
if (this.ParentForm.Child_Recipe_Setting != null)
this.ParentForm.Child_Recipe_Setting.InitializeDesign();
if(this.ParentForm.Child_Recipe_Setting.ChildControlRecipeData1 != null)
this.ParentForm.Child_Recipe_Setting.ChildControlRecipeData1.InitializeDesign();
if (this.ParentForm.Child_Recipe_Setting.ChildControlRecipeData2 != null)
this.ParentForm.Child_Recipe_Setting.ChildControlRecipeData2.InitializeDesign();
if (this.ParentForm.Child_System_Equipment10_1 != null)
this.ParentForm.Child_System_Equipment10_1.InitializeDesign();
Thread.Sleep(50);
if (this.ParentForm.Child_System_Ethernet != null)
this.ParentForm.Child_System_Ethernet.InitializeDesign();
if (this.ParentForm.Child_System_Information != null)

File diff suppressed because it is too large Load Diff

View File

@ -287,6 +287,7 @@
this.smartGroupBox1.Controls.Add(this.labelProgress1);
this.smartGroupBox1.Controls.Add(this.groupBoxMeasuring2);
this.smartGroupBox1.Controls.Add(this.smartGroupBox11);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -315,7 +316,7 @@
this.smartGroupBox16.Controls.Add(this.smartLabel27);
this.smartGroupBox16.Controls.Add(this.labelDiffSecDiff12);
this.smartGroupBox16.Controls.Add(this.smartLabel33);
this.smartGroupBox16.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox16.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox16.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox16.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox16.FrameLineThickness = 2;
@ -382,6 +383,7 @@
this.smartGroupBox2.BackImage = null;
this.smartGroupBox2.Controls.Add(this.smartDraw1);
this.smartGroupBox2.Controls.Add(this.smartLabel61);
this.smartGroupBox2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox2.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox2.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox2.FrameLineThickness = 2;
@ -636,7 +638,7 @@
this.smartGroupBox4.Controls.Add(this.smartLabel10);
this.smartGroupBox4.Controls.Add(this.labelDiffSecDiff11);
this.smartGroupBox4.Controls.Add(this.smartLabel15);
this.smartGroupBox4.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox4.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox4.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox4.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox4.FrameLineThickness = 2;
@ -878,13 +880,14 @@
this.buttonContinuousTest.ButtonDownColor = System.Drawing.Color.SlateGray;
this.buttonContinuousTest.ButtonImageAutoSize = true;
this.buttonContinuousTest.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonContinuousTest.ButtonText = "continuous testing";
this.buttonContinuousTest.ButtonText = "Continuous testing";
this.buttonContinuousTest.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonContinuousTest.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonContinuousTest.GroupID = 0;
this.buttonContinuousTest.ImageDisable = null;
this.buttonContinuousTest.ImageDown = null;
this.buttonContinuousTest.ImageUp = null;
this.buttonContinuousTest.Location = new System.Drawing.Point(458, 3);
this.buttonContinuousTest.Location = new System.Drawing.Point(444, 3);
this.buttonContinuousTest.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonContinuousTest.Name = "buttonContinuousTest";
this.buttonContinuousTest.NestedClickEventPrevent = false;
@ -894,7 +897,7 @@
this.buttonContinuousTest.RepeatIntervalAccelerate = null;
this.buttonContinuousTest.RoundSize = 10;
this.buttonContinuousTest.SafeInterval = 200;
this.buttonContinuousTest.Size = new System.Drawing.Size(120, 31);
this.buttonContinuousTest.Size = new System.Drawing.Size(134, 31);
this.buttonContinuousTest.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonContinuousTest.TabIndex = 442;
this.buttonContinuousTest.Text = null;
@ -916,6 +919,7 @@
this.buttonDisplay.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonDisplay.ButtonText = "Display";
this.buttonDisplay.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonDisplay.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonDisplay.GroupID = 0;
this.buttonDisplay.ImageDisable = null;
this.buttonDisplay.ImageDown = null;
@ -951,6 +955,7 @@
this.buttonStart.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonStart.ButtonText = "Inspection";
this.buttonStart.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonStart.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonStart.GroupID = 0;
this.buttonStart.ImageDisable = null;
this.buttonStart.ImageDown = null;
@ -982,7 +987,7 @@
this.labelProgress3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress3.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress3.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress3.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress3.LineSpacing = 0F;
this.labelProgress3.Location = new System.Drawing.Point(184, 37);
this.labelProgress3.Name = "labelProgress3";
@ -1005,7 +1010,7 @@
this.labelProgress7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress7.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress7.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress7.LineSpacing = 0F;
this.labelProgress7.Location = new System.Drawing.Point(544, 37);
this.labelProgress7.Name = "labelProgress7";
@ -1028,7 +1033,7 @@
this.labelProgress6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress6.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress6.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress6.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress6.LineSpacing = 0F;
this.labelProgress6.Location = new System.Drawing.Point(454, 37);
this.labelProgress6.Name = "labelProgress6";
@ -1060,7 +1065,7 @@
this.smartGroupBox14.Controls.Add(this.smartLabel69);
this.smartGroupBox14.Controls.Add(this.labelDiffSecDiff10);
this.smartGroupBox14.Controls.Add(this.smartLabel71);
this.smartGroupBox14.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox14.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox14.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox14.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox14.FrameLineThickness = 2;
@ -1309,7 +1314,7 @@
this.smartGroupBox12.Controls.Add(this.smartLabel54);
this.smartGroupBox12.Controls.Add(this.labelDiffSecDiff8);
this.smartGroupBox12.Controls.Add(this.smartLabel56);
this.smartGroupBox12.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox12.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox12.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox12.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox12.FrameLineThickness = 2;
@ -1558,7 +1563,7 @@
this.smartGroupBox15.Controls.Add(this.smartLabel76);
this.smartGroupBox15.Controls.Add(this.labelDiffSecDiff9);
this.smartGroupBox15.Controls.Add(this.smartLabel78);
this.smartGroupBox15.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox15.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox15.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox15.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox15.FrameLineThickness = 2;
@ -1807,7 +1812,7 @@
this.smartGroupBox8.Controls.Add(this.smartLabel35);
this.smartGroupBox8.Controls.Add(this.labelDiffSecDiff6);
this.smartGroupBox8.Controls.Add(this.smartLabel37);
this.smartGroupBox8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox8.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox8.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox8.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox8.FrameLineThickness = 2;
@ -2056,7 +2061,7 @@
this.smartGroupBox13.Controls.Add(this.smartLabel62);
this.smartGroupBox13.Controls.Add(this.labelDiffSecDiff7);
this.smartGroupBox13.Controls.Add(this.smartLabel64);
this.smartGroupBox13.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox13.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox13.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox13.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox13.FrameLineThickness = 2;
@ -2305,7 +2310,7 @@
this.smartGroupBox6.Controls.Add(this.smartLabel12);
this.smartGroupBox6.Controls.Add(this.labelDiffSecDiff4);
this.smartGroupBox6.Controls.Add(this.smartLabel14);
this.smartGroupBox6.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox6.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox6.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox6.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox6.FrameLineThickness = 2;
@ -2554,7 +2559,7 @@
this.smartGroupBox10.Controls.Add(this.smartLabel43);
this.smartGroupBox10.Controls.Add(this.labelDiffSecDiff5);
this.smartGroupBox10.Controls.Add(this.smartLabel47);
this.smartGroupBox10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox10.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox10.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox10.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox10.FrameLineThickness = 2;
@ -2803,7 +2808,7 @@
this.smartGroupBox5.Controls.Add(this.smartLabel5);
this.smartGroupBox5.Controls.Add(this.labelDiffSecDiff2);
this.smartGroupBox5.Controls.Add(this.smartLabel7);
this.smartGroupBox5.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox5.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox5.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox5.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox5.FrameLineThickness = 2;
@ -3052,7 +3057,7 @@
this.smartGroupBox7.Controls.Add(this.smartLabel19);
this.smartGroupBox7.Controls.Add(this.labelDiffSecDiff3);
this.smartGroupBox7.Controls.Add(this.smartLabel21);
this.smartGroupBox7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox7.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox7.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox7.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox7.FrameLineThickness = 2;
@ -3301,7 +3306,7 @@
this.smartGroupBox3.Controls.Add(this.smartLabel24);
this.smartGroupBox3.Controls.Add(this.labelDiffSecDiff1);
this.smartGroupBox3.Controls.Add(this.smartLabel29);
this.smartGroupBox3.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox3.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.smartGroupBox3.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox3.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox3.FrameLineThickness = 2;
@ -3564,6 +3569,7 @@
this.groupBoxMeasuring1.Controls.Add(this.smartLabel25);
this.groupBoxMeasuring1.Controls.Add(this.labelMesResult1);
this.groupBoxMeasuring1.Controls.Add(this.smartLabel26);
this.groupBoxMeasuring1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxMeasuring1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxMeasuring1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxMeasuring1.FrameLineThickness = 2;
@ -4105,7 +4111,7 @@
this.labelProgress9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress9.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress9.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress9.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress9.LineSpacing = 0F;
this.labelProgress9.Location = new System.Drawing.Point(724, 37);
this.labelProgress9.Name = "labelProgress9";
@ -4128,7 +4134,7 @@
this.labelProgress10.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress10.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress10.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress10.LineSpacing = 0F;
this.labelProgress10.Location = new System.Drawing.Point(814, 37);
this.labelProgress10.Name = "labelProgress10";
@ -4151,7 +4157,7 @@
this.labelProgress8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress8.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress8.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress8.LineSpacing = 0F;
this.labelProgress8.Location = new System.Drawing.Point(634, 37);
this.labelProgress8.Name = "labelProgress8";
@ -4174,7 +4180,7 @@
this.labelProgress5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress5.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress5.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress5.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress5.LineSpacing = 0F;
this.labelProgress5.Location = new System.Drawing.Point(364, 37);
this.labelProgress5.Name = "labelProgress5";
@ -4197,7 +4203,7 @@
this.labelProgress4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress4.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress4.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress4.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress4.LineSpacing = 0F;
this.labelProgress4.Location = new System.Drawing.Point(274, 37);
this.labelProgress4.Name = "labelProgress4";
@ -4220,7 +4226,7 @@
this.labelProgress2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress2.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress2.LineSpacing = 0F;
this.labelProgress2.Location = new System.Drawing.Point(94, 37);
this.labelProgress2.Name = "labelProgress2";
@ -4243,7 +4249,7 @@
this.labelProgress1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelProgress1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress1.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelProgress1.LineSpacing = 0F;
this.labelProgress1.Location = new System.Drawing.Point(4, 37);
this.labelProgress1.Name = "labelProgress1";
@ -4289,6 +4295,7 @@
this.groupBoxMeasuring2.Controls.Add(this.labelMesPressureMaster2);
this.groupBoxMeasuring2.Controls.Add(this.smartLabel86);
this.groupBoxMeasuring2.Controls.Add(this.smartSeparatorLine26);
this.groupBoxMeasuring2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxMeasuring2.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxMeasuring2.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxMeasuring2.FrameLineThickness = 2;
@ -4830,6 +4837,7 @@
this.smartGroupBox11.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
this.smartGroupBox11.BackImage = null;
this.smartGroupBox11.Controls.Add(this.smartDraw2);
this.smartGroupBox11.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox11.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.smartGroupBox11.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox11.FrameLineThickness = 2;

View File

@ -41,6 +41,7 @@ namespace INT_LKD_2.Controls
this.Initialize();
this.InitializeData();
this.InitializeDraw();
this.InitializeDesign();
}
#endregion
@ -206,9 +207,29 @@ namespace INT_LKD_2.Controls
{
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
break;
//case Define.E_LanguageID.Chinese:
// this.labelProgress1.Text = "初始状态";
// this.labelProgress2.Text = "进入";
// this.labelProgress3.Text = "移动";
// this.labelProgress4.Text = "合并";
// this.labelProgress5.Text = "启动真空";
// this.labelProgress6.Text = "保持真空";
// this.labelProgress7.Text = "判断";
// this.labelProgress8.Text = "中断真空";
// this.labelProgress9.Text = "释放";
// this.labelProgress10.Text = "移动";
// break;
default:
this.labelProgress1.Text = "Ready";
this.labelProgress2.Text = "Entry";
this.labelProgress3.Text = "Move";
this.labelProgress4.Text = "Merge";
this.labelProgress5.Text = "V.Start";
this.labelProgress6.Text = "V.Hold";
this.labelProgress7.Text = "Judge";
this.labelProgress8.Text = "V.Break";
this.labelProgress9.Text = "Release";
this.labelProgress10.Text = "Move";
break;
}
}

View File

@ -147,6 +147,7 @@
this.smartGroupBox1.Controls.Add(this.buttonSave);
this.smartGroupBox1.Controls.Add(this.labelTitleMain);
this.smartGroupBox1.Controls.Add(this.labelTitleMenu);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -166,7 +167,7 @@
this.labelTitleMenuEthernet.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuEthernet.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuEthernet.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenuEthernet.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuEthernet.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuEthernet.LineSpacing = 0F;
this.labelTitleMenuEthernet.Location = new System.Drawing.Point(158, 486);
this.labelTitleMenuEthernet.Name = "labelTitleMenuEthernet";
@ -309,6 +310,7 @@
this.buttonGroupNameChange.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonGroupNameChange.ButtonText = "Change Name";
this.buttonGroupNameChange.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonGroupNameChange.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonGroupNameChange.GroupID = 0;
this.buttonGroupNameChange.ImageDisable = null;
this.buttonGroupNameChange.ImageDown = null;
@ -377,6 +379,7 @@
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuEquipment);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuAlarmList);
this.groupBoxDefault.Controls.Add(this.checkBoxDefaultMenuInformation);
this.groupBoxDefault.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxDefault.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxDefault.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxDefault.FrameLineThickness = 2;
@ -704,6 +707,7 @@
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuInspectionLog);
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuAlarmLog);
this.groupBoxLevel3.Controls.Add(this.checkBoxL3MenuInformation);
this.groupBoxLevel3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLevel3.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLevel3.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLevel3.FrameLineThickness = 2;
@ -997,6 +1001,7 @@
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuInspectionLog);
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuAlarmLog);
this.groupBoxLevel2.Controls.Add(this.checkBoxL2MenuInformation);
this.groupBoxLevel2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLevel2.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLevel2.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLevel2.FrameLineThickness = 2;
@ -1290,6 +1295,7 @@
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuInspectionLog);
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuAlarmLog);
this.groupBoxLevel1.Controls.Add(this.checkBoxL1MenuInformation);
this.groupBoxLevel1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.groupBoxLevel1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
this.groupBoxLevel1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.groupBoxLevel1.FrameLineThickness = 2;
@ -1596,7 +1602,7 @@
this.labelTitleMenuInformation.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuInformation.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuInformation.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenuInformation.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuInformation.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuInformation.LineSpacing = 0F;
this.labelTitleMenuInformation.Location = new System.Drawing.Point(158, 457);
this.labelTitleMenuInformation.Name = "labelTitleMenuInformation";
@ -1619,7 +1625,7 @@
this.labelTitleMenuAlarmLog.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuAlarmLog.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuAlarmLog.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenuAlarmLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuAlarmLog.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuAlarmLog.LineSpacing = 0F;
this.labelTitleMenuAlarmLog.Location = new System.Drawing.Point(158, 428);
this.labelTitleMenuAlarmLog.Name = "labelTitleMenuAlarmLog";
@ -1714,7 +1720,7 @@
this.labelTitleMenuInspectionLog.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuInspectionLog.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuInspectionLog.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenuInspectionLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuInspectionLog.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuInspectionLog.LineSpacing = 0F;
this.labelTitleMenuInspectionLog.Location = new System.Drawing.Point(158, 399);
this.labelTitleMenuInspectionLog.Name = "labelTitleMenuInspectionLog";
@ -1737,7 +1743,7 @@
this.labelTitleMenuHistoryLog.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuHistoryLog.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuHistoryLog.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenuHistoryLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuHistoryLog.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuHistoryLog.LineSpacing = 0F;
this.labelTitleMenuHistoryLog.Location = new System.Drawing.Point(158, 370);
this.labelTitleMenuHistoryLog.Name = "labelTitleMenuHistoryLog";
@ -1760,7 +1766,7 @@
this.labelTitleMenuIOTest.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuIOTest.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuIOTest.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenuIOTest.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuIOTest.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuIOTest.LineSpacing = 0F;
this.labelTitleMenuIOTest.Location = new System.Drawing.Point(158, 341);
this.labelTitleMenuIOTest.Name = "labelTitleMenuIOTest";
@ -1783,7 +1789,7 @@
this.labelTitleMenuUserSetting.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuUserSetting.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuUserSetting.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenuUserSetting.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuUserSetting.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuUserSetting.LineSpacing = 0F;
this.labelTitleMenuUserSetting.Location = new System.Drawing.Point(158, 312);
this.labelTitleMenuUserSetting.Name = "labelTitleMenuUserSetting";
@ -1806,7 +1812,7 @@
this.labelTitleMenuRecipe.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuRecipe.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMenuRecipe.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenuRecipe.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuRecipe.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMenuRecipe.LineSpacing = 0F;
this.labelTitleMenuRecipe.Location = new System.Drawing.Point(158, 283);
this.labelTitleMenuRecipe.Name = "labelTitleMenuRecipe";
@ -1829,7 +1835,7 @@
this.labelTitleMainSubMenu.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMainSubMenu.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMainSubMenu.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMainSubMenu.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMainSubMenu.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMainSubMenu.LineSpacing = 0F;
this.labelTitleMainSubMenu.Location = new System.Drawing.Point(158, 226);
this.labelTitleMainSubMenu.Name = "labelTitleMainSubMenu";
@ -1853,7 +1859,7 @@
this.labelTitleMainClear.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMainClear.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMainClear.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMainClear.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMainClear.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMainClear.LineSpacing = 0F;
this.labelTitleMainClear.Location = new System.Drawing.Point(158, 197);
this.labelTitleMainClear.Name = "labelTitleMainClear";
@ -1876,7 +1882,7 @@
this.labelTitleMainProductChange.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMainProductChange.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleMainProductChange.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMainProductChange.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMainProductChange.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleMainProductChange.LineSpacing = 0F;
this.labelTitleMainProductChange.Location = new System.Drawing.Point(158, 168);
this.labelTitleMainProductChange.Name = "labelTitleMainProductChange";
@ -1886,7 +1892,7 @@
this.labelTitleMainProductChange.RoundRectFillColor = System.Drawing.Color.LightBlue;
this.labelTitleMainProductChange.Size = new System.Drawing.Size(132, 23);
this.labelTitleMainProductChange.TabIndex = 122;
this.labelTitleMainProductChange.Text = "Change No.";
this.labelTitleMainProductChange.Text = "Product change";
this.labelTitleMainProductChange.TextColor = System.Drawing.Color.White;
this.labelTitleMainProductChange.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleMainProductChange.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
@ -1903,6 +1909,7 @@
this.buttonSave.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonSave.ButtonText = "Save";
this.buttonSave.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSave.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonSave.GroupID = 0;
this.buttonSave.ImageDisable = null;
this.buttonSave.ImageDown = null;
@ -1934,7 +1941,7 @@
this.labelTitleMain.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleMain.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleMain.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMain.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleMain.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleMain.LineSpacing = 0F;
this.labelTitleMain.Location = new System.Drawing.Point(158, 139);
this.labelTitleMain.Name = "labelTitleMain";
@ -1957,7 +1964,7 @@
this.labelTitleMenu.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleMenu.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleMenu.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenu.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleMenu.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleMenu.LineSpacing = 0F;
this.labelTitleMenu.Location = new System.Drawing.Point(158, 254);
this.labelTitleMenu.Name = "labelTitleMenu";

View File

@ -25,6 +25,7 @@ namespace INT_LKD_2.Controls
this.ParentForm = parent;
this.Initialize();
this.InitializeDesign();
}
#endregion
@ -39,57 +40,52 @@ namespace INT_LKD_2.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "User > GroupEditor";
}
public void InitializeDesign()
{
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.labelTitleMain.Text = "";
this.labelTitleMainProductChange.Text = "";
this.labelTitleMainClear.Text = "";
this.labelTitleMainSubMenu.Text = "";
this.smartGroupBox1.Text = "用户设置 > 组编辑";
this.labelTitleMenu.Text = "";
this.labelTitleMenuRecipe.Text = "";
this.labelTitleMenuUserSetting.Text = "";
this.labelTitleMenuIOTest.Text = "";
this.labelTitleMenuHistoryLog.Text = "";
this.labelTitleMenuInspectionLog.Text = "";
this.labelTitleMenuAlarmLog.Text = "";
this.labelTitleMenuInformation.Text = "";
this.labelTitleMenuEthernet.Text = "";
this.labelTitleMain.Text = "主菜单";
this.labelTitleMainProductChange.Text = "产品变化";
this.labelTitleMainClear.Text = "消除";
this.labelTitleMainSubMenu.Text = "子菜单";
this.buttonGroupNameChange.Text = "";
this.buttonSave.Text = "";
this.labelTitleMenu.Text = "菜单";
this.labelTitleMenuRecipe.Text = "配方设置";
this.labelTitleMenuUserSetting.Text = "用户编辑";
this.labelTitleMenuIOTest.Text = "I/O 测试";
this.labelTitleMenuHistoryLog.Text = "日志_历史记录";
this.labelTitleMenuInspectionLog.Text = "日志_检查";
this.labelTitleMenuAlarmLog.Text = "日志_报警";
this.labelTitleMenuInformation.Text = "信息";
this.labelTitleMenuEthernet.Text = "以太网";
this.groupBoxLevel1.Text = "";
this.groupBoxLevel2.Text = "";
this.groupBoxLevel3.Text = "";
this.buttonGroupNameChange.ButtonText = "更改姓名";
this.buttonSave.ButtonText = "保存";
break;
default:
this.labelTitleMain.Text = "";
this.labelTitleMainProductChange.Text = "";
this.labelTitleMainClear.Text = "";
this.labelTitleMainSubMenu.Text = "";
this.smartGroupBox1.Text = "User > GroupEditor";
this.labelTitleMenu.Text = "";
this.labelTitleMenuRecipe.Text = "";
this.labelTitleMenuUserSetting.Text = "";
this.labelTitleMenuIOTest.Text = "";
this.labelTitleMenuHistoryLog.Text = "";
this.labelTitleMenuInspectionLog.Text = "";
this.labelTitleMenuAlarmLog.Text = "";
this.labelTitleMenuInformation.Text = "";
this.labelTitleMenuEthernet.Text = "";
this.labelTitleMain.Text = "Main";
this.labelTitleMainProductChange.Text = "Product change";
this.labelTitleMainClear.Text = "Clear data";
this.labelTitleMainSubMenu.Text = "Submenu";
this.buttonGroupNameChange.Text = "";
this.buttonSave.Text = "";
this.labelTitleMenu.Text = "Menu";
this.labelTitleMenuRecipe.Text = "Recipe setting";
this.labelTitleMenuUserSetting.Text = "User editing";
this.labelTitleMenuIOTest.Text = "I/O Test";
this.labelTitleMenuHistoryLog.Text = "Log_History";
this.labelTitleMenuInspectionLog.Text = "Log_Inspection";
this.labelTitleMenuAlarmLog.Text = "Log_Alarm";
this.labelTitleMenuInformation.Text = "Information";
this.labelTitleMenuEthernet.Text = "Ethernet";
this.groupBoxLevel1.Text = "";
this.groupBoxLevel2.Text = "";
this.groupBoxLevel3.Text = "";
this.buttonGroupNameChange.ButtonText = "Change name";
this.buttonSave.ButtonText = "Save";
break;
}
}

View File

@ -58,6 +58,7 @@
this.smartGroupBox1.Controls.Add(this.labelID);
this.smartGroupBox1.Controls.Add(this.labelTitleID);
this.smartGroupBox1.Controls.Add(this.buttonChange);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineThickness = 2;

View File

@ -29,6 +29,7 @@ namespace INT_LKD_2.Controls
this.Initialize();
this.DefaultSetting();
this.InitializeDesign();
}
#endregion
@ -61,16 +62,16 @@ namespace INT_LKD_2.Controls
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.labelTitleID.Text = "";
this.labelTitleNew.Text = "";
this.labelTitleVerify.Text = "";
this.buttonChange.Text = "";
this.labelTitleID.Text = "用户名";
this.labelTitleNew.Text = "新的";
this.labelTitleVerify.Text = "核实";
this.buttonChange.ButtonText = "改变";
break;
default:
this.labelTitleID.Text = "ID";
this.labelTitleNew.Text = "New";
this.labelTitleVerify.Text = "Verify";
this.buttonChange.Text = "Change";
this.buttonChange.ButtonText = "Change";
break;
}
}
@ -100,6 +101,11 @@ namespace INT_LKD_2.Controls
message1 = "Password has been changed.";
message2 = "";
break;
case Define.E_LanguageID.Chinese:
code = "更改密码";
message1 = "您的密码已更改。";
message2 = "";
break;
default:
break;
}

View File

@ -54,14 +54,14 @@
this.checkBoxMenuEthernet = new SmartX.SmartCheckBox();
this.checkBoxMenuUserGroupEditor = new SmartX.SmartCheckBox();
this.checkBoxMenuInformation = new SmartX.SmartCheckBox();
this.checkBoxMenuAlarmList = new SmartX.SmartCheckBox();
this.checkBoxMenuAlarmLog = new SmartX.SmartCheckBox();
this.checkBoxMenuEquipment = new SmartX.SmartCheckBox();
this.checkBoxMenuCheckLog = new SmartX.SmartCheckBox();
this.checkBoxMenuInspectionLog = new SmartX.SmartCheckBox();
this.checkBoxMenuHistoryLog = new SmartX.SmartCheckBox();
this.checkBoxMenuIOTest = new SmartX.SmartCheckBox();
this.labelTitleMenu = new SmartX.SmartLabel();
this.labelTitleMain = new SmartX.SmartLabel();
this.checkBoxMenuUserEditor = new SmartX.SmartCheckBox();
this.checkBoxMenuUserSetting = new SmartX.SmartCheckBox();
this.checkBoxMenuRecipe = new SmartX.SmartCheckBox();
this.checkBoxMainSubMenu = new SmartX.SmartCheckBox();
this.checkBoxMainClear = new SmartX.SmartCheckBox();
@ -122,6 +122,7 @@
this.smartGroupBox1.Controls.Add(this.buttonDelete);
this.smartGroupBox1.Controls.Add(this.buttonSave);
this.smartGroupBox1.Controls.Add(this.buttonRegister);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -154,7 +155,7 @@
this.labelTitleContents.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleContents.BorderColor = System.Drawing.Color.White;
this.labelTitleContents.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleContents.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleContents.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Bold);
this.labelTitleContents.ForeColor = System.Drawing.Color.White;
this.labelTitleContents.LineSpacing = 0F;
this.labelTitleContents.Location = new System.Drawing.Point(317, 529);
@ -170,7 +171,6 @@
this.labelTitleContents.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleContents.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelTitleContents.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleContents.Visible = false;
this.labelTitleContents.Wordwrap = false;
//
// labelNumberOfLoginFailures
@ -203,7 +203,7 @@
this.labelTitleNumberOfLoginFailures.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleNumberOfLoginFailures.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleNumberOfLoginFailures.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleNumberOfLoginFailures.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleNumberOfLoginFailures.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleNumberOfLoginFailures.LineSpacing = 0F;
this.labelTitleNumberOfLoginFailures.Location = new System.Drawing.Point(318, 601);
this.labelTitleNumberOfLoginFailures.Name = "labelTitleNumberOfLoginFailures";
@ -273,7 +273,7 @@
this.labelTitleAutomaticLogoutTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleAutomaticLogoutTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleAutomaticLogoutTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleAutomaticLogoutTime.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleAutomaticLogoutTime.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleAutomaticLogoutTime.LineSpacing = 0F;
this.labelTitleAutomaticLogoutTime.Location = new System.Drawing.Point(318, 561);
this.labelTitleAutomaticLogoutTime.Name = "labelTitleAutomaticLogoutTime";
@ -344,6 +344,7 @@
this.buttonPasswordReset.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonPasswordReset.ButtonText = "Reset";
this.buttonPasswordReset.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonPasswordReset.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonPasswordReset.GroupID = 0;
this.buttonPasswordReset.ImageDisable = null;
this.buttonPasswordReset.ImageDown = null;
@ -379,6 +380,7 @@
this.buttonIDEdit.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonIDEdit.ButtonText = "Edit";
this.buttonIDEdit.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonIDEdit.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonIDEdit.GroupID = 0;
this.buttonIDEdit.ImageDisable = null;
this.buttonIDEdit.ImageDown = null;
@ -595,6 +597,7 @@
this.buttonLevel3.ButtonStyle = SmartX.SmartButton.ButtonStyles.Flat;
this.buttonLevel3.ButtonText = "Level 3";
this.buttonLevel3.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonLevel3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonLevel3.GroupID = 0;
this.buttonLevel3.ImageDisable = null;
this.buttonLevel3.ImageDown = null;
@ -630,6 +633,7 @@
this.buttonLevel2.ButtonStyle = SmartX.SmartButton.ButtonStyles.Flat;
this.buttonLevel2.ButtonText = "Level 2";
this.buttonLevel2.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonLevel2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonLevel2.GroupID = 0;
this.buttonLevel2.ImageDisable = null;
this.buttonLevel2.ImageDown = null;
@ -665,6 +669,7 @@
this.buttonLevel1.ButtonStyle = SmartX.SmartButton.ButtonStyles.Flat;
this.buttonLevel1.ButtonText = "Level 1";
this.buttonLevel1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonLevel1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonLevel1.GroupID = 0;
this.buttonLevel1.ImageDisable = null;
this.buttonLevel1.ImageDown = null;
@ -719,6 +724,7 @@
this.labelTitleAccessRight.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleAccessRight.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleAccessRight.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleAccessRight.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleAccessRight.LineSpacing = 0F;
this.labelTitleAccessRight.Location = new System.Drawing.Point(317, 206);
this.labelTitleAccessRight.Name = "labelTitleAccessRight";
@ -743,14 +749,14 @@
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuEthernet);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuUserGroupEditor);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuInformation);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuAlarmList);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuAlarmLog);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuEquipment);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuCheckLog);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuInspectionLog);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuHistoryLog);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuIOTest);
this.groupBoxAccessRight.Controls.Add(this.labelTitleMenu);
this.groupBoxAccessRight.Controls.Add(this.labelTitleMain);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuUserEditor);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuUserSetting);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuRecipe);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMainSubMenu);
this.groupBoxAccessRight.Controls.Add(this.checkBoxMainClear);
@ -778,7 +784,7 @@
this.checkBoxMenuEthernet.Checked = false;
this.checkBoxMenuEthernet.CheckLineWidth = 3;
this.checkBoxMenuEthernet.Enabled = false;
this.checkBoxMenuEthernet.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuEthernet.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuEthernet.ImageCheckBox = null;
this.checkBoxMenuEthernet.ImageUnCheckBox = null;
this.checkBoxMenuEthernet.Location = new System.Drawing.Point(339, 80);
@ -802,7 +808,7 @@
this.checkBoxMenuUserGroupEditor.Checked = false;
this.checkBoxMenuUserGroupEditor.CheckLineWidth = 3;
this.checkBoxMenuUserGroupEditor.Enabled = false;
this.checkBoxMenuUserGroupEditor.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuUserGroupEditor.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuUserGroupEditor.ImageCheckBox = null;
this.checkBoxMenuUserGroupEditor.ImageUnCheckBox = null;
this.checkBoxMenuUserGroupEditor.Location = new System.Drawing.Point(339, 167);
@ -827,7 +833,7 @@
this.checkBoxMenuInformation.Checked = false;
this.checkBoxMenuInformation.CheckLineWidth = 3;
this.checkBoxMenuInformation.Enabled = false;
this.checkBoxMenuInformation.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuInformation.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuInformation.ImageCheckBox = null;
this.checkBoxMenuInformation.ImageUnCheckBox = null;
this.checkBoxMenuInformation.Location = new System.Drawing.Point(339, 51);
@ -840,29 +846,29 @@
this.checkBoxMenuInformation.TextColorDisable = System.Drawing.Color.LightGray;
this.checkBoxMenuInformation.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
//
// checkBoxMenuAlarmList
// checkBoxMenuAlarmLog
//
this.checkBoxMenuAlarmList.BackGround = this.groupBoxAccessRight;
this.checkBoxMenuAlarmList.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.checkBoxMenuAlarmList.CheckBoxBackColor = System.Drawing.Color.LightGray;
this.checkBoxMenuAlarmList.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxMenuAlarmList.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxMenuAlarmList.CheckBoxSymbolSize = 14;
this.checkBoxMenuAlarmList.Checked = false;
this.checkBoxMenuAlarmList.CheckLineWidth = 3;
this.checkBoxMenuAlarmList.Enabled = false;
this.checkBoxMenuAlarmList.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuAlarmList.ImageCheckBox = null;
this.checkBoxMenuAlarmList.ImageUnCheckBox = null;
this.checkBoxMenuAlarmList.Location = new System.Drawing.Point(177, 196);
this.checkBoxMenuAlarmList.Name = "checkBoxMenuAlarmList";
this.checkBoxMenuAlarmList.OverlapOptimize = true;
this.checkBoxMenuAlarmList.Size = new System.Drawing.Size(150, 23);
this.checkBoxMenuAlarmList.TabIndex = 114;
this.checkBoxMenuAlarmList.Text = "Log_Alarm";
this.checkBoxMenuAlarmList.TextColor = System.Drawing.Color.LightGray;
this.checkBoxMenuAlarmList.TextColorDisable = System.Drawing.Color.LightGray;
this.checkBoxMenuAlarmList.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxMenuAlarmLog.BackGround = this.groupBoxAccessRight;
this.checkBoxMenuAlarmLog.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.checkBoxMenuAlarmLog.CheckBoxBackColor = System.Drawing.Color.LightGray;
this.checkBoxMenuAlarmLog.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxMenuAlarmLog.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxMenuAlarmLog.CheckBoxSymbolSize = 14;
this.checkBoxMenuAlarmLog.Checked = false;
this.checkBoxMenuAlarmLog.CheckLineWidth = 3;
this.checkBoxMenuAlarmLog.Enabled = false;
this.checkBoxMenuAlarmLog.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuAlarmLog.ImageCheckBox = null;
this.checkBoxMenuAlarmLog.ImageUnCheckBox = null;
this.checkBoxMenuAlarmLog.Location = new System.Drawing.Point(177, 196);
this.checkBoxMenuAlarmLog.Name = "checkBoxMenuAlarmLog";
this.checkBoxMenuAlarmLog.OverlapOptimize = true;
this.checkBoxMenuAlarmLog.Size = new System.Drawing.Size(150, 23);
this.checkBoxMenuAlarmLog.TabIndex = 114;
this.checkBoxMenuAlarmLog.Text = "Log_Alarm";
this.checkBoxMenuAlarmLog.TextColor = System.Drawing.Color.LightGray;
this.checkBoxMenuAlarmLog.TextColorDisable = System.Drawing.Color.LightGray;
this.checkBoxMenuAlarmLog.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
//
// checkBoxMenuEquipment
//
@ -875,7 +881,7 @@
this.checkBoxMenuEquipment.Checked = false;
this.checkBoxMenuEquipment.CheckLineWidth = 3;
this.checkBoxMenuEquipment.Enabled = false;
this.checkBoxMenuEquipment.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuEquipment.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuEquipment.ImageCheckBox = null;
this.checkBoxMenuEquipment.ImageUnCheckBox = null;
this.checkBoxMenuEquipment.Location = new System.Drawing.Point(339, 196);
@ -889,29 +895,29 @@
this.checkBoxMenuEquipment.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxMenuEquipment.Visible = false;
//
// checkBoxMenuCheckLog
// checkBoxMenuInspectionLog
//
this.checkBoxMenuCheckLog.BackGround = this.groupBoxAccessRight;
this.checkBoxMenuCheckLog.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.checkBoxMenuCheckLog.CheckBoxBackColor = System.Drawing.Color.LightGray;
this.checkBoxMenuCheckLog.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxMenuCheckLog.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxMenuCheckLog.CheckBoxSymbolSize = 14;
this.checkBoxMenuCheckLog.Checked = false;
this.checkBoxMenuCheckLog.CheckLineWidth = 3;
this.checkBoxMenuCheckLog.Enabled = false;
this.checkBoxMenuCheckLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuCheckLog.ImageCheckBox = null;
this.checkBoxMenuCheckLog.ImageUnCheckBox = null;
this.checkBoxMenuCheckLog.Location = new System.Drawing.Point(177, 167);
this.checkBoxMenuCheckLog.Name = "checkBoxMenuCheckLog";
this.checkBoxMenuCheckLog.OverlapOptimize = true;
this.checkBoxMenuCheckLog.Size = new System.Drawing.Size(150, 23);
this.checkBoxMenuCheckLog.TabIndex = 111;
this.checkBoxMenuCheckLog.Text = "Log_Inspection";
this.checkBoxMenuCheckLog.TextColor = System.Drawing.Color.LightGray;
this.checkBoxMenuCheckLog.TextColorDisable = System.Drawing.Color.LightGray;
this.checkBoxMenuCheckLog.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxMenuInspectionLog.BackGround = this.groupBoxAccessRight;
this.checkBoxMenuInspectionLog.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.checkBoxMenuInspectionLog.CheckBoxBackColor = System.Drawing.Color.LightGray;
this.checkBoxMenuInspectionLog.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxMenuInspectionLog.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxMenuInspectionLog.CheckBoxSymbolSize = 14;
this.checkBoxMenuInspectionLog.Checked = false;
this.checkBoxMenuInspectionLog.CheckLineWidth = 3;
this.checkBoxMenuInspectionLog.Enabled = false;
this.checkBoxMenuInspectionLog.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuInspectionLog.ImageCheckBox = null;
this.checkBoxMenuInspectionLog.ImageUnCheckBox = null;
this.checkBoxMenuInspectionLog.Location = new System.Drawing.Point(177, 167);
this.checkBoxMenuInspectionLog.Name = "checkBoxMenuInspectionLog";
this.checkBoxMenuInspectionLog.OverlapOptimize = true;
this.checkBoxMenuInspectionLog.Size = new System.Drawing.Size(150, 23);
this.checkBoxMenuInspectionLog.TabIndex = 111;
this.checkBoxMenuInspectionLog.Text = "Log_Inspection";
this.checkBoxMenuInspectionLog.TextColor = System.Drawing.Color.LightGray;
this.checkBoxMenuInspectionLog.TextColorDisable = System.Drawing.Color.LightGray;
this.checkBoxMenuInspectionLog.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
//
// checkBoxMenuHistoryLog
//
@ -924,7 +930,7 @@
this.checkBoxMenuHistoryLog.Checked = false;
this.checkBoxMenuHistoryLog.CheckLineWidth = 3;
this.checkBoxMenuHistoryLog.Enabled = false;
this.checkBoxMenuHistoryLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuHistoryLog.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuHistoryLog.ImageCheckBox = null;
this.checkBoxMenuHistoryLog.ImageUnCheckBox = null;
this.checkBoxMenuHistoryLog.Location = new System.Drawing.Point(177, 138);
@ -948,7 +954,7 @@
this.checkBoxMenuIOTest.Checked = false;
this.checkBoxMenuIOTest.CheckLineWidth = 3;
this.checkBoxMenuIOTest.Enabled = false;
this.checkBoxMenuIOTest.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuIOTest.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuIOTest.ImageCheckBox = null;
this.checkBoxMenuIOTest.ImageUnCheckBox = null;
this.checkBoxMenuIOTest.Location = new System.Drawing.Point(177, 109);
@ -967,7 +973,7 @@
this.labelTitleMenu.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleMenu.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleMenu.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMenu.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleMenu.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleMenu.LineSpacing = 0F;
this.labelTitleMenu.Location = new System.Drawing.Point(175, 22);
this.labelTitleMenu.Name = "labelTitleMenu";
@ -990,7 +996,7 @@
this.labelTitleMain.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleMain.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleMain.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleMain.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleMain.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleMain.LineSpacing = 0F;
this.labelTitleMain.Location = new System.Drawing.Point(19, 22);
this.labelTitleMain.Name = "labelTitleMain";
@ -1007,29 +1013,29 @@
this.labelTitleMain.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleMain.Wordwrap = false;
//
// checkBoxMenuUserEditor
// checkBoxMenuUserSetting
//
this.checkBoxMenuUserEditor.BackGround = this.groupBoxAccessRight;
this.checkBoxMenuUserEditor.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.checkBoxMenuUserEditor.CheckBoxBackColor = System.Drawing.Color.LightGray;
this.checkBoxMenuUserEditor.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxMenuUserEditor.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxMenuUserEditor.CheckBoxSymbolSize = 14;
this.checkBoxMenuUserEditor.Checked = false;
this.checkBoxMenuUserEditor.CheckLineWidth = 3;
this.checkBoxMenuUserEditor.Enabled = false;
this.checkBoxMenuUserEditor.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuUserEditor.ImageCheckBox = null;
this.checkBoxMenuUserEditor.ImageUnCheckBox = null;
this.checkBoxMenuUserEditor.Location = new System.Drawing.Point(177, 80);
this.checkBoxMenuUserEditor.Name = "checkBoxMenuUserEditor";
this.checkBoxMenuUserEditor.OverlapOptimize = true;
this.checkBoxMenuUserEditor.Size = new System.Drawing.Size(150, 23);
this.checkBoxMenuUserEditor.TabIndex = 7;
this.checkBoxMenuUserEditor.Text = "User editor";
this.checkBoxMenuUserEditor.TextColor = System.Drawing.Color.LightGray;
this.checkBoxMenuUserEditor.TextColorDisable = System.Drawing.Color.LightGray;
this.checkBoxMenuUserEditor.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
this.checkBoxMenuUserSetting.BackGround = this.groupBoxAccessRight;
this.checkBoxMenuUserSetting.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.checkBoxMenuUserSetting.CheckBoxBackColor = System.Drawing.Color.LightGray;
this.checkBoxMenuUserSetting.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid;
this.checkBoxMenuUserSetting.CheckBoxOutlineColor = System.Drawing.Color.Black;
this.checkBoxMenuUserSetting.CheckBoxSymbolSize = 14;
this.checkBoxMenuUserSetting.Checked = false;
this.checkBoxMenuUserSetting.CheckLineWidth = 3;
this.checkBoxMenuUserSetting.Enabled = false;
this.checkBoxMenuUserSetting.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuUserSetting.ImageCheckBox = null;
this.checkBoxMenuUserSetting.ImageUnCheckBox = null;
this.checkBoxMenuUserSetting.Location = new System.Drawing.Point(177, 80);
this.checkBoxMenuUserSetting.Name = "checkBoxMenuUserSetting";
this.checkBoxMenuUserSetting.OverlapOptimize = true;
this.checkBoxMenuUserSetting.Size = new System.Drawing.Size(150, 23);
this.checkBoxMenuUserSetting.TabIndex = 7;
this.checkBoxMenuUserSetting.Text = "User editor";
this.checkBoxMenuUserSetting.TextColor = System.Drawing.Color.LightGray;
this.checkBoxMenuUserSetting.TextColorDisable = System.Drawing.Color.LightGray;
this.checkBoxMenuUserSetting.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
//
// checkBoxMenuRecipe
//
@ -1042,7 +1048,7 @@
this.checkBoxMenuRecipe.Checked = false;
this.checkBoxMenuRecipe.CheckLineWidth = 3;
this.checkBoxMenuRecipe.Enabled = false;
this.checkBoxMenuRecipe.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuRecipe.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMenuRecipe.ImageCheckBox = null;
this.checkBoxMenuRecipe.ImageUnCheckBox = null;
this.checkBoxMenuRecipe.Location = new System.Drawing.Point(177, 51);
@ -1066,7 +1072,7 @@
this.checkBoxMainSubMenu.Checked = false;
this.checkBoxMainSubMenu.CheckLineWidth = 3;
this.checkBoxMainSubMenu.Enabled = false;
this.checkBoxMainSubMenu.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMainSubMenu.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMainSubMenu.ImageCheckBox = null;
this.checkBoxMainSubMenu.ImageUnCheckBox = null;
this.checkBoxMainSubMenu.Location = new System.Drawing.Point(19, 109);
@ -1091,7 +1097,7 @@
this.checkBoxMainClear.Checked = false;
this.checkBoxMainClear.CheckLineWidth = 3;
this.checkBoxMainClear.Enabled = false;
this.checkBoxMainClear.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMainClear.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMainClear.ImageCheckBox = null;
this.checkBoxMainClear.ImageUnCheckBox = null;
this.checkBoxMainClear.Location = new System.Drawing.Point(19, 80);
@ -1115,7 +1121,7 @@
this.checkBoxMainProductChange.Checked = false;
this.checkBoxMainProductChange.CheckLineWidth = 3;
this.checkBoxMainProductChange.Enabled = false;
this.checkBoxMainProductChange.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMainProductChange.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.checkBoxMainProductChange.ImageCheckBox = null;
this.checkBoxMainProductChange.ImageUnCheckBox = null;
this.checkBoxMainProductChange.Location = new System.Drawing.Point(19, 51);
@ -1276,7 +1282,7 @@
this.labelTitleExpiryDateOfPassword.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleExpiryDateOfPassword.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleExpiryDateOfPassword.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleExpiryDateOfPassword.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleExpiryDateOfPassword.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleExpiryDateOfPassword.LineSpacing = 0F;
this.labelTitleExpiryDateOfPassword.Location = new System.Drawing.Point(318, 166);
this.labelTitleExpiryDateOfPassword.Name = "labelTitleExpiryDateOfPassword";
@ -1299,7 +1305,7 @@
this.labelTitleExpiryDateOfAccount.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleExpiryDateOfAccount.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleExpiryDateOfAccount.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleExpiryDateOfAccount.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleExpiryDateOfAccount.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
this.labelTitleExpiryDateOfAccount.LineSpacing = 0F;
this.labelTitleExpiryDateOfAccount.Location = new System.Drawing.Point(318, 126);
this.labelTitleExpiryDateOfAccount.Name = "labelTitleExpiryDateOfAccount";
@ -1322,6 +1328,7 @@
this.labelTitlePassword.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitlePassword.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitlePassword.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitlePassword.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitlePassword.LineSpacing = 0F;
this.labelTitlePassword.Location = new System.Drawing.Point(318, 86);
this.labelTitlePassword.Name = "labelTitlePassword";
@ -1344,6 +1351,7 @@
this.labelTitleID.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.labelTitleID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleID.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleID.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitleID.LineSpacing = 0F;
this.labelTitleID.Location = new System.Drawing.Point(317, 45);
this.labelTitleID.Name = "labelTitleID";
@ -1370,7 +1378,7 @@
this.buttonDelete.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonDelete.ButtonText = "Delete";
this.buttonDelete.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonDelete.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular);
this.buttonDelete.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Regular);
this.buttonDelete.GroupID = 0;
this.buttonDelete.ImageDisable = null;
this.buttonDelete.ImageDown = null;
@ -1406,7 +1414,7 @@
this.buttonSave.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonSave.ButtonText = "Save";
this.buttonSave.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSave.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular);
this.buttonSave.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Regular);
this.buttonSave.GroupID = 0;
this.buttonSave.ImageDisable = null;
this.buttonSave.ImageDown = null;
@ -1443,7 +1451,7 @@
this.buttonRegister.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonRegister.ButtonText = "New";
this.buttonRegister.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonRegister.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular);
this.buttonRegister.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Regular);
this.buttonRegister.GroupID = 0;
this.buttonRegister.ImageDisable = null;
this.buttonRegister.ImageDown = null;
@ -1508,18 +1516,18 @@
private SmartX.SmartButton buttonLevel3;
private SmartX.SmartButton buttonLevel2;
private SmartX.SmartButton buttonLevel1;
private SmartX.SmartCheckBox checkBoxMenuCheckLog;
private SmartX.SmartCheckBox checkBoxMenuInspectionLog;
private SmartX.SmartCheckBox checkBoxMenuHistoryLog;
private SmartX.SmartCheckBox checkBoxMenuIOTest;
private SmartX.SmartLabel labelTitleMenu;
private SmartX.SmartLabel labelTitleMain;
private SmartX.SmartCheckBox checkBoxMenuUserEditor;
private SmartX.SmartCheckBox checkBoxMenuUserSetting;
private SmartX.SmartCheckBox checkBoxMenuRecipe;
private SmartX.SmartCheckBox checkBoxMainSubMenu;
private SmartX.SmartCheckBox checkBoxMainClear;
private SmartX.SmartCheckBox checkBoxMainProductChange;
private SmartX.SmartCheckBox checkBoxMenuInformation;
private SmartX.SmartCheckBox checkBoxMenuAlarmList;
private SmartX.SmartCheckBox checkBoxMenuAlarmLog;
private SmartX.SmartCheckBox checkBoxMenuUserGroupEditor;
private System.Windows.Forms.TextBox textBoxID;
private System.Windows.Forms.TextBox textBoxPassword;

View File

@ -37,6 +37,7 @@ namespace INT_LKD_2.Controls
this.ParentForm = parent;
this.Initialize();
this.DefaultSetting();
this.InitializeDesign();
}
#endregion
@ -51,7 +52,6 @@ namespace INT_LKD_2.Controls
#region Method
private void Initialize()
{
this.smartGroupBox1.Text = "User > UserEditor";
}
private void DefaultSetting()
{
@ -68,25 +68,45 @@ namespace INT_LKD_2.Controls
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.labelTitleID.Text = "";
this.labelTitlePassword.Text = "";
this.smartGroupBox1.Text = "用户设置 > 用户设置";
this.labelTitleExpiryDateOfAccount.Text = "";
this.labelTitleExpiryDateOfPassword.Text = "";
this.labelTitleAccessRight.Text = "";
this.labelTitleID.Text = "用户名";
this.labelTitlePassword.Text = "密码";
this.labelTitleMain.Text = "";
this.labelTitleMenu.Text = "";
this.labelTitleExpiryDateOfAccount.Text = "到期日(用户名)";
this.labelTitleExpiryDateOfPassword.Text = "到期日(密码)";
this.labelTitleAccessRight.Text = "访问权";
this.labelTitleContents.Text = "";
this.labelTitleAutomaticLogoutTime.Text = "";
this.labelTitleNumberOfLoginFailures.Text = "";
this.buttonIDEdit.ButtonText = "编辑";
this.buttonPasswordReset.ButtonText = "重置";
this.buttonRegister.Text = "";
this.buttonDelete.Text = "";
this.buttonSave.Text = "";
this.labelTitleMain.Text = "主屏幕";
this.labelTitleMenu.Text = "菜单";
this.labelTitleContents.Text = "<适用于所有用户的项目>";
this.labelTitleAutomaticLogoutTime.Text = "自动注销";
this.labelTitleNumberOfLoginFailures.Text = "失败次数";
this.buttonRegister.ButtonText = "新的";
this.buttonDelete.ButtonText = "消除";
this.buttonSave.ButtonText = "节省";
this.checkBoxMainProductChange.Text = "产品变化";
this.checkBoxMainClear.Text = "消除";
this.checkBoxMainSubMenu.Text = "子菜单";
this.checkBoxMenuRecipe.Text = "配方设置";
this.checkBoxMenuUserSetting.Text = "用户编辑";
this.checkBoxMenuIOTest.Text = "I/O 测试";
this.checkBoxMenuHistoryLog.Text = "日志_历史记录";
this.checkBoxMenuInspectionLog.Text = "日志_检查";
this.checkBoxMenuAlarmLog.Text = "日志_报警";
this.checkBoxMenuInformation.Text = "信息";
this.checkBoxMenuEthernet.Text = "以太网";
break;
case Define.E_LanguageID.English:
this.smartGroupBox1.Text = "User > UserEditor";
this.labelTitleID.Text = "ID";
this.labelTitlePassword.Text = "Password";
@ -94,6 +114,9 @@ namespace INT_LKD_2.Controls
this.labelTitleExpiryDateOfPassword.Text = "Expiry date(Password)";
this.labelTitleAccessRight.Text = "Access right";
this.buttonIDEdit.ButtonText = "Edit";
this.buttonPasswordReset.ButtonText = "Reset";
this.labelTitleMain.Text = "Main";
this.labelTitleMenu.Text = "Menu";
@ -101,9 +124,22 @@ namespace INT_LKD_2.Controls
this.labelTitleAutomaticLogoutTime.Text = "Auto logout time";
this.labelTitleNumberOfLoginFailures.Text = "Number of Failure";
this.buttonRegister.Text = "New";
this.buttonDelete.Text = "Delete";
this.buttonSave.Text = "Save";
this.buttonRegister.ButtonText = "New";
this.buttonDelete.ButtonText = "Delete";
this.buttonSave.ButtonText = "Save";
this.checkBoxMainProductChange.Text = "Product change";
this.checkBoxMainClear.Text = "Clear data";
this.checkBoxMainSubMenu.Text = "Submenu";
this.checkBoxMenuRecipe.Text = "Recipe setting";
this.checkBoxMenuUserSetting.Text = "User editing";
this.checkBoxMenuIOTest.Text = "I/O Test";
this.checkBoxMenuHistoryLog.Text = "Log_History";
this.checkBoxMenuInspectionLog.Text = "Log_Inspection";
this.checkBoxMenuAlarmLog.Text = "Log_Alarm";
this.checkBoxMenuInformation.Text = "Information";
this.checkBoxMenuEthernet.Text = "Ethernet";
break;
case Define.E_LanguageID.Korean:
this.labelTitleID.Text = "ID";
@ -113,6 +149,9 @@ namespace INT_LKD_2.Controls
this.labelTitleExpiryDateOfPassword.Text = "만료일(비밀번호)";
this.labelTitleAccessRight.Text = "권한";
this.buttonIDEdit.ButtonText = "Edit";
this.buttonPasswordReset.ButtonText = "Reset";
this.labelTitleMain.Text = "Main";
this.labelTitleMenu.Text = "Menu";
@ -120,9 +159,22 @@ namespace INT_LKD_2.Controls
this.labelTitleAutomaticLogoutTime.Text = "자동 로그아웃 시간";
this.labelTitleNumberOfLoginFailures.Text = "로그인 실패 횟수";
this.buttonRegister.Text = "신규";
this.buttonDelete.Text = "삭제";
this.buttonSave.Text = "저장";
this.buttonRegister.ButtonText = "신규";
this.buttonDelete.ButtonText = "삭제";
this.buttonSave.ButtonText = "저장";
this.checkBoxMainProductChange.Text = "Product change";
this.checkBoxMainClear.Text = "Clear data";
this.checkBoxMainSubMenu.Text = "Submenu";
this.checkBoxMenuRecipe.Text = "Recipe setting";
this.checkBoxMenuUserSetting.Text = "User editing";
this.checkBoxMenuIOTest.Text = "I/O Test";
this.checkBoxMenuHistoryLog.Text = "Log_History";
this.checkBoxMenuInspectionLog.Text = "Log_Inspection";
this.checkBoxMenuAlarmLog.Text = "Log_Alarm";
this.checkBoxMenuInformation.Text = "Information";
this.checkBoxMenuEthernet.Text = "Ethernet";
break;
default:
this.labelTitleID.Text = "ID";
@ -139,9 +191,22 @@ namespace INT_LKD_2.Controls
this.labelTitleAutomaticLogoutTime.Text = "Auto logout time";
this.labelTitleNumberOfLoginFailures.Text = "Number of Failure";
this.buttonRegister.Text = "New";
this.buttonDelete.Text = "Delete";
this.buttonSave.Text = "Save";
this.buttonRegister.ButtonText = "New";
this.buttonDelete.ButtonText = "Delete";
this.buttonSave.ButtonText = "Save";
this.checkBoxMainProductChange.Text = "Product change";
this.checkBoxMainClear.Text = "Clear data";
this.checkBoxMainSubMenu.Text = "Submenu";
this.checkBoxMenuRecipe.Text = "Recipe setting";
this.checkBoxMenuUserSetting.Text = "User editing";
this.checkBoxMenuIOTest.Text = "I/O Test";
this.checkBoxMenuHistoryLog.Text = "Log_History";
this.checkBoxMenuInspectionLog.Text = "Log_Inspection";
this.checkBoxMenuAlarmLog.Text = "Log_Alarm";
this.checkBoxMenuInformation.Text = "Information";
this.checkBoxMenuEthernet.Text = "Ethernet";
break;
}
}
@ -291,6 +356,11 @@ namespace INT_LKD_2.Controls
message1 = "Would you like to register as a user?";
message2 = "";
break;
case Define.E_LanguageID.Chinese:
code = "用户设置";
message1 = "是否要添加新用户?";
message2 = "";
break;
default:
break;
}
@ -309,6 +379,11 @@ namespace INT_LKD_2.Controls
message1 = "Are you sure you want to edit the";
message2 = "selected user's information?";
break;
case Define.E_LanguageID.Chinese:
code = "用户设置";
message1 = "是否要编辑所选用户的信息?";
message2 = "";
break;
default:
break;
}
@ -428,12 +503,12 @@ namespace INT_LKD_2.Controls
this.checkBoxMainSubMenu.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplaySubMenu;
this.checkBoxMenuRecipe.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuRecipe;
this.checkBoxMenuUserEditor.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuUserSetting;
this.checkBoxMenuUserSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuUserSetting;
this.checkBoxMenuUserGroupEditor.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuUserGroupEditor;
this.checkBoxMenuIOTest.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuIOTest;
this.checkBoxMenuHistoryLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuHistoryLog;
this.checkBoxMenuCheckLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuInspectionLog;
this.checkBoxMenuAlarmList.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuAlarmLog;
this.checkBoxMenuInspectionLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuInspectionLog;
this.checkBoxMenuAlarmLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuAlarmLog;
this.checkBoxMenuInformation.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuInformation;
this.checkBoxMenuEquipment.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuEquipment;
this.checkBoxMenuEthernet.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuEthernet;
@ -451,12 +526,12 @@ namespace INT_LKD_2.Controls
this.checkBoxMainSubMenu.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplaySubMenu;
this.checkBoxMenuRecipe.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuRecipe;
this.checkBoxMenuUserEditor.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuUserSetting;
this.checkBoxMenuUserSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuUserSetting;
this.checkBoxMenuUserGroupEditor.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuUserGroupEditor;
this.checkBoxMenuIOTest.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuIOTest;
this.checkBoxMenuHistoryLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuHistoryLog;
this.checkBoxMenuCheckLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuInspectionLog;
this.checkBoxMenuAlarmList.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuAlarmLog;
this.checkBoxMenuInspectionLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuInspectionLog;
this.checkBoxMenuAlarmLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuAlarmLog;
this.checkBoxMenuInformation.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuInformation;
this.checkBoxMenuEquipment.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuEquipment;
this.checkBoxMenuEthernet.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuEthernet;
@ -474,12 +549,12 @@ namespace INT_LKD_2.Controls
this.checkBoxMainSubMenu.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplaySubMenu;
this.checkBoxMenuRecipe.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuRecipe;
this.checkBoxMenuUserEditor.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuUserSetting;
this.checkBoxMenuUserSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuUserSetting;
this.checkBoxMenuUserGroupEditor.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuUserGroupEditor;
this.checkBoxMenuIOTest.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuIOTest;
this.checkBoxMenuHistoryLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuHistoryLog;
this.checkBoxMenuCheckLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuInspectionLog;
this.checkBoxMenuAlarmList.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuAlarmLog;
this.checkBoxMenuInspectionLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuInspectionLog;
this.checkBoxMenuAlarmLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuAlarmLog;
this.checkBoxMenuInformation.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuInformation;
this.checkBoxMenuEquipment.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuEquipment;
this.checkBoxMenuEthernet.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuEthernet;
@ -512,12 +587,12 @@ namespace INT_LKD_2.Controls
this.checkBoxMainSubMenu.Checked = true;
this.checkBoxMenuRecipe.Checked = true;
this.checkBoxMenuUserEditor.Checked = true;
this.checkBoxMenuUserSetting.Checked = true;
this.checkBoxMenuUserGroupEditor.Checked = true;
this.checkBoxMenuIOTest.Checked = true;
this.checkBoxMenuHistoryLog.Checked = true;
this.checkBoxMenuCheckLog.Checked = true;
this.checkBoxMenuAlarmList.Checked = true;
this.checkBoxMenuInspectionLog.Checked = true;
this.checkBoxMenuAlarmLog.Checked = true;
this.checkBoxMenuInformation.Checked = true;
this.checkBoxMenuEquipment.Checked = true;
this.checkBoxMenuEthernet.Checked = true;
@ -535,12 +610,12 @@ namespace INT_LKD_2.Controls
this.checkBoxMainSubMenu.Checked = false;
this.checkBoxMenuRecipe.Checked = false;
this.checkBoxMenuUserEditor.Checked = false;
this.checkBoxMenuUserSetting.Checked = false;
this.checkBoxMenuUserGroupEditor.Checked = false;
this.checkBoxMenuIOTest.Checked = false;
this.checkBoxMenuHistoryLog.Checked = false;
this.checkBoxMenuCheckLog.Checked = false;
this.checkBoxMenuAlarmList.Checked = false;
this.checkBoxMenuInspectionLog.Checked = false;
this.checkBoxMenuAlarmLog.Checked = false;
this.checkBoxMenuInformation.Checked = false;
this.checkBoxMenuEquipment.Checked = false;
this.checkBoxMenuEthernet.Checked = false;
@ -573,12 +648,12 @@ namespace INT_LKD_2.Controls
this.checkBoxMainSubMenu.Checked = false;
this.checkBoxMenuRecipe.Checked = false;
this.checkBoxMenuUserEditor.Checked = false;
this.checkBoxMenuUserSetting.Checked = false;
this.checkBoxMenuUserGroupEditor.Checked = false;
this.checkBoxMenuIOTest.Checked = false;
this.checkBoxMenuHistoryLog.Checked = false;
this.checkBoxMenuCheckLog.Checked = false;
this.checkBoxMenuAlarmList.Checked = false;
this.checkBoxMenuInspectionLog.Checked = false;
this.checkBoxMenuAlarmLog.Checked = false;
this.checkBoxMenuInformation.Checked = false;
this.checkBoxMenuEquipment.Checked = false;
this.checkBoxMenuEthernet.Checked = false;
@ -594,8 +669,17 @@ namespace INT_LKD_2.Controls
this.buttonDelete.Visible = false;
this.buttonSave.Visible = false;
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
if (this.buttonPasswordReset.ButtonText != "重置")
this.buttonPasswordReset.ButtonText = "重置";
break;
default:
if (this.buttonPasswordReset.ButtonText != "Reset")
this.buttonPasswordReset.ButtonText = "Reset";
break;
}
this.listBoxUserList.SelectedIndexChanged -= new EventHandler(this.listBoxUserList_SelectedIndexChanged);
this.listBoxUserList.SelectItemIndex = -1;
@ -766,6 +850,9 @@ namespace INT_LKD_2.Controls
case Define.E_LanguageID.English:
this.labelExpiryDateOfAccount2.Text = "Account expiration";
break;
case Define.E_LanguageID.Chinese:
this.labelExpiryDateOfAccount2.Text = "帐户已过期";
break;
default:
break;
}
@ -787,6 +874,9 @@ namespace INT_LKD_2.Controls
case Define.E_LanguageID.English:
this.labelExpiryDateOfPassword2.Text = "Password expiration";
break;
case Define.E_LanguageID.Chinese:
this.labelExpiryDateOfAccount2.Text = "密码已过期";
break;
default:
break;
}
@ -857,6 +947,11 @@ namespace INT_LKD_2.Controls
message1 = "User addition complete!";
message2 = "";
break;
case Define.E_LanguageID.Chinese:
code = "用户设置";
message1 = "用户已添加!";
message2 = "";
break;
default:
break;
}
@ -911,6 +1006,11 @@ namespace INT_LKD_2.Controls
message1 = "User information modified!";
message2 = "";
break;
case Define.E_LanguageID.Chinese:
code = "用户设置";
message1 = "用户信息已编辑!";
message2 = "";
break;
default:
break;
}
@ -963,6 +1063,11 @@ namespace INT_LKD_2.Controls
message1 = string.Format("{0} User deletion complete!", user.user_id);
message2 = "";
break;
case Define.E_LanguageID.Chinese:
code = "用户设置";
message1 = string.Format("{0} 用户已删除!", user.user_id);
message2 = "";
break;
default:
break;
}
@ -1027,6 +1132,11 @@ namespace INT_LKD_2.Controls
message1 = "Password has been changed.";
message2 = "";
break;
case Define.E_LanguageID.Chinese:
code = "更改密码";
message1 = "您的密码已更改。";
message2 = "";
break;
default:
break;
}
@ -1071,14 +1181,31 @@ namespace INT_LKD_2.Controls
this.buttonPasswordReset.Enabled = false;
//this.labelAutomaticLogoutTime.Enabled = true;
this.buttonSave.Visible = false;
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
if (this.buttonPasswordReset.ButtonText != "重置")
this.buttonPasswordReset.ButtonText = "重置";
break;
default:
if (this.buttonPasswordReset.ButtonText != "Reset")
this.buttonPasswordReset.ButtonText = "Reset";
break;
}
if (index == 0)
{
UserManager.UserManager_GetUserListID(this.listBoxUserList.Items[index].ToString());
this.SetEnablePasswordTextBox(true);
switch (this.ParentForm.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.buttonPasswordReset.ButtonText = "编辑";
break;
default:
this.buttonPasswordReset.ButtonText = "Edit";
break;
}
}
else if (index < 0)
{
@ -1261,7 +1388,7 @@ namespace INT_LKD_2.Controls
}
private void buttonPasswordReset_Click(object sender, EventArgs e)
{
if (this.buttonPasswordReset.ButtonText == "Edit")
if (this.buttonPasswordReset.ButtonText == "Edit" || this.buttonPasswordReset.ButtonText == "编辑")
{
if (this.listBoxUserList.SelectItemIndex == 0
&& this.ParentForm.ParentForm.CurrentSystemStatus.CurrentUser.ActiveLevel < 9)
@ -1315,7 +1442,7 @@ namespace INT_LKD_2.Controls
}
private void labelExpiryDateOfAccount_Click(object sender, EventArgs e)
{
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelExpiryDateOfAccount.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelExpiryDateOfAccount.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -1343,7 +1470,7 @@ namespace INT_LKD_2.Controls
}
private void labelExpiryDateOfPassword_Click(object sender, EventArgs e)
{
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelExpiryDateOfPassword.Text, 3, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelExpiryDateOfPassword.Text, 3, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -1371,7 +1498,7 @@ namespace INT_LKD_2.Controls
}
private void labelAutomaticLogoutTime_Click(object sender, EventArgs e)
{
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelAutomaticLogoutTime.Text, 2, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelAutomaticLogoutTime.Text, 2, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -1404,7 +1531,7 @@ namespace INT_LKD_2.Controls
}
private void labelNumberOfLoginFailures_Click(object sender, EventArgs e)
{
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelNumberOfLoginFailures.Text, 2, 0, false);
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(this.labelNumberOfLoginFailures.Text, 2, 0, false, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
if (myKeyPad.ShowDialog() == DialogResult.OK)
{
@ -1452,6 +1579,11 @@ namespace INT_LKD_2.Controls
message1 = "Do you want to unlock user?";
message2 = "";
break;
case Define.E_LanguageID.Chinese:
code = "用户设置";
message1 = "是否要解锁用户?";
message2 = "";
break;
default:
break;
}
@ -1497,6 +1629,11 @@ namespace INT_LKD_2.Controls
message1 = "Do you want to unlock password?";
message2 = "";
break;
case Define.E_LanguageID.Chinese:
code = "用户设置";
message1 = "是否要解锁密码?";
message2 = "";
break;
default:
break;
}

View File

@ -303,4 +303,60 @@ namespace INT_LKD_2.DataStore
Slave,
}
}
public static class FindByNameUtil
{
public static T FindByName<T>(this object targetClass, string name) where T : class
{
System.Reflection.FieldInfo fi = targetClass.GetType().GetField(name, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
return fi.GetValue(targetClass) as T;
}
public static T FindByName<T>(this string name, object targetClass) where T : class
{
System.Reflection.FieldInfo fi = targetClass.GetType().GetField(name, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
return fi.GetValue(targetClass) as T;
}
public static System.Windows.Forms.Label Is_Label_From(this string name, object targetClass)
{
return FindByName<System.Windows.Forms.Label>(targetClass, name);
}
public static System.Windows.Forms.TextBox Is_TextBox_From(this string name, object targetClass)
{
return FindByName<System.Windows.Forms.TextBox>(targetClass, name);
}
public static System.Windows.Forms.TextBox TextBox(string name, object targetClass)
{
return FindByName<System.Windows.Forms.TextBox>(targetClass, name);
}
public static System.Windows.Forms.Label Label(string name, object targetClass)
{
return FindByName<System.Windows.Forms.Label>(targetClass, name);
}
public static System.Windows.Forms.PictureBox PictureBox(string name, object targetClass)
{
return FindByName<System.Windows.Forms.PictureBox>(targetClass, name);
}
public static SmartX.SmartLabel SmartLabel(string name, object targetClass)
{
return FindByName<SmartX.SmartLabel>(targetClass, name);
}
public static SmartX.SmartProgressBar SmartProgressBar(string name, object targetClass)
{
return FindByName<SmartX.SmartProgressBar>(targetClass, name);
}
public static SmartX.SmartButton SmartButton(string name, object targetClass)
{
return FindByName<SmartX.SmartButton>(targetClass, name);
}
public static SmartX.SmartDraw SmartDraw(string name, object targetClass)
{
return FindByName<SmartX.SmartDraw>(targetClass, name);
}
public static SmartX.SmartListBox SmartListBox(string name, object targetClass)
{
return FindByName<SmartX.SmartListBox>(targetClass, name);
}
}
}

View File

@ -100,7 +100,7 @@
// buttonEnter
//
this.buttonEnter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonEnter.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonEnter.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonEnter.ForeColor = System.Drawing.Color.White;
this.buttonEnter.Location = new System.Drawing.Point(300, 229);
this.buttonEnter.Name = "buttonEnter";
@ -113,7 +113,7 @@
// buttonCancel
//
this.buttonCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCancel.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonCancel.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonCancel.ForeColor = System.Drawing.Color.White;
this.buttonCancel.Location = new System.Drawing.Point(229, 229);
this.buttonCancel.Name = "buttonCancel";

View File

@ -71,6 +71,9 @@ namespace INT_LKD_2.DialogForms
switch (language)
{
case Define.E_LanguageID.Chinese:
this.labelTitle.Text = "键盘";
this.buttonCancel.Text = "取消";
this.buttonEnter.Text = "确认";
break;
case Define.E_LanguageID.English:
this.buttonCancel.Text = "ESC";

View File

@ -30,6 +30,7 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DialogFormLogOn));
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.buttonIntech = new SmartX.SmartButton();
this.buttonAdmin = new SmartX.SmartButton();
this.textBoxPassword = new System.Windows.Forms.TextBox();
this.textBoxID = new System.Windows.Forms.TextBox();
@ -39,7 +40,6 @@
this.buttonLogOn = new SmartX.SmartButton();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.smartForm1 = new SmartX.SmartForm();
this.buttonIntech = new SmartX.SmartButton();
this.smartGroupBox1.SuspendLayout();
this.smartForm1.SuspendLayout();
this.SuspendLayout();
@ -58,6 +58,7 @@
this.smartGroupBox1.Controls.Add(this.buttonCancel);
this.smartGroupBox1.Controls.Add(this.buttonLogOn);
this.smartGroupBox1.Controls.Add(this.smartKeyboard);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -71,6 +72,42 @@
this.smartGroupBox1.Text = "Login";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
//
// buttonIntech
//
this.buttonIntech.BackGround = this.smartGroupBox1;
this.buttonIntech.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.buttonIntech.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.buttonIntech.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129)))));
this.buttonIntech.ButtonImageAutoSize = true;
this.buttonIntech.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonIntech.ButtonText = "";
this.buttonIntech.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonIntech.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.buttonIntech.GroupID = 0;
this.buttonIntech.ImageDisable = null;
this.buttonIntech.ImageDown = null;
this.buttonIntech.ImageUp = null;
this.buttonIntech.Location = new System.Drawing.Point(481, 1);
this.buttonIntech.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonIntech.Name = "buttonIntech";
this.buttonIntech.NestedClickEventPrevent = false;
this.buttonIntech.OutlinePixel = 2;
this.buttonIntech.OverlapOptimize = true;
this.buttonIntech.RepeatInterval = 200;
this.buttonIntech.RepeatIntervalAccelerate = null;
this.buttonIntech.RoundSize = 10;
this.buttonIntech.SafeInterval = 3000;
this.buttonIntech.Size = new System.Drawing.Size(80, 32);
this.buttonIntech.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.SAFE;
this.buttonIntech.TabIndex = 100;
this.buttonIntech.Text = null;
this.buttonIntech.TextColor = System.Drawing.Color.White;
this.buttonIntech.TextColorDisable = System.Drawing.Color.Gray;
this.buttonIntech.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
this.buttonIntech.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonIntech.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonIntech.Click += new System.EventHandler(this.buttonIntech_Click);
//
// buttonAdmin
//
this.buttonAdmin.BackGround = this.smartGroupBox1;
@ -81,7 +118,7 @@
this.buttonAdmin.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonAdmin.ButtonText = "";
this.buttonAdmin.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonAdmin.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.buttonAdmin.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.buttonAdmin.GroupID = 0;
this.buttonAdmin.ImageDisable = null;
this.buttonAdmin.ImageDown = null;
@ -132,7 +169,7 @@
this.labelTitlePassword.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelTitlePassword.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitlePassword.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitlePassword.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelTitlePassword.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.labelTitlePassword.LineSpacing = 0F;
this.labelTitlePassword.Location = new System.Drawing.Point(23, 97);
this.labelTitlePassword.Name = "labelTitlePassword";
@ -155,7 +192,7 @@
this.labelTitleID.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelTitleID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTitleID.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleID.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelTitleID.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.labelTitleID.LineSpacing = 0F;
this.labelTitleID.Location = new System.Drawing.Point(23, 54);
this.labelTitleID.Name = "labelTitleID";
@ -182,7 +219,7 @@
this.buttonCancel.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
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.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.buttonCancel.GroupID = 0;
this.buttonCancel.ImageDisable = null;
this.buttonCancel.ImageDown = null;
@ -218,7 +255,7 @@
this.buttonLogOn.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
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.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.buttonLogOn.GroupID = 0;
this.buttonLogOn.ImageDisable = null;
this.buttonLogOn.ImageDown = null;
@ -308,42 +345,6 @@
this.smartForm1.SpecialFunctionClickPointSize = 100;
this.smartForm1.UseMainMenu = false;
//
// buttonIntech
//
this.buttonIntech.BackGround = this.smartGroupBox1;
this.buttonIntech.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.buttonIntech.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.buttonIntech.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129)))));
this.buttonIntech.ButtonImageAutoSize = true;
this.buttonIntech.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonIntech.ButtonText = "";
this.buttonIntech.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonIntech.Font = new System.Drawing.Font("New Gulim", 13F, System.Drawing.FontStyle.Bold);
this.buttonIntech.GroupID = 0;
this.buttonIntech.ImageDisable = null;
this.buttonIntech.ImageDown = null;
this.buttonIntech.ImageUp = null;
this.buttonIntech.Location = new System.Drawing.Point(481, 1);
this.buttonIntech.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonIntech.Name = "buttonIntech";
this.buttonIntech.NestedClickEventPrevent = false;
this.buttonIntech.OutlinePixel = 2;
this.buttonIntech.OverlapOptimize = true;
this.buttonIntech.RepeatInterval = 200;
this.buttonIntech.RepeatIntervalAccelerate = null;
this.buttonIntech.RoundSize = 10;
this.buttonIntech.SafeInterval = 3000;
this.buttonIntech.Size = new System.Drawing.Size(80, 32);
this.buttonIntech.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.SAFE;
this.buttonIntech.TabIndex = 100;
this.buttonIntech.Text = null;
this.buttonIntech.TextColor = System.Drawing.Color.White;
this.buttonIntech.TextColorDisable = System.Drawing.Color.Gray;
this.buttonIntech.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
this.buttonIntech.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonIntech.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonIntech.Click += new System.EventHandler(this.buttonIntech_Click);
//
// DialogFormLogOn
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);

View File

@ -124,21 +124,6 @@ namespace INT_LKD_2.Forms
return ret;
}
private void InitializeDesign()
{
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
break;
case Define.E_LanguageID.English:
break;
case Define.E_LanguageID.Korean:
break;
default:
break;
}
}
private void InitializeControl()
{
this.textBoxID.Text = "";
@ -165,32 +150,66 @@ namespace INT_LKD_2.Forms
private void InitializeDesignForLogin()
{
if (this.ParentForm.SystemConfig.LANGUAGE == Define.E_LanguageID.English)
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.smartGroupBox1.Text = "用户登录";
this.labelTitleID.Text = "用户名";
this.labelTitlePassword.Text = "密码";
this.buttonLogOn.ButtonText = "登錄";
this.buttonCancel.ButtonText = "取消";
break;
case Define.E_LanguageID.English:
this.smartGroupBox1.Text = "User Login";
this.labelTitleID.Text = "ID";
this.labelTitlePassword.Text = "Password";
}
else
{
this.buttonLogOn.ButtonText = "Login";
this.buttonCancel.ButtonText = "Cancel";
break;
case Define.E_LanguageID.Korean:
this.smartGroupBox1.Text = "로그인";
this.labelTitleID.Text = "ID";
this.labelTitlePassword.Text = "비밀번호";
this.buttonLogOn.ButtonText = "Login";
this.buttonCancel.ButtonText = "Cancel";
break;
default:
break;
}
}
private void InitializeDesignForChangePassword()
{
if (this.ParentForm.SystemConfig.LANGUAGE == Define.E_LanguageID.English)
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.smartGroupBox1.Text = "更改密码";
this.labelTitleID.Text = "新的";
this.labelTitlePassword.Text = "核实";
this.buttonLogOn.ButtonText = "改变";
this.buttonCancel.ButtonText = "取消";
break;
case Define.E_LanguageID.English:
this.smartGroupBox1.Text = "Change Password";
this.labelTitleID.Text = "New";
this.labelTitlePassword.Text = "Verify";
}
else
{
this.buttonLogOn.ButtonText = "Change";
this.buttonCancel.ButtonText = "Cancel";
break;
case Define.E_LanguageID.Korean:
this.smartGroupBox1.Text = "비밀번호 변경";
this.labelTitleID.Text = "새 비밀번호";
this.labelTitlePassword.Text = "비밀번호 확인";
this.buttonLogOn.ButtonText = "변경";
this.buttonCancel.ButtonText = "취소";
break;
default:
break;
}
}

View File

@ -52,6 +52,7 @@
this.buttonOK.ButtonStyle = SmartX.SmartButton.ButtonStyles.Round3D;
this.buttonOK.ButtonText = "OK";
this.buttonOK.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonOK.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonOK.GroupID = 0;
this.buttonOK.ImageDisable = null;
this.buttonOK.ImageDown = null;
@ -135,6 +136,7 @@
this.smartGroupBox1.Controls.Add(this.labelMessage1);
this.smartGroupBox1.Controls.Add(this.buttonOK);
this.smartGroupBox1.Controls.Add(this.labelMessage2);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;

View File

@ -65,6 +65,14 @@ namespace INT_LKD_2.DialogForms
this.labelMessage1.Text = str + " files have been backed up";
this.labelMessage2.Text = "";
}
else if (language == Define.E_LanguageID.Chinese)
{
this.buttonOK.ButtonText = "确认";
this.smartGroupBox1.Text = "通知";
this.labelMessage1.Text = str + "个文件已备份";
this.labelMessage2.Text = "";
}
else
{
@ -80,68 +88,68 @@ namespace INT_LKD_2.DialogForms
if (language == Define.E_LanguageID.Korean)
{
this.buttonOK.ButtonText = "OK";
this.buttonOK.Text = "OK";
#region 한글
switch (code)
{
case 1:
this.smartGroupBox1.Text = "Error 01";
this.smartGroupBox1.Text = "Error 01_01";
this.labelMessage1.Text = "입력범위를 확인하세요.";
this.labelMessage2.Text = "";
break;
case 2:
this.smartGroupBox1.Text = "Error 02";
this.smartGroupBox1.Text = "Error 01_02";
this.labelMessage1.Text = "최신 프로그램입니다.";
this.labelMessage2.Text = "";
break;
case 3:
this.smartGroupBox1.Text = "Error 03";
this.smartGroupBox1.Text = "Error 01_03";
this.labelMessage1.Text = "연속으로 불량이 발생했습니다";
this.labelMessage2.Text = "";
break;
case 4:
this.smartGroupBox1.Text = "Error 04";
this.smartGroupBox1.Text = "Error 01_04";
this.labelMessage1.Text = "백업할 파일이 없습니다";
this.labelMessage2.Text = "";
break;
case 5:
this.smartGroupBox1.Text = "Error 05";
this.smartGroupBox1.Text = "Error 01_05";
this.labelMessage1.Text = "USB메모리가 장착되지 않았습니다";
this.labelMessage2.Text = "";
break;
case 6:
this.smartGroupBox1.Text = "Error 06";
this.smartGroupBox1.Text = "Error 01_06";
this.labelMessage1.Text = "제조사에 문의하세요";
this.labelMessage2.Text = "";
break;
case 7:
this.smartGroupBox1.Text = "Error 07";
this.smartGroupBox1.Text = "Error 01_07";
this.labelMessage1.Text = "USB에 업데이트 할 파일이 없습니다";
this.labelMessage2.Text = "";
break;
case 8:
this.smartGroupBox1.Text = "Error 08";
this.labelMessage1.Text = "업데이트 할 실행파일 개수가 많습니다";
this.smartGroupBox1.Text = "Error 01_08";
this.labelMessage1.Text = "업데이트 할 파일 개수가 너무 많습니다";
this.labelMessage2.Text = "";
break;
case 9:
this.smartGroupBox1.Text = "Error 09";
this.smartGroupBox1.Text = "Error 01_09";
this.labelMessage1.Text = "USB에 업데이트 폴더가 없습니다";
this.labelMessage2.Text = "";
break;
case 10:
this.smartGroupBox1.Text = "Error 10";
this.smartGroupBox1.Text = "Error 01_10";
this.labelMessage1.Text = "해당 메모리가 장착되지 않았습니다";
this.labelMessage2.Text = "";
break;
case 11:
this.smartGroupBox1.Text = "Error 11";
this.smartGroupBox1.Text = "Error 01_11";
this.labelMessage1.Text = "이미지 폴더가 없습니다";
this.labelMessage2.Text = "";
break;
case 12:
this.smartGroupBox1.Text = "Error 12";
this.smartGroupBox1.Text = "Error 01_12";
this.labelMessage1.Text = "적체박스를 비워 주세요.";
this.labelMessage2.Text = "";
break;
@ -156,17 +164,17 @@ namespace INT_LKD_2.DialogForms
this.labelMessage2.Text = "";
break;
case 15:
this.smartGroupBox1.Text = "Error 15";
this.smartGroupBox1.Text = "Error 01_15";
this.labelMessage1.Text = "가져올 파일이 없습니다";
this.labelMessage2.Text = "";
break;
case 16:
this.smartGroupBox1.Text = "Error 16";
this.smartGroupBox1.Text = "Error 01_16";
this.labelMessage1.Text = "에러 발생! 다시 시도해주세요";
this.labelMessage2.Text = "";
break;
case 17:
this.smartGroupBox1.Text = "Error 17";
this.smartGroupBox1.Text = "Error 01_17";
this.labelMessage1.Text = "초기화를 실행해 주세요";
this.labelMessage2.Text = "";
break;
@ -177,59 +185,95 @@ namespace INT_LKD_2.DialogForms
this.buttonOK.Visible = false;
break;
case 19:
this.smartGroupBox1.Text = "Error 19";
this.smartGroupBox1.Text = "Error 01_19";
this.labelMessage1.Text = "통신 포트 연결 에러.";
this.labelMessage1.Text = "제조사에 문의하세요.";
break;
case 20:
this.smartGroupBox1.Text = "Error 20";
this.smartGroupBox1.Text = "Error 01_20";
this.labelMessage1.Text = "MASCA 통신 전송이 실패했습니다";
this.labelMessage2.Text = "";
break;
case 21:
this.smartGroupBox1.Text = "Error 21";
this.smartGroupBox1.Text = "Error 01_21";
this.labelMessage1.Text = "서보 오프 후에 다시 시도해주세요";
this.labelMessage2.Text = "";
break;
case 22:
this.smartGroupBox1.Text = "Error 22";
this.smartGroupBox1.Text = "Error 01_22";
this.labelMessage1.Text = "메인보드 통신 상태 확인해주세요";
this.labelMessage2.Text = "";
break;
case 23:
this.smartGroupBox1.Text = "Error 01_23";
this.labelMessage1.Text = "장비 정지 : 카운터출력";
this.labelMessage2.Text = "";
break;
case 24:
this.smartGroupBox1.Text = "Error 01_24";
this.labelMessage1.Text = "MACSA 통신전송이 실패하였습니다.";
this.labelMessage2.Text = "";
break;
case 25:
this.smartGroupBox1.Text = "Error 01_25";
this.labelMessage1.Text = "바코드 연결상태를 확인하세요.";
this.labelMessage2.Text = "";
break;
case 26:
this.smartGroupBox1.Text = "OPC";
this.labelMessage1.Text = "OPC 동작 모드 : Server";
this.labelMessage2.Text = "";
break;
case 27:
this.smartGroupBox1.Text = "Error 01_27";
this.labelMessage1.Text = "996~1000번 : 랜덤모드 기능 할당";
this.labelMessage2.Text = "설정위치 : [메뉴]-[기본]-[품목설정]-[랜덤모드]";
break;
// 28 사용
case 31:
this.smartGroupBox1.Text = "Error 31";
this.smartGroupBox1.Text = "Error 01_31";
this.labelMessage1.Text = "유저 파일 에러";
this.labelMessage2.Text = "";
break;
case 32:
this.smartGroupBox1.Text = "Error 32";
this.smartGroupBox1.Text = "Error 01_32";
this.labelMessage1.Text = "ID 확인하세요";
this.labelMessage2.Text = "";
break;
case 33:
this.smartGroupBox1.Text = "Error 33";
this.smartGroupBox1.Text = "Error 01_33";
this.labelMessage1.Text = "Password 확인하세요";
this.labelMessage2.Text = "";
break;
case 34:
this.smartGroupBox1.Text = "Error 34";
this.smartGroupBox1.Text = "Error 01_34";
this.labelMessage1.Text = "동일한 ID가 있습니다!";
this.labelMessage2.Text = "";
break;
case 35:
this.smartGroupBox1.Text = "Error 35";
this.smartGroupBox1.Text = "Error 01_35";
this.labelMessage1.Text = "4~10자 입력 하세요!";
this.labelMessage2.Text = "";
break;
case 36:
this.smartGroupBox1.Text = "Error 01_36";
this.labelMessage1.Text = "비밀번호를 변경해 주십시오";
this.labelMessage2.Text = "";
break;
case 37:
this.PictureBoxVisible(false);
this.smartGroupBox1.Text = "";
this.smartGroupBox1.Text = "Error 01_37";
this.labelMessage1.Text = "데이터가 없습니다";
this.labelMessage2.Text = "";
break;
case 38:
this.smartGroupBox1.Text = "Error 01_38";
this.labelMessage1.Text = "최대 10개의 파일을 선택할 수 있습니다.";
this.labelMessage2.Text = "";
break;
default:
this.smartGroupBox1.Text = "Error 99";
this.smartGroupBox1.Text = "Error 01_99";
this.labelMessage1.Text = "제조사에 문의하세요";
this.labelMessage2.Text = "";
break;
@ -238,68 +282,68 @@ namespace INT_LKD_2.DialogForms
}
else if (language == Define.E_LanguageID.English)
{
this.buttonOK.ButtonText = "OK";
this.buttonOK.Text = "OK";
#region 영문
switch (code)
{
case 1:
this.smartGroupBox1.Text = "Error 01";
this.smartGroupBox1.Text = "Error 01_01";
this.labelMessage1.Text = "Please check the input range";
this.labelMessage2.Text = "";
break;
case 2:
this.smartGroupBox1.Text = "Error 02";
this.smartGroupBox1.Text = "Error 01_02";
this.labelMessage1.Text = "Application is the lastest";
this.labelMessage2.Text = "";
break;
case 3:
this.smartGroupBox1.Text = "Error 03";
this.smartGroupBox1.Text = "Error 01_03";
this.labelMessage1.Text = "Detect Continuous N.G !!";
this.labelMessage2.Text = "";
break;
case 4:
this.smartGroupBox1.Text = "Error 04";
this.smartGroupBox1.Text = "Error 01_04";
this.labelMessage1.Text = "There are no Backup files";
this.labelMessage2.Text = "";
break;
case 5:
this.smartGroupBox1.Text = "Error 05";
this.smartGroupBox1.Text = "Error 01_05";
this.labelMessage1.Text = "There is no USB MEMORY";
this.labelMessage2.Text = "";
break;
case 6:
this.smartGroupBox1.Text = "Error 06";
this.smartGroupBox1.Text = "Error 01_06";
this.labelMessage1.Text = "Please contact a manufacturer";
this.labelMessage2.Text = "";
break;
case 7:
this.smartGroupBox1.Text = "Error 07";
this.smartGroupBox1.Text = "Error 01_07";
this.labelMessage1.Text = "There are no update files in USB";
this.labelMessage2.Text = "";
break;
case 8:
this.smartGroupBox1.Text = "Error 08";
this.smartGroupBox1.Text = "Error 01_08";
this.labelMessage1.Text = "Too much file for update";
this.labelMessage2.Text = "";
break;
case 9:
this.smartGroupBox1.Text = "Error 09";
this.smartGroupBox1.Text = "Error 01_09";
this.labelMessage1.Text = "There is no folder has update files in USB";
this.labelMessage2.Text = "";
break;
case 10:
this.smartGroupBox1.Text = "Error 10";
this.smartGroupBox1.Text = "Error 01_10";
this.labelMessage1.Text = "There is no MEMORY";
this.labelMessage2.Text = "";
break;
case 11:
this.smartGroupBox1.Text = "Error 11";
this.smartGroupBox1.Text = "Error 01_11";
this.labelMessage1.Text = "There is no folder has Image in USB";
this.labelMessage2.Text = "";
break;
case 12:
this.smartGroupBox1.Text = "Error 12";
this.smartGroupBox1.Text = "Error 01_12";
this.labelMessage1.Text = "Please load the box blank";
this.labelMessage2.Text = "";
break;
@ -314,17 +358,17 @@ namespace INT_LKD_2.DialogForms
this.labelMessage2.Text = "";
break;
case 15:
this.smartGroupBox1.Text = "Error 15";
this.smartGroupBox1.Text = "Error 01_15";
this.labelMessage1.Text = "There are no files to be imported";
this.labelMessage2.Text = "";
break;
case 16:
this.smartGroupBox1.Text = "Error 16";
this.smartGroupBox1.Text = "Error 01_16";
this.labelMessage1.Text = "Error occured! Try again";
this.labelMessage2.Text = "";
break;
case 17:
this.smartGroupBox1.Text = "Error 17";
this.smartGroupBox1.Text = "Error 01_17";
this.labelMessage1.Text = "Please proceed with initialization";
this.labelMessage2.Text = "";
break;
@ -335,37 +379,37 @@ namespace INT_LKD_2.DialogForms
this.buttonOK.Visible = false;
break;
case 19:
this.smartGroupBox1.Text = "Error 19";
this.smartGroupBox1.Text = "Error 01_19";
this.labelMessage1.Text = "COM2 port problem.";
this.labelMessage1.Text = "Please contact a manufacturer.";
break;
case 20:
this.smartGroupBox1.Text = "Error 20";
this.smartGroupBox1.Text = "Error 01_20";
this.labelMessage1.Text = "Transmission failed to MASCA";
this.labelMessage2.Text = "";
break;
case 21:
this.smartGroupBox1.Text = "Error 21";
this.smartGroupBox1.Text = "Error 01_21";
this.labelMessage1.Text = "After th servo-off,";
this.labelMessage2.Text = "please try again.";
break;
case 22:
this.smartGroupBox1.Text = "Error 22";
this.smartGroupBox1.Text = "Error 01_22";
this.labelMessage1.Text = "Please check the communication status ";
this.labelMessage2.Text = "with the main board.";
break;
case 23:
this.smartGroupBox1.Text = "Error 23";
this.smartGroupBox1.Text = "Error 01_23";
this.labelMessage1.Text = "Equipment Stop : Counting output";
this.labelMessage2.Text = "";
break;
case 24:
this.smartGroupBox1.Text = "Error 24";
this.smartGroupBox1.Text = "Error 01_24";
this.labelMessage1.Text = "MACSA communication transmission failed";
this.labelMessage2.Text = "";
break;
case 25:
this.smartGroupBox1.Text = "Error 25";
this.smartGroupBox1.Text = "Error 01_25";
this.labelMessage1.Text = "Check the barcode scanner connection.";
this.labelMessage2.Text = "";
break;
@ -375,50 +419,254 @@ namespace INT_LKD_2.DialogForms
this.labelMessage2.Text = "";
break;
case 27:
this.smartGroupBox1.Text = "Error 27";
this.smartGroupBox1.Text = "Error 01_27";
this.labelMessage1.Text = "No. 996~1000 : Assign Random Mode function";
this.labelMessage2.Text = "[Menu]-[Basic]-[Product setting]-[Random Mode]";
break;
// 28 사용
case 31:
this.smartGroupBox1.Text = "Error 31";
this.smartGroupBox1.Text = "Error 01_31";
this.labelMessage1.Text = "User files error";
this.labelMessage2.Text = "";
break;
case 32:
this.smartGroupBox1.Text = "Error 32";
this.smartGroupBox1.Text = "Error 01_32";
this.labelMessage1.Text = "Check the ID";
this.labelMessage2.Text = "";
break;
case 33:
this.smartGroupBox1.Text = "Error 33";
this.smartGroupBox1.Text = "Error 01_33";
this.labelMessage1.Text = "Check the password";
this.labelMessage2.Text = "";
break;
case 34:
this.smartGroupBox1.Text = "Error 34";
this.smartGroupBox1.Text = "Error 01_34";
this.labelMessage1.Text = "The system already has the same ID";
this.labelMessage2.Text = "";
break;
case 35:
this.smartGroupBox1.Text = "Error 35";
this.smartGroupBox1.Text = "Error 01_35";
this.labelMessage1.Text = "Please enter 4-10 characters";
this.labelMessage2.Text = "";
break;
case 36:
this.smartGroupBox1.Text = "Error 01_36";
this.labelMessage1.Text = "Please change your password";
this.labelMessage2.Text = "";
break;
case 37:
this.PictureBoxVisible(false);
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "No Data";
this.smartGroupBox1.Text = "Error 01_37";
this.labelMessage1.Text = "No data";
this.labelMessage2.Text = "";
break;
case 38:
this.smartGroupBox1.Text = "Error 01_38";
this.labelMessage1.Text = "You can select up to 10 files.";
this.labelMessage2.Text = "";
break;
default:
this.smartGroupBox1.Text = "Error 99";
this.smartGroupBox1.Text = "Error 01_99";
this.labelMessage1.Text = "Please contact a manufacturer";
break;
}
#endregion
}
else if (language == Define.E_LanguageID.Chinese)
{
this.buttonOK.Text = "确认";
#region 중문
switch (code)
{
case 1:
this.smartGroupBox1.Text = "错误 01";
this.labelMessage1.Text = "确认输入范围";
this.labelMessage2.Text = "";
break;
case 2:
this.smartGroupBox1.Text = "错误 02";
this.labelMessage1.Text = "最新应用";
this.labelMessage2.Text = "";
break;
case 3:
this.smartGroupBox1.Text = "错误 03";
this.labelMessage1.Text = "测试连续不良";
this.labelMessage2.Text = "";
break;
case 4:
this.smartGroupBox1.Text = "错误 04";
this.labelMessage1.Text = "无支持文件";
this.labelMessage2.Text = "";
break;
case 5:
this.smartGroupBox1.Text = "错误 05";
this.labelMessage1.Text = "无USB存储卡";
this.labelMessage2.Text = "";
break;
case 6:
this.smartGroupBox1.Text = "错误 06";
this.labelMessage1.Text = "请联系厂商";
this.labelMessage2.Text = "";
break;
case 7:
this.smartGroupBox1.Text = "错误 07";
this.labelMessage1.Text = "USB无更新文件";
this.labelMessage2.Text = "";
break;
case 8:
this.smartGroupBox1.Text = "错误 08";
this.labelMessage1.Text = "太多文件需更新";
this.labelMessage2.Text = "";
break;
case 9:
this.smartGroupBox1.Text = "错误 09";
this.labelMessage1.Text = "USB没有文件夹需要更新文件";
this.labelMessage2.Text = "";
break;
case 10:
this.smartGroupBox1.Text = "错误 10";
this.labelMessage1.Text = "无存储";
this.labelMessage2.Text = "";
break;
case 11:
this.smartGroupBox1.Text = "错误 11";
this.labelMessage1.Text = "没有图像文件夹";
this.labelMessage2.Text = "";
break;
case 12:
this.smartGroupBox1.Text = "错误 12";
this.labelMessage1.Text = "请清理箱子";
this.labelMessage2.Text = "";
break;
case 13:
this.smartGroupBox1.Text = "系统备份";
this.labelMessage1.Text = "复制完成";
this.labelMessage2.Text = "";
break;
case 14:
this.smartGroupBox1.Text = "系统备份";
this.labelMessage1.Text = "复制失败 !!";
this.labelMessage2.Text = "";
break;
case 15:
this.smartGroupBox1.Text = "错误 15";
this.labelMessage1.Text = "无文件导入";
this.labelMessage2.Text = "";
break;
case 16:
this.smartGroupBox1.Text = "错误 16";
this.labelMessage1.Text = "错误发生,重试";
this.labelMessage2.Text = "";
break;
case 17:
this.smartGroupBox1.Text = "错误 17";
this.labelMessage1.Text = "运行初始化";
this.labelMessage2.Text = "";
break;
case 18:
this.smartGroupBox1.Text = "Message 18";
this.labelMessage1.Text = "关掉电源,然后在打开电源";
this.labelMessage2.Text = "";
this.buttonOK.Visible = false;
break;
case 19:
this.smartGroupBox1.Text = "错误 19";
this.labelMessage1.Text = "通信点连接错误";
this.labelMessage1.Text = "请联系厂商";
break;
case 20:
this.smartGroupBox1.Text = "错误 20";
this.labelMessage1.Text = "传送到MASCA失败";
this.labelMessage2.Text = "";
break;
case 21:
this.smartGroupBox1.Text = "错误 21";
this.labelMessage1.Text = "关闭伺服后请重试";
this.labelMessage2.Text = "";
break;
case 22:
this.smartGroupBox1.Text = "错误 22";
this.labelMessage1.Text = "请确认主要画面通信状态";
this.labelMessage2.Text = "";
break;
case 23:
this.smartGroupBox1.Text = "错误 23";
this.labelMessage1.Text = "设备停止 : 计数输出";
this.labelMessage2.Text = "";
break;
case 24:
this.smartGroupBox1.Text = "错误 24";
this.labelMessage1.Text = "传送到MASCA失败";
this.labelMessage2.Text = "";
break;
case 25:
this.smartGroupBox1.Text = "错误 25";
this.labelMessage1.Text = "检查条形码连接";
this.labelMessage2.Text = "";
break;
case 26:
this.smartGroupBox1.Text = "OPC";
this.labelMessage1.Text = "OPC运转模式 : 服务器";
this.labelMessage2.Text = "";
break;
case 27:
this.smartGroupBox1.Text = "错误 27";
this.labelMessage1.Text = "996~1000随机模式功能分配";
this.labelMessage2.Text = "设定位置 : [菜单]-[基本]-[产品设置]-[随机模式]";
break;
// 28 사용
case 31:
this.smartGroupBox1.Text = "错误 31";
this.labelMessage1.Text = "用户文件错误";
this.labelMessage2.Text = "";
break;
case 32:
this.smartGroupBox1.Text = "错误 32";
this.labelMessage1.Text = "请确认用户名";
this.labelMessage2.Text = "";
break;
case 33:
this.smartGroupBox1.Text = "错误 33";
this.labelMessage1.Text = "请确认密码";
this.labelMessage2.Text = "";
break;
case 34:
this.smartGroupBox1.Text = "错误 34";
this.labelMessage1.Text = "已有相同的用户名";
this.labelMessage2.Text = "";
break;
case 35:
this.smartGroupBox1.Text = "错误 35";
this.labelMessage1.Text = "请输入4~10个字符!";
this.labelMessage2.Text = "";
break;
case 36:
this.smartGroupBox1.Text = "Error 01_36";
this.labelMessage1.Text = "请更改您的密码";
this.labelMessage2.Text = "";
break;
case 37:
this.PictureBoxVisible(false);
this.smartGroupBox1.Text = "Error 01_37";
this.labelMessage1.Text = "没有数据";
this.labelMessage2.Text = "";
break;
case 38:
this.smartGroupBox1.Text = "Error 01_38";
this.labelMessage1.Text = "您最多可以选择 10 个文件。";
this.labelMessage2.Text = "";
break;
default:
this.smartGroupBox1.Text = "错误 99";
this.labelMessage1.Text = "请联系厂商";
this.labelMessage2.Text = "";
break;
}
#endregion
}
else
{
@ -439,8 +687,8 @@ namespace INT_LKD_2.DialogForms
switch (code)
{
case 1:
this.buttonOK.ButtonText = "OK";
this.smartGroupBox1.Text = "Error 01";
this.buttonOK.Text = "OK";
this.smartGroupBox1.Text = "Error 03_01";
this.labelMessage1.Text = "입력범위를 확인하세요.";
this.labelMessage2.Text = message;
break;
@ -454,8 +702,8 @@ namespace INT_LKD_2.DialogForms
switch (code)
{
case 1:
this.buttonOK.ButtonText = "OK";
this.smartGroupBox1.Text = "Error 01";
this.buttonOK.Text = "OK";
this.smartGroupBox1.Text = "Error 03_01";
this.labelMessage1.Text = "Confirm input range";
this.labelMessage2.Text = message;
break;
@ -464,6 +712,21 @@ namespace INT_LKD_2.DialogForms
}
#endregion
break;
case Define.E_LanguageID.Chinese:
#region Chinese
switch (code)
{
case 1:
this.buttonOK.Text = "确认";
this.smartGroupBox1.Text = "错误 01";
this.labelMessage1.Text = "确认输入范围";
this.labelMessage2.Text = message;
break;
default:
break;
}
#endregion
break;
default:
break;
}
@ -511,6 +774,24 @@ namespace INT_LKD_2.DialogForms
}
#endregion
break;
case Define.E_LanguageID.Chinese:
#region 중문
this.buttonOK.Text = "确认";
switch (code)
{
case 14:
this.smartGroupBox1.Text = "错误 04_14";
this.labelMessage1.Text = string.Format("密码错误{0}次。", num1);
this.labelMessage2.Text = string.Format("如果出现 {0} 个错误,您的帐户将被锁定。", num2);
break;
default:
this.smartGroupBox1.Text = "错误 04_99";
this.labelMessage1.Text = "请联系制造商";
break;
}
#endregion
break;
default:
break;
}
@ -709,6 +990,100 @@ namespace INT_LKD_2.DialogForms
}
#endregion
break;
case Define.E_LanguageID.Chinese:
#region 중문
this.buttonOK.Text = "确认";
switch (code)
{
case 1:
this.smartGroupBox1.Text = "错误 04_01";
this.labelMessage1.Text = "未找到 ID";
break;
case 2:
this.smartGroupBox1.Text = "错误 04_02";
this.labelMessage1.Text = "ID : ID已存在";
break;
case 3:
this.smartGroupBox1.Text = "错误 04_03";
this.labelMessage1.Text = "ID : 请输入6~20个字符";
break;
case 4:
this.smartGroupBox1.Text = "错误 04_04";
this.labelMessage1.Text = "ID : 请输入6~20个字符";
break;
case 5:
this.smartGroupBox1.Text = "错误 04_05";
this.labelMessage1.Text = "ID : 不能使用连续的 (123,321,abc,cba...)";
this.labelMessage2.Text = "或相同的 (111,222,aaa...) 字符。";
break;
case 6:
this.smartGroupBox1.Text = "错误 04_06";
this.labelMessage1.Text = "ID : 它包含无效字符";
break;
case 7:
this.smartGroupBox1.Text = "错误 04_07";
this.labelMessage1.Text = "ID : 用户帐号已过期";
break;
case 8:
this.smartGroupBox1.Text = "错误 04_08";
this.labelMessage1.Text = "密码 : 这是旧密码";
break;
case 9:
this.smartGroupBox1.Text = "错误 04_09";
this.labelMessage1.Text = "密码 : 请输入6~20个字符";
break;
case 10:
this.smartGroupBox1.Text = "错误 04_10";
this.labelMessage1.Text = "密码 : 请输入6~20个字符";
break;
case 11:
this.smartGroupBox1.Text = "错误 04_11";
this.labelMessage1.Text = "密码 : 不能使用连续的 (123,321,abc,cba...)";
this.labelMessage2.Text = "或相同的 (111,222,aaa...) 字符。";
break;
case 12:
this.smartGroupBox1.Text = "错误 04_12";
this.labelMessage1.Text = "密码 : 它包含无效字符";
this.labelMessage2.Text = "允许使用特殊字符 : !@#$%^&*+-.";
break;
case 13:
this.smartGroupBox1.Text = "错误 04_13";
this.labelMessage1.Text = "密码 : 请至少包含一个英文字母,";
this.labelMessage2.Text = "至少一个数字,至少一个特殊字符";
break;
case 14:
this.smartGroupBox1.Text = "错误 04_14";
this.labelMessage1.Text = "检查您的密码";
break;
case 15:
this.smartGroupBox1.Text = "错误 04_15";
this.labelMessage1.Text = "密码 : 密码已过期";
break;
case 16:
this.smartGroupBox1.Text = "错误 04_16";
this.labelMessage1.Text = "请设置访问权限";
break;
case 17:
this.smartGroupBox1.Text = "错误 04_17";
this.labelMessage1.Text = "密码不一样";
break;
case 18:
this.smartGroupBox1.Text = "错误 04_18";
this.labelMessage1.Text = "";
break;
case 19:
this.smartGroupBox1.Text = "错误 04_19";
this.labelMessage1.Text = "你的账户被锁了。";
this.labelMessage2.Text = "请联系您的管理员。";
break;
default:
this.smartGroupBox1.Text = "错误 04_99";
this.labelMessage1.Text = "请联系制造商";
break;
}
#endregion
break;
default:
break;
}

View File

@ -58,7 +58,7 @@
// buttonEnter
//
this.buttonEnter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonEnter.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonEnter.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonEnter.ForeColor = System.Drawing.Color.White;
this.buttonEnter.Location = new System.Drawing.Point(23, 343);
this.buttonEnter.Name = "buttonEnter";
@ -71,7 +71,7 @@
// buttonCancel
//
this.buttonCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCancel.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
this.buttonCancel.Font = new System.Drawing.Font("새굴림", 18F, System.Drawing.FontStyle.Bold);
this.buttonCancel.ForeColor = System.Drawing.Color.White;
this.buttonCancel.Location = new System.Drawing.Point(165, 282);
this.buttonCancel.Name = "buttonCancel";
@ -226,7 +226,7 @@
//
// labelCaption
//
this.labelCaption.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelCaption.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelCaption.ForeColor = System.Drawing.Color.White;
this.labelCaption.Location = new System.Drawing.Point(3, 6);
this.labelCaption.Name = "labelCaption";

View File

@ -6,6 +6,7 @@ using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using INT_LKD_2.DataStore;
namespace INT_LKD_2.DialogForms
{
@ -22,7 +23,7 @@ namespace INT_LKD_2.DialogForms
#endregion
#region Constructor
public DialogFormNumKeyPad(string caption, string value, int dig, int decimalPlaces, bool isSignEnable)
public DialogFormNumKeyPad(string caption, string value, int dig, int decimalPlaces, bool isSignEnable, Define.E_LanguageID language)
{
InitializeComponent();
@ -39,8 +40,9 @@ namespace INT_LKD_2.DialogForms
this.IsAddition = true;
this.buttonSign.Enabled = isSignEnable;
this.InitializeDesign(language);
}
public DialogFormNumKeyPad(string value, int dig, int decimalPlaces, bool isSignEnable)
public DialogFormNumKeyPad(string value, int dig, int decimalPlaces, bool isSignEnable, Define.E_LanguageID language)
{
InitializeComponent();
@ -56,6 +58,7 @@ namespace INT_LKD_2.DialogForms
this.IsAddition = true;
this.buttonSign.Enabled = isSignEnable;
this.InitializeDesign(language);
}
#endregion
@ -103,6 +106,26 @@ namespace INT_LKD_2.DialogForms
this.Size = new Size(250, 415);
}
private void InitializeDesign(Define.E_LanguageID language)
{
if (language == Define.E_LanguageID.English)
{
this.buttonCancel.Text = "ESC";
this.buttonEnter.Text = "Enter";
}
else if (language == Define.E_LanguageID.Chinese)
{
this.labelCaption.Text = "键盘";
this.buttonCancel.Text = "取消";
this.buttonEnter.Text = "确认";
}
else
{
this.buttonCancel.Text = "ESC";
this.buttonEnter.Text = "Enter";
}
}
private void InputNumber(string key)
{

View File

@ -84,6 +84,9 @@ namespace INT_LKD_2.DialogForms
switch (language)
{
case Define.E_LanguageID.Chinese:
this.label1.Text = "键盘";
this.buttonCancel.Text = "取消";
this.buttonEnter.Text = "确认";
break;
case Define.E_LanguageID.English:
this.buttonCancel.Text = "ESC";

View File

@ -57,7 +57,7 @@
// buttonEnter
//
this.buttonEnter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonEnter.Font = new System.Drawing.Font("Arial", 15F, System.Drawing.FontStyle.Bold);
this.buttonEnter.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
this.buttonEnter.ForeColor = System.Drawing.Color.White;
this.buttonEnter.Location = new System.Drawing.Point(165, 282);
this.buttonEnter.Name = "buttonEnter";
@ -70,7 +70,7 @@
// buttonCancel
//
this.buttonCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.buttonCancel.Font = new System.Drawing.Font("Arial", 15F, System.Drawing.FontStyle.Bold);
this.buttonCancel.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
this.buttonCancel.ForeColor = System.Drawing.Color.White;
this.buttonCancel.Location = new System.Drawing.Point(23, 282);
this.buttonCancel.Name = "buttonCancel";

View File

@ -53,6 +53,7 @@
this.smartGroupBox1.Controls.Add(this.labelMessage2);
this.smartGroupBox1.Controls.Add(this.progressBarUpdate);
this.smartGroupBox1.Controls.Add(this.labelMessage1);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -76,6 +77,7 @@
this.buttonCancel.ButtonStyle = SmartX.SmartButton.ButtonStyles.Round3D;
this.buttonCancel.ButtonText = "Cancel";
this.buttonCancel.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCancel.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonCancel.GroupID = 0;
this.buttonCancel.ImageDisable = null;
this.buttonCancel.ImageDown = null;
@ -107,7 +109,7 @@
this.labelMessage2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelMessage2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMessage2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMessage2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage2.LineSpacing = 0F;
this.labelMessage2.Location = new System.Drawing.Point(43, 90);
this.labelMessage2.Name = "labelMessage2";
@ -171,7 +173,7 @@
this.labelMessage1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.labelMessage1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelMessage1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelMessage1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelMessage1.LineSpacing = 0F;
this.labelMessage1.Location = new System.Drawing.Point(43, 68);
this.labelMessage1.Name = "labelMessage1";

View File

@ -87,6 +87,23 @@ namespace INT_LKD_2.DialogForms
}
#endregion
}
else if (language == Define.E_LanguageID.Chinese)
{
#region 중문
switch (code)
{
case 1:
this.labelMessage1.Text = "更新中….";
this.labelMessage2.Text = "请勿断开USB";
break;
default:
this.smartGroupBox1.Text = "错误 99";
this.labelMessage1.Text = "请联系厂商";
this.labelMessage2.Text = "";
break;
}
#endregion
}
else
{
@ -141,6 +158,23 @@ namespace INT_LKD_2.DialogForms
}
#endregion
}
else if (language == Define.E_LanguageID.Chinese)
{
#region 중문
switch (code)
{
case 1:
this.labelMessage1.Text = "更新中….";
this.labelMessage2.Text = "请勿断开USB";
break;
default:
this.smartGroupBox1.Text = "错误 99";
this.labelMessage1.Text = "请联系厂商";
this.labelMessage2.Text = "";
break;
}
#endregion
}
else
{
@ -190,6 +224,24 @@ namespace INT_LKD_2.DialogForms
this.Size = new Size(452, 197);
}
private void InitializeDesign(Define.E_LanguageID language)
{
switch (language)
{
case Define.E_LanguageID.Chinese:
this.smartGroupBox1.Text = "更新";
this.buttonCancel.Text = "取消";
break;
case Define.E_LanguageID.English:
this.buttonCancel.Text = "ESC";
break;
case Define.E_LanguageID.Korean:
this.buttonCancel.Text = "ESC";
break;
default:
break;
}
}
private void DefaultSetting()
{
if(this.Code == 2)
@ -212,16 +264,6 @@ namespace INT_LKD_2.DialogForms
this.OldFilePath = "SD Card\\Run\\";
this.RemoveFolderPath = "SD Card\\RemoveFile\\";
}
private void InitializeDesign(Define.E_LanguageID language)
{
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
break;
default:
break;
}
}
#region Display Update
private void ProgramUpdateDisplay()
@ -568,6 +610,10 @@ namespace INT_LKD_2.DialogForms
this.labelMessage1.Text = "Update Fail!";
this.labelMessage2.Text = "Please Check your MainBoard";
break;
case Define.E_LanguageID.Chinese:
this.labelMessage1.Text = "更新失败";
this.labelMessage2.Text = "请检查主板";
break;
default:
break;
}
@ -584,6 +630,10 @@ namespace INT_LKD_2.DialogForms
this.labelMessage1.Text = "Program update complete";
this.labelMessage2.Text = "Reset the system";
break;
case Define.E_LanguageID.Chinese:
this.labelMessage1.Text = "系统更新完成";
this.labelMessage2.Text = "关掉电源,然后在打开电源";
break;
default:
break;
}

View File

@ -51,6 +51,7 @@
this.buttonYes.ButtonStyle = SmartX.SmartButton.ButtonStyles.Round3D;
this.buttonYes.ButtonText = "Yes";
this.buttonYes.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonYes.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonYes.GroupID = 0;
this.buttonYes.ImageDisable = null;
this.buttonYes.ImageDown = null;
@ -86,6 +87,7 @@
this.buttonNo.ButtonStyle = SmartX.SmartButton.ButtonStyles.Round3D;
this.buttonNo.ButtonText = "No";
this.buttonNo.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonNo.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.buttonNo.GroupID = 0;
this.buttonNo.ImageDisable = null;
this.buttonNo.ImageDown = null;
@ -124,6 +126,7 @@
this.smartGroupBox1.Controls.Add(this.pictureBoxQuestion);
this.smartGroupBox1.Controls.Add(this.labelMessage1);
this.smartGroupBox1.Controls.Add(this.labelMessage2);
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineThickness = 2;

View File

@ -49,7 +49,7 @@ namespace INT_LKD_2.DialogForms
break;
case 3:
this.smartGroupBox1.Text = "업데이트";
this.labelMessage1.Text = "새 버전으로 업데이트하시겠습니까?";
this.labelMessage1.Text = "업데이트를 진행하시겠습니까?";
break;
case 4:
this.smartGroupBox1.Text = "스타일러스";
@ -85,7 +85,7 @@ namespace INT_LKD_2.DialogForms
break;
case 12:
this.smartGroupBox1.Text = "로그인";
this.labelMessage1.Text = "Log Off 하시겠습니까?";
this.labelMessage1.Text = "Log out 하시겠습니까?";
break;
case 13:
this.smartGroupBox1.Text = "로그인";
@ -96,21 +96,28 @@ namespace INT_LKD_2.DialogForms
this.labelMessage1.Text = "유저 삭제 하시겠습니까?";
break;
case 15:
this.smartGroupBox1.Text = "유저설정";
this.labelMessage1.Text = "유저 등록 하시겠습니까?";
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "해당 기능을 사용하시겠습니까?";
break;
case 16:
this.smartGroupBox1.Text = "유저설정";
this.labelMessage1.Text = "선택 된 유저를 삭제 하시겠습니까?";
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "해당 기능을 사용을 중지하시겠습니까?";
break;
case 17:
this.smartGroupBox1.Text = "유저설정";
this.labelMessage1.Text = "신규 유저 등록 하시겠습니까?";
this.smartGroupBox1.Text = "바코드";
this.labelMessage1.Text = "바코드 기능을 사용하시겠습니까?";
break;
case 18:
this.smartGroupBox1.Text = "로그인";
this.labelMessage1.Text = "비밀번호를 초기화 하시겠습니까?";
this.labelMessage2.Text = "";
this.smartGroupBox1.Text = "바코드";
this.labelMessage1.Text = "바코드 기능 사용을 중지하시겠습니까?";
break;
case 19:
this.smartGroupBox1.Text = "소거";
this.labelMessage1.Text = "전체 품번 카운트 데이터를 소거 하시겠습니까?";
break;
case 20:
this.smartGroupBox1.Text = "초기화";
this.labelMessage1.Text = "카운터출력 카운트 데이터를 소거 하시겠습니까?";
break;
case 21:
this.smartGroupBox1.Text = "이더넷";
@ -120,6 +127,55 @@ namespace INT_LKD_2.DialogForms
this.smartGroupBox1.Text = "이더넷";
this.labelMessage1.Text = "로컬IP주소 자동으로 설정하시겠습니까?";
break;
case 23:
this.smartGroupBox1.Text = "백업";
this.labelMessage1.Text = "현재 데이터를 백업하시겠습니까?";
break;
case 24:
this.smartGroupBox1.Text = "랜덤모드 설정값 초기화";
this.labelMessage1.Text = "소수점을 변경하면 랜덤모드 설정값이 초기화됩니다.";
this.labelMessage2.Text = "소수점을 변경하시겠습니까?";
break;
case 25:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "기능을 사용하시겠습니까?";
this.labelMessage2.Text = "";
break;
case 26:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "기능 사용을 중지하시겠습니까?";
this.labelMessage2.Text = "관련 항목들이 초기화 상태로 변경됩니다.";
break;
case 27:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "해당 값을 기준값으로 설정하시겠습니까?";
this.labelMessage2.Text = "";
break;
case 28:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "파일을 삭제하시겠습니까?";
this.labelMessage2.Text = "";
break;
case 29:
this.smartGroupBox1.Text = "Login";
this.labelMessage1.Text = "비밀번호를 초기화 하시겠습니까?";
this.labelMessage2.Text = "";
break;
case 30:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "현재 장비 타입을 변경하시겠습니까?";
this.labelMessage2.Text = "재부팅이 필요합니다.";
break;
case 31:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "BLDC 모터 모드로 변경하기 위해";
this.labelMessage2.Text = "재부팅이 필요합니다.";
break;
case 32:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "초기화 하시겠습니까?";
this.labelMessage2.Text = "";
break;
default:
break;
}
@ -143,7 +199,7 @@ namespace INT_LKD_2.DialogForms
break;
case 3:
this.smartGroupBox1.Text = "Update";
this.labelMessage1.Text = "Would you like to update?";
this.labelMessage1.Text = "Would you like to proceed with the update?";
break;
case 4:
this.smartGroupBox1.Text = "Stylus";
@ -190,21 +246,28 @@ namespace INT_LKD_2.DialogForms
this.labelMessage1.Text = "Do you want to delete this user?";
break;
case 15:
this.smartGroupBox1.Text = "User Setting";
this.labelMessage1.Text = "Do you want to register the user?";
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "Would you like to use that feature?";
break;
case 16:
this.smartGroupBox1.Text = "User Setting";
this.labelMessage1.Text = "Do you want to delete this user?";
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "Would you like to stop using that function?";
break;
case 17:
this.smartGroupBox1.Text = "User Setting";
this.labelMessage1.Text = "Do you want to register the new user?";
this.smartGroupBox1.Text = "Barcode";
this.labelMessage1.Text = "Are you sure you want to use the Barcode function?";
break;
case 18:
this.smartGroupBox1.Text = "Login";
this.labelMessage1.Text = "Do you want to reset your password?";
this.labelMessage2.Text = "";
this.smartGroupBox1.Text = "Barcode";
this.labelMessage1.Text = "Are you sure you want to cancel the Barcode function?";
break;
case 19:
this.smartGroupBox1.Text = "Initialization";
this.labelMessage1.Text = "Do you want to Initialize all data?";
break;
case 20:
this.smartGroupBox1.Text = "Initialization";
this.labelMessage1.Text = "Do you want to Initalize Counting Output's count data?";
break;
case 21:
this.smartGroupBox1.Text = "Ethernet";
@ -214,6 +277,205 @@ namespace INT_LKD_2.DialogForms
this.smartGroupBox1.Text = "Ethernet";
this.labelMessage1.Text = "Do you want to set the local IP address to DHCP?";
break;
case 23:
this.smartGroupBox1.Text = "Backup";
this.labelMessage1.Text = "Would you like to back up your current data?";
break;
case 24:
this.smartGroupBox1.Text = "Initialize random mode setting";
this.labelMessage1.Text = "Changing the decimal point resets the random mode";
this.labelMessage2.Text = "settings. Do you want to change the decimal point?";
break;
case 25:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "Are you sure you want to use the function?";
this.labelMessage2.Text = "";
break;
case 26:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "Are you sure you want to cancel the function?";
this.labelMessage2.Text = "Related items will be changed to the initialization state.";
break;
case 27:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "Do you want to set that value as the 'Pass' value?";
this.labelMessage2.Text = "";
break;
case 28:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "Are you sure you want to delete the file?";
this.labelMessage2.Text = "";
break;
case 29:
this.smartGroupBox1.Text = "Login";
this.labelMessage1.Text = "Do you want to reset your password?";
this.labelMessage2.Text = "";
break;
case 30:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "Would you like to change the current equipment type?";
this.labelMessage2.Text = "A reboot is required.";
break;
case 31:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "A reboot is required to change to BLDC motor mode.";
this.labelMessage2.Text = "";
break;
case 32:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "Do you want to initialize?";
this.labelMessage2.Text = "";
break;
default:
break;
}
#endregion
}
else if (language == Define.E_LanguageID.Chinese)
{
this.buttonYes.ButtonText = "是";
this.buttonNo.ButtonText = "否";
#region 중문
switch (ok)
{
case 1:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "你想回到到之前的DLL吗";
break;
case 2:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "想更换语言吗?";
break;
case 3:
this.smartGroupBox1.Text = "更新";
this.labelMessage1.Text = "您想继续更新吗?";
break;
case 4:
this.smartGroupBox1.Text = "스타일러스";
this.labelMessage1.Text = "화면 보정을 실행하시겠습니까?";
break;
case 5:
this.smartGroupBox1.Text = "回复出厂设置";
this.labelMessage1.Text = "所有数据初始化";
break;
case 6:
this.smartGroupBox1.Text = "LCD初期化";
this.labelMessage1.Text = "所有LCD数据初始化";
break;
case 7:
this.smartGroupBox1.Text = "主板初期化";
this.labelMessage1.Text = "所有主板数据初始化";
break;
case 8:
this.smartGroupBox1.Text = "消除";
this.labelMessage1.Text = "您确定清除当前品目计数值吗?";
break;
case 9:
this.smartGroupBox1.Text = "下载";
this.labelMessage1.Text = "您确定下载当前值吗?";
break;
case 10:
this.smartGroupBox1.Text = "下载";
this.labelMessage1.Text = "您确定下载到新电机上吗?";
break;
case 11:
this.smartGroupBox1.Text = "下载";
this.labelMessage1.Text = "您确定更改为当前列号吗?";
break;
case 12:
this.smartGroupBox1.Text = "登錄";
this.labelMessage1.Text = "您确定登出吗?";
break;
case 13:
this.smartGroupBox1.Text = "登錄";
this.labelMessage1.Text = "是否登录用户?";
break;
case 14:
this.smartGroupBox1.Text = "登錄";
this.labelMessage1.Text = "是否删除用户?";
break;
case 15:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "您想使用该功能吗?";
break;
case 16:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "您确定要停止使用该功能吗?";
break;
case 17:
this.smartGroupBox1.Text = "条形码";
this.labelMessage1.Text = "您确定使用条形码功能?";
break;
case 18:
this.smartGroupBox1.Text = "条形码";
this.labelMessage1.Text = "您确定中断使用条形码功能?";
break;
case 19:
this.smartGroupBox1.Text = "消除";
this.labelMessage1.Text = "您确定清除全部品目计数值吗?";
break;
case 20:
this.smartGroupBox1.Text = "初期化";
this.labelMessage1.Text = "计数输出 : 您要清除计数数据吗?";
break;
case 21:
this.smartGroupBox1.Text = "以太网";
this.labelMessage1.Text = "您要手动设置IP地址吗";
break;
case 22:
this.smartGroupBox1.Text = "以太网";
this.labelMessage1.Text = "您要自动设置IP地址吗";
break;
case 23:
this.smartGroupBox1.Text = "备份";
this.labelMessage1.Text = "您要备份当前数据吗?";
break;
case 24:
this.smartGroupBox1.Text = "随机模式初期化";
this.labelMessage1.Text = "更改小数点将重置随机模式设置。";
this.labelMessage2.Text = "您要更改小数点吗?";
break;
case 25:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "你确定要使用功能吗?";
this.labelMessage2.Text = "";
break;
case 26:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "您确定中断使用功能?";
this.labelMessage2.Text = "相关项目将更改为初始化状态。。";
break;
case 27:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "您想将该值设置为“通过”值吗?";
this.labelMessage2.Text = "";
break;
case 28:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "您确定要删除该文件吗?";
this.labelMessage2.Text = "";
break;
case 29:
this.smartGroupBox1.Text = "登录";
this.labelMessage1.Text = "您想重置密码吗?";
this.labelMessage2.Text = "";
break;
case 30:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "您想更改当前的设备类型吗?";
this.labelMessage2.Text = "需要重新启动。";
break;
case 31:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "需要重新启动才能更改为 BLDC 电机模式。";
this.labelMessage2.Text = "";
break;
case 32:
this.smartGroupBox1.Text = "";
this.labelMessage1.Text = "您想要初始化吗?";
this.labelMessage2.Text = "";
break;
default:
break;
}
@ -236,10 +498,18 @@ namespace INT_LKD_2.DialogForms
case Define.E_LanguageID.Korean:
switch (ok)
{
case 31:
case 1:
this.smartGroupBox1.Text = "파일";
this.labelMessage1.Text = string.Format("{0} 파일이 이미 있습니다. 바꾸시겠습니까?", msg);
break;
case 2:
this.smartGroupBox1.Text = "비밀번호 만료";
if (int.Parse(msg) == 0)
this.labelMessage1.Text = "비밀번호 만료일입니다.";
else
this.labelMessage1.Text = string.Format("비밀번호 만료 {0}일 전입니다.", msg);
this.labelMessage2.Text = "비밀번호를 변경하시겠습니까?";
break;
default:
break;
}
@ -247,10 +517,37 @@ namespace INT_LKD_2.DialogForms
case Define.E_LanguageID.English:
switch (ok)
{
case 31:
case 1:
this.smartGroupBox1.Text = "File";
this.labelMessage1.Text = string.Format("{0} already exists. Do you change the file?", msg);
break;
case 2:
this.smartGroupBox1.Text = "Password expiration";
if (int.Parse(msg) == 0)
this.labelMessage1.Text = "Today is the password expiration date.";
else
this.labelMessage1.Text = string.Format("{0} days before password expires", msg);
this.labelMessage2.Text = "Do you want to change the password?";
break;
default:
break;
}
break;
case Define.E_LanguageID.Chinese:
switch (ok)
{
case 1:
this.smartGroupBox1.Text = "文件";
this.labelMessage1.Text = string.Format("{0} 已经存在。 你改文件了吗?", msg);
break;
case 2:
this.smartGroupBox1.Text = "密码过期";
if (int.Parse(msg) == 0)
this.labelMessage1.Text = "今天是密码过期日期.";
else
this.labelMessage1.Text = string.Format("密码过期前{0}天", msg);
this.labelMessage2.Text = "您要更改密码吗?";
break;
default:
break;
}
@ -293,6 +590,18 @@ namespace INT_LKD_2.DialogForms
break;
}
break;
case Define.E_LanguageID.Chinese:
switch (ok)
{
case 3:
this.smartGroupBox1.Text = "更新";
this.labelMessage1.Text = string.Format("前 : {0}, 后 : {1}", before, after);
this.labelMessage2.Text = "您要运行更新吗?";
break;
default:
break;
}
break;
default:
break;
}

View File

@ -30,6 +30,11 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMainDisplay));
this.smartForm1 = new SmartX.SmartForm();
this.labelTitleTime = new SmartX.SmartLabel();
this.labelTitleProcess = new SmartX.SmartLabel();
this.labelTitleStatusResult = new SmartX.SmartLabel();
this.labelProgress1_1 = new SmartX.SmartLabel();
this.labelCommunicationStatus_Slave = new SmartX.SmartLabel();
this.labelProcess = new SmartX.SmartLabel();
this.buttonDischarge = new SmartX.SmartButton();
this.labeldispAlarm11 = new SmartX.SmartLabel();
@ -96,7 +101,6 @@
this.pictureBoxProgress0_1 = new System.Windows.Forms.PictureBox();
this.labelProgress3_1 = new SmartX.SmartLabel();
this.labelProgress2_1 = new SmartX.SmartLabel();
this.labelProgress1_1 = new SmartX.SmartLabel();
this.labelProgress0_1 = new SmartX.SmartLabel();
this.labelProgress0 = new SmartX.SmartLabel();
this.labelProgress3 = new SmartX.SmartLabel();
@ -142,6 +146,7 @@
this.labelLrSec10 = new SmartX.SmartLabel();
this.smartButton1 = new SmartX.SmartButton();
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.labelTitleAlarm = new SmartX.SmartLabel();
this.labelAlarm = new System.Windows.Forms.Label();
this.buttonUser = new SmartX.SmartButton();
this.labelStop = new SmartX.SmartLabel();
@ -157,7 +162,6 @@
this.smartTimerProgressBar = new SmartX.SmartTimer();
this.timerServer = new SmartX.SmartTimer();
this.smartTimerTest = new SmartX.SmartTimer();
this.labelCommunicationStatus_Slave = new SmartX.SmartLabel();
this.smartForm1.SuspendLayout();
this.smartGroupBox1.SuspendLayout();
this.SuspendLayout();
@ -168,6 +172,10 @@
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.labelTitleTime);
this.smartForm1.Controls.Add(this.labelTitleProcess);
this.smartForm1.Controls.Add(this.labelTitleStatusResult);
this.smartForm1.Controls.Add(this.labelProgress1_1);
this.smartForm1.Controls.Add(this.labelCommunicationStatus_Slave);
this.smartForm1.Controls.Add(this.labelProcess);
this.smartForm1.Controls.Add(this.buttonDischarge);
@ -235,7 +243,6 @@
this.smartForm1.Controls.Add(this.pictureBoxProgress0_1);
this.smartForm1.Controls.Add(this.labelProgress3_1);
this.smartForm1.Controls.Add(this.labelProgress2_1);
this.smartForm1.Controls.Add(this.labelProgress1_1);
this.smartForm1.Controls.Add(this.labelProgress0_1);
this.smartForm1.Controls.Add(this.labelProgress0);
this.smartForm1.Controls.Add(this.labelProgress3);
@ -302,6 +309,119 @@
this.smartForm1.SpecialFunctionClickPointSize = 100;
this.smartForm1.UseMainMenu = false;
//
// labelTitleTime
//
this.labelTitleTime.BackGround = null;
this.labelTitleTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.labelTitleTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleTime.LineSpacing = 0F;
this.labelTitleTime.Location = new System.Drawing.Point(147, 90);
this.labelTitleTime.Name = "labelTitleTime";
this.labelTitleTime.OverlapOptimize = true;
this.labelTitleTime.PasswordChar = '\0';
this.labelTitleTime.Radius = 3;
this.labelTitleTime.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52)))));
this.labelTitleTime.Size = new System.Drawing.Size(135, 20);
this.labelTitleTime.TabIndex = 606;
this.labelTitleTime.Text = "Time";
this.labelTitleTime.TextColor = System.Drawing.Color.White;
this.labelTitleTime.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleTime.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelTitleTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleTime.Wordwrap = false;
//
// labelTitleProcess
//
this.labelTitleProcess.BackGround = null;
this.labelTitleProcess.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleProcess.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.labelTitleProcess.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleProcess.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleProcess.LineSpacing = 0F;
this.labelTitleProcess.Location = new System.Drawing.Point(36, 160);
this.labelTitleProcess.Name = "labelTitleProcess";
this.labelTitleProcess.OverlapOptimize = true;
this.labelTitleProcess.PasswordChar = '\0';
this.labelTitleProcess.Radius = 3;
this.labelTitleProcess.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52)))));
this.labelTitleProcess.Size = new System.Drawing.Size(135, 20);
this.labelTitleProcess.TabIndex = 605;
this.labelTitleProcess.Text = "Process";
this.labelTitleProcess.TextColor = System.Drawing.Color.White;
this.labelTitleProcess.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleProcess.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelTitleProcess.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleProcess.Wordwrap = false;
//
// labelTitleStatusResult
//
this.labelTitleStatusResult.BackGround = null;
this.labelTitleStatusResult.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleStatusResult.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.labelTitleStatusResult.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleStatusResult.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleStatusResult.LineSpacing = 0F;
this.labelTitleStatusResult.Location = new System.Drawing.Point(610, 160);
this.labelTitleStatusResult.Name = "labelTitleStatusResult";
this.labelTitleStatusResult.OverlapOptimize = true;
this.labelTitleStatusResult.PasswordChar = '\0';
this.labelTitleStatusResult.Radius = 3;
this.labelTitleStatusResult.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52)))));
this.labelTitleStatusResult.Size = new System.Drawing.Size(135, 20);
this.labelTitleStatusResult.TabIndex = 604;
this.labelTitleStatusResult.Text = "Status / Result";
this.labelTitleStatusResult.TextColor = System.Drawing.Color.White;
this.labelTitleStatusResult.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleStatusResult.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelTitleStatusResult.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleStatusResult.Wordwrap = false;
//
// labelProgress1_1
//
this.labelProgress1_1.BackGround = null;
this.labelProgress1_1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress1_1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103)))));
this.labelProgress1_1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress1_1.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.labelProgress1_1.LineSpacing = 0F;
this.labelProgress1_1.Location = new System.Drawing.Point(332, 239);
this.labelProgress1_1.Name = "labelProgress1_1";
this.labelProgress1_1.OverlapOptimize = true;
this.labelProgress1_1.PasswordChar = '\0';
this.labelProgress1_1.Radius = 20;
this.labelProgress1_1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress1_1.Size = new System.Drawing.Size(197, 27);
this.labelProgress1_1.TabIndex = 424;
this.labelProgress1_1.Text = "이동 및 제품진입";
this.labelProgress1_1.TextColor = System.Drawing.Color.Black;
this.labelProgress1_1.TextColorDisable = System.Drawing.Color.Gray;
this.labelProgress1_1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelProgress1_1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelProgress1_1.Wordwrap = false;
//
// labelCommunicationStatus_Slave
//
this.labelCommunicationStatus_Slave.BackGround = null;
this.labelCommunicationStatus_Slave.BackGroundColor = System.Drawing.Color.Black;
this.labelCommunicationStatus_Slave.BorderColor = System.Drawing.Color.Lime;
this.labelCommunicationStatus_Slave.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect;
this.labelCommunicationStatus_Slave.LineSpacing = 0F;
this.labelCommunicationStatus_Slave.Location = new System.Drawing.Point(904, 29);
this.labelCommunicationStatus_Slave.Name = "labelCommunicationStatus_Slave";
this.labelCommunicationStatus_Slave.OverlapOptimize = true;
this.labelCommunicationStatus_Slave.PasswordChar = '\0';
this.labelCommunicationStatus_Slave.Radius = 20;
this.labelCommunicationStatus_Slave.RoundRectFillColor = System.Drawing.Color.Lime;
this.labelCommunicationStatus_Slave.Size = new System.Drawing.Size(10, 10);
this.labelCommunicationStatus_Slave.TabIndex = 588;
this.labelCommunicationStatus_Slave.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelCommunicationStatus_Slave.TextColorDisable = System.Drawing.Color.Gray;
this.labelCommunicationStatus_Slave.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelCommunicationStatus_Slave.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top;
this.labelCommunicationStatus_Slave.Wordwrap = false;
//
// labelProcess
//
this.labelProcess.BackGround = null;
@ -335,7 +455,7 @@
this.buttonDischarge.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonDischarge.ButtonText = "Discharge";
this.buttonDischarge.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonDischarge.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonDischarge.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonDischarge.GroupID = 0;
this.buttonDischarge.ImageDisable = null;
this.buttonDischarge.ImageDown = null;
@ -639,7 +759,7 @@
this.buttonDisplay.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonDisplay.ButtonText = "Display";
this.buttonDisplay.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonDisplay.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonDisplay.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonDisplay.GroupID = 0;
this.buttonDisplay.ImageDisable = null;
this.buttonDisplay.ImageDown = null;
@ -1386,7 +1506,7 @@
this.labelExpireOfPassword.BackGroundColor = System.Drawing.Color.SkyBlue;
this.labelExpireOfPassword.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelExpireOfPassword.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelExpireOfPassword.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelExpireOfPassword.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelExpireOfPassword.LineSpacing = 0F;
this.labelExpireOfPassword.Location = new System.Drawing.Point(787, 126);
this.labelExpireOfPassword.Name = "labelExpireOfPassword";
@ -1413,7 +1533,7 @@
this.buttonModbus.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonModbus.ButtonText = "Modbus";
this.buttonModbus.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonModbus.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonModbus.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonModbus.GroupID = 0;
this.buttonModbus.ImageDisable = null;
this.buttonModbus.ImageDown = null;
@ -1573,14 +1693,14 @@
this.labelProgress3_1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress3_1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103)))));
this.labelProgress3_1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress3_1.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelProgress3_1.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.labelProgress3_1.LineSpacing = 0F;
this.labelProgress3_1.Location = new System.Drawing.Point(78, 507);
this.labelProgress3_1.Name = "labelProgress3_1";
this.labelProgress3_1.OverlapOptimize = true;
this.labelProgress3_1.PasswordChar = '\0';
this.labelProgress3_1.Radius = 20;
this.labelProgress3_1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103)))));
this.labelProgress3_1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress3_1.Size = new System.Drawing.Size(197, 27);
this.labelProgress3_1.TabIndex = 426;
this.labelProgress3_1.Text = "배출 및 원점복귀";
@ -1596,14 +1716,14 @@
this.labelProgress2_1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress2_1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103)))));
this.labelProgress2_1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress2_1.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelProgress2_1.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.labelProgress2_1.LineSpacing = 0F;
this.labelProgress2_1.Location = new System.Drawing.Point(332, 507);
this.labelProgress2_1.Name = "labelProgress2_1";
this.labelProgress2_1.OverlapOptimize = true;
this.labelProgress2_1.PasswordChar = '\0';
this.labelProgress2_1.Radius = 20;
this.labelProgress2_1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103)))));
this.labelProgress2_1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress2_1.Size = new System.Drawing.Size(197, 27);
this.labelProgress2_1.TabIndex = 425;
this.labelProgress2_1.Text = "측정 중";
@ -1613,43 +1733,20 @@
this.labelProgress2_1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelProgress2_1.Wordwrap = false;
//
// labelProgress1_1
//
this.labelProgress1_1.BackGround = null;
this.labelProgress1_1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress1_1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103)))));
this.labelProgress1_1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress1_1.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelProgress1_1.LineSpacing = 0F;
this.labelProgress1_1.Location = new System.Drawing.Point(332, 239);
this.labelProgress1_1.Name = "labelProgress1_1";
this.labelProgress1_1.OverlapOptimize = true;
this.labelProgress1_1.PasswordChar = '\0';
this.labelProgress1_1.Radius = 20;
this.labelProgress1_1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103)))));
this.labelProgress1_1.Size = new System.Drawing.Size(197, 27);
this.labelProgress1_1.TabIndex = 424;
this.labelProgress1_1.Text = "이동 및 제품진입";
this.labelProgress1_1.TextColor = System.Drawing.Color.Black;
this.labelProgress1_1.TextColorDisable = System.Drawing.Color.Gray;
this.labelProgress1_1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelProgress1_1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelProgress1_1.Wordwrap = false;
//
// labelProgress0_1
//
this.labelProgress0_1.BackGround = null;
this.labelProgress0_1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress0_1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103)))));
this.labelProgress0_1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelProgress0_1.Font = new System.Drawing.Font("Arial", 13F, System.Drawing.FontStyle.Bold);
this.labelProgress0_1.Font = new System.Drawing.Font("새굴림", 13F, System.Drawing.FontStyle.Bold);
this.labelProgress0_1.LineSpacing = 0F;
this.labelProgress0_1.Location = new System.Drawing.Point(78, 239);
this.labelProgress0_1.Name = "labelProgress0_1";
this.labelProgress0_1.OverlapOptimize = true;
this.labelProgress0_1.PasswordChar = '\0';
this.labelProgress0_1.Radius = 20;
this.labelProgress0_1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(101)))), ((int)(((byte)(103)))));
this.labelProgress0_1.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
this.labelProgress0_1.Size = new System.Drawing.Size(197, 27);
this.labelProgress0_1.TabIndex = 423;
this.labelProgress0_1.Text = "초기상태";
@ -1983,7 +2080,7 @@
this.labelDisplacement2.BackGroundColor = System.Drawing.Color.Black;
this.labelDisplacement2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.labelDisplacement2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelDisplacement2.Font = new System.Drawing.Font("Gulim", 12F, System.Drawing.FontStyle.Regular);
this.labelDisplacement2.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Regular);
this.labelDisplacement2.LineSpacing = 0F;
this.labelDisplacement2.Location = new System.Drawing.Point(755, 253);
this.labelDisplacement2.Name = "labelDisplacement2";
@ -2006,7 +2103,7 @@
this.labelDisplacement1.BackGroundColor = System.Drawing.Color.Black;
this.labelDisplacement1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.labelDisplacement1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelDisplacement1.Font = new System.Drawing.Font("Gulim", 12F, System.Drawing.FontStyle.Regular);
this.labelDisplacement1.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Regular);
this.labelDisplacement1.LineSpacing = 0F;
this.labelDisplacement1.Location = new System.Drawing.Point(610, 253);
this.labelDisplacement1.Name = "labelDisplacement1";
@ -2029,7 +2126,7 @@
this.labelPressureWorking2.BackGroundColor = System.Drawing.Color.Black;
this.labelPressureWorking2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.labelPressureWorking2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelPressureWorking2.Font = new System.Drawing.Font("Gulim", 12F, System.Drawing.FontStyle.Regular);
this.labelPressureWorking2.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Regular);
this.labelPressureWorking2.LineSpacing = 0F;
this.labelPressureWorking2.Location = new System.Drawing.Point(755, 205);
this.labelPressureWorking2.Name = "labelPressureWorking2";
@ -2052,7 +2149,7 @@
this.labelPressureWorking1.BackGroundColor = System.Drawing.Color.Black;
this.labelPressureWorking1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.labelPressureWorking1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelPressureWorking1.Font = new System.Drawing.Font("Gulim", 12F, System.Drawing.FontStyle.Regular);
this.labelPressureWorking1.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Regular);
this.labelPressureWorking1.LineSpacing = 0F;
this.labelPressureWorking1.Location = new System.Drawing.Point(610, 205);
this.labelPressureWorking1.Name = "labelPressureWorking1";
@ -2098,7 +2195,7 @@
this.labelLrSec1.BackGroundColor = System.Drawing.Color.Black;
this.labelLrSec1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.labelLrSec1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelLrSec1.Font = new System.Drawing.Font("Gulim", 12F, System.Drawing.FontStyle.Regular);
this.labelLrSec1.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Regular);
this.labelLrSec1.LineSpacing = 0F;
this.labelLrSec1.Location = new System.Drawing.Point(610, 229);
this.labelLrSec1.Name = "labelLrSec1";
@ -2144,7 +2241,7 @@
this.labelLrSec2.BackGroundColor = System.Drawing.Color.Black;
this.labelLrSec2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.labelLrSec2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelLrSec2.Font = new System.Drawing.Font("Gulim", 12F, System.Drawing.FontStyle.Regular);
this.labelLrSec2.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Regular);
this.labelLrSec2.LineSpacing = 0F;
this.labelLrSec2.Location = new System.Drawing.Point(755, 229);
this.labelLrSec2.Name = "labelLrSec2";
@ -2190,7 +2287,7 @@
this.labelUserID.BackGroundColor = System.Drawing.Color.SkyBlue;
this.labelUserID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelUserID.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelUserID.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.LineSpacing = 0F;
this.labelUserID.Location = new System.Drawing.Point(787, 90);
this.labelUserID.Name = "labelUserID";
@ -2282,7 +2379,7 @@
this.labelUserLevel.BackGroundColor = System.Drawing.Color.SkyBlue;
this.labelUserLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelUserLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelUserLevel.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.LineSpacing = 0F;
this.labelUserLevel.Location = new System.Drawing.Point(787, 107);
this.labelUserLevel.Name = "labelUserLevel";
@ -2582,7 +2679,7 @@
this.labelTime.BackGroundColor = System.Drawing.Color.SkyBlue;
this.labelTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTime.LineSpacing = 0F;
this.labelTime.Location = new System.Drawing.Point(141, 119);
this.labelTime.Name = "labelTime";
@ -2686,6 +2783,7 @@
this.smartGroupBox1.BackGround = this.smartForm1;
this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartGroupBox1.BackImage = ((System.Drawing.Image)(resources.GetObject("smartGroupBox1.BackImage")));
this.smartGroupBox1.Controls.Add(this.labelTitleAlarm);
this.smartGroupBox1.Controls.Add(this.labelAlarm);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
@ -2700,6 +2798,29 @@
this.smartGroupBox1.Text = "smartGroupBox1";
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
//
// labelTitleAlarm
//
this.labelTitleAlarm.BackGround = null;
this.labelTitleAlarm.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
this.labelTitleAlarm.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.labelTitleAlarm.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTitleAlarm.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTitleAlarm.LineSpacing = 0F;
this.labelTitleAlarm.Location = new System.Drawing.Point(3, 0);
this.labelTitleAlarm.Name = "labelTitleAlarm";
this.labelTitleAlarm.OverlapOptimize = true;
this.labelTitleAlarm.PasswordChar = '\0';
this.labelTitleAlarm.Radius = 3;
this.labelTitleAlarm.RoundRectFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(52)))), ((int)(((byte)(52)))));
this.labelTitleAlarm.Size = new System.Drawing.Size(135, 20);
this.labelTitleAlarm.TabIndex = 606;
this.labelTitleAlarm.Text = "Alarm";
this.labelTitleAlarm.TextColor = System.Drawing.Color.White;
this.labelTitleAlarm.TextColorDisable = System.Drawing.Color.Gray;
this.labelTitleAlarm.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelTitleAlarm.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleAlarm.Wordwrap = false;
//
// labelAlarm
//
this.labelAlarm.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
@ -2719,7 +2840,7 @@
this.buttonUser.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonUser.ButtonText = "Login";
this.buttonUser.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonUser.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonUser.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonUser.GroupID = 0;
this.buttonUser.ImageDisable = null;
this.buttonUser.ImageDown = null;
@ -2751,7 +2872,7 @@
this.labelStop.BackGroundColor = System.Drawing.Color.Red;
this.labelStop.BorderColor = System.Drawing.Color.Red;
this.labelStop.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect;
this.labelStop.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
this.labelStop.Font = new System.Drawing.Font("새굴림", 20F, System.Drawing.FontStyle.Bold);
this.labelStop.LineSpacing = 0F;
this.labelStop.Location = new System.Drawing.Point(917, 12);
this.labelStop.Name = "labelStop";
@ -2803,7 +2924,7 @@
this.buttonExit.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonExit.ButtonText = "EXIT";
this.buttonExit.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonExit.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonExit.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonExit.GroupID = 0;
this.buttonExit.ImageDisable = null;
this.buttonExit.ImageDown = null;
@ -2839,7 +2960,7 @@
this.buttonInspection.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonInspection.ButtonText = "Inspection";
this.buttonInspection.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonInspection.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonInspection.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonInspection.GroupID = 0;
this.buttonInspection.ImageDisable = null;
this.buttonInspection.ImageDown = null;
@ -2875,7 +2996,7 @@
this.buttonClear.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonClear.ButtonText = "Clear";
this.buttonClear.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonClear.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonClear.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonClear.GroupID = 0;
this.buttonClear.ImageDisable = null;
this.buttonClear.ImageDown = null;
@ -2911,7 +3032,7 @@
this.buttonMenu.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonMenu.ButtonText = "Menu";
this.buttonMenu.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonMenu.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonMenu.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonMenu.GroupID = 0;
this.buttonMenu.ImageDisable = null;
this.buttonMenu.ImageDown = null;
@ -2947,7 +3068,7 @@
this.buttonTest.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonTest.ButtonText = "Test";
this.buttonTest.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonTest.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonTest.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonTest.GroupID = 0;
this.buttonTest.ImageDisable = null;
this.buttonTest.ImageDown = null;
@ -3028,27 +3149,6 @@
this.smartTimerTest.TimeFormStringSeparator = ":";
this.smartTimerTest.Tick += new System.EventHandler(this.smartTimerTest_Tick);
//
// labelCommunicationStatus_Slave
//
this.labelCommunicationStatus_Slave.BackGround = null;
this.labelCommunicationStatus_Slave.BackGroundColor = System.Drawing.Color.Black;
this.labelCommunicationStatus_Slave.BorderColor = System.Drawing.Color.Lime;
this.labelCommunicationStatus_Slave.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect;
this.labelCommunicationStatus_Slave.LineSpacing = 0F;
this.labelCommunicationStatus_Slave.Location = new System.Drawing.Point(904, 29);
this.labelCommunicationStatus_Slave.Name = "labelCommunicationStatus_Slave";
this.labelCommunicationStatus_Slave.OverlapOptimize = true;
this.labelCommunicationStatus_Slave.PasswordChar = '\0';
this.labelCommunicationStatus_Slave.Radius = 20;
this.labelCommunicationStatus_Slave.RoundRectFillColor = System.Drawing.Color.Lime;
this.labelCommunicationStatus_Slave.Size = new System.Drawing.Size(10, 10);
this.labelCommunicationStatus_Slave.TabIndex = 588;
this.labelCommunicationStatus_Slave.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelCommunicationStatus_Slave.TextColorDisable = System.Drawing.Color.Gray;
this.labelCommunicationStatus_Slave.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
this.labelCommunicationStatus_Slave.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top;
this.labelCommunicationStatus_Slave.Wordwrap = false;
//
// FormMainDisplay
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@ -3197,5 +3297,9 @@
private SmartX.SmartButton buttonDischarge;
private SmartX.SmartLabel labelProcess;
public SmartX.SmartLabel labelCommunicationStatus_Slave;
private SmartX.SmartLabel labelTitleTime;
private SmartX.SmartLabel labelTitleProcess;
private SmartX.SmartLabel labelTitleStatusResult;
private SmartX.SmartLabel labelTitleAlarm;
}
}

View File

@ -247,19 +247,51 @@ namespace INT_LKD_2.Forms
{
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 = "배출";
case Define.E_LanguageID.Chinese:
this.labelStart.Text = "运行";
this.labelStop.Text = "停止";
this.labelTitleTime.Text = "时间";
this.labelTitleAlarm.Text = "报警";
this.labelTitleProcess.Text = "工序";
this.labelTitleStatusResult.Text = "地位 / 结果";
this.labelProgress0_1.Text = "初始状态";
this.labelProgress1_1.Text = "移动及产品进入";
this.labelProgress2_1.Text = "测量中";
this.labelProgress3_1.Text = "排出及返回原点";
this.buttonInspection.ButtonText = "检测";
this.buttonDischarge.ButtonText = "排出";
this.buttonClear.ButtonText = "消除";
this.buttonDisplay.ButtonText = "显示";
this.buttonUser.ButtonText = "登錄";
this.buttonModbus.ButtonText = "Modbus";
this.buttonTest.ButtonText = "测试";
this.buttonMenu.ButtonText = "菜单";
break;
case Define.E_LanguageID.English:
default:
this.labelStart.Text = "Run";
this.labelStop.Text = "Stop";
this.labelTitleTime.Text = "Time";
this.labelTitleAlarm.Text = "Alarm";
this.labelTitleProcess.Text = "Process";
this.labelTitleStatusResult.Text = "Status / Result";
this.labelProgress0_1.Text = "Ready";
this.labelProgress1_1.Text = "Chamber shift";
this.labelProgress2_1.Text = "Measuring";
this.labelProgress3_1.Text = "Discharge";
break;
default:
this.buttonInspection.ButtonText = "Inspection";
this.buttonDischarge.ButtonText = "Discharge";
this.buttonClear.ButtonText = "Clear";
this.buttonDisplay.ButtonText = "Display";
this.buttonUser.ButtonText = "Login";
this.buttonModbus.ButtonText = "Modbus";
this.buttonTest.ButtonText = "Test";
this.buttonMenu.ButtonText = "Menu";
break;
}
}
@ -559,7 +591,16 @@ namespace INT_LKD_2.Forms
{
this.ParentForm.CurrentSystemStatus.CurrentUser.Group = Define.E_UserGroup.LogOut;
this.buttonUser.ButtonUp();
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.buttonUser.ButtonText = "登錄";
break;
default:
this.buttonUser.ButtonText = "Login";
break;
}
this.ChangeID = "";
// Part 11
@ -635,6 +676,11 @@ namespace INT_LKD_2.Forms
message1 = "You will be logged out after a while";
message2 = "";
break;
case Define.E_LanguageID.Chinese:
code = "登錄";
message1 = "稍后您将被注销";
message2 = "";
break;
default:
break;
}
@ -658,7 +704,12 @@ namespace INT_LKD_2.Forms
break;
case Define.E_LanguageID.English:
code = "Login";
message1 = "automatically logged out";
message1 = "Automatically logged out";
message2 = "";
break;
case Define.E_LanguageID.Chinese:
code = "登錄";
message1 = "您已自动退出";
message2 = "";
break;
default:
@ -1793,7 +1844,7 @@ namespace INT_LKD_2.Forms
this.Part11AutomaticLogoutReset();
before = this.buttonRecipeNo.ButtonText;
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad("NUMBER", this.buttonRecipeNo.ButtonText, 4, 0, false);
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad("NUMBER", this.buttonRecipeNo.ButtonText, 4, 0, false, this.ParentForm.SystemConfig.LANGUAGE);
if (myKeypad.ShowDialog() == DialogResult.OK)
{

File diff suppressed because it is too large Load Diff

View File

@ -35,6 +35,7 @@
this.smartButton2 = new SmartX.SmartButton();
this.smartButton1 = new SmartX.SmartButton();
this.smartGroupBox3 = new SmartX.SmartGroupBox();
this.labelAlarm = new System.Windows.Forms.Label();
this.smartGroupBox2 = new SmartX.SmartGroupBox();
this.labelStop = new SmartX.SmartLabel();
this.labelStart = new SmartX.SmartLabel();
@ -54,7 +55,6 @@
this.buttonHome = new SmartX.SmartButton();
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.smartTimerAlarm = new SmartX.SmartTimer();
this.labelAlarm = new System.Windows.Forms.Label();
this.smartForm1.SuspendLayout();
this.smartGroupBox3.SuspendLayout();
this.SuspendLayout();
@ -268,6 +268,16 @@
this.smartGroupBox3.Text = "smartGroupBox3";
this.smartGroupBox3.TextColor = System.Drawing.Color.White;
//
// labelAlarm
//
this.labelAlarm.BackColor = System.Drawing.Color.Black;
this.labelAlarm.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Regular);
this.labelAlarm.ForeColor = System.Drawing.Color.White;
this.labelAlarm.Location = new System.Drawing.Point(0, 10);
this.labelAlarm.Name = "labelAlarm";
this.labelAlarm.Size = new System.Drawing.Size(465, 20);
this.labelAlarm.Text = "a1_Emergency stop";
//
// smartGroupBox2
//
this.smartGroupBox2.BackGround = null;
@ -292,7 +302,7 @@
this.labelStop.BackGroundColor = System.Drawing.Color.Red;
this.labelStop.BorderColor = System.Drawing.Color.Red;
this.labelStop.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect;
this.labelStop.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.labelStop.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.labelStop.LineSpacing = 0F;
this.labelStop.Location = new System.Drawing.Point(917, 3);
this.labelStop.Name = "labelStop";
@ -344,7 +354,7 @@
this.buttonUser.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonUser.ButtonText = "User";
this.buttonUser.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonUser.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonUser.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonUser.GroupID = 0;
this.buttonUser.ImageDisable = null;
this.buttonUser.ImageDown = null;
@ -376,7 +386,7 @@
this.labelUserID.BackGroundColor = System.Drawing.Color.Black;
this.labelUserID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelUserID.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelUserID.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.LineSpacing = 0F;
this.labelUserID.Location = new System.Drawing.Point(705, 13);
this.labelUserID.Name = "labelUserID";
@ -399,7 +409,7 @@
this.labelUserLevel.BackGroundColor = System.Drawing.Color.Black;
this.labelUserLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelUserLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelUserLevel.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.LineSpacing = 0F;
this.labelUserLevel.Location = new System.Drawing.Point(811, 13);
this.labelUserLevel.Name = "labelUserLevel";
@ -429,7 +439,7 @@
this.labelTime.BackGroundColor = System.Drawing.Color.Black;
this.labelTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
this.labelTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
this.labelTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelTime.LineSpacing = 0F;
this.labelTime.Location = new System.Drawing.Point(62, 3);
this.labelTime.Name = "labelTime";
@ -456,7 +466,7 @@
this.buttonBottom4.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonBottom4.ButtonText = "측정시작";
this.buttonBottom4.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonBottom4.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonBottom4.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonBottom4.GroupID = 1;
this.buttonBottom4.ImageDisable = null;
this.buttonBottom4.ImageDown = null;
@ -492,7 +502,7 @@
this.buttonBottom3.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonBottom3.ButtonText = "측정시작";
this.buttonBottom3.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonBottom3.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonBottom3.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonBottom3.GroupID = 1;
this.buttonBottom3.ImageDisable = null;
this.buttonBottom3.ImageDown = null;
@ -528,7 +538,7 @@
this.buttonBottom2.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonBottom2.ButtonText = "측정시작";
this.buttonBottom2.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonBottom2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonBottom2.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonBottom2.GroupID = 1;
this.buttonBottom2.ImageDisable = null;
this.buttonBottom2.ImageDown = null;
@ -564,7 +574,7 @@
this.buttonBottom1.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonBottom1.ButtonText = "측정시작";
this.buttonBottom1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonBottom1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonBottom1.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonBottom1.GroupID = 1;
this.buttonBottom1.ImageDisable = null;
this.buttonBottom1.ImageDown = null;
@ -600,7 +610,7 @@
this.buttonSystem.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonSystem.ButtonText = "System";
this.buttonSystem.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonSystem.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonSystem.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonSystem.GroupID = 0;
this.buttonSystem.ImageDisable = null;
this.buttonSystem.ImageDown = null;
@ -636,7 +646,7 @@
this.buttonLog.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonLog.ButtonText = "Log";
this.buttonLog.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonLog.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonLog.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonLog.GroupID = 0;
this.buttonLog.ImageDisable = null;
this.buttonLog.ImageDown = null;
@ -672,7 +682,7 @@
this.buttonManual.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonManual.ButtonText = "Manual";
this.buttonManual.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonManual.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonManual.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonManual.GroupID = 0;
this.buttonManual.ImageDisable = null;
this.buttonManual.ImageDown = null;
@ -708,7 +718,7 @@
this.buttonRecipe.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonRecipe.ButtonText = "Recipe";
this.buttonRecipe.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonRecipe.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonRecipe.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonRecipe.GroupID = 0;
this.buttonRecipe.ImageDisable = null;
this.buttonRecipe.ImageDown = null;
@ -744,7 +754,7 @@
this.buttonHome.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
this.buttonHome.ButtonText = "HOME";
this.buttonHome.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonHome.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.buttonHome.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.buttonHome.GroupID = 0;
this.buttonHome.ImageDisable = null;
this.buttonHome.ImageDown = null;
@ -775,6 +785,7 @@
this.smartGroupBox1.BackGround = null;
this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(51)))), ((int)(((byte)(53)))));
this.smartGroupBox1.BackImage = null;
this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(33)))), ((int)(((byte)(35)))));
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(51)))), ((int)(((byte)(53)))));
this.smartGroupBox1.FrameLineThickness = 2;
@ -797,16 +808,6 @@
this.smartTimerAlarm.TimeFormStringSeparator = ":";
this.smartTimerAlarm.Tick += new System.EventHandler(this.smartTimerAlarm_Tick);
//
// labelAlarm
//
this.labelAlarm.BackColor = System.Drawing.Color.Black;
this.labelAlarm.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular);
this.labelAlarm.ForeColor = System.Drawing.Color.White;
this.labelAlarm.Location = new System.Drawing.Point(0, 10);
this.labelAlarm.Name = "labelAlarm";
this.labelAlarm.Size = new System.Drawing.Size(465, 20);
this.labelAlarm.Text = "a1_Emergency stop";
//
// FormMenu
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);

View File

@ -60,6 +60,7 @@ namespace INT_LKD_2.Forms
this.ParentForm = parent;
this.Initialize();
this.CreateChildControls();
this.InitializeDesign();
}
#endregion
@ -86,8 +87,26 @@ namespace INT_LKD_2.Forms
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.labelStart.Text = "运行";
this.labelStop.Text = "停止";
this.buttonRecipe.ButtonText = "配方设置";
this.buttonUser.ButtonText = "用户编辑";
this.buttonManual.ButtonText = "手动设置";
this.buttonLog.ButtonText = "日志";
this.buttonSystem.ButtonText = "系统设置";
this.buttonHome.ButtonText = "首页";
break;
default:
this.labelStart.Text = "Run";
this.labelStop.Text = "Stop";
this.buttonRecipe.ButtonText = "Recipe";
this.buttonUser.ButtonText = "User";
this.buttonManual.ButtonText = "Manual";
this.buttonLog.ButtonText = "Log";
this.buttonSystem.ButtonText = "System";
this.buttonHome.ButtonText = "Home";
break;
}
}
@ -499,7 +518,15 @@ namespace INT_LKD_2.Forms
this.buttonLog.ButtonUp();
this.buttonSystem.ButtonUp();
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.buttonBottom1.ButtonText = "设置";
break;
default:
this.buttonBottom1.ButtonText = "Setting";
break;
}
this.buttonBottom1.Visible = true;
this.buttonBottom2.Visible = false;
@ -516,8 +543,17 @@ namespace INT_LKD_2.Forms
this.buttonLog.ButtonUp();
this.buttonSystem.ButtonUp();
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.buttonBottom1.ButtonText = "用户设置";
this.buttonBottom2.ButtonText = "组编辑";
break;
default:
this.buttonBottom1.ButtonText = "User Edit";
this.buttonBottom2.ButtonText = "Group Edit";
break;
}
this.buttonBottom1.Visible = true;
this.buttonBottom2.Visible = true;
@ -534,8 +570,17 @@ namespace INT_LKD_2.Forms
this.buttonLog.ButtonUp();
this.buttonSystem.ButtonUp();
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.buttonBottom1.ButtonText = "Master";
this.buttonBottom2.ButtonText = "Slave";
break;
default:
this.buttonBottom1.ButtonText = "Master";
this.buttonBottom2.ButtonText = "Slave";
break;
}
this.buttonBottom1.Visible = true;
this.buttonBottom2.Visible = true;
@ -552,9 +597,19 @@ namespace INT_LKD_2.Forms
this.buttonLog.ButtonDown();
this.buttonSystem.ButtonUp();
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.buttonBottom1.ButtonText = "判断";
this.buttonBottom2.ButtonText = "历史";
this.buttonBottom3.ButtonText = "警报";
break;
default:
this.buttonBottom1.ButtonText = "Inspection";
this.buttonBottom2.ButtonText = "History";
this.buttonBottom3.ButtonText = "Alarm";
break;
}
this.buttonBottom1.Visible = true;
this.buttonBottom2.Visible = true;
@ -571,10 +626,21 @@ namespace INT_LKD_2.Forms
this.buttonLog.ButtonUp();
this.buttonSystem.ButtonDown();
switch (this.ParentForm.SystemConfig.LANGUAGE)
{
case Define.E_LanguageID.Chinese:
this.buttonBottom1.ButtonText = "系统信息";
this.buttonBottom2.ButtonText = "以太网";
this.buttonBottom3.ButtonText = "设置";
this.buttonBottom4.ButtonText = "设备设置";
break;
default:
this.buttonBottom1.ButtonText = "Information";
this.buttonBottom2.ButtonText = "Ethernet";
this.buttonBottom3.ButtonText = "Setting";
this.buttonBottom4.ButtonText = "Equipment";
break;
}
this.buttonBottom1.Visible = true;
this.buttonBottom2.Visible = true;

View File

@ -384,6 +384,10 @@ namespace INT_LKD_2
{
return FindByName<SmartX.SmartLabel>(targetClass, name);
}
public static SmartX.SmartGroupBox SmartGroupBox(string name, object targetClass)
{
return FindByName<SmartX.SmartGroupBox>(targetClass, name);
}
public static SmartX.SmartProgressBar SmartProgressBar(string name, object targetClass)
{
return FindByName<SmartX.SmartProgressBar>(targetClass, name);

View File

@ -73,18 +73,6 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Controls\Bottom\ControlBottomManual.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Bottom\ControlBottomManual.Designer.cs">
<DependentUpon>ControlBottomManual.cs</DependentUpon>
</Compile>
<Compile Include="Controls\Bottom\ControlBottomSetting.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\Bottom\ControlBottomSetting.Designer.cs">
<DependentUpon>ControlBottomSetting.cs</DependentUpon>
</Compile>
<Compile Include="Controls\MainDisplay\ControlMainDisplay12.cs">
<SubType>UserControl</SubType>
</Compile>
@ -263,12 +251,6 @@
<Compile Include="Forms\FormMainDisplay.Designer.cs">
<DependentUpon>FormMainDisplay.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormConfiguration.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormConfiguration.Designer.cs">
<DependentUpon>FormConfiguration.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormMain.cs">
<SubType>Form</SubType>
</Compile>
@ -395,10 +377,6 @@
<DependentUpon>FormMainDisplay.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormConfiguration.resx">
<DependentUpon>FormConfiguration.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormMain.resx">
<DependentUpon>FormMain.cs</DependentUpon>
<SubType>Designer</SubType>

View File

@ -25,11 +25,11 @@
*/
@ Ver 1.2.0 by CJY
- 2025.04.11
- 2025.04.14
- V1.1.1 Modify
- SmartX Framework V5.0.0.6(update: 2022.11.12)
- 情嬢 蓄亜
-
중문 추가
@ Ver 1.1.1 by CJY
- 2025.04.08