From 58b0c9c50237cc0e079b91f67543a963e5e12090 Mon Sep 17 00:00:00 2001 From: Seonjae Date: Mon, 13 Feb 2023 09:43:01 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EB=89=B4=20=EC=B6=94=EA=B0=80?= =?UTF-8?q?=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Bottom/ControlBottomManual.Designer.cs | 37 + .../Controls/Bottom/ControlBottomManual.cs | 19 + .../Bottom/ControlBottomSetting.Designer.cs | 37 + .../Controls/Bottom/ControlBottomSetting.cs | 19 + .../ControlMenuManualIoTest.Designer.cs | 67 ++ INT_PT002/Controls/ControlMenuManualIoTest.cs | 54 ++ .../Controls/ControlMenuManualIoTest.resx | 123 +++ .../ControlMenuManualMotorSetting.Designer.cs | 67 ++ .../Controls/ControlMenuManualMotorSetting.cs | 54 ++ .../ControlMenuManualMotorSetting.resx | 123 +++ ...ontrolMenuSettingCommunication.Designer.cs | 67 ++ .../ControlMenuSettingCommunication.cs | 54 ++ .../ControlMenuSettingCommunication.resx | 123 +++ ...ontrolMenuSettingConfiguration.Designer.cs | 67 ++ .../ControlMenuSettingConfiguration.cs | 54 ++ .../ControlMenuSettingConfiguration.resx | 123 +++ .../ControlMenuSettingUserEditor.Designer.cs | 67 ++ .../Controls/ControlMenuSettingUserEditor.cs | 54 ++ .../ControlMenuSettingUserEditor.resx | 123 +++ INT_PT002/DataStore/Define.cs | 40 +- INT_PT002/Forms/FormMain.Designer.cs | 12 +- INT_PT002/Forms/FormMain.cs | 15 +- INT_PT002/Forms/FormMain.resx | 10 +- INT_PT002/Forms/FormMainDisplay1.Designer.cs | 195 ++--- INT_PT002/Forms/FormMainDisplay1.cs | 8 +- INT_PT002/Forms/FormMenu.Designer.cs | 729 +++++++++++------- INT_PT002/Forms/FormMenu.cs | 296 ++++++- INT_PT002/INT_PT002.csproj | 62 ++ 28 files changed, 2313 insertions(+), 386 deletions(-) create mode 100644 INT_PT002/Controls/Bottom/ControlBottomManual.Designer.cs create mode 100644 INT_PT002/Controls/Bottom/ControlBottomManual.cs create mode 100644 INT_PT002/Controls/Bottom/ControlBottomSetting.Designer.cs create mode 100644 INT_PT002/Controls/Bottom/ControlBottomSetting.cs create mode 100644 INT_PT002/Controls/ControlMenuManualIoTest.Designer.cs create mode 100644 INT_PT002/Controls/ControlMenuManualIoTest.cs create mode 100644 INT_PT002/Controls/ControlMenuManualIoTest.resx create mode 100644 INT_PT002/Controls/ControlMenuManualMotorSetting.Designer.cs create mode 100644 INT_PT002/Controls/ControlMenuManualMotorSetting.cs create mode 100644 INT_PT002/Controls/ControlMenuManualMotorSetting.resx create mode 100644 INT_PT002/Controls/ControlMenuSettingCommunication.Designer.cs create mode 100644 INT_PT002/Controls/ControlMenuSettingCommunication.cs create mode 100644 INT_PT002/Controls/ControlMenuSettingCommunication.resx create mode 100644 INT_PT002/Controls/ControlMenuSettingConfiguration.Designer.cs create mode 100644 INT_PT002/Controls/ControlMenuSettingConfiguration.cs create mode 100644 INT_PT002/Controls/ControlMenuSettingConfiguration.resx create mode 100644 INT_PT002/Controls/ControlMenuSettingUserEditor.Designer.cs create mode 100644 INT_PT002/Controls/ControlMenuSettingUserEditor.cs create mode 100644 INT_PT002/Controls/ControlMenuSettingUserEditor.resx diff --git a/INT_PT002/Controls/Bottom/ControlBottomManual.Designer.cs b/INT_PT002/Controls/Bottom/ControlBottomManual.Designer.cs new file mode 100644 index 0000000..400c6fb --- /dev/null +++ b/INT_PT002/Controls/Bottom/ControlBottomManual.Designer.cs @@ -0,0 +1,37 @@ +namespace INT_PT002.Controls.Bottom +{ + partial class ControlBottomManual + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + } + + #endregion + } +} diff --git a/INT_PT002/Controls/Bottom/ControlBottomManual.cs b/INT_PT002/Controls/Bottom/ControlBottomManual.cs new file mode 100644 index 0000000..9f51d4b --- /dev/null +++ b/INT_PT002/Controls/Bottom/ControlBottomManual.cs @@ -0,0 +1,19 @@ +using System; +using System.Linq; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Text; +using System.Windows.Forms; + +namespace INT_PT002.Controls.Bottom +{ + public partial class ControlBottomManual : UserControl + { + public ControlBottomManual() + { + InitializeComponent(); + } + } +} diff --git a/INT_PT002/Controls/Bottom/ControlBottomSetting.Designer.cs b/INT_PT002/Controls/Bottom/ControlBottomSetting.Designer.cs new file mode 100644 index 0000000..ea4bd72 --- /dev/null +++ b/INT_PT002/Controls/Bottom/ControlBottomSetting.Designer.cs @@ -0,0 +1,37 @@ +namespace INT_PT002.Controls.Bottom +{ + partial class ControlBottomSetting + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + } + + #endregion + } +} diff --git a/INT_PT002/Controls/Bottom/ControlBottomSetting.cs b/INT_PT002/Controls/Bottom/ControlBottomSetting.cs new file mode 100644 index 0000000..66d0066 --- /dev/null +++ b/INT_PT002/Controls/Bottom/ControlBottomSetting.cs @@ -0,0 +1,19 @@ +using System; +using System.Linq; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Text; +using System.Windows.Forms; + +namespace INT_PT002.Controls.Bottom +{ + public partial class ControlBottomSetting : UserControl + { + public ControlBottomSetting() + { + InitializeComponent(); + } + } +} diff --git a/INT_PT002/Controls/ControlMenuManualIoTest.Designer.cs b/INT_PT002/Controls/ControlMenuManualIoTest.Designer.cs new file mode 100644 index 0000000..2e727a9 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuManualIoTest.Designer.cs @@ -0,0 +1,67 @@ +namespace INT_PT002.Controls +{ + partial class ControlMenuManualIoTest + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.smartGroupBox1 = new SmartX.SmartGroupBox(); + this.SuspendLayout(); + // + // smartGroupBox1 + // + this.smartGroupBox1.BackGround = null; + this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.smartGroupBox1.BackImage = null; + this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineThickness = 2; + this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar; + this.smartGroupBox1.HeaderHeightOffset = 9; + this.smartGroupBox1.Location = new System.Drawing.Point(0, 0); + this.smartGroupBox1.Name = "smartGroupBox1"; + this.smartGroupBox1.RoundRadius = 5; + this.smartGroupBox1.Size = new System.Drawing.Size(909, 703); + this.smartGroupBox1.TabIndex = 0; + this.smartGroupBox1.Text = "smartGroupBox1"; + this.smartGroupBox1.TextColor = System.Drawing.Color.White; + // + // ControlMenuManualIoTest + // + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.Controls.Add(this.smartGroupBox1); + this.Name = "ControlMenuManualIoTest"; + this.Size = new System.Drawing.Size(909, 703); + this.ResumeLayout(false); + + } + + #endregion + + private SmartX.SmartGroupBox smartGroupBox1; + } +} diff --git a/INT_PT002/Controls/ControlMenuManualIoTest.cs b/INT_PT002/Controls/ControlMenuManualIoTest.cs new file mode 100644 index 0000000..5e21d4d --- /dev/null +++ b/INT_PT002/Controls/ControlMenuManualIoTest.cs @@ -0,0 +1,54 @@ +using System; +using System.Linq; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Text; +using System.Windows.Forms; + +using INT_PT002.Forms; + +namespace INT_PT002.Controls +{ + public partial class ControlMenuManualIoTest : UserControl + { + #region Field + private FormMenu m_ParentForm; + #endregion + + #region Constructor + public ControlMenuManualIoTest(FormMenu parent) + { + InitializeComponent(); + + this.ParentForm = parent; + this.Initialize(); + } + #endregion + + #region Property + public FormMenu ParentForm + { + get { return this.m_ParentForm; } + private set { this.m_ParentForm = value; } + } + #endregion + + #region Method + private void Initialize() + { + this.smartGroupBox1.Text = "Manual > IO Test"; + } + + public void DisplayRefresh() + { + + } + #endregion + + #region Event Handler + + #endregion + } +} diff --git a/INT_PT002/Controls/ControlMenuManualIoTest.resx b/INT_PT002/Controls/ControlMenuManualIoTest.resx new file mode 100644 index 0000000..3e7a6d2 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuManualIoTest.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + WEBPAD + + \ No newline at end of file diff --git a/INT_PT002/Controls/ControlMenuManualMotorSetting.Designer.cs b/INT_PT002/Controls/ControlMenuManualMotorSetting.Designer.cs new file mode 100644 index 0000000..ed8fef5 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuManualMotorSetting.Designer.cs @@ -0,0 +1,67 @@ +namespace INT_PT002.Controls +{ + partial class ControlMenuManualMotorSetting + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.smartGroupBox1 = new SmartX.SmartGroupBox(); + this.SuspendLayout(); + // + // smartGroupBox1 + // + this.smartGroupBox1.BackGround = null; + this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.smartGroupBox1.BackImage = null; + this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineThickness = 2; + this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar; + this.smartGroupBox1.HeaderHeightOffset = 9; + this.smartGroupBox1.Location = new System.Drawing.Point(0, 0); + this.smartGroupBox1.Name = "smartGroupBox1"; + this.smartGroupBox1.RoundRadius = 5; + this.smartGroupBox1.Size = new System.Drawing.Size(909, 703); + this.smartGroupBox1.TabIndex = 1; + this.smartGroupBox1.Text = "smartGroupBox1"; + this.smartGroupBox1.TextColor = System.Drawing.Color.White; + // + // ControlMenuManualMotorSetting + // + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.Controls.Add(this.smartGroupBox1); + this.Name = "ControlMenuManualMotorSetting"; + this.Size = new System.Drawing.Size(909, 703); + this.ResumeLayout(false); + + } + + #endregion + + private SmartX.SmartGroupBox smartGroupBox1; + } +} diff --git a/INT_PT002/Controls/ControlMenuManualMotorSetting.cs b/INT_PT002/Controls/ControlMenuManualMotorSetting.cs new file mode 100644 index 0000000..c950128 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuManualMotorSetting.cs @@ -0,0 +1,54 @@ +using System; +using System.Linq; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Text; +using System.Windows.Forms; + +using INT_PT002.Forms; + +namespace INT_PT002.Controls +{ + public partial class ControlMenuManualMotorSetting : UserControl + { + #region Field + private FormMenu m_ParentForm; + #endregion + + #region Constructor + public ControlMenuManualMotorSetting(FormMenu parent) + { + InitializeComponent(); + + this.ParentForm = parent; + this.Initialize(); + } + #endregion + + #region Property + public FormMenu ParentForm + { + get { return this.m_ParentForm; } + private set { this.m_ParentForm = value; } + } + #endregion + + #region Method + private void Initialize() + { + this.smartGroupBox1.Text = "Manual > MotorSetting"; + } + + public void DisplayRefresh() + { + + } + #endregion + + #region Event Handler + + #endregion + } +} diff --git a/INT_PT002/Controls/ControlMenuManualMotorSetting.resx b/INT_PT002/Controls/ControlMenuManualMotorSetting.resx new file mode 100644 index 0000000..3e7a6d2 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuManualMotorSetting.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + WEBPAD + + \ No newline at end of file diff --git a/INT_PT002/Controls/ControlMenuSettingCommunication.Designer.cs b/INT_PT002/Controls/ControlMenuSettingCommunication.Designer.cs new file mode 100644 index 0000000..4dd228d --- /dev/null +++ b/INT_PT002/Controls/ControlMenuSettingCommunication.Designer.cs @@ -0,0 +1,67 @@ +namespace INT_PT002.Controls +{ + partial class ControlMenuSettingCommunication + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.smartGroupBox1 = new SmartX.SmartGroupBox(); + this.SuspendLayout(); + // + // smartGroupBox1 + // + this.smartGroupBox1.BackGround = null; + this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.smartGroupBox1.BackImage = null; + this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineThickness = 2; + this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar; + this.smartGroupBox1.HeaderHeightOffset = 9; + this.smartGroupBox1.Location = new System.Drawing.Point(0, 0); + this.smartGroupBox1.Name = "smartGroupBox1"; + this.smartGroupBox1.RoundRadius = 5; + this.smartGroupBox1.Size = new System.Drawing.Size(909, 703); + this.smartGroupBox1.TabIndex = 1; + this.smartGroupBox1.Text = "smartGroupBox1"; + this.smartGroupBox1.TextColor = System.Drawing.Color.White; + // + // ControlMenuSettingCommunication + // + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.Controls.Add(this.smartGroupBox1); + this.Name = "ControlMenuSettingCommunication"; + this.Size = new System.Drawing.Size(909, 703); + this.ResumeLayout(false); + + } + + #endregion + + private SmartX.SmartGroupBox smartGroupBox1; + } +} diff --git a/INT_PT002/Controls/ControlMenuSettingCommunication.cs b/INT_PT002/Controls/ControlMenuSettingCommunication.cs new file mode 100644 index 0000000..a168bb8 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuSettingCommunication.cs @@ -0,0 +1,54 @@ +using System; +using System.Linq; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Text; +using System.Windows.Forms; + +using INT_PT002.Forms; + +namespace INT_PT002.Controls +{ + public partial class ControlMenuSettingCommunication : UserControl + { + #region Field + private FormMenu m_ParentForm; + #endregion + + #region Constructor + public ControlMenuSettingCommunication(FormMenu parent) + { + InitializeComponent(); + + this.ParentForm = parent; + this.Initialize(); + } + #endregion + + #region Property + public FormMenu ParentForm + { + get { return this.m_ParentForm; } + private set { this.m_ParentForm = value; } + } + #endregion + + #region Method + private void Initialize() + { + this.smartGroupBox1.Text = "Setting > Communication"; + } + + public void DisplayRefresh() + { + + } + #endregion + + #region Event Handler + + #endregion + } +} diff --git a/INT_PT002/Controls/ControlMenuSettingCommunication.resx b/INT_PT002/Controls/ControlMenuSettingCommunication.resx new file mode 100644 index 0000000..3e7a6d2 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuSettingCommunication.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + WEBPAD + + \ No newline at end of file diff --git a/INT_PT002/Controls/ControlMenuSettingConfiguration.Designer.cs b/INT_PT002/Controls/ControlMenuSettingConfiguration.Designer.cs new file mode 100644 index 0000000..0f7cec6 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuSettingConfiguration.Designer.cs @@ -0,0 +1,67 @@ +namespace INT_PT002.Controls +{ + partial class ControlMenuSettingConfiguration + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.smartGroupBox1 = new SmartX.SmartGroupBox(); + this.SuspendLayout(); + // + // smartGroupBox1 + // + this.smartGroupBox1.BackGround = null; + this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.smartGroupBox1.BackImage = null; + this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineThickness = 2; + this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar; + this.smartGroupBox1.HeaderHeightOffset = 9; + this.smartGroupBox1.Location = new System.Drawing.Point(0, 0); + this.smartGroupBox1.Name = "smartGroupBox1"; + this.smartGroupBox1.RoundRadius = 5; + this.smartGroupBox1.Size = new System.Drawing.Size(909, 703); + this.smartGroupBox1.TabIndex = 1; + this.smartGroupBox1.Text = "smartGroupBox1"; + this.smartGroupBox1.TextColor = System.Drawing.Color.White; + // + // ControlMenuSettingConfiguration + // + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.Controls.Add(this.smartGroupBox1); + this.Name = "ControlMenuSettingConfiguration"; + this.Size = new System.Drawing.Size(909, 703); + this.ResumeLayout(false); + + } + + #endregion + + private SmartX.SmartGroupBox smartGroupBox1; + } +} diff --git a/INT_PT002/Controls/ControlMenuSettingConfiguration.cs b/INT_PT002/Controls/ControlMenuSettingConfiguration.cs new file mode 100644 index 0000000..2db154b --- /dev/null +++ b/INT_PT002/Controls/ControlMenuSettingConfiguration.cs @@ -0,0 +1,54 @@ +using System; +using System.Linq; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Text; +using System.Windows.Forms; + +using INT_PT002.Forms; + +namespace INT_PT002.Controls +{ + public partial class ControlMenuSettingConfiguration : UserControl + { + #region Field + private FormMenu m_ParentForm; + #endregion + + #region Constructor + public ControlMenuSettingConfiguration(FormMenu parent) + { + InitializeComponent(); + + this.ParentForm = parent; + this.Initialize(); + } + #endregion + + #region Property + public FormMenu ParentForm + { + get { return this.m_ParentForm; } + private set { this.m_ParentForm = value; } + } + #endregion + + #region Method + private void Initialize() + { + this.smartGroupBox1.Text = "Setting > Configuration"; + } + + public void DisplayRefresh() + { + + } + #endregion + + #region Event Handler + + #endregion + } +} diff --git a/INT_PT002/Controls/ControlMenuSettingConfiguration.resx b/INT_PT002/Controls/ControlMenuSettingConfiguration.resx new file mode 100644 index 0000000..3e7a6d2 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuSettingConfiguration.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + WEBPAD + + \ No newline at end of file diff --git a/INT_PT002/Controls/ControlMenuSettingUserEditor.Designer.cs b/INT_PT002/Controls/ControlMenuSettingUserEditor.Designer.cs new file mode 100644 index 0000000..1183423 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuSettingUserEditor.Designer.cs @@ -0,0 +1,67 @@ +namespace INT_PT002.Controls +{ + partial class ControlMenuSettingUserEditor + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.smartGroupBox1 = new SmartX.SmartGroupBox(); + this.SuspendLayout(); + // + // smartGroupBox1 + // + this.smartGroupBox1.BackGround = null; + this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.smartGroupBox1.BackImage = null; + this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineThickness = 2; + this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar; + this.smartGroupBox1.HeaderHeightOffset = 9; + this.smartGroupBox1.Location = new System.Drawing.Point(0, 0); + this.smartGroupBox1.Name = "smartGroupBox1"; + this.smartGroupBox1.RoundRadius = 5; + this.smartGroupBox1.Size = new System.Drawing.Size(909, 703); + this.smartGroupBox1.TabIndex = 1; + this.smartGroupBox1.Text = "smartGroupBox1"; + this.smartGroupBox1.TextColor = System.Drawing.Color.White; + // + // ControlMenuSettingUserEditor + // + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.Controls.Add(this.smartGroupBox1); + this.Name = "ControlMenuSettingUserEditor"; + this.Size = new System.Drawing.Size(909, 703); + this.ResumeLayout(false); + + } + + #endregion + + private SmartX.SmartGroupBox smartGroupBox1; + } +} diff --git a/INT_PT002/Controls/ControlMenuSettingUserEditor.cs b/INT_PT002/Controls/ControlMenuSettingUserEditor.cs new file mode 100644 index 0000000..ef60cb9 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuSettingUserEditor.cs @@ -0,0 +1,54 @@ +using System; +using System.Linq; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Text; +using System.Windows.Forms; + +using INT_PT002.Forms; + +namespace INT_PT002.Controls +{ + public partial class ControlMenuSettingUserEditor : UserControl + { + #region Field + private FormMenu m_ParentForm; + #endregion + + #region Constructor + public ControlMenuSettingUserEditor(FormMenu parent) + { + InitializeComponent(); + + this.ParentForm = parent; + this.Initialize(); + } + #endregion + + #region Property + public FormMenu ParentForm + { + get { return this.m_ParentForm; } + private set { this.m_ParentForm = value; } + } + #endregion + + #region Method + private void Initialize() + { + this.smartGroupBox1.Text = "Setting > UserEditor"; + } + + public void DisplayRefresh() + { + + } + #endregion + + #region Event Handler + + #endregion + } +} diff --git a/INT_PT002/Controls/ControlMenuSettingUserEditor.resx b/INT_PT002/Controls/ControlMenuSettingUserEditor.resx new file mode 100644 index 0000000..3e7a6d2 --- /dev/null +++ b/INT_PT002/Controls/ControlMenuSettingUserEditor.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + WEBPAD + + \ No newline at end of file diff --git a/INT_PT002/DataStore/Define.cs b/INT_PT002/DataStore/Define.cs index 7839868..fa17c84 100644 --- a/INT_PT002/DataStore/Define.cs +++ b/INT_PT002/DataStore/Define.cs @@ -17,7 +17,45 @@ namespace INT_PT002.DataStore { FormNone = 0, FormMainDisplay, - FormConfiguration, + FormMenu, + }; + + public enum E_TopMenuStore + { + Recipe, + Setting, + Manual, + Log, + System, + } + + public enum E_MenuRecipeStore + { + None, + }; + public enum E_MenuSettingStore + { + Communication, + Configuration, + UserEditor, + }; + public enum E_MenuManualStore + { + IoTest, + MotorSetting, + }; + public enum E_MenuLogStore + { + History, + Inspection, + Alarm, + }; + public enum E_MenuSystemStore + { + Information, + Time, + Equipment, + Update, }; public enum E_ProgressStatus diff --git a/INT_PT002/Forms/FormMain.Designer.cs b/INT_PT002/Forms/FormMain.Designer.cs index 36b7db4..fb88e9a 100644 --- a/INT_PT002/Forms/FormMain.Designer.cs +++ b/INT_PT002/Forms/FormMain.Designer.cs @@ -32,9 +32,9 @@ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain)); this.smartForm1 = new SmartX.SmartForm(); this.smartSerialPortLink = new SmartX.SmartSerialPort(this.components); - this.smartFileIO = new SmartX.SmartFile(); this.smartFileCommunicationLog = new SmartX.SmartFile(); this.timer = new System.Windows.Forms.Timer(); + this.smartFileIO = new SmartX.SmartFile(); this.SuspendLayout(); // // smartForm1 @@ -76,10 +76,6 @@ this.smartSerialPortLink.TailErrorCodeOffset = 0; this.smartSerialPortLink.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPortLink_OnReadQueueEvent); // - // smartFileIO - // - this.smartFileIO.FilePathName = ""; - // // smartFileCommunicationLog // this.smartFileCommunicationLog.FilePathName = ""; @@ -89,6 +85,10 @@ this.timer.Interval = 1000; this.timer.Tick += new System.EventHandler(this.timer_Tick); // + // smartFileIO + // + this.smartFileIO.FilePathName = ""; + // // FormMain // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -107,9 +107,9 @@ public SmartX.SmartForm smartForm1; private SmartX.SmartSerialPort smartSerialPortLink; - private SmartX.SmartFile smartFileIO; private SmartX.SmartFile smartFileCommunicationLog; private System.Windows.Forms.Timer timer; + private SmartX.SmartFile smartFileIO; } } \ No newline at end of file diff --git a/INT_PT002/Forms/FormMain.cs b/INT_PT002/Forms/FormMain.cs index 481d184..8d8dcfb 100644 --- a/INT_PT002/Forms/FormMain.cs +++ b/INT_PT002/Forms/FormMain.cs @@ -37,7 +37,7 @@ namespace INT_PT002.Forms private Collection CollectionLeakDatas; public FormMainDisplay1 ChildFormMainDisplay; - public FormConfiguration ChildFormConfig; + public FormMenu ChildFormMenu; #endregion #region Constructor @@ -102,12 +102,12 @@ namespace INT_PT002.Forms private void CreateForm() { this.ChildFormMainDisplay = new FormMainDisplay1(this); - this.ChildFormConfig = new FormConfiguration(this); + this.ChildFormMenu = new FormMenu(this); this.smartForm1.MainForm = this; this.smartForm1.AddChildForm(this.ChildFormMainDisplay); - this.smartForm1.AddChildForm(this.ChildFormConfig); + this.smartForm1.AddChildForm(this.ChildFormMenu); } private void TransferSystemParameter() { @@ -155,10 +155,14 @@ namespace INT_PT002.Forms fileCheck = fileInfo.Exists; if (fileCheck == true) + { this.smartFileIO.Open(); + this.smartFileIO.StructType.SetStructType(typeof(StructSystemConfigurationItem)); + } else { this.smartFileIO.Open(); + this.smartFileIO.StructType.SetStructType(typeof(StructSystemConfigurationItem)); this.CreateSystemConfigurationFile(); } @@ -187,10 +191,14 @@ namespace INT_PT002.Forms fileCheck = fileInfo.Exists; if (fileCheck == true) + { this.smartFileIO.Open(); + this.smartFileIO.StructType.SetStructType(typeof(StructSystemConfigurationItem)); + } else { this.smartFileIO.Open(); + this.smartFileIO.StructType.SetStructType(typeof(StructSystemConfigurationItem)); this.CreateSystemConfigurationFile(); } @@ -931,7 +939,6 @@ namespace INT_PT002.Forms private void timer_Tick(object sender, EventArgs e) { this.ChildFormMainDisplay.UpdateDisplayTime(); - this.ChildFormConfig.UpdateDisplayTime(); } #endregion } diff --git a/INT_PT002/Forms/FormMain.resx b/INT_PT002/Forms/FormMain.resx index 8808fd1..ff1e1e2 100644 --- a/INT_PT002/Forms/FormMain.resx +++ b/INT_PT002/Forms/FormMain.resx @@ -212,14 +212,14 @@ 17, 17 - - 153, 17 - - 268, 17 + 290, 17 - 479, 17 + 501, 17 + + + 175, 17 WEBPAD diff --git a/INT_PT002/Forms/FormMainDisplay1.Designer.cs b/INT_PT002/Forms/FormMainDisplay1.Designer.cs index 0e12377..88a4d7e 100644 --- a/INT_PT002/Forms/FormMainDisplay1.Designer.cs +++ b/INT_PT002/Forms/FormMainDisplay1.Designer.cs @@ -31,6 +31,7 @@ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMainDisplay1)); SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle chartPenStyle1 = new SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle(); this.smartForm1 = new SmartX.SmartForm(); + this.smartLabel1 = new SmartX.SmartLabel(); this.labelStop = new SmartX.SmartLabel(); this.labelStart = new SmartX.SmartLabel(); this.buttonExit = new SmartX.SmartButton(); @@ -38,9 +39,9 @@ this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.buttonCut = new SmartX.SmartButton(); this.buttonClear = new SmartX.SmartButton(); - this.buttonSetting = new SmartX.SmartButton(); + this.buttonMenu = new SmartX.SmartButton(); this.labelTime = new SmartX.SmartLabel(); - this.buttonMainDisplay = new SmartX.SmartButton(); + this.buttonDisplay = new SmartX.SmartButton(); this.smartGroupBox4 = new SmartX.SmartGroupBox(); this.smartSeparatorLine13 = new SmartX.SmartSeparatorLine(); this.labelResult3_1 = new SmartX.SmartLabel(); @@ -203,7 +204,6 @@ this.smartDraw6 = new SmartX.SmartDraw(); this.timerOff = new System.Windows.Forms.Timer(); this.timerOn = new System.Windows.Forms.Timer(); - this.smartLabel1 = new SmartX.SmartLabel(); this.smartForm1.SuspendLayout(); this.smartGroupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.smartDraw3)).BeginInit(); @@ -240,9 +240,9 @@ this.smartForm1.Controls.Add(this.pictureBox1); this.smartForm1.Controls.Add(this.buttonCut); this.smartForm1.Controls.Add(this.buttonClear); - this.smartForm1.Controls.Add(this.buttonSetting); + this.smartForm1.Controls.Add(this.buttonMenu); this.smartForm1.Controls.Add(this.labelTime); - this.smartForm1.Controls.Add(this.buttonMainDisplay); + this.smartForm1.Controls.Add(this.buttonDisplay); this.smartForm1.Controls.Add(this.smartGroupBox4); this.smartForm1.Controls.Add(this.smartGroupBox5); this.smartForm1.Controls.Add(this.smartGroupBox1); @@ -274,6 +274,29 @@ this.smartForm1.SpecialFunctionClickPointSize = 100; this.smartForm1.UseMainMenu = false; // + // smartLabel1 + // + this.smartLabel1.BackGround = null; + this.smartLabel1.BackGroundColor = System.Drawing.Color.Azure; + 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("Arial", 10F, System.Drawing.FontStyle.Bold); + this.smartLabel1.LineSpacing = 0F; + this.smartLabel1.Location = new System.Drawing.Point(561, 76); + this.smartLabel1.Name = "smartLabel1"; + this.smartLabel1.OverlapOptimize = true; + this.smartLabel1.PasswordChar = '\0'; + this.smartLabel1.Radius = 3; + this.smartLabel1.RoundRectFillColor = System.Drawing.Color.LightBlue; + this.smartLabel1.Size = new System.Drawing.Size(105, 40); + this.smartLabel1.TabIndex = 71; + this.smartLabel1.Text = "진공파기"; + this.smartLabel1.TextColor = System.Drawing.Color.Black; + this.smartLabel1.TextColorDisable = System.Drawing.Color.Gray; + this.smartLabel1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; + this.smartLabel1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; + this.smartLabel1.Wordwrap = false; + // // labelStop // this.labelStop.BackGround = this.smartForm1; @@ -456,40 +479,40 @@ this.buttonClear.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click); // - // buttonSetting + // buttonMenu // - this.buttonSetting.BackGround = this.smartForm1; - this.buttonSetting.BackGroundColor = System.Drawing.Color.LightBlue; - this.buttonSetting.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.buttonSetting.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); - this.buttonSetting.ButtonImageAutoSize = true; - this.buttonSetting.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; - this.buttonSetting.ButtonText = "설정"; - this.buttonSetting.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.buttonSetting.GroupID = 0; - this.buttonSetting.ImageDisable = null; - this.buttonSetting.ImageDown = null; - this.buttonSetting.ImageUp = null; - this.buttonSetting.Location = new System.Drawing.Point(3, 701); - this.buttonSetting.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; - this.buttonSetting.Name = "buttonSetting"; - this.buttonSetting.NestedClickEventPrevent = false; - this.buttonSetting.OutlinePixel = 2; - this.buttonSetting.OverlapOptimize = true; - this.buttonSetting.RepeatInterval = 200; - this.buttonSetting.RepeatIntervalAccelerate = null; - this.buttonSetting.RoundSize = 10; - this.buttonSetting.SafeInterval = 200; - this.buttonSetting.Size = new System.Drawing.Size(110, 60); - this.buttonSetting.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; - this.buttonSetting.TabIndex = 60; - this.buttonSetting.Text = null; - this.buttonSetting.TextColor = System.Drawing.Color.White; - this.buttonSetting.TextColorDisable = System.Drawing.Color.Gray; - this.buttonSetting.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); - this.buttonSetting.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; - this.buttonSetting.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; - this.buttonSetting.Click += new System.EventHandler(this.buttonSetting_Click); + this.buttonMenu.BackGround = this.smartForm1; + this.buttonMenu.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonMenu.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonMenu.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonMenu.ButtonImageAutoSize = true; + this.buttonMenu.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonMenu.ButtonText = "Menu"; + this.buttonMenu.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonMenu.GroupID = 0; + this.buttonMenu.ImageDisable = null; + this.buttonMenu.ImageDown = null; + this.buttonMenu.ImageUp = null; + this.buttonMenu.Location = new System.Drawing.Point(907, 701); + this.buttonMenu.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.buttonMenu.Name = "buttonMenu"; + this.buttonMenu.NestedClickEventPrevent = false; + this.buttonMenu.OutlinePixel = 2; + this.buttonMenu.OverlapOptimize = true; + this.buttonMenu.RepeatInterval = 200; + this.buttonMenu.RepeatIntervalAccelerate = null; + this.buttonMenu.RoundSize = 10; + this.buttonMenu.SafeInterval = 200; + this.buttonMenu.Size = new System.Drawing.Size(110, 60); + this.buttonMenu.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonMenu.TabIndex = 60; + this.buttonMenu.Text = null; + this.buttonMenu.TextColor = System.Drawing.Color.White; + this.buttonMenu.TextColorDisable = System.Drawing.Color.Gray; + this.buttonMenu.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonMenu.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonMenu.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonMenu.Click += new System.EventHandler(this.buttonMenu_Click); // // labelTime // @@ -499,7 +522,7 @@ this.labelTime.BorderStyle = SmartX.SmartLabel.BorderStyles.None; this.labelTime.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold); this.labelTime.LineSpacing = 0F; - this.labelTime.Location = new System.Drawing.Point(778, 701); + this.labelTime.Location = new System.Drawing.Point(3, 697); this.labelTime.Name = "labelTime"; this.labelTime.OverlapOptimize = true; this.labelTime.PasswordChar = '\0'; @@ -514,40 +537,41 @@ this.labelTime.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; this.labelTime.Wordwrap = false; // - // buttonMainDisplay + // buttonDisplay // - this.buttonMainDisplay.BackGround = this.smartForm1; - this.buttonMainDisplay.BackGroundColor = System.Drawing.Color.LightBlue; - this.buttonMainDisplay.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.buttonMainDisplay.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); - this.buttonMainDisplay.ButtonImageAutoSize = true; - this.buttonMainDisplay.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; - this.buttonMainDisplay.ButtonText = "메인화면"; - this.buttonMainDisplay.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.buttonMainDisplay.GroupID = 0; - this.buttonMainDisplay.ImageDisable = null; - this.buttonMainDisplay.ImageDown = null; - this.buttonMainDisplay.ImageUp = null; - this.buttonMainDisplay.Location = new System.Drawing.Point(119, 701); - this.buttonMainDisplay.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; - this.buttonMainDisplay.Name = "buttonMainDisplay"; - this.buttonMainDisplay.NestedClickEventPrevent = false; - this.buttonMainDisplay.OutlinePixel = 2; - this.buttonMainDisplay.OverlapOptimize = true; - this.buttonMainDisplay.RepeatInterval = 200; - this.buttonMainDisplay.RepeatIntervalAccelerate = null; - this.buttonMainDisplay.RoundSize = 10; - this.buttonMainDisplay.SafeInterval = 200; - this.buttonMainDisplay.Size = new System.Drawing.Size(110, 60); - this.buttonMainDisplay.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; - this.buttonMainDisplay.TabIndex = 55; - this.buttonMainDisplay.Text = null; - this.buttonMainDisplay.TextColor = System.Drawing.Color.White; - this.buttonMainDisplay.TextColorDisable = System.Drawing.Color.Gray; - this.buttonMainDisplay.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); - this.buttonMainDisplay.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; - this.buttonMainDisplay.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; - this.buttonMainDisplay.Visible = false; + this.buttonDisplay.BackGround = this.smartForm1; + this.buttonDisplay.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonDisplay.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonDisplay.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonDisplay.ButtonImageAutoSize = true; + this.buttonDisplay.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonDisplay.ButtonText = "Display"; + this.buttonDisplay.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonDisplay.GroupID = 0; + this.buttonDisplay.ImageDisable = null; + this.buttonDisplay.ImageDown = null; + this.buttonDisplay.ImageUp = null; + this.buttonDisplay.Location = new System.Drawing.Point(428, 701); + this.buttonDisplay.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.buttonDisplay.Name = "buttonDisplay"; + this.buttonDisplay.NestedClickEventPrevent = false; + this.buttonDisplay.OutlinePixel = 2; + this.buttonDisplay.OverlapOptimize = true; + this.buttonDisplay.RepeatInterval = 200; + this.buttonDisplay.RepeatIntervalAccelerate = null; + this.buttonDisplay.RoundSize = 10; + this.buttonDisplay.SafeInterval = 200; + this.buttonDisplay.Size = new System.Drawing.Size(110, 60); + this.buttonDisplay.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonDisplay.TabIndex = 55; + this.buttonDisplay.Text = null; + this.buttonDisplay.TextColor = System.Drawing.Color.White; + this.buttonDisplay.TextColorDisable = System.Drawing.Color.Gray; + this.buttonDisplay.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonDisplay.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonDisplay.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonDisplay.Visible = false; + this.buttonDisplay.Click += new System.EventHandler(this.buttonDisplayGraph_Click); // // smartGroupBox4 // @@ -4124,29 +4148,6 @@ this.timerOn.Interval = 1000; this.timerOn.Tick += new System.EventHandler(this.timerOn_Tick); // - // smartLabel1 - // - this.smartLabel1.BackGround = null; - this.smartLabel1.BackGroundColor = System.Drawing.Color.Azure; - 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("Arial", 10F, System.Drawing.FontStyle.Bold); - this.smartLabel1.LineSpacing = 0F; - this.smartLabel1.Location = new System.Drawing.Point(561, 76); - this.smartLabel1.Name = "smartLabel1"; - this.smartLabel1.OverlapOptimize = true; - this.smartLabel1.PasswordChar = '\0'; - this.smartLabel1.Radius = 3; - this.smartLabel1.RoundRectFillColor = System.Drawing.Color.LightBlue; - this.smartLabel1.Size = new System.Drawing.Size(105, 40); - this.smartLabel1.TabIndex = 71; - this.smartLabel1.Text = "진공파기"; - this.smartLabel1.TextColor = System.Drawing.Color.Black; - this.smartLabel1.TextColorDisable = System.Drawing.Color.Gray; - this.smartLabel1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle; - this.smartLabel1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; - this.smartLabel1.Wordwrap = false; - // // FormMainDisplay1 // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -4323,9 +4324,8 @@ private SmartX.SmartLabel labelCurrentValue6; private SmartX.SmartLabel smartLabel102; private SmartX.SmartDraw smartDraw6; - private SmartX.SmartButton buttonSetting; + private SmartX.SmartButton buttonMenu; private SmartX.SmartLabel labelTime; - private SmartX.SmartButton buttonMainDisplay; private SmartX.SmartLabel labelCurrentValue10; private SmartX.SmartLabel labelStart; private SmartX.SmartLabel labelStop; @@ -4358,5 +4358,6 @@ private System.Windows.Forms.Timer timerOff; private System.Windows.Forms.Timer timerOn; private SmartX.SmartLabel smartLabel1; + private SmartX.SmartButton buttonDisplay; } } \ No newline at end of file diff --git a/INT_PT002/Forms/FormMainDisplay1.cs b/INT_PT002/Forms/FormMainDisplay1.cs index 417b186..da857cd 100644 --- a/INT_PT002/Forms/FormMainDisplay1.cs +++ b/INT_PT002/Forms/FormMainDisplay1.cs @@ -582,12 +582,12 @@ namespace INT_PT002.Forms { this.ParentForm.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard); } - private void buttonSetting_Click(object sender, EventArgs e) + private void buttonMenu_Click(object sender, EventArgs e) { - this.ParentForm.ChildFormConfig.DisplayRefresh(); - this.ParentForm.FormChange((int)Define.E_FormStore.FormConfiguration); + this.ParentForm.ChildFormMenu.DisplayRefresh(); + this.ParentForm.FormChange((int)Define.E_FormStore.FormMenu); } - private void buttonMainDisplayGraph_Click(object sender, EventArgs e) + private void buttonDisplayGraph_Click(object sender, EventArgs e) { this.ChildControl.DisplayRefresh(1); this.ChildControl.Visible = true; diff --git a/INT_PT002/Forms/FormMenu.Designer.cs b/INT_PT002/Forms/FormMenu.Designer.cs index 05c1347..f247ddb 100644 --- a/INT_PT002/Forms/FormMenu.Designer.cs +++ b/INT_PT002/Forms/FormMenu.Designer.cs @@ -30,15 +30,20 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMenu)); this.smartForm1 = new SmartX.SmartForm(); - this.smartGroupBox1 = new SmartX.SmartGroupBox(); - this.buttonCut = new SmartX.SmartButton(); - this.smartButton1 = new SmartX.SmartButton(); + this.buttonBottom6 = new SmartX.SmartButton(); + this.buttonBottom5 = new SmartX.SmartButton(); + this.buttonBottom4 = new SmartX.SmartButton(); + this.buttonBottom3 = new SmartX.SmartButton(); + this.buttonBottom2 = new SmartX.SmartButton(); + this.buttonBottom1 = new SmartX.SmartButton(); + this.buttonSystem = new SmartX.SmartButton(); + this.buttonLog = new SmartX.SmartButton(); + this.buttonManual = new SmartX.SmartButton(); + this.buttonSetting = new SmartX.SmartButton(); this.labelStop = new SmartX.SmartLabel(); - this.smartButton2 = new SmartX.SmartButton(); - this.smartButton3 = new SmartX.SmartButton(); - this.smartButton4 = new SmartX.SmartButton(); - this.smartButton5 = new SmartX.SmartButton(); - this.smartButton6 = new SmartX.SmartButton(); + this.buttonRecipe = new SmartX.SmartButton(); + this.buttonHome = new SmartX.SmartButton(); + this.smartGroupBox1 = new SmartX.SmartGroupBox(); this.smartForm1.SuspendLayout(); this.SuspendLayout(); // @@ -47,14 +52,19 @@ this.smartForm1.BackGroundFillStyle = SmartXUIBase.SmartUIControlFormBase.BackGroundFillStyles.GradationColor1; this.smartForm1.BackImage = ((System.Drawing.Image)(resources.GetObject("smartForm1.BackImage"))); this.smartForm1.CenterLocation = false; - this.smartForm1.Controls.Add(this.smartButton6); - this.smartForm1.Controls.Add(this.smartButton5); - this.smartForm1.Controls.Add(this.smartButton4); - this.smartForm1.Controls.Add(this.smartButton3); - this.smartForm1.Controls.Add(this.smartButton2); + this.smartForm1.Controls.Add(this.buttonBottom6); + this.smartForm1.Controls.Add(this.buttonBottom5); + this.smartForm1.Controls.Add(this.buttonBottom4); + this.smartForm1.Controls.Add(this.buttonBottom3); + this.smartForm1.Controls.Add(this.buttonBottom2); + this.smartForm1.Controls.Add(this.buttonBottom1); + this.smartForm1.Controls.Add(this.buttonSystem); + this.smartForm1.Controls.Add(this.buttonLog); + this.smartForm1.Controls.Add(this.buttonManual); + this.smartForm1.Controls.Add(this.buttonSetting); this.smartForm1.Controls.Add(this.labelStop); - this.smartForm1.Controls.Add(this.smartButton1); - this.smartForm1.Controls.Add(this.buttonCut); + this.smartForm1.Controls.Add(this.buttonRecipe); + this.smartForm1.Controls.Add(this.buttonHome); this.smartForm1.Controls.Add(this.smartGroupBox1); this.smartForm1.GradationColorBottom = System.Drawing.Color.Gray; this.smartForm1.GradationColorTop = System.Drawing.Color.White; @@ -69,91 +79,355 @@ this.smartForm1.SpecialFunctionClickPointSize = 100; this.smartForm1.UseMainMenu = false; // - // smartGroupBox1 + // buttonBottom6 // - this.smartGroupBox1.BackGround = null; - this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.smartGroupBox1.BackImage = null; - this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.smartGroupBox1.FrameLineThickness = 5; - this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar; - this.smartGroupBox1.HeaderHeightOffset = 9; - this.smartGroupBox1.Location = new System.Drawing.Point(0, 0); - this.smartGroupBox1.Name = "smartGroupBox1"; - this.smartGroupBox1.RoundRadius = 5; - this.smartGroupBox1.Size = new System.Drawing.Size(909, 703); - this.smartGroupBox1.TabIndex = 0; - this.smartGroupBox1.Text = "기본 > "; - this.smartGroupBox1.TextColor = System.Drawing.Color.White; + this.buttonBottom6.BackGround = this.smartForm1; + this.buttonBottom6.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonBottom6.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonBottom6.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonBottom6.ButtonImageAutoSize = true; + this.buttonBottom6.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonBottom6.ButtonText = "측정시작"; + this.buttonBottom6.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonBottom6.GroupID = 0; + this.buttonBottom6.ImageDisable = null; + this.buttonBottom6.ImageDown = null; + this.buttonBottom6.ImageUp = null; + this.buttonBottom6.Location = new System.Drawing.Point(583, 705); + this.buttonBottom6.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.buttonBottom6.Name = "buttonBottom6"; + this.buttonBottom6.NestedClickEventPrevent = false; + this.buttonBottom6.OutlinePixel = 2; + this.buttonBottom6.OverlapOptimize = true; + this.buttonBottom6.RepeatInterval = 200; + this.buttonBottom6.RepeatIntervalAccelerate = null; + this.buttonBottom6.RoundSize = 10; + this.buttonBottom6.SafeInterval = 200; + this.buttonBottom6.Size = new System.Drawing.Size(110, 60); + this.buttonBottom6.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonBottom6.TabIndex = 83; + this.buttonBottom6.Text = null; + this.buttonBottom6.TextColor = System.Drawing.Color.White; + this.buttonBottom6.TextColorDisable = System.Drawing.Color.Gray; + this.buttonBottom6.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonBottom6.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonBottom6.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonBottom6.Click += new System.EventHandler(this.buttonBottom6_Click); // - // buttonCut + // buttonBottom5 // - this.buttonCut.BackGround = null; - this.buttonCut.BackGroundColor = System.Drawing.Color.LightBlue; - this.buttonCut.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.buttonCut.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); - this.buttonCut.ButtonImageAutoSize = true; - this.buttonCut.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; - this.buttonCut.ButtonText = "HOME"; - this.buttonCut.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.buttonCut.GroupID = 0; - this.buttonCut.ImageDisable = null; - this.buttonCut.ImageDown = null; - this.buttonCut.ImageUp = null; - this.buttonCut.Location = new System.Drawing.Point(911, 705); - this.buttonCut.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; - this.buttonCut.Name = "buttonCut"; - this.buttonCut.NestedClickEventPrevent = false; - this.buttonCut.OutlinePixel = 2; - this.buttonCut.OverlapOptimize = true; - this.buttonCut.RepeatInterval = 200; - this.buttonCut.RepeatIntervalAccelerate = null; - this.buttonCut.RoundSize = 10; - this.buttonCut.SafeInterval = 200; - this.buttonCut.Size = new System.Drawing.Size(110, 60); - this.buttonCut.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; - this.buttonCut.TabIndex = 71; - this.buttonCut.Text = null; - this.buttonCut.TextColor = System.Drawing.Color.White; - this.buttonCut.TextColorDisable = System.Drawing.Color.Gray; - this.buttonCut.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); - this.buttonCut.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; - this.buttonCut.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonBottom5.BackGround = this.smartForm1; + this.buttonBottom5.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonBottom5.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonBottom5.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonBottom5.ButtonImageAutoSize = true; + this.buttonBottom5.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonBottom5.ButtonText = "측정시작"; + this.buttonBottom5.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonBottom5.GroupID = 0; + this.buttonBottom5.ImageDisable = null; + this.buttonBottom5.ImageDown = null; + this.buttonBottom5.ImageUp = null; + this.buttonBottom5.Location = new System.Drawing.Point(467, 705); + this.buttonBottom5.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.buttonBottom5.Name = "buttonBottom5"; + this.buttonBottom5.NestedClickEventPrevent = false; + this.buttonBottom5.OutlinePixel = 2; + this.buttonBottom5.OverlapOptimize = true; + this.buttonBottom5.RepeatInterval = 200; + this.buttonBottom5.RepeatIntervalAccelerate = null; + this.buttonBottom5.RoundSize = 10; + this.buttonBottom5.SafeInterval = 200; + this.buttonBottom5.Size = new System.Drawing.Size(110, 60); + this.buttonBottom5.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonBottom5.TabIndex = 82; + this.buttonBottom5.Text = null; + this.buttonBottom5.TextColor = System.Drawing.Color.White; + this.buttonBottom5.TextColorDisable = System.Drawing.Color.Gray; + this.buttonBottom5.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonBottom5.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonBottom5.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonBottom5.Click += new System.EventHandler(this.buttonBottom5_Click); // - // smartButton1 + // buttonBottom4 // - this.smartButton1.BackGround = null; - this.smartButton1.BackGroundColor = System.Drawing.Color.LightBlue; - this.smartButton1.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.smartButton1.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); - this.smartButton1.ButtonImageAutoSize = true; - this.smartButton1.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; - this.smartButton1.ButtonText = "Recipe"; - this.smartButton1.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.smartButton1.GroupID = 0; - this.smartButton1.ImageDisable = null; - this.smartButton1.ImageDown = null; - this.smartButton1.ImageUp = null; - this.smartButton1.Location = new System.Drawing.Point(911, 39); - this.smartButton1.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; - this.smartButton1.Name = "smartButton1"; - this.smartButton1.NestedClickEventPrevent = false; - this.smartButton1.OutlinePixel = 2; - this.smartButton1.OverlapOptimize = true; - this.smartButton1.RepeatInterval = 200; - this.smartButton1.RepeatIntervalAccelerate = null; - this.smartButton1.RoundSize = 10; - this.smartButton1.SafeInterval = 200; - this.smartButton1.Size = new System.Drawing.Size(110, 60); - this.smartButton1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; - this.smartButton1.TabIndex = 72; - this.smartButton1.Text = null; - this.smartButton1.TextColor = System.Drawing.Color.White; - this.smartButton1.TextColorDisable = System.Drawing.Color.Gray; - this.smartButton1.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); - this.smartButton1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; - this.smartButton1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonBottom4.BackGround = this.smartForm1; + this.buttonBottom4.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonBottom4.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonBottom4.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonBottom4.ButtonImageAutoSize = true; + this.buttonBottom4.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonBottom4.ButtonText = "측정시작"; + this.buttonBottom4.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonBottom4.GroupID = 0; + this.buttonBottom4.ImageDisable = null; + this.buttonBottom4.ImageDown = null; + this.buttonBottom4.ImageUp = null; + this.buttonBottom4.Location = new System.Drawing.Point(351, 705); + this.buttonBottom4.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.buttonBottom4.Name = "buttonBottom4"; + this.buttonBottom4.NestedClickEventPrevent = false; + this.buttonBottom4.OutlinePixel = 2; + this.buttonBottom4.OverlapOptimize = true; + this.buttonBottom4.RepeatInterval = 200; + this.buttonBottom4.RepeatIntervalAccelerate = null; + this.buttonBottom4.RoundSize = 10; + this.buttonBottom4.SafeInterval = 200; + this.buttonBottom4.Size = new System.Drawing.Size(110, 60); + this.buttonBottom4.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonBottom4.TabIndex = 81; + this.buttonBottom4.Text = null; + this.buttonBottom4.TextColor = System.Drawing.Color.White; + this.buttonBottom4.TextColorDisable = System.Drawing.Color.Gray; + this.buttonBottom4.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonBottom4.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonBottom4.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonBottom4.Click += new System.EventHandler(this.buttonBottom4_Click); + // + // buttonBottom3 + // + this.buttonBottom3.BackGround = this.smartForm1; + this.buttonBottom3.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonBottom3.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonBottom3.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonBottom3.ButtonImageAutoSize = true; + this.buttonBottom3.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonBottom3.ButtonText = "측정시작"; + this.buttonBottom3.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonBottom3.GroupID = 0; + this.buttonBottom3.ImageDisable = null; + this.buttonBottom3.ImageDown = null; + this.buttonBottom3.ImageUp = null; + this.buttonBottom3.Location = new System.Drawing.Point(235, 705); + this.buttonBottom3.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.buttonBottom3.Name = "buttonBottom3"; + this.buttonBottom3.NestedClickEventPrevent = false; + this.buttonBottom3.OutlinePixel = 2; + this.buttonBottom3.OverlapOptimize = true; + this.buttonBottom3.RepeatInterval = 200; + this.buttonBottom3.RepeatIntervalAccelerate = null; + this.buttonBottom3.RoundSize = 10; + this.buttonBottom3.SafeInterval = 200; + this.buttonBottom3.Size = new System.Drawing.Size(110, 60); + this.buttonBottom3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonBottom3.TabIndex = 80; + this.buttonBottom3.Text = null; + this.buttonBottom3.TextColor = System.Drawing.Color.White; + this.buttonBottom3.TextColorDisable = System.Drawing.Color.Gray; + this.buttonBottom3.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonBottom3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonBottom3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonBottom3.Click += new System.EventHandler(this.buttonBottom3_Click); + // + // buttonBottom2 + // + this.buttonBottom2.BackGround = this.smartForm1; + this.buttonBottom2.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonBottom2.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonBottom2.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonBottom2.ButtonImageAutoSize = true; + this.buttonBottom2.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonBottom2.ButtonText = "측정시작"; + this.buttonBottom2.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonBottom2.GroupID = 0; + this.buttonBottom2.ImageDisable = null; + this.buttonBottom2.ImageDown = null; + this.buttonBottom2.ImageUp = null; + this.buttonBottom2.Location = new System.Drawing.Point(119, 705); + this.buttonBottom2.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.buttonBottom2.Name = "buttonBottom2"; + this.buttonBottom2.NestedClickEventPrevent = false; + this.buttonBottom2.OutlinePixel = 2; + this.buttonBottom2.OverlapOptimize = true; + this.buttonBottom2.RepeatInterval = 200; + this.buttonBottom2.RepeatIntervalAccelerate = null; + this.buttonBottom2.RoundSize = 10; + this.buttonBottom2.SafeInterval = 200; + this.buttonBottom2.Size = new System.Drawing.Size(110, 60); + this.buttonBottom2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonBottom2.TabIndex = 79; + this.buttonBottom2.Text = null; + this.buttonBottom2.TextColor = System.Drawing.Color.White; + this.buttonBottom2.TextColorDisable = System.Drawing.Color.Gray; + this.buttonBottom2.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonBottom2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonBottom2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonBottom2.Click += new System.EventHandler(this.buttonBottom2_Click); + // + // buttonBottom1 + // + this.buttonBottom1.BackGround = this.smartForm1; + this.buttonBottom1.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonBottom1.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonBottom1.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonBottom1.ButtonImageAutoSize = true; + this.buttonBottom1.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonBottom1.ButtonText = "측정시작"; + this.buttonBottom1.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonBottom1.GroupID = 0; + this.buttonBottom1.ImageDisable = null; + this.buttonBottom1.ImageDown = null; + this.buttonBottom1.ImageUp = null; + this.buttonBottom1.Location = new System.Drawing.Point(3, 705); + this.buttonBottom1.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.buttonBottom1.Name = "buttonBottom1"; + this.buttonBottom1.NestedClickEventPrevent = false; + this.buttonBottom1.OutlinePixel = 2; + this.buttonBottom1.OverlapOptimize = true; + this.buttonBottom1.RepeatInterval = 200; + this.buttonBottom1.RepeatIntervalAccelerate = null; + this.buttonBottom1.RoundSize = 10; + this.buttonBottom1.SafeInterval = 200; + this.buttonBottom1.Size = new System.Drawing.Size(110, 60); + this.buttonBottom1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonBottom1.TabIndex = 78; + this.buttonBottom1.Text = null; + this.buttonBottom1.TextColor = System.Drawing.Color.White; + this.buttonBottom1.TextColorDisable = System.Drawing.Color.Gray; + this.buttonBottom1.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonBottom1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonBottom1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonBottom1.Click += new System.EventHandler(this.buttonBottom1_Click); + // + // buttonSystem + // + this.buttonSystem.BackGround = this.smartForm1; + this.buttonSystem.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonSystem.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonSystem.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonSystem.ButtonImageAutoSize = true; + this.buttonSystem.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonSystem.ButtonText = "System"; + this.buttonSystem.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonSystem.GroupID = 0; + this.buttonSystem.ImageDisable = null; + this.buttonSystem.ImageDown = null; + this.buttonSystem.ImageUp = null; + this.buttonSystem.Location = new System.Drawing.Point(911, 303); + this.buttonSystem.Mode = SmartX.SmartButton.BUTTONMODE.PUSH; + this.buttonSystem.Name = "buttonSystem"; + this.buttonSystem.NestedClickEventPrevent = false; + this.buttonSystem.OutlinePixel = 2; + this.buttonSystem.OverlapOptimize = true; + this.buttonSystem.RepeatInterval = 200; + this.buttonSystem.RepeatIntervalAccelerate = null; + this.buttonSystem.RoundSize = 10; + this.buttonSystem.SafeInterval = 200; + this.buttonSystem.Size = new System.Drawing.Size(110, 60); + this.buttonSystem.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonSystem.TabIndex = 77; + this.buttonSystem.Text = null; + this.buttonSystem.TextColor = System.Drawing.Color.White; + this.buttonSystem.TextColorDisable = System.Drawing.Color.Gray; + this.buttonSystem.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonSystem.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonSystem.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonSystem.Click += new System.EventHandler(this.buttonSystem_Click); + // + // buttonLog + // + this.buttonLog.BackGround = this.smartForm1; + this.buttonLog.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonLog.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonLog.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonLog.ButtonImageAutoSize = true; + this.buttonLog.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonLog.ButtonText = "Log"; + this.buttonLog.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonLog.GroupID = 0; + this.buttonLog.ImageDisable = null; + this.buttonLog.ImageDown = null; + this.buttonLog.ImageUp = null; + this.buttonLog.Location = new System.Drawing.Point(911, 237); + this.buttonLog.Mode = SmartX.SmartButton.BUTTONMODE.PUSH; + this.buttonLog.Name = "buttonLog"; + this.buttonLog.NestedClickEventPrevent = false; + this.buttonLog.OutlinePixel = 2; + this.buttonLog.OverlapOptimize = true; + this.buttonLog.RepeatInterval = 200; + this.buttonLog.RepeatIntervalAccelerate = null; + this.buttonLog.RoundSize = 10; + this.buttonLog.SafeInterval = 200; + this.buttonLog.Size = new System.Drawing.Size(110, 60); + this.buttonLog.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonLog.TabIndex = 76; + this.buttonLog.Text = null; + this.buttonLog.TextColor = System.Drawing.Color.White; + this.buttonLog.TextColorDisable = System.Drawing.Color.Gray; + this.buttonLog.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonLog.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonLog.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonLog.Click += new System.EventHandler(this.buttonLog_Click); + // + // buttonManual + // + this.buttonManual.BackGround = this.smartForm1; + this.buttonManual.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonManual.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonManual.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonManual.ButtonImageAutoSize = true; + this.buttonManual.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonManual.ButtonText = "Manual"; + this.buttonManual.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonManual.GroupID = 0; + this.buttonManual.ImageDisable = null; + this.buttonManual.ImageDown = null; + this.buttonManual.ImageUp = null; + this.buttonManual.Location = new System.Drawing.Point(911, 171); + this.buttonManual.Mode = SmartX.SmartButton.BUTTONMODE.PUSH; + this.buttonManual.Name = "buttonManual"; + this.buttonManual.NestedClickEventPrevent = false; + this.buttonManual.OutlinePixel = 2; + this.buttonManual.OverlapOptimize = true; + this.buttonManual.RepeatInterval = 200; + this.buttonManual.RepeatIntervalAccelerate = null; + this.buttonManual.RoundSize = 10; + this.buttonManual.SafeInterval = 200; + this.buttonManual.Size = new System.Drawing.Size(110, 60); + this.buttonManual.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonManual.TabIndex = 75; + this.buttonManual.Text = null; + this.buttonManual.TextColor = System.Drawing.Color.White; + this.buttonManual.TextColorDisable = System.Drawing.Color.Gray; + this.buttonManual.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonManual.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonManual.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonManual.Click += new System.EventHandler(this.buttonManual_Click); + // + // buttonSetting + // + this.buttonSetting.BackGround = this.smartForm1; + this.buttonSetting.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonSetting.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonSetting.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonSetting.ButtonImageAutoSize = true; + this.buttonSetting.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonSetting.ButtonText = "Setting"; + this.buttonSetting.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonSetting.GroupID = 0; + this.buttonSetting.ImageDisable = null; + this.buttonSetting.ImageDown = null; + this.buttonSetting.ImageUp = null; + this.buttonSetting.Location = new System.Drawing.Point(911, 105); + this.buttonSetting.Mode = SmartX.SmartButton.BUTTONMODE.PUSH; + this.buttonSetting.Name = "buttonSetting"; + this.buttonSetting.NestedClickEventPrevent = false; + this.buttonSetting.OutlinePixel = 2; + this.buttonSetting.OverlapOptimize = true; + this.buttonSetting.RepeatInterval = 200; + this.buttonSetting.RepeatIntervalAccelerate = null; + this.buttonSetting.RoundSize = 10; + this.buttonSetting.SafeInterval = 200; + this.buttonSetting.Size = new System.Drawing.Size(110, 60); + this.buttonSetting.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonSetting.TabIndex = 74; + this.buttonSetting.Text = null; + this.buttonSetting.TextColor = System.Drawing.Color.White; + this.buttonSetting.TextColorDisable = System.Drawing.Color.Gray; + this.buttonSetting.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonSetting.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonSetting.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonSetting.Click += new System.EventHandler(this.buttonSetting_Click); // // labelStop // @@ -178,175 +452,93 @@ this.labelStop.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle; this.labelStop.Wordwrap = false; // - // smartButton2 + // buttonRecipe // - this.smartButton2.BackGround = null; - this.smartButton2.BackGroundColor = System.Drawing.Color.LightBlue; - this.smartButton2.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.smartButton2.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); - this.smartButton2.ButtonImageAutoSize = true; - this.smartButton2.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; - this.smartButton2.ButtonText = "Setting"; - this.smartButton2.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.smartButton2.GroupID = 0; - this.smartButton2.ImageDisable = null; - this.smartButton2.ImageDown = null; - this.smartButton2.ImageUp = null; - this.smartButton2.Location = new System.Drawing.Point(911, 105); - this.smartButton2.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; - this.smartButton2.Name = "smartButton2"; - this.smartButton2.NestedClickEventPrevent = false; - this.smartButton2.OutlinePixel = 2; - this.smartButton2.OverlapOptimize = true; - this.smartButton2.RepeatInterval = 200; - this.smartButton2.RepeatIntervalAccelerate = null; - this.smartButton2.RoundSize = 10; - this.smartButton2.SafeInterval = 200; - this.smartButton2.Size = new System.Drawing.Size(110, 60); - this.smartButton2.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; - this.smartButton2.TabIndex = 74; - this.smartButton2.Text = null; - this.smartButton2.TextColor = System.Drawing.Color.White; - this.smartButton2.TextColorDisable = System.Drawing.Color.Gray; - this.smartButton2.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); - this.smartButton2.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; - this.smartButton2.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonRecipe.BackGround = this.smartForm1; + this.buttonRecipe.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonRecipe.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonRecipe.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonRecipe.ButtonImageAutoSize = true; + this.buttonRecipe.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonRecipe.ButtonText = "Recipe"; + this.buttonRecipe.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonRecipe.GroupID = 0; + this.buttonRecipe.ImageDisable = null; + this.buttonRecipe.ImageDown = null; + this.buttonRecipe.ImageUp = null; + this.buttonRecipe.Location = new System.Drawing.Point(911, 39); + this.buttonRecipe.Mode = SmartX.SmartButton.BUTTONMODE.PUSH; + this.buttonRecipe.Name = "buttonRecipe"; + this.buttonRecipe.NestedClickEventPrevent = false; + this.buttonRecipe.OutlinePixel = 2; + this.buttonRecipe.OverlapOptimize = true; + this.buttonRecipe.RepeatInterval = 200; + this.buttonRecipe.RepeatIntervalAccelerate = null; + this.buttonRecipe.RoundSize = 10; + this.buttonRecipe.SafeInterval = 200; + this.buttonRecipe.Size = new System.Drawing.Size(110, 60); + this.buttonRecipe.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonRecipe.TabIndex = 72; + this.buttonRecipe.Text = null; + this.buttonRecipe.TextColor = System.Drawing.Color.White; + this.buttonRecipe.TextColorDisable = System.Drawing.Color.Gray; + this.buttonRecipe.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonRecipe.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonRecipe.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonRecipe.Click += new System.EventHandler(this.buttonRecipe_Click); // - // smartButton3 + // buttonHome // - this.smartButton3.BackGround = null; - this.smartButton3.BackGroundColor = System.Drawing.Color.LightBlue; - this.smartButton3.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.smartButton3.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); - this.smartButton3.ButtonImageAutoSize = true; - this.smartButton3.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; - this.smartButton3.ButtonText = "Manual"; - this.smartButton3.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.smartButton3.GroupID = 0; - this.smartButton3.ImageDisable = null; - this.smartButton3.ImageDown = null; - this.smartButton3.ImageUp = null; - this.smartButton3.Location = new System.Drawing.Point(911, 171); - this.smartButton3.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; - this.smartButton3.Name = "smartButton3"; - this.smartButton3.NestedClickEventPrevent = false; - this.smartButton3.OutlinePixel = 2; - this.smartButton3.OverlapOptimize = true; - this.smartButton3.RepeatInterval = 200; - this.smartButton3.RepeatIntervalAccelerate = null; - this.smartButton3.RoundSize = 10; - this.smartButton3.SafeInterval = 200; - this.smartButton3.Size = new System.Drawing.Size(110, 60); - this.smartButton3.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; - this.smartButton3.TabIndex = 75; - this.smartButton3.Text = null; - this.smartButton3.TextColor = System.Drawing.Color.White; - this.smartButton3.TextColorDisable = System.Drawing.Color.Gray; - this.smartButton3.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); - this.smartButton3.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; - this.smartButton3.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonHome.BackGround = this.smartForm1; + this.buttonHome.BackGroundColor = System.Drawing.Color.LightBlue; + this.buttonHome.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.buttonHome.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); + this.buttonHome.ButtonImageAutoSize = true; + this.buttonHome.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; + this.buttonHome.ButtonText = "HOME"; + this.buttonHome.ColorKeySamplePosition = new System.Drawing.Point(0, 0); + this.buttonHome.GroupID = 0; + this.buttonHome.ImageDisable = null; + this.buttonHome.ImageDown = null; + this.buttonHome.ImageUp = null; + this.buttonHome.Location = new System.Drawing.Point(911, 705); + this.buttonHome.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; + this.buttonHome.Name = "buttonHome"; + this.buttonHome.NestedClickEventPrevent = false; + this.buttonHome.OutlinePixel = 2; + this.buttonHome.OverlapOptimize = true; + this.buttonHome.RepeatInterval = 200; + this.buttonHome.RepeatIntervalAccelerate = null; + this.buttonHome.RoundSize = 10; + this.buttonHome.SafeInterval = 200; + this.buttonHome.Size = new System.Drawing.Size(110, 60); + this.buttonHome.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; + this.buttonHome.TabIndex = 71; + this.buttonHome.Text = null; + this.buttonHome.TextColor = System.Drawing.Color.White; + this.buttonHome.TextColorDisable = System.Drawing.Color.Gray; + this.buttonHome.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); + this.buttonHome.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; + this.buttonHome.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.buttonHome.Click += new System.EventHandler(this.buttonHome_Click); // - // smartButton4 + // smartGroupBox1 // - this.smartButton4.BackGround = null; - this.smartButton4.BackGroundColor = System.Drawing.Color.LightBlue; - this.smartButton4.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.smartButton4.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); - this.smartButton4.ButtonImageAutoSize = true; - this.smartButton4.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; - this.smartButton4.ButtonText = "Log"; - this.smartButton4.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.smartButton4.GroupID = 0; - this.smartButton4.ImageDisable = null; - this.smartButton4.ImageDown = null; - this.smartButton4.ImageUp = null; - this.smartButton4.Location = new System.Drawing.Point(911, 237); - this.smartButton4.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; - this.smartButton4.Name = "smartButton4"; - this.smartButton4.NestedClickEventPrevent = false; - this.smartButton4.OutlinePixel = 2; - this.smartButton4.OverlapOptimize = true; - this.smartButton4.RepeatInterval = 200; - this.smartButton4.RepeatIntervalAccelerate = null; - this.smartButton4.RoundSize = 10; - this.smartButton4.SafeInterval = 200; - this.smartButton4.Size = new System.Drawing.Size(110, 60); - this.smartButton4.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; - this.smartButton4.TabIndex = 76; - this.smartButton4.Text = null; - this.smartButton4.TextColor = System.Drawing.Color.White; - this.smartButton4.TextColorDisable = System.Drawing.Color.Gray; - this.smartButton4.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); - this.smartButton4.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; - this.smartButton4.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; - // - // smartButton5 - // - this.smartButton5.BackGround = null; - this.smartButton5.BackGroundColor = System.Drawing.Color.LightBlue; - this.smartButton5.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.smartButton5.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); - this.smartButton5.ButtonImageAutoSize = true; - this.smartButton5.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; - this.smartButton5.ButtonText = "System"; - this.smartButton5.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.smartButton5.GroupID = 0; - this.smartButton5.ImageDisable = null; - this.smartButton5.ImageDown = null; - this.smartButton5.ImageUp = null; - this.smartButton5.Location = new System.Drawing.Point(911, 303); - this.smartButton5.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; - this.smartButton5.Name = "smartButton5"; - this.smartButton5.NestedClickEventPrevent = false; - this.smartButton5.OutlinePixel = 2; - this.smartButton5.OverlapOptimize = true; - this.smartButton5.RepeatInterval = 200; - this.smartButton5.RepeatIntervalAccelerate = null; - this.smartButton5.RoundSize = 10; - this.smartButton5.SafeInterval = 200; - this.smartButton5.Size = new System.Drawing.Size(110, 60); - this.smartButton5.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; - this.smartButton5.TabIndex = 77; - this.smartButton5.Text = null; - this.smartButton5.TextColor = System.Drawing.Color.White; - this.smartButton5.TextColorDisable = System.Drawing.Color.Gray; - this.smartButton5.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); - this.smartButton5.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; - this.smartButton5.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; - // - // smartButton6 - // - this.smartButton6.BackGround = null; - this.smartButton6.BackGroundColor = System.Drawing.Color.LightBlue; - this.smartButton6.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); - this.smartButton6.ButtonDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(76)))), ((int)(((byte)(129))))); - this.smartButton6.ButtonImageAutoSize = true; - this.smartButton6.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound; - this.smartButton6.ButtonText = "측정시작"; - this.smartButton6.ColorKeySamplePosition = new System.Drawing.Point(0, 0); - this.smartButton6.GroupID = 0; - this.smartButton6.ImageDisable = null; - this.smartButton6.ImageDown = null; - this.smartButton6.ImageUp = null; - this.smartButton6.Location = new System.Drawing.Point(3, 705); - this.smartButton6.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL; - this.smartButton6.Name = "smartButton6"; - this.smartButton6.NestedClickEventPrevent = false; - this.smartButton6.OutlinePixel = 2; - this.smartButton6.OverlapOptimize = true; - this.smartButton6.RepeatInterval = 200; - this.smartButton6.RepeatIntervalAccelerate = null; - this.smartButton6.RoundSize = 10; - this.smartButton6.SafeInterval = 200; - this.smartButton6.Size = new System.Drawing.Size(110, 60); - this.smartButton6.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE; - this.smartButton6.TabIndex = 78; - this.smartButton6.Text = null; - this.smartButton6.TextColor = System.Drawing.Color.White; - this.smartButton6.TextColorDisable = System.Drawing.Color.Gray; - this.smartButton6.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); - this.smartButton6.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle; - this.smartButton6.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle; + this.smartGroupBox1.BackGround = null; + this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.smartGroupBox1.BackImage = null; + this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165))))); + this.smartGroupBox1.FrameLineThickness = 5; + this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar; + this.smartGroupBox1.HeaderHeightOffset = 9; + this.smartGroupBox1.Location = new System.Drawing.Point(0, 0); + this.smartGroupBox1.Name = "smartGroupBox1"; + this.smartGroupBox1.RoundRadius = 5; + this.smartGroupBox1.Size = new System.Drawing.Size(909, 703); + this.smartGroupBox1.TabIndex = 0; + this.smartGroupBox1.Text = "기본 > "; + this.smartGroupBox1.TextColor = System.Drawing.Color.White; // // FormMenu // @@ -367,13 +559,18 @@ private SmartX.SmartForm smartForm1; private SmartX.SmartGroupBox smartGroupBox1; - private SmartX.SmartButton smartButton1; - private SmartX.SmartButton buttonCut; - private SmartX.SmartButton smartButton4; - private SmartX.SmartButton smartButton3; - private SmartX.SmartButton smartButton2; + private SmartX.SmartButton buttonRecipe; + private SmartX.SmartButton buttonHome; + private SmartX.SmartButton buttonLog; + private SmartX.SmartButton buttonManual; + private SmartX.SmartButton buttonSetting; private SmartX.SmartLabel labelStop; - private SmartX.SmartButton smartButton6; - private SmartX.SmartButton smartButton5; + private SmartX.SmartButton buttonBottom1; + private SmartX.SmartButton buttonSystem; + private SmartX.SmartButton buttonBottom6; + private SmartX.SmartButton buttonBottom5; + private SmartX.SmartButton buttonBottom4; + private SmartX.SmartButton buttonBottom3; + private SmartX.SmartButton buttonBottom2; } } \ No newline at end of file diff --git a/INT_PT002/Forms/FormMenu.cs b/INT_PT002/Forms/FormMenu.cs index 1c23a1d..cd499fc 100644 --- a/INT_PT002/Forms/FormMenu.cs +++ b/INT_PT002/Forms/FormMenu.cs @@ -7,21 +7,311 @@ using System.Drawing; using System.Text; using System.Windows.Forms; +using INT_PT002.Controls; +using INT_PT002.DataStore; + namespace INT_PT002.Forms { public partial class FormMenu : Form { - public FormMenu() + #region Field + private FormMain m_ParentForm; + + ControlMenuManualIoTest Child_Manual_IoTest; + ControlMenuManualMotorSetting Child_Manual_MotorSetting; + ControlMenuSettingCommunication Child_Setting_Communication; + ControlMenuSettingConfiguration Child_Setting_Configuration; + ControlMenuSettingUserEditor Child_Setting_UserEditor; + + private Define.E_TopMenuStore SelectedTopMenu; + #endregion + + #region Constructor + public FormMenu(FormMain parent) { InitializeComponent(); + + this.ParentForm = parent; + this.Initialize(); + this.CreateChildControls(); + } + #endregion + + #region Property + public FormMain ParentForm + { + get { return this.m_ParentForm; } + private set { this.m_ParentForm = value; } + } + #endregion + + #region Method + private void Initialize() + { + this.SelectedTopMenu = Define.E_TopMenuStore.Recipe; + } + private void CreateChildControls() + { + this.Child_Manual_IoTest = new ControlMenuManualIoTest(this); + this.Child_Manual_MotorSetting = new ControlMenuManualMotorSetting(this); + this.Child_Setting_Communication = new ControlMenuSettingCommunication(this); + this.Child_Setting_Configuration = new ControlMenuSettingConfiguration(this); + this.Child_Setting_UserEditor = new ControlMenuSettingUserEditor(this); + + this.Controls.Add(this.Child_Manual_IoTest); + this.Controls.Add(this.Child_Manual_MotorSetting); + this.Controls.Add(this.Child_Setting_Communication); + this.Controls.Add(this.Child_Setting_Configuration); + this.Controls.Add(this.Child_Setting_UserEditor); + + this.Child_Manual_IoTest.Location = new Point(0, 0); + this.Child_Manual_MotorSetting.Location = new Point(0, 0); + this.Child_Setting_Communication.Location = new Point(0, 0); + this.Child_Setting_Configuration.Location = new Point(0, 0); + this.Child_Setting_UserEditor.Location = new Point(0, 0); } - private void buttonCut_Click(object sender, EventArgs e) + private void SetTopMenu(Define.E_TopMenuStore bottom) + { + switch (bottom) + { + case Define.E_TopMenuStore.Recipe: + this.buttonRecipe.ButtonDown(); + this.buttonSetting.ButtonUp(); + this.buttonManual.ButtonUp(); + this.buttonLog.ButtonUp(); + this.buttonSystem.ButtonUp(); + + this.buttonBottom1.Visible = false; + this.buttonBottom2.Visible = false; + this.buttonBottom3.Visible = false; + this.buttonBottom4.Visible = false; + this.buttonBottom5.Visible = false; + this.buttonBottom6.Visible = false; + break; + case Define.E_TopMenuStore.Setting: + this.buttonRecipe.ButtonUp(); + this.buttonSetting.ButtonDown(); + this.buttonManual.ButtonUp(); + this.buttonLog.ButtonUp(); + this.buttonSystem.ButtonUp(); + + this.buttonBottom1.ButtonText = "Config"; + this.buttonBottom2.ButtonText = "COM"; + this.buttonBottom3.ButtonText = "User"; + + this.buttonBottom1.Visible = true; + this.buttonBottom2.Visible = true; + this.buttonBottom3.Visible = true; + this.buttonBottom4.Visible = false; + this.buttonBottom5.Visible = false; + this.buttonBottom6.Visible = false; + break; + case Define.E_TopMenuStore.Manual: + this.buttonRecipe.ButtonUp(); + this.buttonSetting.ButtonUp(); + this.buttonManual.ButtonDown(); + this.buttonLog.ButtonUp(); + this.buttonSystem.ButtonUp(); + + this.buttonBottom1.ButtonText = "IO Test"; + this.buttonBottom2.ButtonText = "Motor"; + + this.buttonBottom1.Visible = true; + this.buttonBottom2.Visible = true; + this.buttonBottom3.Visible = false; + this.buttonBottom4.Visible = false; + this.buttonBottom5.Visible = false; + this.buttonBottom6.Visible = false; + break; + case Define.E_TopMenuStore.Log: + this.buttonRecipe.ButtonUp(); + this.buttonSetting.ButtonUp(); + this.buttonManual.ButtonUp(); + this.buttonLog.ButtonDown(); + this.buttonSystem.ButtonUp(); + + this.buttonBottom1.ButtonText = "History"; + this.buttonBottom2.ButtonText = "Inspection"; + this.buttonBottom3.ButtonText = "Alarm"; + + this.buttonBottom1.Visible = true; + this.buttonBottom2.Visible = true; + this.buttonBottom3.Visible = true; + this.buttonBottom4.Visible = false; + this.buttonBottom5.Visible = false; + this.buttonBottom6.Visible = false; + break; + case Define.E_TopMenuStore.System: + this.buttonRecipe.ButtonUp(); + this.buttonSetting.ButtonUp(); + this.buttonManual.ButtonUp(); + this.buttonLog.ButtonUp(); + this.buttonSystem.ButtonDown(); + + this.buttonBottom1.ButtonText = "Information"; + this.buttonBottom2.ButtonText = "Time"; + this.buttonBottom3.ButtonText = "Equipment"; + this.buttonBottom4.ButtonText = "Update"; + + this.buttonBottom1.Visible = true; + this.buttonBottom2.Visible = true; + this.buttonBottom3.Visible = true; + this.buttonBottom4.Visible = true; + this.buttonBottom5.Visible = false; + this.buttonBottom6.Visible = false; + break; + default: + this.buttonBottom1.Visible = false; + this.buttonBottom2.Visible = false; + this.buttonBottom3.Visible = false; + this.buttonBottom4.Visible = false; + this.buttonBottom5.Visible = false; + this.buttonBottom6.Visible = false; + break; + } + } + private void SetBottomMenuRecipe(Define.E_MenuRecipeStore menu) + { + } + private void SetBottomMenuSetting(Define.E_MenuSettingStore menu) + { + switch (menu) + { + case Define.E_MenuSettingStore.Communication: + break; + case Define.E_MenuSettingStore.Configuration: + break; + case Define.E_MenuSettingStore.UserEditor: + break; + default: + break; + } + } + private void SetBottomMenuManual(Define.E_MenuManualStore menu) + { + switch (menu) + { + case Define.E_MenuManualStore.IoTest: + break; + case Define.E_MenuManualStore.MotorSetting: + break; + default: + break; + } + } + private void SetBottomMenuLog(Define.E_MenuLogStore menu) + { + switch (menu) + { + case Define.E_MenuLogStore.History: + break; + case Define.E_MenuLogStore.Inspection: + break; + case Define.E_MenuLogStore.Alarm: + break; + default: + break; + } + } + private void SetBottomMenuSystem(Define.E_MenuSystemStore menu) + { + switch (menu) + { + case Define.E_MenuSystemStore.Information: + break; + case Define.E_MenuSystemStore.Time: + break; + case Define.E_MenuSystemStore.Equipment: + break; + case Define.E_MenuSystemStore.Update: + break; + default: + break; + } + } + + public void DisplayRefresh() + { + this.SelectedTopMenu = Define.E_TopMenuStore.Recipe; + this.SetTopMenu(this.SelectedTopMenu); + } + #endregion + + #region Event Handler + private void buttonHome_Click(object sender, EventArgs e) + { + this.ParentForm.ChildFormMainDisplay.DisplayRefresh(); + this.ParentForm.FormChange((int)Define.E_FormStore.FormMainDisplay); + } + private void buttonRecipe_Click(object sender, EventArgs e) + { + if (this.SelectedTopMenu != Define.E_TopMenuStore.Recipe) + { + this.SelectedTopMenu = Define.E_TopMenuStore.Recipe; + this.SetTopMenu(this.SelectedTopMenu); + } + } + private void buttonSetting_Click(object sender, EventArgs e) + { + if (this.SelectedTopMenu != Define.E_TopMenuStore.Setting) + { + this.SelectedTopMenu = Define.E_TopMenuStore.Setting; + this.SetTopMenu(this.SelectedTopMenu); + } + } + private void buttonManual_Click(object sender, EventArgs e) + { + if (this.SelectedTopMenu != Define.E_TopMenuStore.Manual) + { + this.SelectedTopMenu = Define.E_TopMenuStore.Manual; + this.SetTopMenu(this.SelectedTopMenu); + } + } + private void buttonLog_Click(object sender, EventArgs e) + { + if (this.SelectedTopMenu != Define.E_TopMenuStore.Log) + { + this.SelectedTopMenu = Define.E_TopMenuStore.Log; + this.SetTopMenu(this.SelectedTopMenu); + } + } + private void buttonSystem_Click(object sender, EventArgs e) + { + if (this.SelectedTopMenu != Define.E_TopMenuStore.System) + { + this.SelectedTopMenu = Define.E_TopMenuStore.System; + this.SetTopMenu(this.SelectedTopMenu); + } + } + #endregion + + private void buttonBottom1_Click(object sender, EventArgs e) { } - private void labelStop_Click(object sender, EventArgs e) + private void buttonBottom2_Click(object sender, EventArgs e) + { + + } + + private void buttonBottom3_Click(object sender, EventArgs e) + { + + } + + private void buttonBottom4_Click(object sender, EventArgs e) + { + + } + + private void buttonBottom5_Click(object sender, EventArgs e) + { + + } + + private void buttonBottom6_Click(object sender, EventArgs e) { } diff --git a/INT_PT002/INT_PT002.csproj b/INT_PT002/INT_PT002.csproj index 33029b0..1b7fb84 100644 --- a/INT_PT002/INT_PT002.csproj +++ b/INT_PT002/INT_PT002.csproj @@ -69,6 +69,36 @@ + + UserControl + + + ControlBottomManual.cs + + + UserControl + + + ControlBottomSetting.cs + + + UserControl + + + ControlMenuManualMotorSetting.cs + + + UserControl + + + ControlMenuManualIoTest.cs + + + UserControl + + + ControlMenuSettingCommunication.cs + UserControl @@ -81,6 +111,18 @@ ControlMainDisplayDotGraph.cs + + UserControl + + + ControlMenuSettingConfiguration.cs + + + UserControl + + + ControlMenuSettingUserEditor.cs + @@ -132,6 +174,26 @@ ControlMainDisplayDotGraph.cs Designer + + ControlMenuManualIoTest.cs + Designer + + + ControlMenuManualMotorSetting.cs + Designer + + + ControlMenuSettingCommunication.cs + Designer + + + ControlMenuSettingConfiguration.cs + Designer + + + ControlMenuSettingUserEditor.cs + Designer + DialogFormNumKeyPad.cs Designer