Lesson 1 - Create a Simple Scheduling Application
- 2 minutes to read
This document describes how to quickly create a simple scheduling application and start working with a SchedulerControl in unbound mode. You can do this by creating a new project and adding required controls (SchedulerControl, DateNavigator) from the toolbox as usual, or by using pre-defined project templates accessed via the wizard, invoked when creating a new project.
Create a Simple Scheduling Application
Create a new project in Visual Studio and drop the SchedulerControl item onto the form from the DX.17.2: Scheduling toolbox tab. Set the SchedulerControl.Dock property to Fill - this will stretch the SchedulerControl to fill the entire window.
Note
A new SchedulerStorage component (schedulerStorage1) is automatically added to the form and assigned to SchedulerControl (SchedulerControl.Storage). This component is intended to implement all data operations for SchedulerControl used either in bound or unbound mode.
-
As a result, you will get a simple application with a scheduler that provides end-users with the following capabilities:
- Navigate through dates
- Navigate through time cells
- Switch scheduler views
- Create, edit and delete appointments (simple and recurring)
Note
In this example, SchedulerControl is used in unbound mode. It is not bound to a data source (for example, database), so scheduler data cannot be loaded from and saved to a database. To learn how to bind a scheduler to a data source, refer to Lesson 5 of the current Getting Started section.
This is a scheduling application of the simplest type. However, you can easily embellish its user interface by associating a scheduler with a date navigator or providing Bar or Ribbon UI.