Пример #1
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     _frmAddNewEmployee = new frmAddNewEmployee(applicationConfiguration);
     _frmAddNewEmployee.Show();
     _frmAddNewEmployee.FormClosed += new FormClosedEventHandler(_frmAddNewEmployee_FormClosed);
     this.Hide();
 }
Пример #2
0
        private void btnAddNewEmployee_Click(object sender, EventArgs e)
        {
            if (grabber != null)
            {
                grabber.Dispose();
            }
            Close();
            Dispose();
            disconnect();
            frmAddNewEmployee _themMoi = new frmAddNewEmployee(applicationConfiguration);

            _themMoi.Show();
        }
Пример #3
0
        private void btnAddNewEmployee_Click(object sender, EventArgs e)
        {
            if (grabber != null)
            {
                grabber.Dispose();
            }
            Close();
            Dispose();
            disconnect();
            frmAddNewEmployee _themMoi = new frmAddNewEmployee(applicationConfiguration);

            _themMoi.Show();

            /*_themMoi.FormClosed += new FormClosingEventHandler(_themMoi_FormClose);
             * this.Hide();*/
        }