예제 #1
0
        private void Add(object sender, EventArgs e)
        {
            EmployeeVO      employeeVO = this.GetEmployee();
            ModulePopupForm frm        = new ModulePopupForm(employeeVO);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                LoadData();
            }
        }
예제 #2
0
        private void dataGridViewControl1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex < 0)
            {
                return;
            }

            EmployeeVO      employeeVO = this.GetEmployee();
            int             module_id  = dataGridViewControl1["MODULE_ID", e.RowIndex].Value.ToInt();
            ModulePopupForm frm        = new ModulePopupForm(employeeVO, module_id);

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