중국어 추가 후 마무리
							parent
							
								
									95b7612224
								
							
						
					
					
						commit
						3d5708196b
					
				|  | @ -52,15 +52,15 @@ namespace ITC81DB_2.Controls | ||||||
|             { |             { | ||||||
|                 this.smartGroupBox1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.engBackgroundDataBackup)); |                 this.smartGroupBox1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.engBackgroundDataBackup)); | ||||||
| 
 | 
 | ||||||
|                 this.buttonBackup.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engON_Black)); |                 this.buttonDataBackupEnable.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engON_Black)); | ||||||
|                 this.buttonBackup.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engOFF_Black)); |                 this.buttonDataBackupEnable.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engOFF_Black)); | ||||||
|             } |             } | ||||||
|             else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) |             else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|             { |             { | ||||||
|                 this.smartGroupBox1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.chnBackgroundDataBackup)); |                 this.smartGroupBox1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.chnBackgroundDataBackup)); | ||||||
| 
 | 
 | ||||||
|                 this.buttonBackup.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnON_Black)); |                 this.buttonDataBackupEnable.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnON_Black)); | ||||||
|                 this.buttonBackup.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnOFF_Black)); |                 this.buttonDataBackupEnable.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnOFF_Black)); | ||||||
|             } |             } | ||||||
|             else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech) |             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.smartGroupBox1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.korBackgroundDataBackup)); | ||||||
| 
 | 
 | ||||||
|                 this.buttonBackup.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engON_Black)); |                 this.buttonDataBackupEnable.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engON_Black)); | ||||||
|                 this.buttonBackup.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engOFF_Black)); |                 this.buttonDataBackupEnable.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engOFF_Black)); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         private void DefaultSetting() |         private void DefaultSetting() | ||||||
|  |  | ||||||
|  | @ -45,6 +45,8 @@ namespace ITC81DB_2.DialogForms | ||||||
| 
 | 
 | ||||||
