옵션 피드백 추가

main
CJY 2025-12-18 19:09:32 +09:00
parent d9a8ff6cc3
commit 2d45607f51
3 changed files with 619 additions and 648 deletions

View File

@ -148,11 +148,11 @@ namespace INT63DC_6CH.Forms
}
private void InitializeControl()
{
//// 피드백 보드 사용 유무
//if (this.ParentForm.SystemConfig.IsOptFeedbackBoardUse == true)
// this.buttonFeedbackUse.ButtonDown();
//else
// this.buttonFeedbackUse.ButtonUp();
// 피드백 보드 사용 유무
if (this.ParentForm.SystemConfig.IsFeedback == true)
this.buttonFeedback.ButtonDown();
else
this.buttonFeedback.ButtonUp();
// 데이터 통계 기능 사용 유무
if (this.ParentForm.SystemConfig.IsDataStatistics == true)
@ -184,10 +184,10 @@ namespace INT63DC_6CH.Forms
private void buttonSave_Click(object sender, EventArgs e)
{
//// 피드백 보드 사용 유무
//if (this.buttonFeedbackUse.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
// this.ParentForm.SystemConfig.IsOptFeedbackBoardUse = true;
//else
// this.ParentForm.SystemConfig.IsOptFeedbackBoardUse = false;
if (this.buttonFeedback.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
this.ParentForm.SystemConfig.IsFeedback = true;
else
this.ParentForm.SystemConfig.IsFeedback = false;
// 데이터 통계 기능 사용 유무
if (this.buttonDataStatistics.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
@ -260,6 +260,11 @@ namespace INT63DC_6CH.Forms
if (this.buttonSave.Visible == false)
this.buttonSave.Visible = true;
}
private void buttonFeedback_Click(object sender, EventArgs e)
{
if (this.buttonSave.Visible == false)
this.buttonSave.Visible = true;
}
#endregion
}
}

View File

@ -34,6 +34,8 @@
this.labelTitle = new SmartX.SmartLabel();
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.groupBoxOption = new SmartX.SmartGroupBox();
this.buttonFeedback = new SmartX.SmartButton();
this.smartLabel3 = new SmartX.SmartLabel();
this.buttonPart11 = new SmartX.SmartButton();
this.smartLabel2 = new SmartX.SmartLabel();
this.buttonDataStatistics = new SmartX.SmartButton();
@ -41,8 +43,6 @@
this.labelBuadrateWarning2 = new SmartX.SmartLabel();
this.labelBuadrateWarning = new SmartX.SmartLabel();
this.buttonSave = new SmartX.SmartButton();
this.buttonFeedback = new SmartX.SmartButton();
this.smartLabel3 = new SmartX.SmartLabel();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.smartGroupBox1.SuspendLayout();
this.groupBoxOption.SuspendLayout();
@ -101,7 +101,7 @@
this.labelTitle.BackPictureBox2 = null;
this.labelTitle.BorderColor = System.Drawing.Color.Black;
this.labelTitle.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle.Font = new System.Drawing.Font("New Gulim", 35F, System.Drawing.FontStyle.Bold);
this.labelTitle.Font = new System.Drawing.Font("새굴림", 35F, System.Drawing.FontStyle.Bold);
this.labelTitle.InitVisible = true;
this.labelTitle.LineSpacing = 0F;
this.labelTitle.Location = new System.Drawing.Point(199, 7);
@ -154,14 +154,64 @@
this.groupBoxOption.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.RoundRectangle;
this.groupBoxOption.Image = null;
this.groupBoxOption.InitVisible = true;
this.groupBoxOption.Location = new System.Drawing.Point(186, 204);
this.groupBoxOption.Location = new System.Drawing.Point(229, 256);
this.groupBoxOption.Name = "groupBoxOption";
this.groupBoxOption.RoundRadius = 10;
this.groupBoxOption.Size = new System.Drawing.Size(668, 182);
this.groupBoxOption.Size = new System.Drawing.Size(573, 182);
this.groupBoxOption.TabIndex = 210;
this.groupBoxOption.Text = "Option";
this.groupBoxOption.TextColor = System.Drawing.Color.Black;
//
// buttonFeedback
//
this.buttonFeedback.BackPictureBox = null;
this.buttonFeedback.BackPictureBox1 = null;
this.buttonFeedback.BackPictureBox2 = null;
this.buttonFeedback.ButtonColor = System.Drawing.Color.Gray;
this.buttonFeedback.ButtonImageAutoSize = true;
this.buttonFeedback.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonFeedback.DisableImage = null;
this.buttonFeedback.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonFeedback.DownImage")));
this.buttonFeedback.GroupID = 0;
this.buttonFeedback.InitVisible = true;
this.buttonFeedback.Location = new System.Drawing.Point(323, 100);
this.buttonFeedback.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonFeedback.Name = "buttonFeedback";
this.buttonFeedback.NestedClickEventPrevent = false;
this.buttonFeedback.OutlinePixel = 1;
this.buttonFeedback.RepeatInterval = 200;
this.buttonFeedback.RepeatIntervalAccelerate = null;
this.buttonFeedback.SafeInterval = 200;
this.buttonFeedback.Size = new System.Drawing.Size(84, 25);
this.buttonFeedback.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonFeedback.TabIndex = 210;
this.buttonFeedback.TextColor = System.Drawing.Color.Black;
this.buttonFeedback.TextDownColor = System.Drawing.Color.White;
this.buttonFeedback.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonFeedback.TextLocation = new System.Drawing.Point(0, 0);
this.buttonFeedback.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonFeedback.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonFeedback.UpImage")));
this.buttonFeedback.Click += new System.EventHandler(this.buttonFeedback_Click);
//
// smartLabel3
//
this.smartLabel3.BackPictureBox = this.smartForm1;
this.smartLabel3.BackPictureBox1 = null;
this.smartLabel3.BackPictureBox2 = null;
this.smartLabel3.BorderColor = System.Drawing.Color.Black;
this.smartLabel3.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel3.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.smartLabel3.InitVisible = true;
this.smartLabel3.LineSpacing = 0F;
this.smartLabel3.Location = new System.Drawing.Point(117, 100);
this.smartLabel3.Name = "smartLabel3";
this.smartLabel3.Size = new System.Drawing.Size(200, 25);
this.smartLabel3.TabIndex = 209;
this.smartLabel3.Text = "Feedback";
this.smartLabel3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.smartLabel3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel3.Wordwrap = false;
//
// buttonPart11
//
this.buttonPart11.BackPictureBox = null;
@ -174,7 +224,7 @@
this.buttonPart11.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonPart11.DownImage")));
this.buttonPart11.GroupID = 0;
this.buttonPart11.InitVisible = true;
this.buttonPart11.Location = new System.Drawing.Point(342, 75);
this.buttonPart11.Location = new System.Drawing.Point(323, 38);
this.buttonPart11.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonPart11.Name = "buttonPart11";
this.buttonPart11.NestedClickEventPrevent = false;
@ -201,10 +251,10 @@
this.smartLabel2.BackPictureBox2 = null;
this.smartLabel2.BorderColor = System.Drawing.Color.Black;
this.smartLabel2.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel2.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.smartLabel2.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.smartLabel2.InitVisible = true;
this.smartLabel2.LineSpacing = 0F;
this.smartLabel2.Location = new System.Drawing.Point(136, 75);
this.smartLabel2.Location = new System.Drawing.Point(117, 38);
this.smartLabel2.Name = "smartLabel2";
this.smartLabel2.Size = new System.Drawing.Size(200, 25);
this.smartLabel2.TabIndex = 207;
@ -226,7 +276,7 @@
this.buttonDataStatistics.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonDataStatistics.DownImage")));
this.buttonDataStatistics.GroupID = 0;
this.buttonDataStatistics.InitVisible = true;
this.buttonDataStatistics.Location = new System.Drawing.Point(342, 44);
this.buttonDataStatistics.Location = new System.Drawing.Point(323, 69);
this.buttonDataStatistics.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonDataStatistics.Name = "buttonDataStatistics";
this.buttonDataStatistics.NestedClickEventPrevent = false;
@ -252,10 +302,10 @@
this.smartLabel1.BackPictureBox2 = null;
this.smartLabel1.BorderColor = System.Drawing.Color.Black;
this.smartLabel1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel1.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.smartLabel1.Font = new System.Drawing.Font("새굴림", 12F, System.Drawing.FontStyle.Bold);
this.smartLabel1.InitVisible = true;
this.smartLabel1.LineSpacing = 0F;
this.smartLabel1.Location = new System.Drawing.Point(136, 44);
this.smartLabel1.Location = new System.Drawing.Point(117, 69);
this.smartLabel1.Name = "smartLabel1";
this.smartLabel1.Size = new System.Drawing.Size(200, 25);
this.smartLabel1.TabIndex = 205;
@ -272,7 +322,7 @@
this.labelBuadrateWarning2.BackPictureBox2 = null;
this.labelBuadrateWarning2.BorderColor = System.Drawing.Color.Black;
this.labelBuadrateWarning2.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelBuadrateWarning2.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelBuadrateWarning2.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelBuadrateWarning2.ForeColor = System.Drawing.Color.DarkRed;
this.labelBuadrateWarning2.InitVisible = true;
this.labelBuadrateWarning2.LineSpacing = 0F;
@ -293,7 +343,7 @@
this.labelBuadrateWarning.BackPictureBox2 = null;
this.labelBuadrateWarning.BorderColor = System.Drawing.Color.Black;
this.labelBuadrateWarning.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelBuadrateWarning.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelBuadrateWarning.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelBuadrateWarning.ForeColor = System.Drawing.Color.DarkRed;
this.labelBuadrateWarning.InitVisible = true;
this.labelBuadrateWarning.LineSpacing = 0F;
@ -337,57 +387,6 @@
this.buttonSave.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonSave.UpImage")));
this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
//
// buttonFeedback
//
this.buttonFeedback.BackPictureBox = null;
this.buttonFeedback.BackPictureBox1 = null;
this.buttonFeedback.BackPictureBox2 = null;
this.buttonFeedback.ButtonColor = System.Drawing.Color.Gray;
this.buttonFeedback.ButtonImageAutoSize = true;
this.buttonFeedback.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonFeedback.DisableImage = null;
this.buttonFeedback.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonFeedback.DownImage")));
this.buttonFeedback.GroupID = 0;
this.buttonFeedback.InitVisible = true;
this.buttonFeedback.Location = new System.Drawing.Point(342, 106);
this.buttonFeedback.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
this.buttonFeedback.Name = "buttonFeedback";
this.buttonFeedback.NestedClickEventPrevent = false;
this.buttonFeedback.OutlinePixel = 1;
this.buttonFeedback.RepeatInterval = 200;
this.buttonFeedback.RepeatIntervalAccelerate = null;
this.buttonFeedback.SafeInterval = 200;
this.buttonFeedback.Size = new System.Drawing.Size(84, 25);
this.buttonFeedback.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonFeedback.TabIndex = 210;
this.buttonFeedback.TextColor = System.Drawing.Color.Black;
this.buttonFeedback.TextDownColor = System.Drawing.Color.White;
this.buttonFeedback.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonFeedback.TextLocation = new System.Drawing.Point(0, 0);
this.buttonFeedback.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonFeedback.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonFeedback.UpImage")));
this.buttonFeedback.Visible = false;
//
// smartLabel3
//
this.smartLabel3.BackPictureBox = this.smartForm1;
this.smartLabel3.BackPictureBox1 = null;
this.smartLabel3.BackPictureBox2 = null;
this.smartLabel3.BorderColor = System.Drawing.Color.Black;
this.smartLabel3.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.smartLabel3.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.smartLabel3.InitVisible = true;
this.smartLabel3.LineSpacing = 0F;
this.smartLabel3.Location = new System.Drawing.Point(136, 106);
this.smartLabel3.Name = "smartLabel3";
this.smartLabel3.Size = new System.Drawing.Size(200, 25);
this.smartLabel3.TabIndex = 209;
this.smartLabel3.Text = "Feedback";
this.smartLabel3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Right;
this.smartLabel3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.smartLabel3.Visible = false;
this.smartLabel3.Wordwrap = false;
//
// FormOptionSetting
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);

File diff suppressed because it is too large Load Diff