![]() ![]() Gravitybox Schedule.NET
1998-2005 Gravitybox Software LLC
Page 22 of 90
Room Configuration
The room configuration dialog is just like the category configuration dialog but it edits
the RoomCollection of a schedule.
About Dialog
The about dialog is a screen that displays information about the schedule itself. This will
most likely never be used in your commercial application.
Displaying Dialogs from code
Only some of the dialogs may be displayed by users actions; however all of them may
be shown programmatically. The schedule has a Dialogs object that may be used to
do this. There are many Show
methods to display dialogs. Below is VB.NET code to
display the appointment properties dialog. The code creates an appointment and then
displays its property dialog.
Dim appointment As Appointment
appointment = Schedule1.AppointmentCollection.Add("", #1/1/2004#, _
#8:00:00 AM#, 60)
Call Schedule1.Dialogs.ShowPropertyDialog(appointment)
All of the dialog methods are overloaded to allow you to specify a configuration object.
This object permits you to set many attributes about the appearance and behavior of
various dialogs. The following code performs the same action as above but create a
|