Esempio n. 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();
     }
 }
Esempio n. 2
0
 private void NewShift()
 {
     frmShiftEdit frm = new frmShiftEdit();
     frm.ShowDialog(this);
     ShowShiftList();
 }