示例#1
0
 private void btn_Edit_Click(object sender, EventArgs e)
 {
     using (EditEmployeeView editEmployee = new EditEmployeeView(Convert.ToInt32(dgv_unassigned.SelectedCells[0].Value)))
     {
         editEmployee.ShowDialog();
     }
     LoadGrid();
 }
示例#2
0
 private void btn_Add_Click(object sender, EventArgs e)
 {
     using (EditEmployeeView addEmployee = new EditEmployeeView(null))
     {
         addEmployee.ShowDialog();
     }
     LoadGrid();
 }