중국어 추가 후 마무리

master
DESKTOP-999R8N3\CJY 2022-08-03 09:08:55 +09:00
parent 95b7612224
commit 3d5708196b
21 changed files with 666 additions and 579 deletions

View File

@ -52,15 +52,15 @@ namespace ITC81DB_2.Controls
{
this.smartGroupBox1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.engBackgroundDataBackup));
this.buttonBackup.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engON_Black));
this.buttonBackup.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engOFF_Black));
this.buttonDataBackupEnable.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engON_Black));
this.buttonDataBackupEnable.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engOFF_Black));
}
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
{
this.smartGroupBox1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.chnBackgroundDataBackup));
this.buttonBackup.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnON_Black));
this.buttonBackup.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnOFF_Black));
this.buttonDataBackupEnable.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnON_Black));
this.buttonDataBackupEnable.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnOFF_Black));
}
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
{
@ -72,8 +72,8 @@ namespace ITC81DB_2.Controls
{
this.smartGroupBox1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.korBackgroundDataBackup));
this.buttonBackup.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engON_Black));
this.buttonBackup.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engOFF_Black));
this.buttonDataBackupEnable.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engON_Black));
this.buttonDataBackupEnable.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engOFF_Black));
}
}
private void DefaultSetting()

View File

@ -45,6 +45,8 @@ namespace ITC81DB_2.DialogForms
if (language == DataStore.LanguageID.English)
{
this.smartForm1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.engBackgroundUserLogin));
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainLoginCancelUp));
@ -54,18 +56,22 @@ namespace ITC81DB_2.DialogForms
}
else if (language == DataStore.LanguageID.Chinese)
{
this.smartForm1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.chnBackgroundUserLogin));
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginCancelUp));
this.buttonLogon.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginDisable));
this.buttonLogon.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginDown));
this.buttonLogon.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginUp));
this.buttonLogon.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainLoginLoginDisable));
this.buttonLogon.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainLoginLoginDown));
this.buttonLogon.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainLoginLoginUp));
}
else if (language == DataStore.LanguageID.Czech)
{
}
else
{
this.smartForm1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.engBackgroundUserLogin));
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainLoginCancelUp));

View File

@ -120,6 +120,7 @@
this.labelErrorCode.BackPictureBox2 = null;
this.labelErrorCode.BorderColor = System.Drawing.Color.Black;
this.labelErrorCode.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelErrorCode.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelErrorCode.ForeColor = System.Drawing.Color.White;
this.labelErrorCode.InitVisible = true;
this.labelErrorCode.LineSpacing = 0F;

View File

@ -73,6 +73,7 @@
this.labelTitle.BackPictureBox2 = null;
this.labelTitle.BorderColor = System.Drawing.Color.Empty;
this.labelTitle.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelTitle.ForeColor = System.Drawing.Color.White;
this.labelTitle.InitVisible = true;
this.labelTitle.LineSpacing = 0F;

View File

@ -112,6 +112,7 @@
this.labelErrorCode.BackPictureBox2 = null;
this.labelErrorCode.BorderColor = System.Drawing.Color.Black;
this.labelErrorCode.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelErrorCode.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular);
this.labelErrorCode.ForeColor = System.Drawing.Color.White;
this.labelErrorCode.InitVisible = true;
this.labelErrorCode.LineSpacing = 0F;

View File

@ -615,7 +615,7 @@
this.labelUserLevel.BackPictureBox2 = null;
this.labelUserLevel.BorderColor = System.Drawing.Color.Black;
this.labelUserLevel.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelUserLevel.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.ForeColor = System.Drawing.Color.Red;
this.labelUserLevel.InitVisible = true;
this.labelUserLevel.LineSpacing = 0F;
@ -637,7 +637,7 @@
this.labelUserID.BackPictureBox2 = null;
this.labelUserID.BorderColor = System.Drawing.Color.Black;
this.labelUserID.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelUserID.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.ForeColor = System.Drawing.Color.Red;
this.labelUserID.InitVisible = true;
this.labelUserID.LineSpacing = 0F;

