using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace AyaNova.PlugIn.QBOI { public class SetToBeEmailed : SetBase { private System.Windows.Forms.CheckBox ckEmailed; private System.ComponentModel.IContainer components = null; public SetToBeEmailed() { // This call is required by the Windows Form Designer. InitializeComponent(); } /// /// Clean up any resources being used. /// protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.ckEmailed = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // ckEmailed // this.ckEmailed.Location = new System.Drawing.Point(16, 302); this.ckEmailed.Name = "ckEmailed"; this.ckEmailed.Size = new System.Drawing.Size(367, 28); this.ckEmailed.TabIndex = 29; this.ckEmailed.Text = "Set To be emailed / \"Send later\""; // // SetToBeEmailed // this.AutoScaleBaseSize = new System.Drawing.Size(6, 15); this.ClientSize = new System.Drawing.Size(637, 408); this.Controls.Add(this.ckEmailed); this.Name = "SetToBeEmailed"; this.Text = ""; this.Load += new System.EventHandler(this.SetToBePrinted_Load); this.Controls.SetChildIndex(this.ckEmailed, 0); this.ResumeLayout(false); } #endregion private void SetToBePrinted_Load(object sender, System.EventArgs e) { } public bool ToBeEmailed { get { return this.ckEmailed.Checked; } set { this.ckEmailed.Checked=value; } } public override void btnOK_Click(object sender, EventArgs e) { base.ClosingHandled=true; this.DialogResult=DialogResult.OK; this.Close(); } } }