public CancelAppointment() { InitializeComponent(); StartPosition = FormStartPosition.CenterParent; _controller = new CancelAppointmentController(this); AddUsersToList(); }
static void Main() { CancelAppointmentController.GetNoShows(); CancelAppointmentController.GetPhoneCancels(); CancelAppointmentController.GetElseCancels(); Logger.SetupTracing(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //Application.Run(new CalendarView()); Application.Run(new CalendarView()); //Application.Run(new StatisticsView()); }
public void SetController(CancelAppointmentController controller) { _controller = controller; }