| // add event handler for appointments schedule.OnAppointmentLoadedEvent += Schedule_OnAppointmentLoadedEvent; |
| void Schedule_OnAppointmentLoadedEvent(object sender, AppointmentLoadedEventArgs args) { Button button = new Button(); button.BackgroundColor = Color.Green; button.Text = "appt"; args.view = button; } |
| scheduleAppointmentCollection.Add(new ScheduleAppointment() { StartTime = myduedate, EndTime = myduedate, Subject = "Litter Due", Location = "Duedate", }); |