From cae7e712c3fea8afc529dfddd95fa797704b58e8 Mon Sep 17 00:00:00 2001 From: Seonjae Date: Mon, 3 Apr 2023 10:47:40 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9C=A0=EC=A0=80=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ControlMenuUserUserEditor.Designer.cs | 416 +++++++++--------- .../User/ControlMenuUserUserEditor.cs | 77 ++-- INT_PT002/Forms/FormMainDisplay2.cs | 4 +- 3 files changed, 252 insertions(+), 245 deletions(-) diff --git a/INT_PT002/Controls/User/ControlMenuUserUserEditor.Designer.cs b/INT_PT002/Controls/User/ControlMenuUserUserEditor.Designer.cs index 7ca4bea..486d1e4 100644 --- a/INT_PT002/Controls/User/ControlMenuUserUserEditor.Designer.cs +++ b/INT_PT002/Controls/User/ControlMenuUserUserEditor.Designer.cs @@ -34,9 +34,7 @@ this.buttonPasswordEdit = new SmartX.SmartButton(); this.buttonIDEdit = new SmartX.SmartButton(); this.textBoxPassword = new System.Windows.Forms.TextBox(); - this.smartLabel4 = new SmartX.SmartLabel(); this.textBoxID = new System.Windows.Forms.TextBox(); - this.smartLabel3 = new SmartX.SmartLabel(); this.listBoxUserList = new SmartX.SmartListBox(); this.buttonLevel3 = new SmartX.SmartButton(); this.buttonLevel2 = new SmartX.SmartButton(); @@ -47,14 +45,14 @@ this.checkBoxMenuUserGroupEditor = new SmartX.SmartCheckBox(); this.checkBoxMenuInformation = new SmartX.SmartCheckBox(); this.checkBoxMenuAlarmList = new SmartX.SmartCheckBox(); - this.checkBoxMenuStatus = new SmartX.SmartCheckBox(); + this.checkBoxMenuEquipment = new SmartX.SmartCheckBox(); this.checkBoxMenuCheckLog = new SmartX.SmartCheckBox(); - this.checkBoxMenuEquipmentLog = new SmartX.SmartCheckBox(); + this.checkBoxMenuHistoryLog = new SmartX.SmartCheckBox(); this.checkBoxMenuIOTest = new SmartX.SmartCheckBox(); this.labelTitleMenu = new SmartX.SmartLabel(); this.labelTitleMain = new SmartX.SmartLabel(); - this.checkBoxMenuUserSetting = new SmartX.SmartCheckBox(); - this.checkBoxMenuProduct = new SmartX.SmartCheckBox(); + this.checkBoxMenuUserEditor = new SmartX.SmartCheckBox(); + this.checkBoxMenuRecipe = new SmartX.SmartCheckBox(); this.checkBoxMainSubMenu = new SmartX.SmartCheckBox(); this.checkBoxMainClear = new SmartX.SmartCheckBox(); this.checkBoxMainProductChange = new SmartX.SmartCheckBox(); @@ -74,6 +72,8 @@ this.buttonDelete = new SmartX.SmartButton(); this.buttonSave = new SmartX.SmartButton(); this.buttonRegister = new SmartX.SmartButton(); + this.labelPasswordBackGround = new SmartX.SmartLabel(); + this.labelIDBackGround = new SmartX.SmartLabel(); this.smartGroupBox1.SuspendLayout(); this.groupBoxAccessRight.SuspendLayout(); this.SuspendLayout(); @@ -87,9 +87,9 @@ this.smartGroupBox1.Controls.Add(this.buttonPasswordEdit); this.smartGroupBox1.Controls.Add(this.buttonIDEdit); this.smartGroupBox1.Controls.Add(this.textBoxPassword); - this.smartGroupBox1.Controls.Add(this.smartLabel4); + this.smartGroupBox1.Controls.Add(this.labelPasswordBackGround); this.smartGroupBox1.Controls.Add(this.textBoxID); - this.smartGroupBox1.Controls.Add(this.smartLabel3); + this.smartGroupBox1.Controls.Add(this.labelIDBackGround); this.smartGroupBox1.Controls.Add(this.listBoxUserList); this.smartGroupBox1.Controls.Add(this.buttonLevel3); this.smartGroupBox1.Controls.Add(this.buttonLevel2); @@ -151,7 +151,7 @@ this.smartKeyboard.KeyUpImage1 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyUpImage1"))); this.smartKeyboard.KeyUpImage2 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyUpImage2"))); this.smartKeyboard.KeyUpImage3 = ((System.Drawing.Image)(resources.GetObject("smartKeyboard.KeyUpImage3"))); - this.smartKeyboard.Location = new System.Drawing.Point(173, 44); + this.smartKeyboard.Location = new System.Drawing.Point(166, 44); this.smartKeyboard.MarginLeftRight = 7; this.smartKeyboard.MarginTopBottom = 7; this.smartKeyboard.Name = "smartKeyboard"; @@ -184,7 +184,7 @@ this.buttonPasswordEdit.ImageDisable = null; this.buttonPasswordEdit.ImageDown = null; this.buttonPasswordEdit.ImageUp = null; - this.buttonPasswordEdit.Location = new System.Drawing.Point(749, 102); + this.buttonPasswordEdit.Location = new System.Drawing.Point(752, 102); this.buttonPasswordEdit.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; this.buttonPasswordEdit.Name = "buttonPasswordEdit"; this.buttonPasswordEdit.NestedClickEventPrevent = false; @@ -219,7 +219,7 @@ this.buttonIDEdit.ImageDisable = null; this.buttonIDEdit.ImageDown = null; this.buttonIDEdit.ImageUp = null; - this.buttonIDEdit.Location = new System.Drawing.Point(749, 61); + this.buttonIDEdit.Location = new System.Drawing.Point(752, 61); this.buttonIDEdit.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; this.buttonIDEdit.Name = "buttonIDEdit"; this.buttonIDEdit.NestedClickEventPrevent = false; @@ -244,69 +244,24 @@ // this.textBoxPassword.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBoxPassword.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Regular); - this.textBoxPassword.Location = new System.Drawing.Point(511, 107); + this.textBoxPassword.Location = new System.Drawing.Point(479, 107); this.textBoxPassword.Name = "textBoxPassword"; - this.textBoxPassword.Size = new System.Drawing.Size(230, 28); + this.textBoxPassword.Size = new System.Drawing.Size(267, 28); this.textBoxPassword.TabIndex = 104; this.textBoxPassword.Text = "AAAAAAAAAAAAAAA"; this.textBoxPassword.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxPassword_KeyPress); // - // smartLabel4 - // - this.smartLabel4.BackGround = null; - this.smartLabel4.BackGroundColor = System.Drawing.Color.White; - this.smartLabel4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel4.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel4.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold); - this.smartLabel4.LineSpacing = 0F; - this.smartLabel4.Location = new System.Drawing.Point(510, 102); - this.smartLabel4.Name = "smartLabel4"; - this.smartLabel4.OverlapOptimize = true; - this.smartLabel4.PasswordChar = '\0'; - this.smartLabel4.Radius = 3; - this.smartLabel4.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.smartLabel4.Size = new System.Drawing.Size(233, 34); - this.smartLabel4.TabIndex = 106; - this.smartLabel4.TextColor = System.Drawing.Color.Black; - this.smartLabel4.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.smartLabel4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel4.Wordwrap = false; - // // textBoxID // this.textBoxID.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBoxID.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Regular); - this.textBoxID.Location = new System.Drawing.Point(511, 66); + this.textBoxID.Location = new System.Drawing.Point(479, 66); this.textBoxID.Name = "textBoxID"; - this.textBoxID.Size = new System.Drawing.Size(230, 28); + this.textBoxID.Size = new System.Drawing.Size(267, 28); this.textBoxID.TabIndex = 103; this.textBoxID.Text = "AAAAAAAAAAAAAAAAAAAA"; this.textBoxID.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxID_KeyPress); // - // smartLabel3 - // - this.smartLabel3.BackGround = null; - this.smartLabel3.BackGroundColor = System.Drawing.Color.White; - this.smartLabel3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); - this.smartLabel3.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel3.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold); - this.smartLabel3.LineSpacing = 0F; - this.smartLabel3.Location = new System.Drawing.Point(510, 61); - this.smartLabel3.Name = "smartLabel3"; - this.smartLabel3.OverlapOptimize = true; - this.smartLabel3.PasswordChar = '\0'; - this.smartLabel3.Radius = 3; - this.smartLabel3.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.smartLabel3.Size = new System.Drawing.Size(233, 34); - this.smartLabel3.TabIndex = 105; - this.smartLabel3.TextColor = System.Drawing.Color.Black; - this.smartLabel3.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.smartLabel3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel3.Wordwrap = false; - this.smartLabel3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxID_KeyPress); - // // listBoxUserList // this.listBoxUserList.BackGround = null; @@ -321,7 +276,7 @@ this.listBoxUserList.ItemOffsetX = 1; this.listBoxUserList.ItemOffsetY = 0; this.listBoxUserList.ItemTextOffsetY = 1; - this.listBoxUserList.Location = new System.Drawing.Point(18, 61); + this.listBoxUserList.Location = new System.Drawing.Point(11, 61); this.listBoxUserList.MouseMoveEventSpace = 3; this.listBoxUserList.MouseMoveSpace = 10; this.listBoxUserList.Name = "listBoxUserList"; @@ -349,7 +304,7 @@ this.listBoxUserList.ScrollDownButton.ImageDisable = null; this.listBoxUserList.ScrollDownButton.ImageDown = null; this.listBoxUserList.ScrollDownButton.ImageUp = null; - this.listBoxUserList.ScrollDownButton.Location = new System.Drawing.Point(291, 542); + this.listBoxUserList.ScrollDownButton.Location = new System.Drawing.Point(268, 542); this.listBoxUserList.ScrollDownButton.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; this.listBoxUserList.ScrollDownButton.Name = "SmartListBox_m_butScrollDown"; this.listBoxUserList.ScrollDownButton.NestedClickEventPrevent = false; @@ -384,7 +339,7 @@ this.listBoxUserList.ScrollUpButton.ImageDisable = null; this.listBoxUserList.ScrollUpButton.ImageDown = null; this.listBoxUserList.ScrollUpButton.ImageUp = null; - this.listBoxUserList.ScrollUpButton.Location = new System.Drawing.Point(291, 2); + this.listBoxUserList.ScrollUpButton.Location = new System.Drawing.Point(268, 2); this.listBoxUserList.ScrollUpButton.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; this.listBoxUserList.ScrollUpButton.Name = "SmartListBox_m_butScrollUp"; this.listBoxUserList.ScrollUpButton.NestedClickEventPrevent = false; @@ -412,7 +367,7 @@ this.listBoxUserList.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle; this.listBoxUserList.SeparationlineVisibleBottom = true; this.listBoxUserList.SeparationlineVisibleTop = true; - this.listBoxUserList.Size = new System.Drawing.Size(323, 574); + this.listBoxUserList.Size = new System.Drawing.Size(300, 574); this.listBoxUserList.TabIndex = 0; this.listBoxUserList.Text = "smartListBox1"; this.listBoxUserList.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); @@ -433,7 +388,7 @@ this.buttonLevel3.ImageDisable = null; this.buttonLevel3.ImageDown = null; this.buttonLevel3.ImageUp = null; - this.buttonLevel3.Location = new System.Drawing.Point(787, 387); + this.buttonLevel3.Location = new System.Drawing.Point(766, 398); this.buttonLevel3.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; this.buttonLevel3.Name = "buttonLevel3"; this.buttonLevel3.NestedClickEventPrevent = false; @@ -468,7 +423,7 @@ this.buttonLevel2.ImageDisable = null; this.buttonLevel2.ImageDown = null; this.buttonLevel2.ImageUp = null; - this.buttonLevel2.Location = new System.Drawing.Point(787, 346); + this.buttonLevel2.Location = new System.Drawing.Point(766, 357); this.buttonLevel2.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; this.buttonLevel2.Name = "buttonLevel2"; this.buttonLevel2.NestedClickEventPrevent = false; @@ -503,7 +458,7 @@ this.buttonLevel1.ImageDisable = null; this.buttonLevel1.ImageDown = null; this.buttonLevel1.ImageUp = null; - this.buttonLevel1.Location = new System.Drawing.Point(787, 305); + this.buttonLevel1.Location = new System.Drawing.Point(766, 316); this.buttonLevel1.Mode = SmartX.SmartButton.BUTTONMODE.RADIO; this.buttonLevel1.Name = "buttonLevel1"; this.buttonLevel1.NestedClickEventPrevent = false; @@ -532,7 +487,7 @@ this.labelAccessRight.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelAccessRight.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); this.labelAccessRight.LineSpacing = 0F; - this.labelAccessRight.Location = new System.Drawing.Point(510, 266); + this.labelAccessRight.Location = new System.Drawing.Point(479, 262); this.labelAccessRight.Name = "labelAccessRight"; this.labelAccessRight.OverlapOptimize = true; this.labelAccessRight.PasswordChar = '\0'; @@ -555,7 +510,7 @@ this.labelTitleAccessRight.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelTitleAccessRight.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); this.labelTitleAccessRight.LineSpacing = 0F; - this.labelTitleAccessRight.Location = new System.Drawing.Point(348, 266); + this.labelTitleAccessRight.Location = new System.Drawing.Point(318, 262); this.labelTitleAccessRight.Name = "labelTitleAccessRight"; this.labelTitleAccessRight.OverlapOptimize = true; this.labelTitleAccessRight.PasswordChar = '\0'; @@ -578,14 +533,14 @@ this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuUserGroupEditor); this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuInformation); this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuAlarmList); - this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuStatus); + this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuEquipment); this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuCheckLog); - this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuEquipmentLog); + 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.checkBoxMenuUserSetting); - this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuProduct); + this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuUserEditor); + this.groupBoxAccessRight.Controls.Add(this.checkBoxMenuRecipe); this.groupBoxAccessRight.Controls.Add(this.checkBoxMainSubMenu); this.groupBoxAccessRight.Controls.Add(this.checkBoxMainClear); this.groupBoxAccessRight.Controls.Add(this.checkBoxMainProductChange); @@ -594,10 +549,10 @@ this.groupBoxAccessRight.FrameLineThickness = 1; this.groupBoxAccessRight.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.Rectangle; this.groupBoxAccessRight.HeaderHeightOffset = 12; - this.groupBoxAccessRight.Location = new System.Drawing.Point(338, 295); + this.groupBoxAccessRight.Location = new System.Drawing.Point(317, 306); this.groupBoxAccessRight.Name = "groupBoxAccessRight"; this.groupBoxAccessRight.RoundRadius = 5; - this.groupBoxAccessRight.Size = new System.Drawing.Size(458, 350); + this.groupBoxAccessRight.Size = new System.Drawing.Size(458, 338); this.groupBoxAccessRight.TabIndex = 97; this.groupBoxAccessRight.TextColor = System.Drawing.Color.White; // @@ -615,12 +570,12 @@ this.checkBoxMenuUserGroupEditor.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular); this.checkBoxMenuUserGroupEditor.ImageCheckBox = null; this.checkBoxMenuUserGroupEditor.ImageUnCheckBox = null; - this.checkBoxMenuUserGroupEditor.Location = new System.Drawing.Point(238, 119); + this.checkBoxMenuUserGroupEditor.Location = new System.Drawing.Point(238, 109); this.checkBoxMenuUserGroupEditor.Name = "checkBoxMenuUserGroupEditor"; this.checkBoxMenuUserGroupEditor.OverlapOptimize = true; this.checkBoxMenuUserGroupEditor.Size = new System.Drawing.Size(150, 23); this.checkBoxMenuUserGroupEditor.TabIndex = 116; - this.checkBoxMenuUserGroupEditor.Text = "User group setting"; + this.checkBoxMenuUserGroupEditor.Text = "User group editor"; this.checkBoxMenuUserGroupEditor.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.checkBoxMenuUserGroupEditor.TextColorDisable = System.Drawing.Color.Black; this.checkBoxMenuUserGroupEditor.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; @@ -639,7 +594,7 @@ this.checkBoxMenuInformation.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular); this.checkBoxMenuInformation.ImageCheckBox = null; this.checkBoxMenuInformation.ImageUnCheckBox = null; - this.checkBoxMenuInformation.Location = new System.Drawing.Point(238, 264); + this.checkBoxMenuInformation.Location = new System.Drawing.Point(238, 254); this.checkBoxMenuInformation.Name = "checkBoxMenuInformation"; this.checkBoxMenuInformation.OverlapOptimize = true; this.checkBoxMenuInformation.Size = new System.Drawing.Size(150, 23); @@ -663,39 +618,39 @@ 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(238, 235); + this.checkBoxMenuAlarmList.Location = new System.Drawing.Point(238, 225); this.checkBoxMenuAlarmList.Name = "checkBoxMenuAlarmList"; this.checkBoxMenuAlarmList.OverlapOptimize = true; this.checkBoxMenuAlarmList.Size = new System.Drawing.Size(150, 23); this.checkBoxMenuAlarmList.TabIndex = 114; - this.checkBoxMenuAlarmList.Text = "Alarm list"; + this.checkBoxMenuAlarmList.Text = "Log_Alarm"; this.checkBoxMenuAlarmList.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.checkBoxMenuAlarmList.TextColorDisable = System.Drawing.Color.Black; this.checkBoxMenuAlarmList.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; // - // checkBoxMenuStatus + // checkBoxMenuEquipment // - this.checkBoxMenuStatus.BackGround = this.groupBoxAccessRight; - this.checkBoxMenuStatus.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.checkBoxMenuStatus.CheckBoxBackColor = System.Drawing.Color.LightGray; - this.checkBoxMenuStatus.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid; - this.checkBoxMenuStatus.CheckBoxOutlineColor = System.Drawing.Color.Black; - this.checkBoxMenuStatus.CheckBoxSymbolSize = 14; - this.checkBoxMenuStatus.Checked = false; - this.checkBoxMenuStatus.CheckLineWidth = 3; - this.checkBoxMenuStatus.Enabled = false; - this.checkBoxMenuStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular); - this.checkBoxMenuStatus.ImageCheckBox = null; - this.checkBoxMenuStatus.ImageUnCheckBox = null; - this.checkBoxMenuStatus.Location = new System.Drawing.Point(238, 293); - this.checkBoxMenuStatus.Name = "checkBoxMenuStatus"; - this.checkBoxMenuStatus.OverlapOptimize = true; - this.checkBoxMenuStatus.Size = new System.Drawing.Size(150, 23); - this.checkBoxMenuStatus.TabIndex = 113; - this.checkBoxMenuStatus.Text = "Status"; - this.checkBoxMenuStatus.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.checkBoxMenuStatus.TextColorDisable = System.Drawing.Color.Black; - this.checkBoxMenuStatus.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; + this.checkBoxMenuEquipment.BackGround = this.groupBoxAccessRight; + this.checkBoxMenuEquipment.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.checkBoxMenuEquipment.CheckBoxBackColor = System.Drawing.Color.LightGray; + this.checkBoxMenuEquipment.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid; + this.checkBoxMenuEquipment.CheckBoxOutlineColor = System.Drawing.Color.Black; + this.checkBoxMenuEquipment.CheckBoxSymbolSize = 14; + 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.ImageCheckBox = null; + this.checkBoxMenuEquipment.ImageUnCheckBox = null; + this.checkBoxMenuEquipment.Location = new System.Drawing.Point(238, 283); + this.checkBoxMenuEquipment.Name = "checkBoxMenuEquipment"; + this.checkBoxMenuEquipment.OverlapOptimize = true; + this.checkBoxMenuEquipment.Size = new System.Drawing.Size(150, 23); + this.checkBoxMenuEquipment.TabIndex = 113; + this.checkBoxMenuEquipment.Text = "Equipment"; + this.checkBoxMenuEquipment.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.checkBoxMenuEquipment.TextColorDisable = System.Drawing.Color.Black; + this.checkBoxMenuEquipment.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; // // checkBoxMenuCheckLog // @@ -711,39 +666,39 @@ 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(238, 206); + this.checkBoxMenuCheckLog.Location = new System.Drawing.Point(238, 196); this.checkBoxMenuCheckLog.Name = "checkBoxMenuCheckLog"; this.checkBoxMenuCheckLog.OverlapOptimize = true; this.checkBoxMenuCheckLog.Size = new System.Drawing.Size(150, 23); this.checkBoxMenuCheckLog.TabIndex = 111; - this.checkBoxMenuCheckLog.Text = "Inspection log"; + this.checkBoxMenuCheckLog.Text = "Log_Inspection"; this.checkBoxMenuCheckLog.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.checkBoxMenuCheckLog.TextColorDisable = System.Drawing.Color.Black; this.checkBoxMenuCheckLog.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; // - // checkBoxMenuEquipmentLog + // checkBoxMenuHistoryLog // - this.checkBoxMenuEquipmentLog.BackGround = this.groupBoxAccessRight; - this.checkBoxMenuEquipmentLog.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.checkBoxMenuEquipmentLog.CheckBoxBackColor = System.Drawing.Color.LightGray; - this.checkBoxMenuEquipmentLog.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid; - this.checkBoxMenuEquipmentLog.CheckBoxOutlineColor = System.Drawing.Color.Black; - this.checkBoxMenuEquipmentLog.CheckBoxSymbolSize = 14; - this.checkBoxMenuEquipmentLog.Checked = false; - this.checkBoxMenuEquipmentLog.CheckLineWidth = 3; - this.checkBoxMenuEquipmentLog.Enabled = false; - this.checkBoxMenuEquipmentLog.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular); - this.checkBoxMenuEquipmentLog.ImageCheckBox = null; - this.checkBoxMenuEquipmentLog.ImageUnCheckBox = null; - this.checkBoxMenuEquipmentLog.Location = new System.Drawing.Point(238, 177); - this.checkBoxMenuEquipmentLog.Name = "checkBoxMenuEquipmentLog"; - this.checkBoxMenuEquipmentLog.OverlapOptimize = true; - this.checkBoxMenuEquipmentLog.Size = new System.Drawing.Size(150, 23); - this.checkBoxMenuEquipmentLog.TabIndex = 110; - this.checkBoxMenuEquipmentLog.Text = "Equipment log"; - this.checkBoxMenuEquipmentLog.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.checkBoxMenuEquipmentLog.TextColorDisable = System.Drawing.Color.Black; - this.checkBoxMenuEquipmentLog.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; + this.checkBoxMenuHistoryLog.BackGround = this.groupBoxAccessRight; + this.checkBoxMenuHistoryLog.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.checkBoxMenuHistoryLog.CheckBoxBackColor = System.Drawing.Color.LightGray; + this.checkBoxMenuHistoryLog.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid; + this.checkBoxMenuHistoryLog.CheckBoxOutlineColor = System.Drawing.Color.Black; + this.checkBoxMenuHistoryLog.CheckBoxSymbolSize = 14; + 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.ImageCheckBox = null; + this.checkBoxMenuHistoryLog.ImageUnCheckBox = null; + this.checkBoxMenuHistoryLog.Location = new System.Drawing.Point(238, 167); + this.checkBoxMenuHistoryLog.Name = "checkBoxMenuHistoryLog"; + this.checkBoxMenuHistoryLog.OverlapOptimize = true; + this.checkBoxMenuHistoryLog.Size = new System.Drawing.Size(150, 23); + this.checkBoxMenuHistoryLog.TabIndex = 110; + this.checkBoxMenuHistoryLog.Text = "Log_History"; + this.checkBoxMenuHistoryLog.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.checkBoxMenuHistoryLog.TextColorDisable = System.Drawing.Color.Black; + this.checkBoxMenuHistoryLog.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; // // checkBoxMenuIOTest // @@ -759,7 +714,7 @@ this.checkBoxMenuIOTest.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular); this.checkBoxMenuIOTest.ImageCheckBox = null; this.checkBoxMenuIOTest.ImageUnCheckBox = null; - this.checkBoxMenuIOTest.Location = new System.Drawing.Point(238, 148); + this.checkBoxMenuIOTest.Location = new System.Drawing.Point(238, 138); this.checkBoxMenuIOTest.Name = "checkBoxMenuIOTest"; this.checkBoxMenuIOTest.OverlapOptimize = true; this.checkBoxMenuIOTest.Size = new System.Drawing.Size(150, 23); @@ -777,7 +732,7 @@ this.labelTitleMenu.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelTitleMenu.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); this.labelTitleMenu.LineSpacing = 0F; - this.labelTitleMenu.Location = new System.Drawing.Point(238, 32); + this.labelTitleMenu.Location = new System.Drawing.Point(238, 22); this.labelTitleMenu.Name = "labelTitleMenu"; this.labelTitleMenu.OverlapOptimize = true; this.labelTitleMenu.PasswordChar = '\0'; @@ -800,7 +755,7 @@ this.labelTitleMain.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelTitleMain.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); this.labelTitleMain.LineSpacing = 0F; - this.labelTitleMain.Location = new System.Drawing.Point(64, 32); + this.labelTitleMain.Location = new System.Drawing.Point(62, 22); this.labelTitleMain.Name = "labelTitleMain"; this.labelTitleMain.OverlapOptimize = true; this.labelTitleMain.PasswordChar = '\0'; @@ -815,53 +770,53 @@ this.labelTitleMain.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; this.labelTitleMain.Wordwrap = false; // - // checkBoxMenuUserSetting + // checkBoxMenuUserEditor // - this.checkBoxMenuUserSetting.BackGround = this.groupBoxAccessRight; - this.checkBoxMenuUserSetting.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - 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("Arial", 9F, System.Drawing.FontStyle.Regular); - this.checkBoxMenuUserSetting.ImageCheckBox = null; - this.checkBoxMenuUserSetting.ImageUnCheckBox = null; - this.checkBoxMenuUserSetting.Location = new System.Drawing.Point(238, 90); - 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 setting"; - this.checkBoxMenuUserSetting.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.checkBoxMenuUserSetting.TextColorDisable = System.Drawing.Color.Black; - this.checkBoxMenuUserSetting.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; + this.checkBoxMenuUserEditor.BackGround = this.groupBoxAccessRight; + this.checkBoxMenuUserEditor.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + 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(238, 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.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.checkBoxMenuUserEditor.TextColorDisable = System.Drawing.Color.Black; + this.checkBoxMenuUserEditor.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; // - // checkBoxMenuProduct + // checkBoxMenuRecipe // - this.checkBoxMenuProduct.BackGround = this.groupBoxAccessRight; - this.checkBoxMenuProduct.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.checkBoxMenuProduct.CheckBoxBackColor = System.Drawing.Color.LightGray; - this.checkBoxMenuProduct.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid; - this.checkBoxMenuProduct.CheckBoxOutlineColor = System.Drawing.Color.Black; - this.checkBoxMenuProduct.CheckBoxSymbolSize = 14; - this.checkBoxMenuProduct.Checked = false; - this.checkBoxMenuProduct.CheckLineWidth = 3; - this.checkBoxMenuProduct.Enabled = false; - this.checkBoxMenuProduct.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular); - this.checkBoxMenuProduct.ImageCheckBox = null; - this.checkBoxMenuProduct.ImageUnCheckBox = null; - this.checkBoxMenuProduct.Location = new System.Drawing.Point(238, 61); - this.checkBoxMenuProduct.Name = "checkBoxMenuProduct"; - this.checkBoxMenuProduct.OverlapOptimize = true; - this.checkBoxMenuProduct.Size = new System.Drawing.Size(150, 23); - this.checkBoxMenuProduct.TabIndex = 4; - this.checkBoxMenuProduct.Text = "Product setting"; - this.checkBoxMenuProduct.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.checkBoxMenuProduct.TextColorDisable = System.Drawing.Color.Black; - this.checkBoxMenuProduct.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; + this.checkBoxMenuRecipe.BackGround = this.groupBoxAccessRight; + this.checkBoxMenuRecipe.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.checkBoxMenuRecipe.CheckBoxBackColor = System.Drawing.Color.LightGray; + this.checkBoxMenuRecipe.CheckBoxCheckColor = System.Drawing.Color.DarkOrchid; + this.checkBoxMenuRecipe.CheckBoxOutlineColor = System.Drawing.Color.Black; + this.checkBoxMenuRecipe.CheckBoxSymbolSize = 14; + 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.ImageCheckBox = null; + this.checkBoxMenuRecipe.ImageUnCheckBox = null; + this.checkBoxMenuRecipe.Location = new System.Drawing.Point(238, 51); + this.checkBoxMenuRecipe.Name = "checkBoxMenuRecipe"; + this.checkBoxMenuRecipe.OverlapOptimize = true; + this.checkBoxMenuRecipe.Size = new System.Drawing.Size(150, 23); + this.checkBoxMenuRecipe.TabIndex = 4; + this.checkBoxMenuRecipe.Text = "Recipe setting"; + this.checkBoxMenuRecipe.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.checkBoxMenuRecipe.TextColorDisable = System.Drawing.Color.Black; + this.checkBoxMenuRecipe.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; // // checkBoxMainSubMenu // @@ -877,7 +832,7 @@ this.checkBoxMainSubMenu.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular); this.checkBoxMainSubMenu.ImageCheckBox = null; this.checkBoxMainSubMenu.ImageUnCheckBox = null; - this.checkBoxMainSubMenu.Location = new System.Drawing.Point(64, 119); + this.checkBoxMainSubMenu.Location = new System.Drawing.Point(62, 109); this.checkBoxMainSubMenu.Name = "checkBoxMainSubMenu"; this.checkBoxMainSubMenu.OverlapOptimize = true; this.checkBoxMainSubMenu.Size = new System.Drawing.Size(150, 23); @@ -902,7 +857,7 @@ this.checkBoxMainClear.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular); this.checkBoxMainClear.ImageCheckBox = null; this.checkBoxMainClear.ImageUnCheckBox = null; - this.checkBoxMainClear.Location = new System.Drawing.Point(64, 90); + this.checkBoxMainClear.Location = new System.Drawing.Point(62, 80); this.checkBoxMainClear.Name = "checkBoxMainClear"; this.checkBoxMainClear.OverlapOptimize = true; this.checkBoxMainClear.Size = new System.Drawing.Size(150, 23); @@ -926,12 +881,12 @@ this.checkBoxMainProductChange.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular); this.checkBoxMainProductChange.ImageCheckBox = null; this.checkBoxMainProductChange.ImageUnCheckBox = null; - this.checkBoxMainProductChange.Location = new System.Drawing.Point(64, 61); + this.checkBoxMainProductChange.Location = new System.Drawing.Point(62, 51); this.checkBoxMainProductChange.Name = "checkBoxMainProductChange"; this.checkBoxMainProductChange.OverlapOptimize = true; this.checkBoxMainProductChange.Size = new System.Drawing.Size(150, 23); this.checkBoxMainProductChange.TabIndex = 0; - this.checkBoxMainProductChange.Text = "Change No."; + this.checkBoxMainProductChange.Text = "Change No"; this.checkBoxMainProductChange.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.checkBoxMainProductChange.TextColorDisable = System.Drawing.Color.Black; this.checkBoxMainProductChange.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle; @@ -944,13 +899,13 @@ this.labelExpiryDateOfPassword2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; this.labelExpiryDateOfPassword2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); this.labelExpiryDateOfPassword2.LineSpacing = 0F; - this.labelExpiryDateOfPassword2.Location = new System.Drawing.Point(692, 184); + this.labelExpiryDateOfPassword2.Location = new System.Drawing.Point(647, 182); this.labelExpiryDateOfPassword2.Name = "labelExpiryDateOfPassword2"; this.labelExpiryDateOfPassword2.OverlapOptimize = true; this.labelExpiryDateOfPassword2.PasswordChar = '\0'; this.labelExpiryDateOfPassword2.Radius = 3; this.labelExpiryDateOfPassword2.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.labelExpiryDateOfPassword2.Size = new System.Drawing.Size(107, 34); + this.labelExpiryDateOfPassword2.Size = new System.Drawing.Size(155, 34); this.labelExpiryDateOfPassword2.TabIndex = 95; this.labelExpiryDateOfPassword2.Text = "2023/00/00"; this.labelExpiryDateOfPassword2.TextColor = System.Drawing.Color.Black; @@ -967,15 +922,15 @@ this.labelExpiryDateOfAccount2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; this.labelExpiryDateOfAccount2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); this.labelExpiryDateOfAccount2.LineSpacing = 0F; - this.labelExpiryDateOfAccount2.Location = new System.Drawing.Point(692, 143); + this.labelExpiryDateOfAccount2.Location = new System.Drawing.Point(647, 142); this.labelExpiryDateOfAccount2.Name = "labelExpiryDateOfAccount2"; this.labelExpiryDateOfAccount2.OverlapOptimize = true; this.labelExpiryDateOfAccount2.PasswordChar = '\0'; this.labelExpiryDateOfAccount2.Radius = 3; this.labelExpiryDateOfAccount2.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.labelExpiryDateOfAccount2.Size = new System.Drawing.Size(107, 34); + this.labelExpiryDateOfAccount2.Size = new System.Drawing.Size(155, 34); this.labelExpiryDateOfAccount2.TabIndex = 94; - this.labelExpiryDateOfAccount2.Text = "2023/00/00"; + this.labelExpiryDateOfAccount2.Text = "2023/03/31 ~ 2023/09/31"; this.labelExpiryDateOfAccount2.TextColor = System.Drawing.Color.Black; this.labelExpiryDateOfAccount2.TextColorDisable = System.Drawing.Color.Gray; this.labelExpiryDateOfAccount2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; @@ -990,15 +945,15 @@ this.smartLabel8.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.smartLabel8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold); this.smartLabel8.LineSpacing = 0F; - this.smartLabel8.Location = new System.Drawing.Point(586, 184); + this.smartLabel8.Location = new System.Drawing.Point(556, 182); this.smartLabel8.Name = "smartLabel8"; this.smartLabel8.OverlapOptimize = true; this.smartLabel8.PasswordChar = '\0'; this.smartLabel8.Radius = 3; this.smartLabel8.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.smartLabel8.Size = new System.Drawing.Size(100, 34); + this.smartLabel8.Size = new System.Drawing.Size(90, 34); this.smartLabel8.TabIndex = 93; - this.smartLabel8.Text = "day(Max : 90)"; + this.smartLabel8.Text = "day(Max:90)"; this.smartLabel8.TextColor = System.Drawing.Color.Black; this.smartLabel8.TextColorDisable = System.Drawing.Color.Gray; this.smartLabel8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; @@ -1013,15 +968,15 @@ this.smartLabel7.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.smartLabel7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold); this.smartLabel7.LineSpacing = 0F; - this.smartLabel7.Location = new System.Drawing.Point(586, 143); + this.smartLabel7.Location = new System.Drawing.Point(556, 142); this.smartLabel7.Name = "smartLabel7"; this.smartLabel7.OverlapOptimize = true; this.smartLabel7.PasswordChar = '\0'; this.smartLabel7.Radius = 3; this.smartLabel7.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.smartLabel7.Size = new System.Drawing.Size(100, 34); + this.smartLabel7.Size = new System.Drawing.Size(90, 34); this.smartLabel7.TabIndex = 92; - this.smartLabel7.Text = "day(Max : 180)"; + this.smartLabel7.Text = "day(Max:180)"; this.smartLabel7.TextColor = System.Drawing.Color.Black; this.smartLabel7.TextColorDisable = System.Drawing.Color.Gray; this.smartLabel7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; @@ -1036,15 +991,15 @@ this.smartLabel6.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.smartLabel6.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold); this.smartLabel6.LineSpacing = 0F; - this.smartLabel6.Location = new System.Drawing.Point(586, 225); + this.smartLabel6.Location = new System.Drawing.Point(556, 222); this.smartLabel6.Name = "smartLabel6"; this.smartLabel6.OverlapOptimize = true; this.smartLabel6.PasswordChar = '\0'; this.smartLabel6.Radius = 3; this.smartLabel6.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.smartLabel6.Size = new System.Drawing.Size(100, 34); + this.smartLabel6.Size = new System.Drawing.Size(90, 34); this.smartLabel6.TabIndex = 91; - this.smartLabel6.Text = "min(Max : 90)"; + this.smartLabel6.Text = "min(Max:90)"; this.smartLabel6.TextColor = System.Drawing.Color.Black; this.smartLabel6.TextColorDisable = System.Drawing.Color.Gray; this.smartLabel6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left; @@ -1060,7 +1015,7 @@ this.labelAutomaticLogoutTime.Enabled = false; this.labelAutomaticLogoutTime.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold); this.labelAutomaticLogoutTime.LineSpacing = 0F; - this.labelAutomaticLogoutTime.Location = new System.Drawing.Point(510, 225); + this.labelAutomaticLogoutTime.Location = new System.Drawing.Point(479, 222); this.labelAutomaticLogoutTime.Name = "labelAutomaticLogoutTime"; this.labelAutomaticLogoutTime.OverlapOptimize = true; this.labelAutomaticLogoutTime.PasswordChar = '\0'; @@ -1084,7 +1039,7 @@ this.labelExpiryDateOfPassword.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelExpiryDateOfPassword.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold); this.labelExpiryDateOfPassword.LineSpacing = 0F; - this.labelExpiryDateOfPassword.Location = new System.Drawing.Point(510, 184); + this.labelExpiryDateOfPassword.Location = new System.Drawing.Point(479, 182); this.labelExpiryDateOfPassword.Name = "labelExpiryDateOfPassword"; this.labelExpiryDateOfPassword.OverlapOptimize = true; this.labelExpiryDateOfPassword.PasswordChar = '\0'; @@ -1108,7 +1063,7 @@ this.labelExpiryDateOfAccount.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelExpiryDateOfAccount.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold); this.labelExpiryDateOfAccount.LineSpacing = 0F; - this.labelExpiryDateOfAccount.Location = new System.Drawing.Point(510, 143); + this.labelExpiryDateOfAccount.Location = new System.Drawing.Point(479, 142); this.labelExpiryDateOfAccount.Name = "labelExpiryDateOfAccount"; this.labelExpiryDateOfAccount.OverlapOptimize = true; this.labelExpiryDateOfAccount.PasswordChar = '\0'; @@ -1132,7 +1087,7 @@ this.labelTitleAutomaticLogoutTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelTitleAutomaticLogoutTime.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold); this.labelTitleAutomaticLogoutTime.LineSpacing = 0F; - this.labelTitleAutomaticLogoutTime.Location = new System.Drawing.Point(348, 225); + this.labelTitleAutomaticLogoutTime.Location = new System.Drawing.Point(318, 222); this.labelTitleAutomaticLogoutTime.Name = "labelTitleAutomaticLogoutTime"; this.labelTitleAutomaticLogoutTime.OverlapOptimize = true; this.labelTitleAutomaticLogoutTime.PasswordChar = '\0'; @@ -1155,7 +1110,7 @@ this.labelTitleExpiryDateOfPassword.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelTitleExpiryDateOfPassword.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold); this.labelTitleExpiryDateOfPassword.LineSpacing = 0F; - this.labelTitleExpiryDateOfPassword.Location = new System.Drawing.Point(348, 184); + this.labelTitleExpiryDateOfPassword.Location = new System.Drawing.Point(318, 182); this.labelTitleExpiryDateOfPassword.Name = "labelTitleExpiryDateOfPassword"; this.labelTitleExpiryDateOfPassword.OverlapOptimize = true; this.labelTitleExpiryDateOfPassword.PasswordChar = '\0'; @@ -1178,7 +1133,7 @@ this.labelTitleExpiryDateOfAccount.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelTitleExpiryDateOfAccount.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold); this.labelTitleExpiryDateOfAccount.LineSpacing = 0F; - this.labelTitleExpiryDateOfAccount.Location = new System.Drawing.Point(348, 143); + this.labelTitleExpiryDateOfAccount.Location = new System.Drawing.Point(318, 142); this.labelTitleExpiryDateOfAccount.Name = "labelTitleExpiryDateOfAccount"; this.labelTitleExpiryDateOfAccount.OverlapOptimize = true; this.labelTitleExpiryDateOfAccount.PasswordChar = '\0'; @@ -1201,7 +1156,7 @@ this.labelTitlePassword.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelTitlePassword.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); this.labelTitlePassword.LineSpacing = 0F; - this.labelTitlePassword.Location = new System.Drawing.Point(348, 102); + this.labelTitlePassword.Location = new System.Drawing.Point(318, 102); this.labelTitlePassword.Name = "labelTitlePassword"; this.labelTitlePassword.OverlapOptimize = true; this.labelTitlePassword.PasswordChar = '\0'; @@ -1224,7 +1179,7 @@ this.labelTitleID.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelTitleID.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); this.labelTitleID.LineSpacing = 0F; - this.labelTitleID.Location = new System.Drawing.Point(348, 61); + this.labelTitleID.Location = new System.Drawing.Point(317, 61); this.labelTitleID.Name = "labelTitleID"; this.labelTitleID.OverlapOptimize = true; this.labelTitleID.PasswordChar = '\0'; @@ -1253,7 +1208,7 @@ this.buttonDelete.ImageDisable = null; this.buttonDelete.ImageDown = null; this.buttonDelete.ImageUp = null; - this.buttonDelete.Location = new System.Drawing.Point(805, 127); + this.buttonDelete.Location = new System.Drawing.Point(808, 142); this.buttonDelete.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.NestedClickEventPrevent = false; @@ -1288,7 +1243,7 @@ this.buttonSave.ImageDisable = null; this.buttonSave.ImageDown = null; this.buttonSave.ImageUp = null; - this.buttonSave.Location = new System.Drawing.Point(805, 193); + this.buttonSave.Location = new System.Drawing.Point(808, 223); this.buttonSave.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; this.buttonSave.Name = "buttonSave"; this.buttonSave.NestedClickEventPrevent = false; @@ -1324,7 +1279,7 @@ this.buttonRegister.ImageDisable = null; this.buttonRegister.ImageDown = null; this.buttonRegister.ImageUp = null; - this.buttonRegister.Location = new System.Drawing.Point(805, 61); + this.buttonRegister.Location = new System.Drawing.Point(808, 60); this.buttonRegister.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; this.buttonRegister.Name = "buttonRegister"; this.buttonRegister.NestedClickEventPrevent = false; @@ -1345,6 +1300,51 @@ this.buttonRegister.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; this.buttonRegister.Click += new System.EventHandler(this.buttonRegister_Click); // + // labelPasswordBackGround + // + this.labelPasswordBackGround.BackGround = null; + this.labelPasswordBackGround.BackGroundColor = System.Drawing.Color.White; + this.labelPasswordBackGround.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelPasswordBackGround.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.labelPasswordBackGround.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold); + this.labelPasswordBackGround.LineSpacing = 0F; + this.labelPasswordBackGround.Location = new System.Drawing.Point(478, 102); + this.labelPasswordBackGround.Name = "labelPasswordBackGround"; + this.labelPasswordBackGround.OverlapOptimize = true; + this.labelPasswordBackGround.PasswordChar = '\0'; + this.labelPasswordBackGround.Radius = 3; + this.labelPasswordBackGround.RoundRectFillColor = System.Drawing.Color.LightBlue; + this.labelPasswordBackGround.Size = new System.Drawing.Size(270, 34); + this.labelPasswordBackGround.TabIndex = 106; + this.labelPasswordBackGround.TextColor = System.Drawing.Color.Black; + this.labelPasswordBackGround.TextColorDisable = System.Drawing.Color.Gray; + this.labelPasswordBackGround.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelPasswordBackGround.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelPasswordBackGround.Wordwrap = false; + // + // labelIDBackGround + // + this.labelIDBackGround.BackGround = null; + this.labelIDBackGround.BackGroundColor = System.Drawing.Color.White; + this.labelIDBackGround.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); + this.labelIDBackGround.BorderStyle = SmartX.SmartLabel.BorderStyles.None; + this.labelIDBackGround.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold); + this.labelIDBackGround.LineSpacing = 0F; + this.labelIDBackGround.Location = new System.Drawing.Point(478, 61); + this.labelIDBackGround.Name = "labelIDBackGround"; + this.labelIDBackGround.OverlapOptimize = true; + this.labelIDBackGround.PasswordChar = '\0'; + this.labelIDBackGround.Radius = 3; + this.labelIDBackGround.RoundRectFillColor = System.Drawing.Color.LightBlue; + this.labelIDBackGround.Size = new System.Drawing.Size(270, 34); + this.labelIDBackGround.TabIndex = 105; + this.labelIDBackGround.TextColor = System.Drawing.Color.Black; + this.labelIDBackGround.TextColorDisable = System.Drawing.Color.Gray; + this.labelIDBackGround.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.labelIDBackGround.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.labelIDBackGround.Wordwrap = false; + this.labelIDBackGround.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxID_KeyPress); + // // ControlMenuUserUserEditor // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -1385,12 +1385,12 @@ private SmartX.SmartButton buttonLevel2; private SmartX.SmartButton buttonLevel1; private SmartX.SmartCheckBox checkBoxMenuCheckLog; - private SmartX.SmartCheckBox checkBoxMenuEquipmentLog; + private SmartX.SmartCheckBox checkBoxMenuHistoryLog; private SmartX.SmartCheckBox checkBoxMenuIOTest; private SmartX.SmartLabel labelTitleMenu; private SmartX.SmartLabel labelTitleMain; - private SmartX.SmartCheckBox checkBoxMenuUserSetting; - private SmartX.SmartCheckBox checkBoxMenuProduct; + private SmartX.SmartCheckBox checkBoxMenuUserEditor; + private SmartX.SmartCheckBox checkBoxMenuRecipe; private SmartX.SmartCheckBox checkBoxMainSubMenu; private SmartX.SmartCheckBox checkBoxMainClear; private SmartX.SmartCheckBox checkBoxMainProductChange; @@ -1399,11 +1399,11 @@ private SmartX.SmartCheckBox checkBoxMenuUserGroupEditor; private System.Windows.Forms.TextBox textBoxID; private System.Windows.Forms.TextBox textBoxPassword; - private SmartX.SmartLabel smartLabel4; - private SmartX.SmartLabel smartLabel3; private SmartX.SmartKeyboard smartKeyboard; private SmartX.SmartButton buttonPasswordEdit; private SmartX.SmartButton buttonIDEdit; - private SmartX.SmartCheckBox checkBoxMenuStatus; + private SmartX.SmartCheckBox checkBoxMenuEquipment; + private SmartX.SmartLabel labelPasswordBackGround; + private SmartX.SmartLabel labelIDBackGround; } } diff --git a/INT_PT002/Controls/User/ControlMenuUserUserEditor.cs b/INT_PT002/Controls/User/ControlMenuUserUserEditor.cs index e8169e5..ef5ecb3 100644 --- a/INT_PT002/Controls/User/ControlMenuUserUserEditor.cs +++ b/INT_PT002/Controls/User/ControlMenuUserUserEditor.cs @@ -47,6 +47,13 @@ namespace INT_PT002.Controls this.smartGroupBox1.Text = "User > UserEditor"; } + private void SetEnableID(bool value) + { + } + private void SetEnablePassword(bool value) + { + + } private void KeyboardClose() { this.smartKeyboard.Hide(); @@ -56,10 +63,10 @@ namespace INT_PT002.Controls this.groupBoxAccessRight.Enabled = true; this.listBoxUserList.Enabled = true; this.textBoxPassword.Enabled = true; - this.smartLabel4.BackGroundColor = Color.White; + this.labelPasswordBackGround.BackGroundColor = Color.White; this.buttonPasswordEdit.Enabled = true; this.textBoxID.Enabled = true; - this.smartLabel3.BackGroundColor = Color.White; + this.labelIDBackGround.BackGroundColor = Color.White; this.buttonIDEdit.Enabled = true; if(this.buttonSave.Visible == false) @@ -82,9 +89,9 @@ namespace INT_PT002.Controls this.buttonSave.Visible = false; this.textBoxID.Enabled = true; - this.smartLabel3.BackGroundColor = Color.White; + this.labelIDBackGround.BackGroundColor = Color.White; this.textBoxPassword.Enabled = true; - this.smartLabel4.BackGroundColor = Color.White; + this.labelPasswordBackGround.BackGroundColor = Color.White; this.labelExpiryDateOfAccount.Enabled = true; this.labelExpiryDateOfPassword.Enabled = true; this.labelAutomaticLogoutTime.Enabled = true; @@ -208,15 +215,15 @@ namespace INT_PT002.Controls menuId.fMenu[1] = this.checkBoxMainClear.Checked; menuId.fMenu[2] = this.checkBoxMainSubMenu.Checked; - menuId.fMenu[3] = this.checkBoxMenuProduct.Checked; - menuId.fMenu[4] = this.checkBoxMenuUserSetting.Checked; + menuId.fMenu[3] = this.checkBoxMenuRecipe.Checked; + menuId.fMenu[4] = this.checkBoxMenuUserEditor.Checked; menuId.fMenu[5] = this.checkBoxMenuUserGroupEditor.Checked; menuId.fMenu[6] = this.checkBoxMenuIOTest.Checked; - menuId.fMenu[7] = this.checkBoxMenuEquipmentLog.Checked; + menuId.fMenu[7] = this.checkBoxMenuHistoryLog.Checked; menuId.fMenu[8] = this.checkBoxMenuCheckLog.Checked; menuId.fMenu[9] = this.checkBoxMenuAlarmList.Checked; menuId.fMenu[10] = this.checkBoxMenuInformation.Checked; - menuId.fMenu[11] = this.checkBoxMenuStatus.Checked; + menuId.fMenu[11] = this.checkBoxMenuEquipment.Checked; for (int i = 12; i < UserManager.USER_MENU_ID_MAX - 11; i++) menuId.fMenu[i] = false; @@ -280,15 +287,15 @@ namespace INT_PT002.Controls this.checkBoxMainClear.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplayClear; this.checkBoxMainSubMenu.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMainDisplaySubMenu; - this.checkBoxMenuProduct.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuRecipe; - this.checkBoxMenuUserSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuUserSetting; + this.checkBoxMenuRecipe.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuRecipe; + this.checkBoxMenuUserEditor.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.checkBoxMenuEquipmentLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuHistoryLog; + 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.checkBoxMenuInformation.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuInformation; - this.checkBoxMenuStatus.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuStatus; + this.checkBoxMenuEquipment.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuStatus; break; case Define.E_UserStatus.Level2: this.buttonLevel1.ButtonUp(); @@ -301,15 +308,15 @@ namespace INT_PT002.Controls this.checkBoxMainClear.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplayClear; this.checkBoxMainSubMenu.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMainDisplaySubMenu; - this.checkBoxMenuProduct.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuRecipe; - this.checkBoxMenuUserSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuUserSetting; + this.checkBoxMenuRecipe.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuRecipe; + this.checkBoxMenuUserEditor.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.checkBoxMenuEquipmentLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuHistoryLog; + 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.checkBoxMenuInformation.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuInformation; - this.checkBoxMenuStatus.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuStatus; + this.checkBoxMenuEquipment.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuStatus; break; case Define.E_UserStatus.Level3: this.buttonLevel1.ButtonUp(); @@ -322,15 +329,15 @@ namespace INT_PT002.Controls this.checkBoxMainClear.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplayClear; this.checkBoxMainSubMenu.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMainDisplaySubMenu; - this.checkBoxMenuProduct.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuRecipe; - this.checkBoxMenuUserSetting.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuUserSetting; + this.checkBoxMenuRecipe.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuRecipe; + this.checkBoxMenuUserEditor.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.checkBoxMenuEquipmentLog.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuHistoryLog; + 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.checkBoxMenuInformation.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuInformation; - this.checkBoxMenuStatus.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuStatus; + this.checkBoxMenuEquipment.Checked = this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuStatus; break; default: break; @@ -358,15 +365,15 @@ namespace INT_PT002.Controls this.checkBoxMainClear.Checked = false; this.checkBoxMainSubMenu.Checked = false; - this.checkBoxMenuProduct.Checked = false; - this.checkBoxMenuUserSetting.Checked = false; + this.checkBoxMenuRecipe.Checked = false; + this.checkBoxMenuUserEditor.Checked = false; this.checkBoxMenuUserGroupEditor.Checked = false; this.checkBoxMenuIOTest.Checked = false; - this.checkBoxMenuEquipmentLog.Checked = false; + this.checkBoxMenuHistoryLog.Checked = false; this.checkBoxMenuCheckLog.Checked = false; this.checkBoxMenuAlarmList.Checked = false; this.checkBoxMenuInformation.Checked = false; - this.checkBoxMenuStatus.Checked = false; + this.checkBoxMenuEquipment.Checked = false; this.buttonLevel1.ButtonUp(); this.buttonLevel2.ButtonUp(); @@ -472,14 +479,14 @@ namespace INT_PT002.Controls this.ChangeUserControlEnable(true); this.textBoxID.Enabled = false; this.textBoxID.BackColor = Color.Silver; - this.smartLabel3.BackGroundColor = Color.Silver; + this.labelIDBackGround.BackGroundColor = Color.Silver; this.textBoxID.Text = item.ID; this.textBoxPassword.Text = item.Password; this.labelExpiryDateOfAccount.Text = item.ExpireAccount.ToString(); this.labelExpiryDateOfPassword.Text = item.ExpirePassword.ToString(); - this.labelExpiryDateOfAccount2.Text = string.Format("{0:yyyy/MM/dd} ~ {1:yyyy/MM/dd}", item.DateRegister, item.DateExpireRegister); - this.labelExpiryDateOfPassword2.Text = string.Format("{0:yyyy/MM/dd} ~ {1:yyyy/MM/dd}", item.DateLogin, item.DateExpireLogin); + this.labelExpiryDateOfAccount2.Text = string.Format("{0:yy/MM/dd} ~ {1:yy/MM/dd}", item.DateRegister, item.DateExpireRegister); + this.labelExpiryDateOfPassword2.Text = string.Format("{0:yy/MM/dd} ~ {1:yy/MM/dd}", item.DateLogin, item.DateExpireLogin); this.CheckBoxCheckedAsLevel(item.Status); @@ -556,10 +563,10 @@ namespace INT_PT002.Controls this.textBoxID.Enabled = false; this.textBoxID.BackColor = Color.Silver; - this.smartLabel3.BackGroundColor = Color.Silver; + this.labelIDBackGround.BackGroundColor = Color.Silver; this.textBoxPassword.Enabled = false; this.textBoxPassword.BackColor = Color.Silver; - this.smartLabel4.BackGroundColor = Color.Silver; + this.labelPasswordBackGround.BackGroundColor = Color.Silver; this.labelExpiryDateOfAccount.Enabled = false; this.labelExpiryDateOfAccount.BackColor = Color.Silver; this.labelExpiryDateOfPassword.Enabled = false; @@ -758,10 +765,10 @@ namespace INT_PT002.Controls this.groupBoxAccessRight.Enabled = true; this.listBoxUserList.Enabled = true; this.textBoxPassword.Enabled = true; - this.smartLabel4.BackGroundColor = Color.White; + this.labelPasswordBackGround.BackGroundColor = Color.White; this.buttonPasswordEdit.Enabled = true; this.textBoxID.Enabled = true; - this.smartLabel3.BackGroundColor = Color.White; + this.labelIDBackGround.BackGroundColor = Color.White; this.buttonIDEdit.Enabled = true; if (this.buttonSave.Visible == false) @@ -792,10 +799,10 @@ namespace INT_PT002.Controls this.groupBoxAccessRight.Enabled = true; this.listBoxUserList.Enabled = true; this.textBoxPassword.Enabled = true; - this.smartLabel4.BackGroundColor = Color.White; + this.labelPasswordBackGround.BackGroundColor = Color.White; this.buttonPasswordEdit.Enabled = true; this.textBoxID.Enabled = true; - this.smartLabel3.BackGroundColor = Color.White; + this.labelIDBackGround.BackGroundColor = Color.White; this.buttonIDEdit.Enabled = true; if (this.buttonSave.Visible == false) @@ -871,7 +878,7 @@ namespace INT_PT002.Controls this.listBoxUserList.Enabled = false; this.buttonPasswordEdit.Enabled = false; this.textBoxPassword.Enabled = false; - this.smartLabel4.BackGroundColor = Color.Silver; + this.labelPasswordBackGround.BackGroundColor = Color.Silver; this.buttonIDEdit.Enabled = false; } private void buttonPasswordEdit_Click(object sender, EventArgs e) @@ -892,7 +899,7 @@ namespace INT_PT002.Controls this.listBoxUserList.Enabled = false; this.buttonPasswordEdit.Enabled = false; this.textBoxID.Enabled = false; - this.smartLabel3.BackGroundColor = Color.Silver; + this.labelIDBackGround.BackGroundColor = Color.Silver; this.buttonIDEdit.Enabled = false; } private void labelExpiryDateOfAccount_Click(object sender, EventArgs e) diff --git a/INT_PT002/Forms/FormMainDisplay2.cs b/INT_PT002/Forms/FormMainDisplay2.cs index b9122f1..1d8715a 100644 --- a/INT_PT002/Forms/FormMainDisplay2.cs +++ b/INT_PT002/Forms/FormMainDisplay2.cs @@ -878,8 +878,8 @@ namespace INT_PT002.Forms this.smartTimerAlarm.Stop(); value = "a1_Servo emergency stop "; - value += "a2_Servo1 "; - value += "a3_Servo2 "; + //value += "a2_Servo1 "; + //value += "a3_Servo2 "; //value += "a4_Servo1 Torque "; //value += "a5_Servo2 Torque "; //value += "a6_Pressure ";