Пример #1
0
 private void NewRecurringAppointment()
 {
     FormAddAppointment formAdd = new FormAddAppointment(true);
     formAdd.ShowDialog();
     _Appointments.Load();
     GetAppointmentsOnSelectedDate(monthCalendar.SelectionStart);
     panelDailyView.Invalidate();
 }
Пример #2
0
 private void panelDailyView_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     IAppointment appointment = CheckForAppointment(e);
     if (appointment != null)
     {
         FormAddAppointment formApp = new FormAddAppointment((Appointment)appointment);
         formApp.ShowDialog();
         _Appointments.Load();
         GetAppointmentsOnSelectedDate(monthCalendar.SelectionStart);
         panelDailyView.Invalidate();
     }
 }
Пример #3
0
 private void editToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FormAddAppointment formAdd = new FormAddAppointment((Appointment)_SelectedAppointment);
     formAdd.ShowDialog();
     _Appointments.Load();
     GetAppointmentsOnSelectedDate(monthCalendar.SelectionStart);
     panelDailyView.Invalidate();
 }