public ExportModule() { InitializeComponent(); F_Sender = SetFactory; this.textBoxUITypeEditor2.Button.MouseClick += new System.Windows.Forms.MouseEventHandler(this.textBoxUITypeEditor2_MouseClick); this.textBoxUITypeEditor1.Button.MouseClick += new System.Windows.Forms.MouseEventHandler(this.textBoxUITypeEditor1_MouseClick); this.textBoxUITypeEditor3.Button.MouseClick += new System.Windows.Forms.MouseEventHandler(this.textBoxUITypeEditor3_MouseClick); this.textBoxUITypeEditor4.Button.MouseClick += new System.Windows.Forms.MouseEventHandler(this.textBoxUITypeEditor4_MouseClick); this.textBoxUITypeEditor5.Button.MouseClick += new System.Windows.Forms.MouseEventHandler(this.textBoxUITypeEditor5_MouseClic); this.textBoxUITypeEditor5.TextBox.Enabled = false; this.textBoxUITypeEditor4.TextBox.Enabled = false; this.textBoxUITypeEditor3.TextBox.Enabled = false; this.textBoxUITypeEditor2.TextBox.Enabled = false; this.textBoxUITypeEditor1.TextBox.Enabled = false; item = new ItemModel(); I_Sender = AddItem; ex = new ExportTicketModel(); }
public ExportResult() { InitializeComponent(); ex = new ExportTicketModel(); dataGridViewX2.DataSource = ex.SelectTicket(); }