# Appointment Actions

C1Schedule control allows you to create and set appointment actions using the Action property. Learn more about Actions in C1Schedule for WinForms documentation.

## Content



The [C1Schedule](/componentone/docs/win/online-schedule/) control allows you to create and set appointment actions using the [Action](/componentone/docs/win/online-schedule/) property. The Action property determines an action to take when the current system time reaches the start of the owning [Appointment](/componentone/docs/win/online-schedule/) object. By default, control tries to start the system process executing an action. To change this behavior you can set the **Cancel** property to **True** in the event handler for the [AppointmentCustomAction](/componentone/docs/win/online-schedule/) event.

Appointment actions let you set behaviors such as executing a local application with specified parameters or navigating to a specific website at an appointment's start time. For example, add the following code to the [AppointmentAdded](/componentone/docs/win/online-schedule/) event to navigate to ComponentOne's Web site at a new appointment's start time:

```csharp
private void c1Schedule1_AppointmentAdded(object sender, AppointmentEventArgs e)
{
    // Create a new action.
    C1.C1Schedule.Action action = new C1.C1Schedule.Action();
    action.Command = "https://developer.mescius.com";
    // Set appointment action.
    e.Appointment.Action = action;
}
```