|             if (language == DataStore.LanguageID.English) |             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.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainLoginCancelDisable)); | ||||||
|                 this.buttonCancel.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainLoginCancelDown)); |                 this.buttonCancel.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainLoginCancelDown)); | ||||||
|                 this.buttonCancel.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainLoginCancelUp)); |                 this.buttonCancel.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainLoginCancelUp)); | ||||||
|  | @ -54,18 +56,22 @@ namespace ITC81DB_2.DialogForms | ||||||
|             } |             } | ||||||
|             else if (language == DataStore.LanguageID.Chinese) |             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.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginCancelDisable)); | ||||||
|                 this.buttonCancel.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginCancelDown)); |                 this.buttonCancel.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginCancelDown)); | ||||||
|                 this.buttonCancel.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginCancelUp)); |                 this.buttonCancel.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginCancelUp)); | ||||||
|                 this.buttonLogon.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginDisable)); |                 this.buttonLogon.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainLoginLoginDisable)); | ||||||
|                 this.buttonLogon.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginDown)); |                 this.buttonLogon.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainLoginLoginDown)); | ||||||
|                 this.buttonLogon.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnFormMainLoginUp)); |                 this.buttonLogon.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainLoginLoginUp)); | ||||||
|             } |             } | ||||||
|             else if (language == DataStore.LanguageID.Czech) |             else if (language == DataStore.LanguageID.Czech) | ||||||
|             { |             { | ||||||
|             } |             } | ||||||
|             else |             else | ||||||
|             { |             { | ||||||
|  |                 this.smartForm1.Image = new Bitmap(images.GetImage(Class1.ButtonImages.engBackgroundUserLogin)); | ||||||
|  | 
 | ||||||
|                 this.buttonCancel.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainLoginCancelDisable)); |                 this.buttonCancel.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainLoginCancelDisable)); | ||||||
|                 this.buttonCancel.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainLoginCancelDown)); |                 this.buttonCancel.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainLoginCancelDown)); | ||||||
|                 this.buttonCancel.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainLoginCancelUp)); |                 this.buttonCancel.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainLoginCancelUp)); | ||||||
|  |  | ||||||
|  | @ -120,6 +120,7 @@ | ||||||
|             this.labelErrorCode.BackPictureBox2 = null; |             this.labelErrorCode.BackPictureBox2 = null; | ||||||
|             this.labelErrorCode.BorderColor = System.Drawing.Color.Black; |             this.labelErrorCode.BorderColor = System.Drawing.Color.Black; | ||||||
|             this.labelErrorCode.BorderStyle = System.Windows.Forms.BorderStyle.None; |             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.ForeColor = System.Drawing.Color.White; | ||||||
|             this.labelErrorCode.InitVisible = true; |             this.labelErrorCode.InitVisible = true; | ||||||
|             this.labelErrorCode.LineSpacing = 0F; |             this.labelErrorCode.LineSpacing = 0F; | ||||||
|  |  | ||||||
|  | @ -73,6 +73,7 @@ | ||||||
|             this.labelTitle.BackPictureBox2 = null; |             this.labelTitle.BackPictureBox2 = null; | ||||||
|             this.labelTitle.BorderColor = System.Drawing.Color.Empty; |             this.labelTitle.BorderColor = System.Drawing.Color.Empty; | ||||||
|             this.labelTitle.BorderStyle = System.Windows.Forms.BorderStyle.None; |             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.ForeColor = System.Drawing.Color.White; | ||||||
|             this.labelTitle.InitVisible = true; |             this.labelTitle.InitVisible = true; | ||||||
|             this.labelTitle.LineSpacing = 0F; |             this.labelTitle.LineSpacing = 0F; | ||||||
|  |  | ||||||
|  | @ -112,6 +112,7 @@ | ||||||
|             this.labelErrorCode.BackPictureBox2 = null; |             this.labelErrorCode.BackPictureBox2 = null; | ||||||
|             this.labelErrorCode.BorderColor = System.Drawing.Color.Black; |             this.labelErrorCode.BorderColor = System.Drawing.Color.Black; | ||||||
|             this.labelErrorCode.BorderStyle = System.Windows.Forms.BorderStyle.None; |             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.ForeColor = System.Drawing.Color.White; | ||||||
|             this.labelErrorCode.InitVisible = true; |             this.labelErrorCode.InitVisible = true; | ||||||
|             this.labelErrorCode.LineSpacing = 0F; |             this.labelErrorCode.LineSpacing = 0F; | ||||||
|  |  | ||||||
|  | @ -615,7 +615,7 @@ | ||||||
|             this.labelUserLevel.BackPictureBox2 = null; |             this.labelUserLevel.BackPictureBox2 = null; | ||||||
|             this.labelUserLevel.BorderColor = System.Drawing.Color.Black; |             this.labelUserLevel.BorderColor = System.Drawing.Color.Black; | ||||||
|             this.labelUserLevel.BorderStyle = System.Windows.Forms.BorderStyle.None; |             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.ForeColor = System.Drawing.Color.Red; | ||||||
|             this.labelUserLevel.InitVisible = true; |             this.labelUserLevel.InitVisible = true; | ||||||
|             this.labelUserLevel.LineSpacing = 0F; |             this.labelUserLevel.LineSpacing = 0F; | ||||||
|  | @ -637,7 +637,7 @@ | ||||||
|             this.labelUserID.BackPictureBox2 = null; |             this.labelUserID.BackPictureBox2 = null; | ||||||
|             this.labelUserID.BorderColor = System.Drawing.Color.Black; |             this.labelUserID.BorderColor = System.Drawing.Color.Black; | ||||||
|             this.labelUserID.BorderStyle = System.Windows.Forms.BorderStyle.None; |             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.ForeColor = System.Drawing.Color.Red; | ||||||
|             this.labelUserID.InitVisible = true; |             this.labelUserID.InitVisible = true; | ||||||
|             this.labelUserID.LineSpacing = 0F; |             this.labelUserID.LineSpacing = 0F; | ||||||
|  |  | ||||||
|  | @ -68,6 +68,9 @@ namespace ITC81DB_2.Forms | ||||||
|                 this.buttonClear.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayClearDisable)); |                 this.buttonClear.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayClearDisable)); | ||||||
|                 this.buttonClear.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayClearDown)); |                 this.buttonClear.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayClearDown)); | ||||||
|                 this.buttonClear.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.engFormMainDisplayClearUp)); |                 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) |             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.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainClearDisable)); | ||||||
|                 this.buttonClear.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainClearDown)); |                 this.buttonClear.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainClearDown)); | ||||||
|                 this.buttonClear.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.chnMainClearUp)); |                 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) |             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.DisableImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainDisplayClearDisable)); | ||||||
|                 this.buttonClear.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainDisplayClearDown)); |                 this.buttonClear.DownImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainDisplayClearDown)); | ||||||
|                 this.buttonClear.UpImage = new Bitmap(images.GetImage(Class1.ButtonImages.korFormMainDisplayClearUp)); |                 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) |             if (this.ParentForm.CurrentSystemStatus.CurrentWeightInputMode == DataStore.WeightInputMode.Deviation) | ||||||
|  | @ -327,6 +336,9 @@ namespace ITC81DB_2.Forms | ||||||
|             { |             { | ||||||
|                 case DataStore.UserGroup.LogOff: |                 case DataStore.UserGroup.LogOff: | ||||||
|                     id = ""; |                     id = ""; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "关闭"; | ||||||
|  |                     else | ||||||
|                         group = "Off"; |                         group = "Off"; | ||||||
|                      |                      | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff) | ||||||
|  | @ -341,6 +353,9 @@ namespace ITC81DB_2.Forms | ||||||
|                     break; |                     break; | ||||||
|                 case DataStore.UserGroup.Level1Operator: |                 case DataStore.UserGroup.Level1Operator: | ||||||
|                     id = status.CurrentUser.ID; |                     id = status.CurrentUser.ID; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "级别1"; | ||||||
|  |                     else | ||||||
|                         group = "Level1"; |                         group = "Level1"; | ||||||
|                   |                   | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) | ||||||
|  | @ -358,6 +373,9 @@ namespace ITC81DB_2.Forms | ||||||
|                     break; |                     break; | ||||||
|                 case DataStore.UserGroup.Level2Engineer: |                 case DataStore.UserGroup.Level2Engineer: | ||||||
|                     id = status.CurrentUser.ID; |                     id = status.CurrentUser.ID; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "级别2"; | ||||||
|  |                     else | ||||||
|                         group = "Level2"; |                         group = "Level2"; | ||||||
|                     |                     | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) | ||||||
|  | @ -375,6 +393,9 @@ namespace ITC81DB_2.Forms | ||||||
|                     break; |                     break; | ||||||
|                 case DataStore.UserGroup.Level3Manager: |                 case DataStore.UserGroup.Level3Manager: | ||||||
|                     id = status.CurrentUser.ID; |                     id = status.CurrentUser.ID; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "级别3"; | ||||||
|  |                     else | ||||||
|                         group = "Level3"; |                         group = "Level3"; | ||||||
|                     |                     | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) | ||||||
|  | @ -392,6 +413,9 @@ namespace ITC81DB_2.Forms | ||||||
|                     break; |                     break; | ||||||
|                 case DataStore.UserGroup.Level4Developer: |                 case DataStore.UserGroup.Level4Developer: | ||||||
|                     id = status.CurrentUser.ID; |                     id = status.CurrentUser.ID; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "级别4"; | ||||||
|  |                     else | ||||||
|                         group = "Level4"; |                         group = "Level4"; | ||||||
| 
 | 
 | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) | ||||||
