Example #1
0
 private void UpdateEmployeeType()
 {
     if (this.gridEmployeeTypeList.ActiveRow != null)
     {
         frmEmployeeTypeEdit frm = new frmEmployeeTypeEdit();
         frm.EmployeeTypeId = this.gridEmployeeTypeList.ActiveRow.Cells["EMPLOYEETYPEID"].Value.ToString();
         frm.ShowDialog(this);
         ShowEmployeeTypeList();
     }
 }
Example #2
0
 private void NewEmployeeType()
 {
     frmEmployeeTypeEdit frm = new frmEmployeeTypeEdit();
     frm.ShowDialog(this);
     ShowEmployeeTypeList();
 }