diff --git a/INT_LKD_PTB6_DW.suo b/INT_LKD_PTB6_DW.suo index 7c3c948..50c1b60 100644 Binary files a/INT_LKD_PTB6_DW.suo and b/INT_LKD_PTB6_DW.suo differ diff --git a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogAlarm.Designer.cs b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogAlarm.Designer.cs index 3403493..19d9bbb 100644 --- a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogAlarm.Designer.cs +++ b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogAlarm.Designer.cs @@ -77,7 +77,7 @@ this.smartGroupBox1.Controls.Add(this.labelFileName); this.smartGroupBox1.Controls.Add(this.buttonBackup); this.smartGroupBox1.Controls.Add(this.labelCount); - this.smartGroupBox1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartGroupBox1.FrameLineThickness = 2; @@ -97,7 +97,7 @@ this.labelTitleDetail.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleDetail.BorderColor = System.Drawing.Color.Black; this.labelTitleDetail.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleDetail.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleDetail.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleDetail.LineSpacing = 1F; this.labelTitleDetail.Location = new System.Drawing.Point(732, 108); this.labelTitleDetail.Name = "labelTitleDetail"; @@ -120,7 +120,7 @@ this.labelTitleEvent.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleEvent.BorderColor = System.Drawing.Color.Black; this.labelTitleEvent.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleEvent.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleEvent.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleEvent.LineSpacing = 1F; this.labelTitleEvent.Location = new System.Drawing.Point(448, 108); this.labelTitleEvent.Name = "labelTitleEvent"; @@ -143,7 +143,7 @@ this.labelTitleID.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleID.BorderColor = System.Drawing.Color.Black; this.labelTitleID.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleID.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleID.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleID.LineSpacing = 1F; this.labelTitleID.Location = new System.Drawing.Point(350, 108); this.labelTitleID.Name = "labelTitleID"; @@ -329,7 +329,7 @@ this.listBoxDetail.Text = "smartListBox1"; this.listBoxDetail.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxDetail.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxDetail.Click += new System.EventHandler(this.listBoxDetail_Click); + this.listBoxDetail.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxEvent // @@ -443,7 +443,7 @@ this.listBoxEvent.Text = "smartListBox1"; this.listBoxEvent.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxEvent.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxEvent.Click += new System.EventHandler(this.listBoxEvent_Click); + this.listBoxEvent.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxLoginID // @@ -557,7 +557,7 @@ this.listBoxLoginID.Text = "smartListBox1"; this.listBoxLoginID.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxLoginID.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxLoginID.Click += new System.EventHandler(this.listBoxLoginID_Click); + this.listBoxLoginID.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // labelTitleTime // @@ -565,7 +565,7 @@ this.labelTitleTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleTime.BorderColor = System.Drawing.Color.Black; this.labelTitleTime.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleTime.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleTime.LineSpacing = 1F; this.labelTitleTime.Location = new System.Drawing.Point(271, 108); this.labelTitleTime.Name = "labelTitleTime"; @@ -766,7 +766,7 @@ this.listBoxTime.Text = "smartListBox1"; this.listBoxTime.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxTime.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxTime.Click += new System.EventHandler(this.listBoxTime_Click); + this.listBoxTime.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // treeView // @@ -782,7 +782,7 @@ this.labelTitleList.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelTitleList.BorderColor = System.Drawing.Color.Black; this.labelTitleList.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelTitleList.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.labelTitleList.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelTitleList.LineSpacing = 0F; this.labelTitleList.Location = new System.Drawing.Point(22, 45); this.labelTitleList.Name = "labelTitleList"; @@ -805,7 +805,7 @@ this.labelTitleFileName.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelTitleFileName.BorderColor = System.Drawing.Color.Black; this.labelTitleFileName.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelTitleFileName.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.labelTitleFileName.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelTitleFileName.LineSpacing = 0F; this.labelTitleFileName.Location = new System.Drawing.Point(271, 45); this.labelTitleFileName.Name = "labelTitleFileName"; @@ -828,7 +828,7 @@ this.labelFileName.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); this.labelFileName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); this.labelFileName.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelFileName.Font = new System.Drawing.Font("New Gulim", 15F, System.Drawing.FontStyle.Bold); + this.labelFileName.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold); this.labelFileName.LineSpacing = 0F; this.labelFileName.Location = new System.Drawing.Point(271, 69); this.labelFileName.Name = "labelFileName"; @@ -854,7 +854,7 @@ this.buttonBackup.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; this.buttonBackup.ButtonText = "Backup"; this.buttonBackup.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.buttonBackup.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.buttonBackup.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.buttonBackup.GroupID = 0; this.buttonBackup.ImageDisable = null; this.buttonBackup.ImageDown = null; @@ -886,7 +886,7 @@ this.labelCount.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelCount.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); this.labelCount.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelCount.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold); + this.labelCount.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelCount.LineSpacing = 0F; this.labelCount.Location = new System.Drawing.Point(101, 45); this.labelCount.Name = "labelCount"; diff --git a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogAlarm.cs b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogAlarm.cs index dc99700..e331316 100644 --- a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogAlarm.cs +++ b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogAlarm.cs @@ -259,6 +259,18 @@ namespace INT_LKD_PTB6_DW.Controls this.buttonBackup.Enabled = status; } + private void SelectLaneIndexApply(int selectItemIndex) + { + for (int i = 0; i < this.CollectionListBox.Count; i++) + { + this.CollectionListBox[i].SelectedIndexChanged -= new EventHandler(this.listBox_SelectedIndexChanged); + + this.CollectionListBox[i].SelectItemIndex = selectItemIndex; + + this.CollectionListBox[i].SelectedIndexChanged += new EventHandler(this.listBox_SelectedIndexChanged); + } + } + public void DisplayRefresh() { this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.LogAlarm; @@ -339,29 +351,14 @@ namespace INT_LKD_PTB6_DW.Controls this.UpdateListBoxCount(); } - private void listBoxTime_Click(object sender, EventArgs e) + private void listBox_SelectedIndexChanged(object sender, EventArgs e) { - this.listBoxLoginID.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxEvent.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxDetail.SelectItemIndex = this.listBoxTime.SelectItemIndex; - } - private void listBoxLoginID_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxLoginID.SelectItemIndex; - this.listBoxEvent.SelectItemIndex = this.listBoxLoginID.SelectItemIndex; - this.listBoxDetail.SelectItemIndex = this.listBoxLoginID.SelectItemIndex; - } - private void listBoxEvent_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxEvent.SelectItemIndex; - this.listBoxLoginID.SelectItemIndex = this.listBoxEvent.SelectItemIndex; - this.listBoxDetail.SelectItemIndex = this.listBoxEvent.SelectItemIndex; - } - private void listBoxDetail_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxDetail.SelectItemIndex; - this.listBoxLoginID.SelectItemIndex = this.listBoxDetail.SelectItemIndex; - this.listBoxEvent.SelectItemIndex = this.listBoxDetail.SelectItemIndex; + SmartX.SmartListBox lsb = (SmartX.SmartListBox)(sender); + + if (lsb.SelectItemIndex == -1) + return; + + this.SelectLaneIndexApply(lsb.SelectItemIndex); } private void smartTimer_Tick(object sender, EventArgs e) diff --git a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogHistory.Designer.cs b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogHistory.Designer.cs index cac3608..a8e943f 100644 --- a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogHistory.Designer.cs +++ b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogHistory.Designer.cs @@ -93,7 +93,7 @@ this.smartGroupBox1.Controls.Add(this.buttonBackup); this.smartGroupBox1.Controls.Add(this.listBoxTime); this.smartGroupBox1.Controls.Add(this.treeView); - this.smartGroupBox1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartGroupBox1.FrameLineThickness = 2; @@ -113,7 +113,7 @@ this.labelTitleType.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleType.BorderColor = System.Drawing.Color.Black; this.labelTitleType.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleType.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleType.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleType.LineSpacing = 1F; this.labelTitleType.Location = new System.Drawing.Point(763, 108); this.labelTitleType.Name = "labelTitleType"; @@ -136,7 +136,7 @@ this.labelTitleAfter.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleAfter.BorderColor = System.Drawing.Color.Black; this.labelTitleAfter.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleAfter.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleAfter.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleAfter.LineSpacing = 1F; this.labelTitleAfter.Location = new System.Drawing.Point(709, 108); this.labelTitleAfter.Name = "labelTitleAfter"; @@ -159,7 +159,7 @@ this.labelTitleBefore.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleBefore.BorderColor = System.Drawing.Color.Black; this.labelTitleBefore.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleBefore.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleBefore.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleBefore.LineSpacing = 1F; this.labelTitleBefore.Location = new System.Drawing.Point(655, 108); this.labelTitleBefore.Name = "labelTitleBefore"; @@ -182,7 +182,7 @@ this.labelTitleDetail.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleDetail.BorderColor = System.Drawing.Color.Black; this.labelTitleDetail.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleDetail.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleDetail.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleDetail.LineSpacing = 1F; this.labelTitleDetail.Location = new System.Drawing.Point(536, 108); this.labelTitleDetail.Name = "labelTitleDetail"; @@ -205,7 +205,7 @@ this.labelTitleEvent.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleEvent.BorderColor = System.Drawing.Color.Black; this.labelTitleEvent.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleEvent.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleEvent.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleEvent.LineSpacing = 1F; this.labelTitleEvent.Location = new System.Drawing.Point(427, 108); this.labelTitleEvent.Name = "labelTitleEvent"; @@ -228,7 +228,7 @@ this.labelTitleID.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleID.BorderColor = System.Drawing.Color.Black; this.labelTitleID.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleID.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleID.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleID.LineSpacing = 1F; this.labelTitleID.Location = new System.Drawing.Point(338, 108); this.labelTitleID.Name = "labelTitleID"; @@ -308,7 +308,7 @@ this.labelFileName.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); this.labelFileName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); this.labelFileName.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelFileName.Font = new System.Drawing.Font("New Gulim", 15F, System.Drawing.FontStyle.Bold); + this.labelFileName.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold); this.labelFileName.LineSpacing = 0F; this.labelFileName.Location = new System.Drawing.Point(271, 69); this.labelFileName.Name = "labelFileName"; @@ -330,7 +330,7 @@ this.labelTitleFileName.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelTitleFileName.BorderColor = System.Drawing.Color.Black; this.labelTitleFileName.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelTitleFileName.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.labelTitleFileName.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelTitleFileName.LineSpacing = 0F; this.labelTitleFileName.Location = new System.Drawing.Point(271, 45); this.labelTitleFileName.Name = "labelTitleFileName"; @@ -353,7 +353,7 @@ this.labelTitleList.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelTitleList.BorderColor = System.Drawing.Color.Black; this.labelTitleList.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelTitleList.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.labelTitleList.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelTitleList.LineSpacing = 0F; this.labelTitleList.Location = new System.Drawing.Point(22, 45); this.labelTitleList.Name = "labelTitleList"; @@ -376,7 +376,7 @@ this.labelCount.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelCount.BorderColor = System.Drawing.Color.Black; this.labelCount.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelCount.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold); + this.labelCount.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelCount.LineSpacing = 0F; this.labelCount.Location = new System.Drawing.Point(101, 45); this.labelCount.Name = "labelCount"; @@ -505,7 +505,7 @@ this.listBoxAfter.Text = "smartListBox1"; this.listBoxAfter.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxAfter.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxAfter.Click += new System.EventHandler(this.listBoxAfter_Click); + this.listBoxAfter.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxBefore // @@ -619,7 +619,7 @@ this.listBoxBefore.Text = "smartListBox1"; this.listBoxBefore.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxBefore.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxBefore.Click += new System.EventHandler(this.listBoxBefore_Click); + this.listBoxBefore.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxType // @@ -733,7 +733,7 @@ this.listBoxType.Text = "smartListBox1"; this.listBoxType.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxType.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxType.Click += new System.EventHandler(this.listBoxType_Click); + this.listBoxType.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxDetail // @@ -847,7 +847,7 @@ this.listBoxDetail.Text = "smartListBox1"; this.listBoxDetail.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxDetail.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxDetail.Click += new System.EventHandler(this.listBoxDetail_Click); + this.listBoxDetail.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxEvent // @@ -961,7 +961,7 @@ this.listBoxEvent.Text = "smartListBox1"; this.listBoxEvent.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxEvent.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxEvent.Click += new System.EventHandler(this.listBoxEvent_Click); + this.listBoxEvent.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxLoginID // @@ -1075,7 +1075,7 @@ this.listBoxLoginID.Text = "smartListBox1"; this.listBoxLoginID.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxLoginID.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxLoginID.Click += new System.EventHandler(this.listBoxLoginID_Click); + this.listBoxLoginID.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // labelTitleTime // @@ -1083,7 +1083,7 @@ this.labelTitleTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleTime.BorderColor = System.Drawing.Color.Black; this.labelTitleTime.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleTime.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelTitleTime.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelTitleTime.LineSpacing = 1F; this.labelTitleTime.Location = new System.Drawing.Point(271, 108); this.labelTitleTime.Name = "labelTitleTime"; @@ -1182,7 +1182,7 @@ this.buttonBackup.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; this.buttonBackup.ButtonText = "Backup"; this.buttonBackup.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.buttonBackup.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.buttonBackup.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.buttonBackup.GroupID = 0; this.buttonBackup.ImageDisable = null; this.buttonBackup.ImageDown = null; @@ -1320,7 +1320,7 @@ this.listBoxTime.Text = "smartListBox1"; this.listBoxTime.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxTime.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxTime.Click += new System.EventHandler(this.listBoxTime_Click); + this.listBoxTime.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // treeView // diff --git a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogHistory.cs b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogHistory.cs index a523142..f691d82 100644 --- a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogHistory.cs +++ b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogHistory.cs @@ -269,6 +269,18 @@ namespace INT_LKD_PTB6_DW.Controls this.buttonBackup.Enabled = status; } + private void SelectLaneIndexApply(int selectItemIndex) + { + for (int i = 0; i < this.CollectionListBox.Count; i++) + { + this.CollectionListBox[i].SelectedIndexChanged -= new EventHandler(this.listBox_SelectedIndexChanged); + + this.CollectionListBox[i].SelectItemIndex = selectItemIndex; + + this.CollectionListBox[i].SelectedIndexChanged += new EventHandler(this.listBox_SelectedIndexChanged); + } + } + public void DisplayRefresh() { this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.LogHistory; @@ -349,68 +361,14 @@ namespace INT_LKD_PTB6_DW.Controls this.UpdateListBoxCount(); } - private void listBoxTime_Click(object sender, EventArgs e) + private void listBox_SelectedIndexChanged(object sender, EventArgs e) { - this.listBoxLoginID.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxEvent.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxDetail.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxBefore.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxAfter.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxType.SelectItemIndex = this.listBoxTime.SelectItemIndex; - } - private void listBoxLoginID_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxLoginID.SelectItemIndex; - this.listBoxEvent.SelectItemIndex = this.listBoxLoginID.SelectItemIndex; - this.listBoxDetail.SelectItemIndex = this.listBoxLoginID.SelectItemIndex; - this.listBoxBefore.SelectItemIndex = this.listBoxLoginID.SelectItemIndex; - this.listBoxAfter.SelectItemIndex = this.listBoxLoginID.SelectItemIndex; - this.listBoxType.SelectItemIndex = this.listBoxLoginID.SelectItemIndex; - } - private void listBoxEvent_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxEvent.SelectItemIndex; - this.listBoxLoginID.SelectItemIndex = this.listBoxEvent.SelectItemIndex; - this.listBoxDetail.SelectItemIndex = this.listBoxEvent.SelectItemIndex; - this.listBoxBefore.SelectItemIndex = this.listBoxEvent.SelectItemIndex; - this.listBoxAfter.SelectItemIndex = this.listBoxEvent.SelectItemIndex; - this.listBoxType.SelectItemIndex = this.listBoxEvent.SelectItemIndex; - } - private void listBoxDetail_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxDetail.SelectItemIndex; - this.listBoxLoginID.SelectItemIndex = this.listBoxDetail.SelectItemIndex; - this.listBoxEvent.SelectItemIndex = this.listBoxDetail.SelectItemIndex; - this.listBoxBefore.SelectItemIndex = this.listBoxDetail.SelectItemIndex; - this.listBoxAfter.SelectItemIndex = this.listBoxDetail.SelectItemIndex; - this.listBoxType.SelectItemIndex = this.listBoxDetail.SelectItemIndex; - } - private void listBoxBefore_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxBefore.SelectItemIndex; - this.listBoxLoginID.SelectItemIndex = this.listBoxBefore.SelectItemIndex; - this.listBoxEvent.SelectItemIndex = this.listBoxBefore.SelectItemIndex; - this.listBoxDetail.SelectItemIndex = this.listBoxBefore.SelectItemIndex; - this.listBoxAfter.SelectItemIndex = this.listBoxBefore.SelectItemIndex; - this.listBoxType.SelectItemIndex = this.listBoxBefore.SelectItemIndex; - } - private void listBoxAfter_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxAfter.SelectItemIndex; - this.listBoxLoginID.SelectItemIndex = this.listBoxAfter.SelectItemIndex; - this.listBoxEvent.SelectItemIndex = this.listBoxAfter.SelectItemIndex; - this.listBoxDetail.SelectItemIndex = this.listBoxAfter.SelectItemIndex; - this.listBoxBefore.SelectItemIndex = this.listBoxAfter.SelectItemIndex; - this.listBoxType.SelectItemIndex = this.listBoxAfter.SelectItemIndex; - } - private void listBoxType_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxType.SelectItemIndex; - this.listBoxLoginID.SelectItemIndex = this.listBoxType.SelectItemIndex; - this.listBoxEvent.SelectItemIndex = this.listBoxType.SelectItemIndex; - this.listBoxDetail.SelectItemIndex = this.listBoxType.SelectItemIndex; - this.listBoxBefore.SelectItemIndex = this.listBoxType.SelectItemIndex; - this.listBoxAfter.SelectItemIndex = this.listBoxType.SelectItemIndex; + SmartX.SmartListBox lsb = (SmartX.SmartListBox)(sender); + + if (lsb.SelectItemIndex == -1) + return; + + this.SelectLaneIndexApply(lsb.SelectItemIndex); } private void smartTimer_Tick(object sender, EventArgs e) diff --git a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogInspection.Designer.cs b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogInspection.Designer.cs index 0daf3a7..79e8e9e 100644 --- a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogInspection.Designer.cs +++ b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogInspection.Designer.cs @@ -117,7 +117,7 @@ this.smartGroupBox1.Controls.Add(this.listBox1); this.smartGroupBox1.Controls.Add(this.buttonBackup); this.smartGroupBox1.Controls.Add(this.listBoxTime); - this.smartGroupBox1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.smartGroupBox1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartGroupBox1.FrameLineThickness = 2; @@ -137,7 +137,7 @@ this.labelPassCount6.BackGroundColor = System.Drawing.Color.White; this.labelPassCount6.BorderColor = System.Drawing.Color.Black; this.labelPassCount6.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount6.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount6.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount6.LineSpacing = 0F; this.labelPassCount6.Location = new System.Drawing.Point(760, 599); this.labelPassCount6.Name = "labelPassCount6"; @@ -160,7 +160,7 @@ this.labelLeakCount6.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount6.BorderColor = System.Drawing.Color.Black; this.labelLeakCount6.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount6.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount6.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount6.LineSpacing = 0F; this.labelLeakCount6.Location = new System.Drawing.Point(760, 618); this.labelLeakCount6.Name = "labelLeakCount6"; @@ -183,7 +183,7 @@ this.labelPassCount5.BackGroundColor = System.Drawing.Color.White; this.labelPassCount5.BorderColor = System.Drawing.Color.Black; this.labelPassCount5.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount5.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount5.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount5.LineSpacing = 0F; this.labelPassCount5.Location = new System.Drawing.Point(678, 599); this.labelPassCount5.Name = "labelPassCount5"; @@ -206,7 +206,7 @@ this.labelLeakCount5.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount5.BorderColor = System.Drawing.Color.Black; this.labelLeakCount5.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount5.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount5.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount5.LineSpacing = 0F; this.labelLeakCount5.Location = new System.Drawing.Point(678, 618); this.labelLeakCount5.Name = "labelLeakCount5"; @@ -229,7 +229,7 @@ this.labelPassCount4.BackGroundColor = System.Drawing.Color.White; this.labelPassCount4.BorderColor = System.Drawing.Color.Black; this.labelPassCount4.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount4.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount4.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount4.LineSpacing = 0F; this.labelPassCount4.Location = new System.Drawing.Point(596, 599); this.labelPassCount4.Name = "labelPassCount4"; @@ -252,7 +252,7 @@ this.labelLeakCount4.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount4.BorderColor = System.Drawing.Color.Black; this.labelLeakCount4.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount4.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount4.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount4.LineSpacing = 0F; this.labelLeakCount4.Location = new System.Drawing.Point(596, 618); this.labelLeakCount4.Name = "labelLeakCount4"; @@ -275,7 +275,7 @@ this.labelPassCount3.BackGroundColor = System.Drawing.Color.White; this.labelPassCount3.BorderColor = System.Drawing.Color.Black; this.labelPassCount3.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount3.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount3.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount3.LineSpacing = 0F; this.labelPassCount3.Location = new System.Drawing.Point(514, 599); this.labelPassCount3.Name = "labelPassCount3"; @@ -298,7 +298,7 @@ this.labelLeakCount3.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount3.BorderColor = System.Drawing.Color.Black; this.labelLeakCount3.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount3.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount3.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount3.LineSpacing = 0F; this.labelLeakCount3.Location = new System.Drawing.Point(514, 618); this.labelLeakCount3.Name = "labelLeakCount3"; @@ -321,7 +321,7 @@ this.labelPassCount2.BackGroundColor = System.Drawing.Color.White; this.labelPassCount2.BorderColor = System.Drawing.Color.Black; this.labelPassCount2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount2.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount2.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount2.LineSpacing = 0F; this.labelPassCount2.Location = new System.Drawing.Point(432, 599); this.labelPassCount2.Name = "labelPassCount2"; @@ -344,7 +344,7 @@ this.labelLeakCount2.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount2.BorderColor = System.Drawing.Color.Black; this.labelLeakCount2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount2.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount2.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount2.LineSpacing = 0F; this.labelLeakCount2.Location = new System.Drawing.Point(432, 618); this.labelLeakCount2.Name = "labelLeakCount2"; @@ -474,7 +474,7 @@ this.listBox5.Text = "smartListBox3"; this.listBox5.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBox5.TextColorDisable = System.Drawing.Color.Gray; - this.listBox5.Click += new System.EventHandler(this.listBox5_Click); + this.listBox5.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBox2 // @@ -589,7 +589,7 @@ this.listBox2.Text = "smartListBox2"; this.listBox2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBox2.TextColorDisable = System.Drawing.Color.Gray; - this.listBox2.Click += new System.EventHandler(this.listBox2_Click); + this.listBox2.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // smartLabel1 // @@ -597,7 +597,7 @@ this.smartLabel1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.smartLabel1.BorderColor = System.Drawing.Color.Black; this.smartLabel1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.smartLabel1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartLabel1.LineSpacing = 1F; this.smartLabel1.Location = new System.Drawing.Point(678, 108); this.smartLabel1.Name = "smartLabel1"; @@ -620,7 +620,7 @@ this.smartLabel8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.smartLabel8.BorderColor = System.Drawing.Color.Black; this.smartLabel8.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel8.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.smartLabel8.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartLabel8.LineSpacing = 1F; this.smartLabel8.Location = new System.Drawing.Point(432, 108); this.smartLabel8.Name = "smartLabel8"; @@ -700,7 +700,7 @@ this.labelTitleFileName.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelTitleFileName.BorderColor = System.Drawing.Color.Black; this.labelTitleFileName.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelTitleFileName.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.labelTitleFileName.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelTitleFileName.LineSpacing = 0F; this.labelTitleFileName.Location = new System.Drawing.Point(271, 45); this.labelTitleFileName.Name = "labelTitleFileName"; @@ -723,7 +723,7 @@ this.labelTitleList.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelTitleList.BorderColor = System.Drawing.Color.Black; this.labelTitleList.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelTitleList.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.labelTitleList.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelTitleList.LineSpacing = 0F; this.labelTitleList.Location = new System.Drawing.Point(22, 45); this.labelTitleList.Name = "labelTitleList"; @@ -746,7 +746,7 @@ this.labelCount.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelCount.BorderColor = System.Drawing.Color.Black; this.labelCount.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelCount.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Bold); + this.labelCount.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Bold); this.labelCount.LineSpacing = 0F; this.labelCount.Location = new System.Drawing.Point(101, 45); this.labelCount.Name = "labelCount"; @@ -769,7 +769,7 @@ this.labelTitlePass.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitlePass.BorderColor = System.Drawing.Color.Black; this.labelTitlePass.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitlePass.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.labelTitlePass.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelTitlePass.LineSpacing = 0F; this.labelTitlePass.Location = new System.Drawing.Point(271, 599); this.labelTitlePass.Name = "labelTitlePass"; @@ -792,7 +792,7 @@ this.labelTitleLeak.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleLeak.BorderColor = System.Drawing.Color.Black; this.labelTitleLeak.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleLeak.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.labelTitleLeak.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelTitleLeak.LineSpacing = 0F; this.labelTitleLeak.Location = new System.Drawing.Point(271, 618); this.labelTitleLeak.Name = "labelTitleLeak"; @@ -815,7 +815,7 @@ this.labelPassCount1.BackGroundColor = System.Drawing.Color.White; this.labelPassCount1.BorderColor = System.Drawing.Color.Black; this.labelPassCount1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelPassCount1.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelPassCount1.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelPassCount1.LineSpacing = 0F; this.labelPassCount1.Location = new System.Drawing.Point(350, 599); this.labelPassCount1.Name = "labelPassCount1"; @@ -838,7 +838,7 @@ this.labelLeakCount1.BackGroundColor = System.Drawing.Color.White; this.labelLeakCount1.BorderColor = System.Drawing.Color.Black; this.labelLeakCount1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelLeakCount1.Font = new System.Drawing.Font("New Gulim", 11F, System.Drawing.FontStyle.Regular); + this.labelLeakCount1.Font = new System.Drawing.Font("새굴림", 11F, System.Drawing.FontStyle.Regular); this.labelLeakCount1.LineSpacing = 0F; this.labelLeakCount1.Location = new System.Drawing.Point(350, 618); this.labelLeakCount1.Name = "labelLeakCount1"; @@ -861,7 +861,7 @@ this.labelFileName.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(64)))), ((int)(((byte)(66))))); this.labelFileName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226))))); this.labelFileName.BorderStyle = SmartX.SmartLabel.BorderStyles.RoundRect; - this.labelFileName.Font = new System.Drawing.Font("New Gulim", 15F, System.Drawing.FontStyle.Bold); + this.labelFileName.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold); this.labelFileName.LineSpacing = 0F; this.labelFileName.Location = new System.Drawing.Point(271, 69); this.labelFileName.Name = "labelFileName"; @@ -963,7 +963,7 @@ this.smartLabel5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.smartLabel5.BorderColor = System.Drawing.Color.Black; this.smartLabel5.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel5.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.smartLabel5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartLabel5.LineSpacing = 1F; this.smartLabel5.Location = new System.Drawing.Point(760, 108); this.smartLabel5.Name = "smartLabel5"; @@ -986,7 +986,7 @@ this.smartLabel4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.smartLabel4.BorderColor = System.Drawing.Color.Black; this.smartLabel4.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.smartLabel4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartLabel4.LineSpacing = 1F; this.smartLabel4.Location = new System.Drawing.Point(596, 108); this.smartLabel4.Name = "smartLabel4"; @@ -1009,7 +1009,7 @@ this.smartLabel3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.smartLabel3.BorderColor = System.Drawing.Color.Black; this.smartLabel3.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel3.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.smartLabel3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartLabel3.LineSpacing = 1F; this.smartLabel3.Location = new System.Drawing.Point(514, 108); this.smartLabel3.Name = "smartLabel3"; @@ -1032,7 +1032,7 @@ this.smartLabel2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.smartLabel2.BorderColor = System.Drawing.Color.Black; this.smartLabel2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.smartLabel2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.smartLabel2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.smartLabel2.LineSpacing = 1F; this.smartLabel2.Location = new System.Drawing.Point(350, 108); this.smartLabel2.Name = "smartLabel2"; @@ -1055,7 +1055,7 @@ this.labelTitleTime.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118))))); this.labelTitleTime.BorderColor = System.Drawing.Color.Black; this.labelTitleTime.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle; - this.labelTitleTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.labelTitleTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.labelTitleTime.LineSpacing = 1F; this.labelTitleTime.Location = new System.Drawing.Point(271, 108); this.labelTitleTime.Name = "labelTitleTime"; @@ -1185,7 +1185,7 @@ this.listBox6.Text = "smartListBox7"; this.listBox6.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBox6.TextColorDisable = System.Drawing.Color.Gray; - this.listBox6.Click += new System.EventHandler(this.listBox6_Click); + this.listBox6.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBox4 // @@ -1300,7 +1300,7 @@ this.listBox4.Text = "smartListBox4"; this.listBox4.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBox4.TextColorDisable = System.Drawing.Color.Gray; - this.listBox4.Click += new System.EventHandler(this.listBox4_Click); + this.listBox4.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBox3 // @@ -1415,7 +1415,7 @@ this.listBox3.Text = "smartListBox3"; this.listBox3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBox3.TextColorDisable = System.Drawing.Color.Gray; - this.listBox3.Click += new System.EventHandler(this.listBox3_Click); + this.listBox3.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBox1 // @@ -1530,7 +1530,7 @@ this.listBox1.Text = "smartListBox2"; this.listBox1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBox1.TextColorDisable = System.Drawing.Color.Gray; - this.listBox1.Click += new System.EventHandler(this.listBox1_Click); + this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // buttonBackup // @@ -1542,7 +1542,7 @@ this.buttonBackup.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; this.buttonBackup.ButtonText = "Backup"; this.buttonBackup.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.buttonBackup.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular); + this.buttonBackup.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Regular); this.buttonBackup.GroupID = 0; this.buttonBackup.ImageDisable = null; this.buttonBackup.ImageDown = null; @@ -1681,7 +1681,7 @@ this.listBoxTime.Text = "smartListBox1"; this.listBoxTime.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.listBoxTime.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxTime.Click += new System.EventHandler(this.listBoxTime_Click); + this.listBoxTime.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // smartFile1 // diff --git a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogInspection.cs b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogInspection.cs index ba442d5..0554eba 100644 --- a/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogInspection.cs +++ b/INT_LKD_PTB6_DW/Controls/Log/ControlMenuLogInspection.cs @@ -331,6 +331,18 @@ namespace INT_LKD_PTB6_DW.Controls this.buttonBackup.Enabled = status; } + private void SelectLaneIndexApply(int selectItemIndex) + { + for (int i = 0; i < this.CollectionListBox.Count; i++) + { + this.CollectionListBox[i].SelectedIndexChanged -= new EventHandler(this.listBox_SelectedIndexChanged); + + this.CollectionListBox[i].SelectItemIndex = selectItemIndex; + + this.CollectionListBox[i].SelectedIndexChanged += new EventHandler(this.listBox_SelectedIndexChanged); + } + } + public void DisplayRefresh() { this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.LogInspection; @@ -423,6 +435,16 @@ namespace INT_LKD_PTB6_DW.Controls this.UpdateListBoxCount(); } + private void listBox_SelectedIndexChanged(object sender, EventArgs e) + { + SmartX.SmartListBox lsb = (SmartX.SmartListBox)(sender); + + if (lsb.SelectItemIndex == -1) + return; + + this.SelectLaneIndexApply(lsb.SelectItemIndex); + } + private void listBoxTime_Click(object sender, EventArgs e) { this.listBox1.SelectItemIndex = this.listBoxTime.SelectItemIndex; diff --git a/INT_LKD_PTB6_DW/Controls/MainDisplay/ControlMainDisplay_3.Designer.cs b/INT_LKD_PTB6_DW/Controls/MainDisplay/ControlMainDisplay_3.Designer.cs index b83cc36..4842131 100644 --- a/INT_LKD_PTB6_DW/Controls/MainDisplay/ControlMainDisplay_3.Designer.cs +++ b/INT_LKD_PTB6_DW/Controls/MainDisplay/ControlMainDisplay_3.Designer.cs @@ -71,10 +71,10 @@ this.listBoxTime.BackGround = null; this.listBoxTime.BackGroundColor = System.Drawing.Color.Black; this.listBoxTime.BorderColor = System.Drawing.Color.Black; - this.listBoxTime.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.FixedSingle; + this.listBoxTime.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.None; this.listBoxTime.ColumnStyles = null; this.listBoxTime.DataSource = null; - this.listBoxTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.listBoxTime.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.listBoxTime.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD; this.listBoxTime.ItemOffsetGap = 13; this.listBoxTime.ItemOffsetX = 1; @@ -170,7 +170,7 @@ this.listBoxTime.SelectItemIndex = -1; this.listBoxTime.SelectTextColor = System.Drawing.Color.White; this.listBoxTime.SeparationlineColor1 = System.Drawing.Color.Black; - this.listBoxTime.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224))))); + this.listBoxTime.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(156)))), ((int)(((byte)(184))))); this.listBoxTime.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle; this.listBoxTime.SeparationlineVisibleBottom = true; this.listBoxTime.SeparationlineVisibleTop = true; @@ -179,7 +179,7 @@ this.listBoxTime.Text = "smartListBox1"; this.listBoxTime.TextColor = System.Drawing.Color.White; this.listBoxTime.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxTime.Click += new System.EventHandler(this.listBoxTime_Click); + this.listBoxTime.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // smartLabel1 // @@ -187,7 +187,7 @@ this.smartLabel1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartLabel1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartLabel1.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel1.LineSpacing = 0F; this.smartLabel1.Location = new System.Drawing.Point(12, 43); this.smartLabel1.Name = "smartLabel1"; @@ -210,7 +210,7 @@ this.smartLabel2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartLabel2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartLabel2.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel2.LineSpacing = 0F; this.smartLabel2.Location = new System.Drawing.Point(148, 43); this.smartLabel2.Name = "smartLabel2"; @@ -233,7 +233,7 @@ this.smartLabel3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); 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("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel3.LineSpacing = 0F; this.smartLabel3.Location = new System.Drawing.Point(268, 43); this.smartLabel3.Name = "smartLabel3"; @@ -256,7 +256,7 @@ this.smartLabel4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); 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("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel4.LineSpacing = 0F; this.smartLabel4.Location = new System.Drawing.Point(388, 43); this.smartLabel4.Name = "smartLabel4"; @@ -279,7 +279,7 @@ this.smartLabel5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartLabel5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartLabel5.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel5.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel5.LineSpacing = 0F; this.smartLabel5.Location = new System.Drawing.Point(508, 43); this.smartLabel5.Name = "smartLabel5"; @@ -302,7 +302,7 @@ this.smartLabel6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartLabel6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartLabel6.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel6.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel6.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel6.LineSpacing = 0F; this.smartLabel6.Location = new System.Drawing.Point(628, 43); this.smartLabel6.Name = "smartLabel6"; @@ -325,7 +325,7 @@ this.smartLabel7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartLabel7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartLabel7.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel7.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel7.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel7.LineSpacing = 0F; this.smartLabel7.Location = new System.Drawing.Point(748, 43); this.smartLabel7.Name = "smartLabel7"; @@ -400,7 +400,7 @@ this.smartLabel12.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartLabel12.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartLabel12.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel12.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel12.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel12.LineSpacing = 0F; this.smartLabel12.Location = new System.Drawing.Point(818, 388); this.smartLabel12.Name = "smartLabel12"; @@ -423,7 +423,7 @@ this.smartLabel11.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartLabel11.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartLabel11.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel11.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel11.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel11.LineSpacing = 0F; this.smartLabel11.Location = new System.Drawing.Point(458, 388); this.smartLabel11.Name = "smartLabel11"; @@ -446,7 +446,7 @@ this.labelLeakTotalCNT.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelLeakTotalCNT.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelLeakTotalCNT.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelLeakTotalCNT.Font = new System.Drawing.Font("New Gulim", 14F, System.Drawing.FontStyle.Bold); + this.labelLeakTotalCNT.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold); this.labelLeakTotalCNT.LineSpacing = 0F; this.labelLeakTotalCNT.Location = new System.Drawing.Point(508, 388); this.labelLeakTotalCNT.Name = "labelLeakTotalCNT"; @@ -469,7 +469,7 @@ this.labelPassTotalCNT.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelPassTotalCNT.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelPassTotalCNT.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelPassTotalCNT.Font = new System.Drawing.Font("New Gulim", 14F, System.Drawing.FontStyle.Bold); + this.labelPassTotalCNT.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold); this.labelPassTotalCNT.LineSpacing = 0F; this.labelPassTotalCNT.Location = new System.Drawing.Point(148, 388); this.labelPassTotalCNT.Name = "labelPassTotalCNT"; @@ -492,7 +492,7 @@ this.smartLabel10.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartLabel10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartLabel10.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel10.Font = new System.Drawing.Font("New Gulim", 14F, System.Drawing.FontStyle.Bold); + this.smartLabel10.Font = new System.Drawing.Font("새굴림", 14F, System.Drawing.FontStyle.Bold); this.smartLabel10.LineSpacing = 0F; this.smartLabel10.Location = new System.Drawing.Point(12, 388); this.smartLabel10.Name = "smartLabel10"; @@ -550,7 +550,7 @@ this.labelLeakCNT6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelLeakCNT6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelLeakCNT6.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelLeakCNT6.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelLeakCNT6.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelLeakCNT6.LineSpacing = 0F; this.labelLeakCNT6.Location = new System.Drawing.Point(748, 357); this.labelLeakCNT6.Name = "labelLeakCNT6"; @@ -573,7 +573,7 @@ this.labelPassCNT6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelPassCNT6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelPassCNT6.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelPassCNT6.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelPassCNT6.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelPassCNT6.LineSpacing = 0F; this.labelPassCNT6.Location = new System.Drawing.Point(748, 331); this.labelPassCNT6.Name = "labelPassCNT6"; @@ -596,7 +596,7 @@ this.labelLeakCNT5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelLeakCNT5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelLeakCNT5.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelLeakCNT5.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelLeakCNT5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelLeakCNT5.LineSpacing = 0F; this.labelLeakCNT5.Location = new System.Drawing.Point(628, 357); this.labelLeakCNT5.Name = "labelLeakCNT5"; @@ -619,7 +619,7 @@ this.labelPassCNT5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelPassCNT5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelPassCNT5.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelPassCNT5.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelPassCNT5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelPassCNT5.LineSpacing = 0F; this.labelPassCNT5.Location = new System.Drawing.Point(628, 331); this.labelPassCNT5.Name = "labelPassCNT5"; @@ -642,7 +642,7 @@ this.labelLeakCNT4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelLeakCNT4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelLeakCNT4.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelLeakCNT4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelLeakCNT4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelLeakCNT4.LineSpacing = 0F; this.labelLeakCNT4.Location = new System.Drawing.Point(508, 357); this.labelLeakCNT4.Name = "labelLeakCNT4"; @@ -665,7 +665,7 @@ this.labelPassCNT4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelPassCNT4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelPassCNT4.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelPassCNT4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelPassCNT4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelPassCNT4.LineSpacing = 0F; this.labelPassCNT4.Location = new System.Drawing.Point(508, 331); this.labelPassCNT4.Name = "labelPassCNT4"; @@ -688,7 +688,7 @@ this.labelLeakCNT3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelLeakCNT3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelLeakCNT3.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelLeakCNT3.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelLeakCNT3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelLeakCNT3.LineSpacing = 0F; this.labelLeakCNT3.Location = new System.Drawing.Point(388, 357); this.labelLeakCNT3.Name = "labelLeakCNT3"; @@ -711,7 +711,7 @@ this.labelPassCNT3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelPassCNT3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelPassCNT3.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelPassCNT3.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelPassCNT3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelPassCNT3.LineSpacing = 0F; this.labelPassCNT3.Location = new System.Drawing.Point(388, 331); this.labelPassCNT3.Name = "labelPassCNT3"; @@ -734,7 +734,7 @@ this.labelLeakCNT2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelLeakCNT2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelLeakCNT2.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelLeakCNT2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelLeakCNT2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelLeakCNT2.LineSpacing = 0F; this.labelLeakCNT2.Location = new System.Drawing.Point(268, 357); this.labelLeakCNT2.Name = "labelLeakCNT2"; @@ -757,7 +757,7 @@ this.labelPassCNT2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelPassCNT2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelPassCNT2.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelPassCNT2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelPassCNT2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelPassCNT2.LineSpacing = 0F; this.labelPassCNT2.Location = new System.Drawing.Point(268, 331); this.labelPassCNT2.Name = "labelPassCNT2"; @@ -780,7 +780,7 @@ this.labelLeakCNT1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelLeakCNT1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelLeakCNT1.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelLeakCNT1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelLeakCNT1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelLeakCNT1.LineSpacing = 0F; this.labelLeakCNT1.Location = new System.Drawing.Point(148, 357); this.labelLeakCNT1.Name = "labelLeakCNT1"; @@ -803,7 +803,7 @@ this.labelPassCNT1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.labelPassCNT1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.labelPassCNT1.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.labelPassCNT1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.labelPassCNT1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.labelPassCNT1.LineSpacing = 0F; this.labelPassCNT1.Location = new System.Drawing.Point(148, 331); this.labelPassCNT1.Name = "labelPassCNT1"; @@ -826,7 +826,7 @@ this.smartLabel9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartLabel9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartLabel9.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel9.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel9.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel9.LineSpacing = 0F; this.smartLabel9.Location = new System.Drawing.Point(12, 357); this.smartLabel9.Name = "smartLabel9"; @@ -849,7 +849,7 @@ this.smartLabel8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65))))); this.smartLabel8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82))))); this.smartLabel8.BorderStyle = SmartX.SmartLabel.BorderStyles.None; - this.smartLabel8.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel8.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.smartLabel8.LineSpacing = 0F; this.smartLabel8.Location = new System.Drawing.Point(12, 331); this.smartLabel8.Name = "smartLabel8"; @@ -871,10 +871,10 @@ this.listBoxLane6.BackGround = null; this.listBoxLane6.BackGroundColor = System.Drawing.Color.Black; this.listBoxLane6.BorderColor = System.Drawing.Color.Black; - this.listBoxLane6.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.FixedSingle; + this.listBoxLane6.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.None; this.listBoxLane6.ColumnStyles = null; this.listBoxLane6.DataSource = null; - this.listBoxLane6.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.listBoxLane6.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.listBoxLane6.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD; this.listBoxLane6.ItemOffsetGap = 13; this.listBoxLane6.ItemOffsetX = 1; @@ -970,7 +970,7 @@ this.listBoxLane6.SelectItemIndex = -1; this.listBoxLane6.SelectTextColor = System.Drawing.Color.White; this.listBoxLane6.SeparationlineColor1 = System.Drawing.Color.Black; - this.listBoxLane6.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224))))); + this.listBoxLane6.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(156)))), ((int)(((byte)(184))))); this.listBoxLane6.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle; this.listBoxLane6.SeparationlineVisibleBottom = true; this.listBoxLane6.SeparationlineVisibleTop = true; @@ -979,17 +979,17 @@ this.listBoxLane6.Text = "smartListBox1"; this.listBoxLane6.TextColor = System.Drawing.Color.White; this.listBoxLane6.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxLane6.Click += new System.EventHandler(this.listBoxLane6_Click); + this.listBoxLane6.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxLane5 // this.listBoxLane5.BackGround = null; this.listBoxLane5.BackGroundColor = System.Drawing.Color.Black; this.listBoxLane5.BorderColor = System.Drawing.Color.Black; - this.listBoxLane5.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.FixedSingle; + this.listBoxLane5.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.None; this.listBoxLane5.ColumnStyles = null; this.listBoxLane5.DataSource = null; - this.listBoxLane5.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.listBoxLane5.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.listBoxLane5.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD; this.listBoxLane5.ItemOffsetGap = 13; this.listBoxLane5.ItemOffsetX = 1; @@ -1085,7 +1085,7 @@ this.listBoxLane5.SelectItemIndex = -1; this.listBoxLane5.SelectTextColor = System.Drawing.Color.White; this.listBoxLane5.SeparationlineColor1 = System.Drawing.Color.Black; - this.listBoxLane5.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224))))); + this.listBoxLane5.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(156)))), ((int)(((byte)(184))))); this.listBoxLane5.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle; this.listBoxLane5.SeparationlineVisibleBottom = true; this.listBoxLane5.SeparationlineVisibleTop = true; @@ -1094,17 +1094,17 @@ this.listBoxLane5.Text = "smartListBox1"; this.listBoxLane5.TextColor = System.Drawing.Color.White; this.listBoxLane5.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxLane5.Click += new System.EventHandler(this.listBoxLane5_Click); + this.listBoxLane5.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxLane4 // this.listBoxLane4.BackGround = null; this.listBoxLane4.BackGroundColor = System.Drawing.Color.Black; this.listBoxLane4.BorderColor = System.Drawing.Color.Black; - this.listBoxLane4.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.FixedSingle; + this.listBoxLane4.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.None; this.listBoxLane4.ColumnStyles = null; this.listBoxLane4.DataSource = null; - this.listBoxLane4.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.listBoxLane4.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.listBoxLane4.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD; this.listBoxLane4.ItemOffsetGap = 13; this.listBoxLane4.ItemOffsetX = 1; @@ -1200,7 +1200,7 @@ this.listBoxLane4.SelectItemIndex = -1; this.listBoxLane4.SelectTextColor = System.Drawing.Color.White; this.listBoxLane4.SeparationlineColor1 = System.Drawing.Color.Black; - this.listBoxLane4.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224))))); + this.listBoxLane4.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(156)))), ((int)(((byte)(184))))); this.listBoxLane4.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle; this.listBoxLane4.SeparationlineVisibleBottom = true; this.listBoxLane4.SeparationlineVisibleTop = true; @@ -1209,17 +1209,17 @@ this.listBoxLane4.Text = "smartListBox1"; this.listBoxLane4.TextColor = System.Drawing.Color.White; this.listBoxLane4.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxLane4.Click += new System.EventHandler(this.listBoxLane4_Click); + this.listBoxLane4.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxLane3 // this.listBoxLane3.BackGround = null; this.listBoxLane3.BackGroundColor = System.Drawing.Color.Black; this.listBoxLane3.BorderColor = System.Drawing.Color.Black; - this.listBoxLane3.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.FixedSingle; + this.listBoxLane3.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.None; this.listBoxLane3.ColumnStyles = null; this.listBoxLane3.DataSource = null; - this.listBoxLane3.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.listBoxLane3.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.listBoxLane3.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD; this.listBoxLane3.ItemOffsetGap = 13; this.listBoxLane3.ItemOffsetX = 1; @@ -1315,7 +1315,7 @@ this.listBoxLane3.SelectItemIndex = -1; this.listBoxLane3.SelectTextColor = System.Drawing.Color.White; this.listBoxLane3.SeparationlineColor1 = System.Drawing.Color.Black; - this.listBoxLane3.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224))))); + this.listBoxLane3.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(156)))), ((int)(((byte)(184))))); this.listBoxLane3.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle; this.listBoxLane3.SeparationlineVisibleBottom = true; this.listBoxLane3.SeparationlineVisibleTop = true; @@ -1324,17 +1324,17 @@ this.listBoxLane3.Text = "smartListBox1"; this.listBoxLane3.TextColor = System.Drawing.Color.White; this.listBoxLane3.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxLane3.Click += new System.EventHandler(this.listBoxLane3_Click); + this.listBoxLane3.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxLane2 // this.listBoxLane2.BackGround = null; this.listBoxLane2.BackGroundColor = System.Drawing.Color.Black; this.listBoxLane2.BorderColor = System.Drawing.Color.Black; - this.listBoxLane2.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.FixedSingle; + this.listBoxLane2.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.None; this.listBoxLane2.ColumnStyles = null; this.listBoxLane2.DataSource = null; - this.listBoxLane2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.listBoxLane2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.listBoxLane2.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD; this.listBoxLane2.ItemOffsetGap = 13; this.listBoxLane2.ItemOffsetX = 1; @@ -1430,7 +1430,7 @@ this.listBoxLane2.SelectItemIndex = -1; this.listBoxLane2.SelectTextColor = System.Drawing.Color.White; this.listBoxLane2.SeparationlineColor1 = System.Drawing.Color.Black; - this.listBoxLane2.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224))))); + this.listBoxLane2.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(156)))), ((int)(((byte)(184))))); this.listBoxLane2.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle; this.listBoxLane2.SeparationlineVisibleBottom = true; this.listBoxLane2.SeparationlineVisibleTop = true; @@ -1439,17 +1439,17 @@ this.listBoxLane2.Text = "smartListBox1"; this.listBoxLane2.TextColor = System.Drawing.Color.White; this.listBoxLane2.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxLane2.Click += new System.EventHandler(this.listBoxLane2_Click); + this.listBoxLane2.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // listBoxLane1 // this.listBoxLane1.BackGround = null; this.listBoxLane1.BackGroundColor = System.Drawing.Color.Black; this.listBoxLane1.BorderColor = System.Drawing.Color.Black; - this.listBoxLane1.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.FixedSingle; + this.listBoxLane1.BorderStyle = SmartX.SmartListBox.BORDERSTYLES.None; this.listBoxLane1.ColumnStyles = null; this.listBoxLane1.DataSource = null; - this.listBoxLane1.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); + this.listBoxLane1.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold); this.listBoxLane1.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD; this.listBoxLane1.ItemOffsetGap = 13; this.listBoxLane1.ItemOffsetX = 1; @@ -1545,7 +1545,7 @@ this.listBoxLane1.SelectItemIndex = -1; this.listBoxLane1.SelectTextColor = System.Drawing.Color.White; this.listBoxLane1.SeparationlineColor1 = System.Drawing.Color.Black; - this.listBoxLane1.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(210)))), ((int)(((byte)(224))))); + this.listBoxLane1.SeparationlineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(156)))), ((int)(((byte)(184))))); this.listBoxLane1.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.FixedSingle; this.listBoxLane1.SeparationlineVisibleBottom = true; this.listBoxLane1.SeparationlineVisibleTop = true; @@ -1554,7 +1554,7 @@ this.listBoxLane1.Text = "smartListBox1"; this.listBoxLane1.TextColor = System.Drawing.Color.White; this.listBoxLane1.TextColorDisable = System.Drawing.Color.Gray; - this.listBoxLane1.Click += new System.EventHandler(this.listBoxLane1_Click); + this.listBoxLane1.SelectedIndexChanged += new System.EventHandler(this.listBox_SelectedIndexChanged); // // ControlMainDisplay_3 // diff --git a/INT_LKD_PTB6_DW/Controls/MainDisplay/ControlMainDisplay_3.cs b/INT_LKD_PTB6_DW/Controls/MainDisplay/ControlMainDisplay_3.cs index 8cc2ae7..e121eca 100644 --- a/INT_LKD_PTB6_DW/Controls/MainDisplay/ControlMainDisplay_3.cs +++ b/INT_LKD_PTB6_DW/Controls/MainDisplay/ControlMainDisplay_3.cs @@ -19,9 +19,9 @@ namespace INT_LKD_PTB6_DW.Controls.MainDisplay #region Field private FormMainDisplay m_ParentForm; - private Collection m_ColListBox; - private Collection m_ColPassCNT; - private Collection m_ColLeakCNT; + private Collection m_CollectionListBox; + private Collection m_CollectionPassCNT; + private Collection m_CollectionLeakCNT; #endregion #region Constructor @@ -43,50 +43,50 @@ namespace INT_LKD_PTB6_DW.Controls.MainDisplay set { this.m_ParentForm = value; } } - public Collection ColListBox + public Collection CollectionListBox { - get { return this.m_ColListBox; } - set { this.m_ColListBox = value; } + get { return this.m_CollectionListBox; } + set { this.m_CollectionListBox = value; } } - public Collection ColPassCNT + public Collection CollectionPassCNT { - get { return this.m_ColPassCNT; } - set { this.m_ColPassCNT = value; } + get { return this.m_CollectionPassCNT; } + set { this.m_CollectionPassCNT = value; } } - public Collection ColLeakCNT + public Collection CollectionLeakCNT { - get { return this.m_ColLeakCNT; } - set { this.m_ColLeakCNT = value; } + get { return this.m_CollectionLeakCNT; } + set { this.m_CollectionLeakCNT = value; } } #endregion #region Method private void Initialize() { - this.ColListBox = new Collection(); - this.ColListBox.Add(this.listBoxTime); - this.ColListBox.Add(this.listBoxLane1); - this.ColListBox.Add(this.listBoxLane2); - this.ColListBox.Add(this.listBoxLane3); - this.ColListBox.Add(this.listBoxLane4); - this.ColListBox.Add(this.listBoxLane5); - this.ColListBox.Add(this.listBoxLane6); + this.CollectionListBox = new Collection(); + this.CollectionListBox.Add(this.listBoxTime); + this.CollectionListBox.Add(this.listBoxLane1); + this.CollectionListBox.Add(this.listBoxLane2); + this.CollectionListBox.Add(this.listBoxLane3); + this.CollectionListBox.Add(this.listBoxLane4); + this.CollectionListBox.Add(this.listBoxLane5); + this.CollectionListBox.Add(this.listBoxLane6); - this.ColPassCNT = new Collection(); - this.ColPassCNT.Add(this.labelPassCNT1); - this.ColPassCNT.Add(this.labelPassCNT2); - this.ColPassCNT.Add(this.labelPassCNT3); - this.ColPassCNT.Add(this.labelPassCNT4); - this.ColPassCNT.Add(this.labelPassCNT5); - this.ColPassCNT.Add(this.labelPassCNT6); + this.CollectionPassCNT = new Collection(); + this.CollectionPassCNT.Add(this.labelPassCNT1); + this.CollectionPassCNT.Add(this.labelPassCNT2); + this.CollectionPassCNT.Add(this.labelPassCNT3); + this.CollectionPassCNT.Add(this.labelPassCNT4); + this.CollectionPassCNT.Add(this.labelPassCNT5); + this.CollectionPassCNT.Add(this.labelPassCNT6); - this.ColLeakCNT = new Collection(); - this.ColLeakCNT.Add(this.labelLeakCNT1); - this.ColLeakCNT.Add(this.labelLeakCNT2); - this.ColLeakCNT.Add(this.labelLeakCNT3); - this.ColLeakCNT.Add(this.labelLeakCNT4); - this.ColLeakCNT.Add(this.labelLeakCNT5); - this.ColLeakCNT.Add(this.labelLeakCNT6); + this.CollectionLeakCNT = new Collection(); + this.CollectionLeakCNT.Add(this.labelLeakCNT1); + this.CollectionLeakCNT.Add(this.labelLeakCNT2); + this.CollectionLeakCNT.Add(this.labelLeakCNT3); + this.CollectionLeakCNT.Add(this.labelLeakCNT4); + this.CollectionLeakCNT.Add(this.labelLeakCNT5); + this.CollectionLeakCNT.Add(this.labelLeakCNT6); this.Clear(); } @@ -196,16 +196,10 @@ namespace INT_LKD_PTB6_DW.Controls.MainDisplay items[1] = ""; items[2] = "0"; - - if (this.listBoxTime.ItemCount >= 10) + if (this.listBoxTime.ItemCount > 10) { - this.listBoxTime.RemoveItem(0); - this.listBoxLane1.RemoveItem(0); - this.listBoxLane2.RemoveItem(0); - this.listBoxLane3.RemoveItem(0); - this.listBoxLane4.RemoveItem(0); - this.listBoxLane5.RemoveItem(0); - this.listBoxLane6.RemoveItem(0); + for (int i = 0; i < this.CollectionListBox.Count; i++) + this.CollectionListBox[i].RemoveItem(0); } this.listBoxTime.AddItem(items); @@ -224,13 +218,13 @@ namespace INT_LKD_PTB6_DW.Controls.MainDisplay { // Pass Count value = datas[i].CounterData.PassCNT.ToString(); - if (this.ColPassCNT[i].Text != value) - this.ColPassCNT[i].Text = value; + if (this.CollectionPassCNT[i].Text != value) + this.CollectionPassCNT[i].Text = value; // Leak Count value = datas[i].CounterData.LeakCNT.ToString(); - if (this.ColLeakCNT[i].Text != value) - this.ColLeakCNT[i].Text = value; + if (this.CollectionLeakCNT[i].Text != value) + this.CollectionLeakCNT[i].Text = value; totalPass += datas[i].CounterData.PassCNT; totalLeak += datas[i].CounterData.LeakCNT; @@ -245,9 +239,25 @@ namespace INT_LKD_PTB6_DW.Controls.MainDisplay this.labelLeakTotalCNT.Text = value; } + private void SelectLaneTextColor(int selectItemIndex) + { + for (int i = 0; i < this.CollectionListBox.Count; i++) + { + this.CollectionListBox[i].SelectedIndexChanged -= new EventHandler(this.listBox_SelectedIndexChanged); + + this.CollectionListBox[i].SelectItemIndex = selectItemIndex; + if (this.CollectionListBox[i].GetItemColumnText(selectItemIndex, 0) == "Leak") + this.CollectionListBox[i].SelectTextColor = Color.Red; + else + this.CollectionListBox[i].SelectTextColor = Color.Green; + + this.CollectionListBox[i].SelectedIndexChanged += new EventHandler(this.listBox_SelectedIndexChanged); + } + } + public void Clear() { - foreach (SmartListBox list in this.ColListBox) + foreach (SmartListBox list in this.CollectionListBox) list.ClearAll(); for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++) @@ -269,68 +279,14 @@ namespace INT_LKD_PTB6_DW.Controls.MainDisplay this.ParentForm.UpdateDisplayListChange(false); } - private void listBoxTime_Click(object sender, EventArgs e) + private void listBox_SelectedIndexChanged(object sender, EventArgs e) { - this.listBoxLane1.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxLane2.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxLane3.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxLane4.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxLane5.SelectItemIndex = this.listBoxTime.SelectItemIndex; - this.listBoxLane6.SelectItemIndex = this.listBoxTime.SelectItemIndex; - } - private void listBoxLane1_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxLane1.SelectItemIndex; - this.listBoxLane2.SelectItemIndex = this.listBoxLane1.SelectItemIndex; - this.listBoxLane3.SelectItemIndex = this.listBoxLane1.SelectItemIndex; - this.listBoxLane4.SelectItemIndex = this.listBoxLane1.SelectItemIndex; - this.listBoxLane5.SelectItemIndex = this.listBoxLane1.SelectItemIndex; - this.listBoxLane6.SelectItemIndex = this.listBoxLane1.SelectItemIndex; - } - private void listBoxLane2_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxLane2.SelectItemIndex; - this.listBoxLane1.SelectItemIndex = this.listBoxLane2.SelectItemIndex; - this.listBoxLane3.SelectItemIndex = this.listBoxLane2.SelectItemIndex; - this.listBoxLane4.SelectItemIndex = this.listBoxLane2.SelectItemIndex; - this.listBoxLane5.SelectItemIndex = this.listBoxLane2.SelectItemIndex; - this.listBoxLane6.SelectItemIndex = this.listBoxLane2.SelectItemIndex; - } - private void listBoxLane3_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxLane3.SelectItemIndex; - this.listBoxLane1.SelectItemIndex = this.listBoxLane3.SelectItemIndex; - this.listBoxLane2.SelectItemIndex = this.listBoxLane3.SelectItemIndex; - this.listBoxLane4.SelectItemIndex = this.listBoxLane3.SelectItemIndex; - this.listBoxLane5.SelectItemIndex = this.listBoxLane3.SelectItemIndex; - this.listBoxLane6.SelectItemIndex = this.listBoxLane3.SelectItemIndex; - } - private void listBoxLane4_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxLane4.SelectItemIndex; - this.listBoxLane1.SelectItemIndex = this.listBoxLane4.SelectItemIndex; - this.listBoxLane2.SelectItemIndex = this.listBoxLane4.SelectItemIndex; - this.listBoxLane3.SelectItemIndex = this.listBoxLane4.SelectItemIndex; - this.listBoxLane5.SelectItemIndex = this.listBoxLane4.SelectItemIndex; - this.listBoxLane6.SelectItemIndex = this.listBoxLane4.SelectItemIndex; - } - private void listBoxLane5_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxLane5.SelectItemIndex; - this.listBoxLane1.SelectItemIndex = this.listBoxLane5.SelectItemIndex; - this.listBoxLane2.SelectItemIndex = this.listBoxLane5.SelectItemIndex; - this.listBoxLane3.SelectItemIndex = this.listBoxLane5.SelectItemIndex; - this.listBoxLane4.SelectItemIndex = this.listBoxLane5.SelectItemIndex; - this.listBoxLane6.SelectItemIndex = this.listBoxLane5.SelectItemIndex; - } - private void listBoxLane6_Click(object sender, EventArgs e) - { - this.listBoxTime.SelectItemIndex = this.listBoxLane6.SelectItemIndex; - this.listBoxLane1.SelectItemIndex = this.listBoxLane6.SelectItemIndex; - this.listBoxLane2.SelectItemIndex = this.listBoxLane6.SelectItemIndex; - this.listBoxLane3.SelectItemIndex = this.listBoxLane6.SelectItemIndex; - this.listBoxLane4.SelectItemIndex = this.listBoxLane6.SelectItemIndex; - this.listBoxLane5.SelectItemIndex = this.listBoxLane6.SelectItemIndex; + SmartX.SmartListBox lsb = (SmartX.SmartListBox)(sender); + + if (lsb.SelectItemIndex == -1) + return; + + this.SelectLaneTextColor(lsb.SelectItemIndex); } #endregion }