![]() Gravitybox Schedule.NET Users Guide
Page 17
1998-2004 Gravitybox Software LLC
Chapter 2
Connecting a client
After the Enterprise Server is properly setup on a server machine, you can build client
applications that use it. It is important to configure the server to allow connections from
all client machines that use it. This is done with the license tool described previously.
Create a client application
To create a client application that accesses the Enterprise Server is easy. You need
only drop a Schedule and a WebServerController on a form. The VS.NET environment
screen below shows these two controls on a form.
Adding Code
After adding the controls to the form, code needs to be written to add functionality to the
application. First you need to create event handlers for the form Load,
webservicecontroller DataUpdated, schedule DataSourceUpdated, and the save button
Click events.
The code below is executed when the form is loaded. It initializes the controller
connection to a server named gravserver on port 9096. It then fills loads all
|