Mercurial > servermonitor
view ServerMonitor/Forms/CheckBoxDialog.Designer.cs @ 23:3866c19535fd
Fix NullReferenceException when checks are executed on a brand new server.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Thu, 30 May 2019 21:40:27 -0400 |
parents | 3e1a2131f897 |
children |
line wrap: on
line source
namespace ServerMonitorApp { partial class CheckBoxDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.PromptCheckBox = new System.Windows.Forms.CheckBox(); this.YesButton = new System.Windows.Forms.Button(); this.NoButton = new System.Windows.Forms.Button(); this.MessageLabel = new System.Windows.Forms.Label(); this.MessageIcon = new System.Windows.Forms.PictureBox(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.MessageIcon)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // PromptCheckBox // this.PromptCheckBox.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.PromptCheckBox.AutoSize = true; this.PromptCheckBox.Location = new System.Drawing.Point(12, 17); this.PromptCheckBox.Name = "PromptCheckBox"; this.PromptCheckBox.Size = new System.Drawing.Size(107, 17); this.PromptCheckBox.TabIndex = 3; this.PromptCheckBox.Text = "&Do not ask again"; this.PromptCheckBox.UseVisualStyleBackColor = true; this.PromptCheckBox.CheckedChanged += new System.EventHandler(this.PromptCheckBox_CheckedChanged); // // YesButton // this.YesButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.YesButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.YesButton.Location = new System.Drawing.Point(165, 13); this.YesButton.Name = "YesButton"; this.YesButton.Size = new System.Drawing.Size(75, 23); this.YesButton.TabIndex = 1; this.YesButton.Text = "&Yes"; this.YesButton.UseVisualStyleBackColor = true; // // NoButton // this.NoButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.NoButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.NoButton.Location = new System.Drawing.Point(246, 13); this.NoButton.Name = "NoButton"; this.NoButton.Size = new System.Drawing.Size(75, 23); this.NoButton.TabIndex = 2; this.NoButton.Text = "&No"; this.NoButton.UseVisualStyleBackColor = true; // // MessageLabel // this.MessageLabel.AutoSize = true; this.MessageLabel.Location = new System.Drawing.Point(70, 36); this.MessageLabel.Name = "MessageLabel"; this.MessageLabel.Size = new System.Drawing.Size(0, 13); this.MessageLabel.TabIndex = 3; // // MessageIcon // this.MessageIcon.Location = new System.Drawing.Point(25, 26); this.MessageIcon.Name = "MessageIcon"; this.MessageIcon.Size = new System.Drawing.Size(32, 32); this.MessageIcon.TabIndex = 4; this.MessageIcon.TabStop = false; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Control; this.panel1.Controls.Add(this.YesButton); this.panel1.Controls.Add(this.NoButton); this.panel1.Controls.Add(this.PromptCheckBox); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 84); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(333, 49); this.panel1.TabIndex = 5; // // CheckBoxDialog // this.AcceptButton = this.YesButton; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.CancelButton = this.NoButton; this.ClientSize = new System.Drawing.Size(333, 133); this.Controls.Add(this.panel1); this.Controls.Add(this.MessageIcon); this.Controls.Add(this.MessageLabel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "CheckBoxDialog"; this.ShowInTaskbar = false; this.Text = "Delete Check"; this.Load += new System.EventHandler(this.CheckBoxDialog_Load); ((System.ComponentModel.ISupportInitialize)(this.MessageIcon)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.CheckBox PromptCheckBox; private System.Windows.Forms.Button YesButton; private System.Windows.Forms.Button NoButton; private System.Windows.Forms.Label MessageLabel; private System.Windows.Forms.PictureBox MessageIcon; private System.Windows.Forms.Panel panel1; } }