|  | @ -409,6 +433,9 @@ namespace ITC81DB_2.Forms | ||||||
|                     break; |                     break; | ||||||
|                 default: |                 default: | ||||||
|                     id = ""; |                     id = ""; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "关闭"; | ||||||
|  |                     else | ||||||
|                         group = "Off"; |                         group = "Off"; | ||||||
| 
 | 
 | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff) | ||||||
|  |  | ||||||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -254,7 +254,7 @@ | ||||||
|             this.labelUserLevel.BackPictureBox2 = null; |             this.labelUserLevel.BackPictureBox2 = null; | ||||||
|             this.labelUserLevel.BorderColor = System.Drawing.Color.LightGray; |             this.labelUserLevel.BorderColor = System.Drawing.Color.LightGray; | ||||||
|             this.labelUserLevel.BorderStyle = System.Windows.Forms.BorderStyle.None; |             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.ForeColor = System.Drawing.Color.Red; | ||||||
|             this.labelUserLevel.InitVisible = true; |             this.labelUserLevel.InitVisible = true; | ||||||
|             this.labelUserLevel.LineSpacing = 0F; |             this.labelUserLevel.LineSpacing = 0F; | ||||||
|  | @ -309,7 +309,7 @@ | ||||||
|             this.labelUserID.BackPictureBox2 = null; |             this.labelUserID.BackPictureBox2 = null; | ||||||
|             this.labelUserID.BorderColor = System.Drawing.Color.LightGray; |             this.labelUserID.BorderColor = System.Drawing.Color.LightGray; | ||||||
|             this.labelUserID.BorderStyle = System.Windows.Forms.BorderStyle.None; |             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.ForeColor = System.Drawing.Color.Red; | ||||||
|             this.labelUserID.InitVisible = true; |             this.labelUserID.InitVisible = true; | ||||||
|             this.labelUserID.LineSpacing = 0F; |             this.labelUserID.LineSpacing = 0F; | ||||||
|  |  | ||||||
|  | @ -333,6 +333,9 @@ namespace ITC81DB_2.Forms | ||||||
|             { |             { | ||||||
|                 case DataStore.UserGroup.LogOff: |                 case DataStore.UserGroup.LogOff: | ||||||
|                     id = ""; |                     id = ""; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "关闭"; | ||||||
|  |                     else | ||||||
|                         group = "Off"; |                         group = "Off"; | ||||||
| 
 | 
 | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff) | ||||||
|  | @ -346,6 +349,9 @@ namespace ITC81DB_2.Forms | ||||||
|                     break; |                     break; | ||||||
|                 case DataStore.UserGroup.Level1Operator: |                 case DataStore.UserGroup.Level1Operator: | ||||||
|                     id = user.ID; |                     id = user.ID; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "级别1"; | ||||||
|  |                     else | ||||||
|                         group = "Level1"; |                         group = "Level1"; | ||||||
| 
 | 
 | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) | ||||||
