96 lines
2.4 KiB
C#
96 lines
2.4 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AyaNova.PlugIn.QBI
|
|
{
|
|
public class SetToBePrinted : SetBase
|
|
{
|
|
private System.Windows.Forms.CheckBox ckPrinted;
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
public SetToBePrinted()
|
|
{
|
|
// This call is required by the Windows Form Designer.
|
|
InitializeComponent();
|
|
|
|
// TODO: Add any initialization after the InitializeComponent call
|
|
}
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
protected override void Dispose( bool disposing )
|
|
{
|
|
if( disposing )
|
|
{
|
|
if (components != null)
|
|
{
|
|
components.Dispose();
|
|
}
|
|
}
|
|
base.Dispose( disposing );
|
|
}
|
|
|
|
#region 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.ckPrinted = new System.Windows.Forms.CheckBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// ckPrinted
|
|
//
|
|
this.ckPrinted.Location = new System.Drawing.Point(16, 302);
|
|
this.ckPrinted.Name = "ckPrinted";
|
|
this.ckPrinted.Size = new System.Drawing.Size(367, 28);
|
|
this.ckPrinted.TabIndex = 29;
|
|
this.ckPrinted.Text = "Set To be printed";
|
|
//
|
|
// SetToBePrinted
|
|
//
|
|
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
|
|
this.ClientSize = new System.Drawing.Size(637, 408);
|
|
this.Controls.Add(this.ckPrinted);
|
|
this.Name = "SetToBePrinted";
|
|
this.Text = "";
|
|
this.Load += new System.EventHandler(this.SetToBePrinted_Load);
|
|
this.Controls.SetChildIndex(this.ckPrinted, 0);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
#endregion
|
|
|
|
private void SetToBePrinted_Load(object sender, System.EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
public bool ToBePrinted
|
|
{
|
|
get
|
|
{
|
|
return this.ckPrinted.Checked;
|
|
}
|
|
set
|
|
{
|
|
this.ckPrinted.Checked=value;
|
|
}
|
|
}
|
|
|
|
|
|
public override void btnOK_Click(object sender, EventArgs e)
|
|
{
|
|
base.ClosingHandled=true;
|
|
this.DialogResult=DialogResult.OK;
|
|
this.Close();
|
|
}
|
|
}
|
|
}
|
|
|