This example illustrates the use of CustomDrawAppointment and CustomDrawAppointmentBackground events.
The background color for selected appointments is inverted, and the border is drawn colored according to the current appointment status. In the Timeline view the words, comprising the text of the subject, are painted with different colors.