|  | @ -359,6 +365,9 @@ namespace ITC81DB_2.Forms | ||||||
|                     break; |                     break; | ||||||
|                 case DataStore.UserGroup.Level2Engineer: |                 case DataStore.UserGroup.Level2Engineer: | ||||||
|                     id = user.ID; |                     id = user.ID; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "级别2"; | ||||||
|  |                     else | ||||||
|                         group = "Level2"; |                         group = "Level2"; | ||||||
| 
 | 
 | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) | ||||||
|  | @ -372,6 +381,9 @@ namespace ITC81DB_2.Forms | ||||||
|                     break; |                     break; | ||||||
|                 case DataStore.UserGroup.Level3Manager: |                 case DataStore.UserGroup.Level3Manager: | ||||||
|                     id = user.ID; |                     id = user.ID; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "级别3"; | ||||||
|  |                     else | ||||||
|                         group = "Level3"; |                         group = "Level3"; | ||||||
| 
 | 
 | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) | ||||||
|  | @ -385,6 +397,9 @@ namespace ITC81DB_2.Forms | ||||||
|                     break; |                     break; | ||||||
|                 case DataStore.UserGroup.Level4Developer: |                 case DataStore.UserGroup.Level4Developer: | ||||||
|                     id = user.ID; |                     id = user.ID; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "级别4"; | ||||||
|  |                     else | ||||||
|                         group = "Level4"; |                         group = "Level4"; | ||||||
| 
 | 
 | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn) | ||||||
|  | @ -398,6 +413,9 @@ namespace ITC81DB_2.Forms | ||||||
|                     break; |                     break; | ||||||
|                 default: |                 default: | ||||||
|                     id = ""; |                     id = ""; | ||||||
|  |                     if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese) | ||||||
|  |                         group = "关闭"; | ||||||
|  |                     else | ||||||
|                         group = "Off"; |                         group = "Off"; | ||||||
| 
 | 
 | ||||||
