namespace QueueSys { partial class frmOptions { /// /// 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 Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.cbConfirmDelete = new System.Windows.Forms.CheckBox(); this.btnSaveClose = new System.Windows.Forms.Button(); this.SuspendLayout(); // // cbConfirmDelete // this.cbConfirmDelete.AutoSize = true; // Toggle the checkbox based on the confirmdelete option. switch(Properties.Settings.Default.ConfirmDelete) { case true: { this.cbConfirmDelete.Checked = true; this.cbConfirmDelete.CheckState = System.Windows.Forms.CheckState.Checked; break; } case false: { this.cbConfirmDelete.Checked = false; this.cbConfirmDelete.CheckState = System.Windows.Forms.CheckState.Unchecked; break; } } this.cbConfirmDelete.Location = new System.Drawing.Point(13, 31); this.cbConfirmDelete.Name = "cbConfirmDelete"; this.cbConfirmDelete.Size = new System.Drawing.Size(355, 24); this.cbConfirmDelete.TabIndex = 0; this.cbConfirmDelete.Text = "Confirm deleting customer from active bag list"; this.cbConfirmDelete.UseVisualStyleBackColor = true; this.cbConfirmDelete.CheckedChanged += new System.EventHandler(this.cbConfirmDelete_CheckedChanged); // // btnSaveClose // this.btnSaveClose.Location = new System.Drawing.Point(12, 72); this.btnSaveClose.Name = "btnSaveClose"; this.btnSaveClose.Size = new System.Drawing.Size(169, 38); this.btnSaveClose.TabIndex = 1; this.btnSaveClose.Text = "Save and close"; this.btnSaveClose.UseVisualStyleBackColor = true; this.btnSaveClose.Click += new System.EventHandler(this.btnSaveClose_Click); // // frmOptions // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(382, 122); this.Controls.Add(this.btnSaveClose); this.Controls.Add(this.cbConfirmDelete); this.Name = "frmOptions"; this.Text = "Options"; this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.CheckBox cbConfirmDelete; private System.Windows.Forms.Button btnSaveClose; } }