this.labelSystemIcon = new System.Windows.Forms.Label();\r
this.labelMessage = new System.Windows.Forms.Label();\r
this.label1 = new System.Windows.Forms.Label();\r
+ this.checkBoxDisable = new System.Windows.Forms.CheckBox();\r
this.SuspendLayout();\r
// \r
// textBoxDetails\r
this.label1.TabIndex = 2;\r
this.label1.Text = "エラーの詳細";\r
// \r
+ // checkBoxDisable\r
+ // \r
+ this.checkBoxDisable.AutoSize = true;\r
+ this.checkBoxDisable.Location = new System.Drawing.Point(9, 234);\r
+ this.checkBoxDisable.Name = "checkBoxDisable";\r
+ this.checkBoxDisable.Size = new System.Drawing.Size(133, 16);\r
+ this.checkBoxDisable.TabIndex = 6;\r
+ this.checkBoxDisable.Text = "一時的に表示を止める";\r
+ this.checkBoxDisable.UseVisualStyleBackColor = true;\r
+ // \r
// ErrorDialog\r
// \r
this.AcceptButton = this.buttonContinue;\r
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);\r
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
this.ClientSize = new System.Drawing.Size(334, 265);\r
+ this.Controls.Add(this.checkBoxDisable);\r
this.Controls.Add(this.label1);\r
this.Controls.Add(this.labelMessage);\r
this.Controls.Add(this.labelSystemIcon);\r
private System.Windows.Forms.Label labelSystemIcon;\r
private System.Windows.Forms.Label labelMessage;\r
private System.Windows.Forms.Label label1;\r
+ private System.Windows.Forms.CheckBox checkBoxDisable;\r
}\r
}
\ No newline at end of file
\r
public DialogResult ShowDialog(IWin32Window owner, string message, string details)\r
{\r
- if (Visible)\r
+ if (Visible || checkBoxDisable.Checked)\r
return DialogResult.Ignore;\r
labelMessage.Text = message;\r
textBoxDetails.Text = details;\r