public void DeleteCommandExecute(object obj)
        {
            ShiftsInformation ShiftsInformation = ShiftsSetting.dgShiftsSet.SelectedItem as ShiftsInformation;
            DeleteRowReminder DeleteRowReminder = new DeleteRowReminder();

            DeleteRowReminder.ShowInTaskbar = false;
            DeleteRowReminder.Owner         = ShiftsSetting;
            DeleteRowReminder.ShowDialog();
            if (DeleteRowReminder.DialogResult == true)
            {
                var item = this.ShiftsInformationList.SingleOrDefault(x => x.WorkTime == ShiftsInformation.WorkTime);
                if (item != null)
                {
                    this.ShiftsInformationList.Remove(item);
                }
            }
        }
 public void SaveCommandExecute(object obj)
 {
     DeleteRowReminder.DialogResult = true;
     DeleteRowReminder.Close();
 }
 public void CloseCommandExecute(object obj)
 {
     DeleteRowReminder.Close();
 }