I need a very simple example of using MonthViewSingle. I need to make a payment schedule in the database searching which accounts must be paid in one day and showing the component. Most do not know how to begin.
The control exposes a property named CalendarInfo; this is a reference to a component of type UltraCalendarInfo, which handles coordination of dates and appointments between the controls to which it is bound. After instantiating the control, you can try the following:
this.ultraMonthViewSingle1.CalendarInfo.Appointments.Add( DateTime.Today.Add(TimeSpan.FromHours(9)), DateTime.Today.Add(TimeSpan.FromHours(10)), "Hola mundo" );
You will see an appointment added for 9AM - 10AM of the current day.
Note that there is a sample which is included with the SDK, 'WinSchedule Database Demo', which demonstrates how to bind each of the WinSchedule controls to a data source.