public void open()
        {
            try
            {
                try
                {
                    this.Enabled = false;
                    iid          = lvsendtocustomer.Items[lvsendtocustomer.FocusedItem.Index].SubItems[0].Text;

                    frmSendToCustomer dlg = new frmSendToCustomer(master, tabControl);


                    dlg.Update(1, iid);
                    master.AddNewTab(dlg);
                    // dlg.Show();
                }
                finally
                {
                    this.Enabled = true;
                }
            }
            catch
            {
            }
        }
Exemple #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmSendToCustomer u = new frmSendToCustomer(master, tabControl);

            master.AddNewTab(u);
        }