コード例 #1
0
        public void open()
        {
            try
            {
                try
                {
                    this.Enabled = false;
                    iid          = LV.Items[LV.FocusedItem.Index].SubItems[0].Text;

                    frmReceiveFromCompany dlg = new frmReceiveFromCompany(master, tabControl);


                    dlg.Update(1, iid);
                    master.AddNewTab(dlg);
                    // dlg.Show();
                }
                finally
                {
                    this.Enabled = true;
                }
            }
            catch
            {
            }
        }
コード例 #2
0
        public void receivefrocompany()
        {
            try
            {
                try
                {
                    this.Enabled = false;
                    lvrevcompany = lvreceivefromcompany.Items[lvreceivefromcompany.FocusedItem.Index].SubItems[0].Text;

                    frmReceiveFromCompany dlg = new frmReceiveFromCompany(master, tabControl);


                    dlg.Update(1, lvrevcompany);
                    master.AddNewTab(dlg);
                    // dlg.Show();
                }
                finally
                {
                    this.Enabled = true;
                }
            }
            catch
            {
            }
        }