Пример #1
0
        private void ShowEmployee(string employee_id)
        {
            EmployeeVO      employeeVO = this.GetEmployee();
            EmployeePopForm frm        = new EmployeePopForm(employeeVO, employee_id);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                LoadData();
            }
        }
Пример #2
0
        private void Add(object sender, EventArgs e)
        {
            if (((MainForm)this.MdiParent).ActiveMdiChild == this)
            {
                EmployeeVO      employeeVO = this.GetEmployee();
                EmployeePopForm frm        = new EmployeePopForm(employeeVO);

                if (frm.ShowDialog() == DialogResult.OK)
                {
                    LoadData();
                }
            }
        }