VIBlend

Using Appointments with VIBlend SuperMonthCalendar for Windows Forms

by viblend 31. August 2009 12:00
Sometimes we need to mark a special day such as a business meeting, birthday, etc. on our calendar. You can do this very easily using SuperMonthCalendar. Just create a new instance of the SuperAppointment class and add it to the Appointments collection of SuperMonthCalendar.

    SuperAppointment appointment = new SuperAppointment();

    appointment.Date = DateTime.Now.Date.AddDays(1);           

    this.superMonthCalendar1.Appointments.Add(appointment);

    this.superMonthCalendar1.CurrentDate = DateTime.Now.Date;

You can also add a recurrence pattern to the appointment using the RecurrenceRule property. Here we specify that our appointment has a daily recurrence pattern and It should appear once for a three days.

    appointment.RecurrenceRule = RecurrenceRule.Daily;

    appointment.DayPattern.DaysToNextOccurence = 3;


You can assign a SuperTooltip control to an appointment using its SuperToolTip property.

 

    SuperToolTip toolTip = new SuperToolTip();

    appointment.SuperToolTip = toolTip;

 
We hope you will enjoy using VIBlend SuperMonthCalendar.

Currently rated 4.0 by 3 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

VIBlend SuperControls for WinForms | calendar control

About the author

Some text that describes me

Recent comments

None

Copyright © 2009 VIBlend  
ALL RIGHTS RESERVED  
 
Terms of Use | Privacy Policy
WinForms Controls Purchase Online About Us
       
DataGrid Navigation Pane Technical Support Blog
ScrollBar TreeView
ListBox ProgressBar Downloads Register
ComboBox Buttons
TabControl Editors Documentation Client Login

VIBlend Blog is powered by BlogEngine.NET