View File

@ -68,6 +68,9 @@ namespace ITC81DB_2.Forms
this.buttonClear.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayClearDisable));
this.buttonClear.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayClearDown));
this.buttonClear.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayClearUp));
this.buttonUser.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayLogOffDisable));
this.buttonUser.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayLogOffDown));
this.buttonUser.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayLogOffUp));
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
{
@ -79,6 +82,9 @@ namespace ITC81DB_2.Forms
this.buttonClear.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainClearDisable));
this.buttonClear.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainClearDown));
this.buttonClear.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainClearUp));
this.buttonUser.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainLogOffDisable));
this.buttonUser.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainLogOffDown));
this.buttonUser.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainLogOffUp));
}
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
{
@ -93,6 +99,9 @@ namespace ITC81DB_2.Forms
this.buttonClear.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainDisplayClearDisable));
this.buttonClear.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainDisplayClearDown));
this.buttonClear.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainDisplayClearUp));
this.buttonUser.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayLogOffDisable));
this.buttonUser.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayLogOffDown));
this.buttonUser.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayLogOffUp));
}
if (this.ParentForm.CurrentSystemStatus.CurrentWeightInputMode == DataStore.WeightInputMode.Deviation)
@ -327,6 +336,9 @@ namespace ITC81DB_2.Forms
{
case DataStore.UserGroup.LogOff:
id = "";
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "关闭";
else
group = "Off";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff)
@ -341,6 +353,9 @@ namespace ITC81DB_2.Forms
break;
case DataStore.UserGroup.Level1Operator:
id = status.CurrentUser.ID;
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "级别1";
else
group = "Level1";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -358,6 +373,9 @@ namespace ITC81DB_2.Forms
break;
case DataStore.UserGroup.Level2Engineer:
id = status.CurrentUser.ID;
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "级别2";
else
group = "Level2";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -375,6 +393,9 @@ namespace ITC81DB_2.Forms
break;
case DataStore.UserGroup.Level3Manager:
id = status.CurrentUser.ID;
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "级别3";
else
group = "Level3";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -392,6 +413,9 @@ namespace ITC81DB_2.Forms
break;
case DataStore.UserGroup.Level4Developer:
id = status.CurrentUser.ID;
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "级别4";
else
group = "Level4";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -409,6 +433,9 @@ namespace ITC81DB_2.Forms
break;
default:
id = "";
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "关闭";
else
group = "Off";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff)

File diff suppressed because it is too large Load Diff

View File

@ -254,7 +254,7 @@
this.labelUserLevel.BackPictureBox2 = null;
this.labelUserLevel.BorderColor = System.Drawing.Color.LightGray;
this.labelUserLevel.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelUserLevel.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserLevel.ForeColor = System.Drawing.Color.Red;
this.labelUserLevel.InitVisible = true;
this.labelUserLevel.LineSpacing = 0F;
@ -309,7 +309,7 @@
this.labelUserID.BackPictureBox2 = null;
this.labelUserID.BorderColor = System.Drawing.Color.LightGray;
this.labelUserID.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelUserID.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelUserID.ForeColor = System.Drawing.Color.Red;
this.labelUserID.InitVisible = true;
this.labelUserID.LineSpacing = 0F;

View File

@ -333,6 +333,9 @@ namespace ITC81DB_2.Forms
{
case DataStore.UserGroup.LogOff:
id = "";
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "关闭";
else
group = "Off";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff)
@ -346,6 +349,9 @@ namespace ITC81DB_2.Forms
break;
case DataStore.UserGroup.Level1Operator:
id = user.ID;
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "级别1";
else
group = "Level1";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -359,6 +365,9 @@ namespace ITC81DB_2.Forms
break;
case DataStore.UserGroup.Level2Engineer:
id = user.ID;
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "级别2";
else
group = "Level2";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -372,6 +381,9 @@ namespace ITC81DB_2.Forms
break;
case DataStore.UserGroup.Level3Manager:
id = user.ID;
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "级别3";
else
group = "Level3";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -385,6 +397,9 @@ namespace ITC81DB_2.Forms
break;
case DataStore.UserGroup.Level4Developer:
id = user.ID;
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "级别4";
else
group = "Level4";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
@ -398,6 +413,9 @@ namespace ITC81DB_2.Forms
break;
default:
id = "";
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
group = "关闭";
else
group = "Off";
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff)

