In addition to the main classes and interfaces illustrated in Figure 1-2, there are numerous other classes, including:
Two classes, Transaction and AdoTransaction, that can be used for database connections. For more information, see Chapter 5, “Working with Transaction and AdoTransaction Objects.”
Classes that inherit from the System.EventArgs class and are used to pass state information to event handlers. For more information, see “Handling events”.
Classes that inherit from various System.Exception classes and are used in exception handling. See “Handling DataWindow exceptions”.
A GraphicObject class that inherits from System.Object and is the ancestor of graphic object classes for objects that can display in a DataWindow, such as columns, buttons, and graphs. For more information, see “Accessing DataWindow object property values in code”.
An EditControl class that represents editable controls on a DataWindow. For more information, see “Manipulating data in a DataWindow control”.
An ExpressionBasedProperty class and descendent classes that allow you to set DataWindow object properties that are backed by expressions. For more information, see “Using DataWindow expressions as property values”.
Classes that inherit from an EditStyleBase class and allow you to set edit style properties for columns, and a SpinProperties class that allows you to set an EditMask spin control’s increment and maximum and minimum values.
A DataWindowSyntaxGenerator class that provides a method called DataWindowSyntaxFromSql that generates a DataWindow source definition from a valid SQL SELECT statement. You can use the DataWindow syntax with the Create method to create a new DataWindow object dynamically.
For more information, see “Using DataWindowSyntaxFromSql”.
A Utility class that holds methods that allow you to convert units of measurement in a DataWindow to and from pixels, and to get a list of the DataWindow objects in a library.
See “Getting a list of DataWindow objects in a library”.
There are four structures:
CodeTableValue describes the data-display value pair for a column’s code table.
DataWindowBand describes the band or layer in a DataWindow object. For more information about bands and layers, see the DataWindow Designer User’s Guide.
GraphObjectAtPointer provides information about graph items under the mouse pointer.
ObjectAtPointer defines the structure returned for the ObjectUnderMouse property.
Delegates handle each of the events that can occur in a DataWindow application, such as the BeginRetrieve event and the ButtonClicked event. For example, the delegate for the ButtonClicked event is ButtonClickedEventHandler.
Enumerations are used to specify values such as the actions to be taken in specific events, the style to be used for borders, symbols, and lines, and the status of a row or a data item.
To view or print a quick reference to all the classes, interfaces, structures, delegates, and enumerations in the Sybase.DataWindow namespace, go to the Sybase.DataWindow Namespace page in the DataWindow Reference help. For how to install this help, see “Getting context-sensitive help”.