[]
        
(Showing Draft Content)

Contacts

A contact stores personal information about a person. Contacts are stored in the ContactCollection class and are optional. An appointment can have one or more assigned contacts.


Assigning Contacts to an Appointment

Assign contacts to an appointment at run time through the Contacts dialog box.

  1. Open the appointment in the Appointment dialog box.

  2. Select Contacts to open the Contacts dialog box.

C1WinForms Scheduler contact dialog box

  1. Select the contacts to associate with the appointment.

  2. Select OK.

C1WinForms Scheduler contact dialog box - adding contacts demo

Note: Press ENTER in the Reminder dialog box while focus is on the snooze options combo box or the reminders list to snooze the selected reminder for the selected time period.


Adding Contacts to the Master Contact List

C1Schedule supports contacts created in code or at run time through the Master Contact List dialog box.

The following code, added to the Form_Load event, creates a contact for John Smith:

// Create the contact.        
C1.C1Schedule.ContactCollection contcol;
contcol = this.c1Schedule1.DataStorage.ContactStorage.Contacts;
C1.C1Schedule.Contact contact = new C1.C1Schedule.Contact();
contact.Text = "John Smith";
// Insert the contact into the Master Contact List.        
contcol.Insert(0, contact);

To create or remove contacts at run time:

  1. Open the Contacts dialog box.

  2. Select Master Contact List.

  3. Add or remove the required contacts.

  4. Select OK.

C1WinForms Scheduler master list dialog box - adding contacts to master list demo

After creating contacts, assign them to the appointment in the Contacts dialog box.