Binary file not shown.

Binary file not shown.

View File

@ -28,6 +28,7 @@ namespace ITC81DB_2_ImageDll
engBackgroundSerial,
engBackgroundSorterSetting,
engBackgroundTime,
engBackgroundUserLogin,
engBypassCountDown,
engBypassCountUp,
engBypassOccasionDown,
@ -355,6 +356,7 @@ namespace ITC81DB_2_ImageDll
chnBackgroundSerial,
chnBackgroundSorterSetting,
chnBackgroundTime,
chnBackgroundUserLogin,
chnBypassCountDown,
chnBypassCountUp,
chnBypassOccasionDown,
@ -386,6 +388,9 @@ namespace ITC81DB_2_ImageDll
chnMainLogOffDisable,
chnMainLogOffDown,
chnMainLogOffUp,
chnMainLoginLoginDisable,
chnMainLoginLoginDown,
chnMainLoginLoginUp,
chnMainPrintDisable,
chnMainPrintDown,
chnMainPrintUp,
@ -551,6 +556,9 @@ namespace ITC81DB_2_ImageDll
case ButtonImages.engBackgroundTime:
bt = new Bitmap(Resource1.engBackgroundTime);
break;
case ButtonImages.engBackgroundUserLogin:
bt = new Bitmap(Resource1.engBackgroundUserLogin);
break;
case ButtonImages.engBypassCountDown:
bt = new Bitmap(Resource1.engBypassCountDown);
break;
@ -1499,6 +1507,9 @@ namespace ITC81DB_2_ImageDll
case ButtonImages.chnBackgroundTime:
bt = new Bitmap(Resource1.chnBackgroundTime);
break;
case ButtonImages.chnBackgroundUserLogin:
bt = new Bitmap(Resource1.chnBackgroundUserLogin);
break;
case ButtonImages.chnBypassCountDown:
bt = new Bitmap(Resource1.chnBypassCountDown);
break;
@ -1601,6 +1612,15 @@ namespace ITC81DB_2_ImageDll
case ButtonImages.chnMainLogOffUp:
bt = new Bitmap(Resource1.chnMainLoginUp);
break;
case ButtonImages.chnMainLoginLoginDisable:
bt = new Bitmap(Resource1.chnMainLoginLoginDisable);
break;
case ButtonImages.chnMainLoginLoginDown:
bt = new Bitmap(Resource1.chnMainLoginLoginDown);
break;
case ButtonImages.chnMainLoginLoginUp:
bt = new Bitmap(Resource1.chnMainLoginLoginUp);
break;
case ButtonImages.chnMainPrintDisable:
bt = new Bitmap(Resource1.chnMainPrintDisable);
break;

View File

@ -1525,6 +1525,9 @@
<ItemGroup>
<None Include="Resources\engBypassOccasionUp.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\engBackgroundUserLogin.png" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" />
<ProjectExtensions>
<VisualStudio>

View File

@ -1205,6 +1205,13 @@ namespace ITC81DB_2_ImageDll {
}
}
internal static System.Drawing.Bitmap engBackgroundUserLogin {
get {
object obj = ResourceManager.GetObject("engBackgroundUserLogin", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap engBypassCountDown {
get {
object obj = ResourceManager.GetObject("engBypassCountDown", resourceCulture);

View File

@ -1540,6 +1540,9 @@
<data name="바이패스ONOFF" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\바이패스ONOFF.psd;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="engBackgroundUserLogin" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\engBackgroundUserLogin.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="engBypassOccasionDown" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\engBypassOccasionDown.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB