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