|                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff) |                     if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOff) | ||||||
|  |  | ||||||
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								|  | @ -28,6 +28,7 @@ namespace ITC81DB_2_ImageDll | ||||||
|             engBackgroundSerial, |             engBackgroundSerial, | ||||||
|             engBackgroundSorterSetting, |             engBackgroundSorterSetting, | ||||||
|             engBackgroundTime, |             engBackgroundTime, | ||||||
|  |             engBackgroundUserLogin, | ||||||
|             engBypassCountDown, |             engBypassCountDown, | ||||||
|             engBypassCountUp, |             engBypassCountUp, | ||||||
|             engBypassOccasionDown, |             engBypassOccasionDown, | ||||||
|  | @ -355,6 +356,7 @@ namespace ITC81DB_2_ImageDll | ||||||
|             chnBackgroundSerial, |             chnBackgroundSerial, | ||||||
|             chnBackgroundSorterSetting, |             chnBackgroundSorterSetting, | ||||||
|             chnBackgroundTime, |             chnBackgroundTime, | ||||||
|  |             chnBackgroundUserLogin, | ||||||
|             chnBypassCountDown, |             chnBypassCountDown, | ||||||
|             chnBypassCountUp, |             chnBypassCountUp, | ||||||
|             chnBypassOccasionDown, |             chnBypassOccasionDown, | ||||||
|  | @ -386,6 +388,9 @@ namespace ITC81DB_2_ImageDll | ||||||
|             chnMainLogOffDisable, |             chnMainLogOffDisable, | ||||||
|             chnMainLogOffDown, |             chnMainLogOffDown, | ||||||
|             chnMainLogOffUp, |             chnMainLogOffUp, | ||||||
|  |             chnMainLoginLoginDisable, | ||||||
|  |             chnMainLoginLoginDown, | ||||||
|  |             chnMainLoginLoginUp, | ||||||
|             chnMainPrintDisable, |             chnMainPrintDisable, | ||||||
|             chnMainPrintDown, |             chnMainPrintDown, | ||||||
|             chnMainPrintUp, |             chnMainPrintUp, | ||||||
|  | @ -551,6 +556,9 @@ namespace ITC81DB_2_ImageDll | ||||||
|                 case ButtonImages.engBackgroundTime: |                 case ButtonImages.engBackgroundTime: | ||||||
|                     bt = new Bitmap(Resource1.engBackgroundTime); |                     bt = new Bitmap(Resource1.engBackgroundTime); | ||||||
|                     break; |                     break; | ||||||
|  |                 case ButtonImages.engBackgroundUserLogin: | ||||||
|  |                     bt = new Bitmap(Resource1.engBackgroundUserLogin); | ||||||
|  |                     break; | ||||||
|                 case ButtonImages.engBypassCountDown: |                 case ButtonImages.engBypassCountDown: | ||||||
|                     bt = new Bitmap(Resource1.engBypassCountDown); |                     bt = new Bitmap(Resource1.engBypassCountDown); | ||||||
|                     break; |                     break; | ||||||
|  | @ -1499,6 +1507,9 @@ namespace ITC81DB_2_ImageDll | ||||||
|                 case ButtonImages.chnBackgroundTime: |                 case ButtonImages.chnBackgroundTime: | ||||||
|                     bt = new Bitmap(Resource1.chnBackgroundTime); |                     bt = new Bitmap(Resource1.chnBackgroundTime); | ||||||
|                     break; |                     break; | ||||||
|  |                 case ButtonImages.chnBackgroundUserLogin: | ||||||
|  |                     bt = new Bitmap(Resource1.chnBackgroundUserLogin); | ||||||
|  |                     break; | ||||||
|                 case ButtonImages.chnBypassCountDown: |                 case ButtonImages.chnBypassCountDown: | ||||||
|                     bt = new Bitmap(Resource1.chnBypassCountDown); |                     bt = new Bitmap(Resource1.chnBypassCountDown); | ||||||
|                     break; |                     break; | ||||||
|  | @ -1601,6 +1612,15 @@ namespace ITC81DB_2_ImageDll | ||||||
|                 case ButtonImages.chnMainLogOffUp: |                 case ButtonImages.chnMainLogOffUp: | ||||||
|                     bt = new Bitmap(Resource1.chnMainLoginUp); |                     bt = new Bitmap(Resource1.chnMainLoginUp); | ||||||
|                     break; |                     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: |                 case ButtonImages.chnMainPrintDisable: | ||||||
|                     bt = new Bitmap(Resource1.chnMainPrintDisable); |                     bt = new Bitmap(Resource1.chnMainPrintDisable); | ||||||
|                     break; |                     break; | ||||||
|  |  | ||||||
|  | @ -1525,6 +1525,9 @@ | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <None Include="Resources\engBypassOccasionUp.png" /> |     <None Include="Resources\engBypassOccasionUp.png" /> | ||||||
|   </ItemGroup> |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <None Include="Resources\engBackgroundUserLogin.png" /> | ||||||
|  |   </ItemGroup> | ||||||
|   <Import Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" /> |   <Import Project="$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets" /> | ||||||
|   <ProjectExtensions> |   <ProjectExtensions> | ||||||
|     <VisualStudio> |     <VisualStudio> | ||||||
|  |  | ||||||
|  | @ -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 { |         internal static System.Drawing.Bitmap engBypassCountDown { | ||||||
|             get { |             get { | ||||||
|                 object obj = ResourceManager.GetObject("engBypassCountDown", resourceCulture); |                 object obj = ResourceManager.GetObject("engBypassCountDown", resourceCulture); | ||||||
|  |  | ||||||
|  | @ -1540,6 +1540,9 @@ | ||||||
|   <data name="바이패스ONOFF" type="System.Resources.ResXFileRef, System.Windows.Forms"> |   <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> |     <value>Resources\바이패스ONOFF.psd;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|   </data> |   </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"> |   <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> |     <value>Resources\engBypassOccasionDown.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> | ||||||
|   </data> |   </data> | ||||||
|  |  | ||||||
											
												Binary file not shown.
											
										
									
								| After Width: | Height: | Size: 15 KiB | 
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
		Loading…
	
		Reference in New Issue