From 75e8679b306270b58ee4666d208d606ded651a64 Mon Sep 17 00:00:00 2001 From: Kazuhiro Fujieda Date: Tue, 12 Dec 2017 21:31:22 +0900 Subject: [PATCH] =?utf8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=83=80=E3=82=A4?= =?utf8?q?=E3=82=A2=E3=83=AD=E3=82=B0=E3=82=92=E4=B8=80=E6=99=82=E7=9A=84?= =?utf8?q?=E3=81=AB=E9=9D=9E=E8=A1=A8=E7=A4=BA=E3=81=AB=E3=81=A7=E3=81=8D?= =?utf8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- KancolleSniffer/ErrorDialog.Designer.cs | 13 +++++++++++++ KancolleSniffer/ErrorDialog.cs | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/KancolleSniffer/ErrorDialog.Designer.cs b/KancolleSniffer/ErrorDialog.Designer.cs index e588716..77a46f6 100644 --- a/KancolleSniffer/ErrorDialog.Designer.cs +++ b/KancolleSniffer/ErrorDialog.Designer.cs @@ -48,6 +48,7 @@ namespace KancolleSniffer this.labelSystemIcon = new System.Windows.Forms.Label(); this.labelMessage = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); + this.checkBoxDisable = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // textBoxDetails @@ -106,12 +107,23 @@ namespace KancolleSniffer this.label1.TabIndex = 2; this.label1.Text = "エラーの詳細"; // + // checkBoxDisable + // + this.checkBoxDisable.AutoSize = true; + this.checkBoxDisable.Location = new System.Drawing.Point(9, 234); + this.checkBoxDisable.Name = "checkBoxDisable"; + this.checkBoxDisable.Size = new System.Drawing.Size(133, 16); + this.checkBoxDisable.TabIndex = 6; + this.checkBoxDisable.Text = "一時的に表示を止める"; + this.checkBoxDisable.UseVisualStyleBackColor = true; + // // ErrorDialog // this.AcceptButton = this.buttonContinue; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(334, 265); + this.Controls.Add(this.checkBoxDisable); this.Controls.Add(this.label1); this.Controls.Add(this.labelMessage); this.Controls.Add(this.labelSystemIcon); @@ -137,5 +149,6 @@ namespace KancolleSniffer private System.Windows.Forms.Label labelSystemIcon; private System.Windows.Forms.Label labelMessage; private System.Windows.Forms.Label label1; + private System.Windows.Forms.CheckBox checkBoxDisable; } } \ No newline at end of file diff --git a/KancolleSniffer/ErrorDialog.cs b/KancolleSniffer/ErrorDialog.cs index c485af1..db94d95 100644 --- a/KancolleSniffer/ErrorDialog.cs +++ b/KancolleSniffer/ErrorDialog.cs @@ -30,7 +30,7 @@ namespace KancolleSniffer public DialogResult ShowDialog(IWin32Window owner, string message, string details) { - if (Visible) + if (Visible || checkBoxDisable.Checked) return DialogResult.Ignore; labelMessage.Text = message; textBoxDetails.Text = details; -- 2.11.0