Example #1
0
 private void UpdateShift()
 {
     if (this.gridShiftList.ActiveRow != null)
     {
         frmShiftEdit frm = new frmShiftEdit();
         frm.Shift = this.gridShiftList.ActiveRow.Cells["SHIFT"].Value.ToString();
         frm.ShowDialog(this);
         ShowShiftList();
     }
 }
Example #2
0
 private void NewShift()
 {
     frmShiftEdit frm = new frmShiftEdit();
     frm.ShowDialog(this);
     ShowShiftList();
 }