public void lvsendtocompany1()
        {
            try
            {
                try
                {
                    this.Enabled      = false;
                    lvsendtocompany11 = lvsendtocompany.Items[lvsendtocompany.FocusedItem.Index].SubItems[0].Text;

                    frmSentToCompany dlg = new frmSentToCompany(master, tabControl);


                    dlg.Update(1, lvsendtocompany11);
                    master.AddNewTab(dlg);
                    // dlg.Show();
                }
                finally
                {
                    this.Enabled = true;
                }
            }
            catch
            {
            }
        }
Beispiel #2
0
        public void open()
        {
            try
            {
                try
                {
                    this.Enabled = false;
                    iid          = LV.Items[LV.FocusedItem.Index].SubItems[0].Text;

                    frmSentToCompany dlg = new frmSentToCompany(master, tabControl);


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

            master.AddNewTab(fr);
        }