示例#1
0
        private void btnEditEmployee_Click(object sender, EventArgs e)
        {
            frmAddEditEmployee frmAddEditEmployee = new frmAddEditEmployee(int.Parse(dgvEmployee.CurrentRow.Cells["ID"].Value.ToString()));

            frmAddEditEmployee.ShowDialog();
        }
示例#2
0
        private void btnAddEmployee_Click(object sender, EventArgs e)
        {
            frmAddEditEmployee frmAddEditEmployee = new frmAddEditEmployee();

            frmAddEditEmployee.ShowDialog();
        }