|
||
SilverSharp.Events |
|||||||||||||||||||||||||||||
Synopsis |
The Events class is where you'll find SilverSharp event handlers for common application events. It is the SilverSharp equivalent of the SilverEngine callback mechanism.
|
||||||||||||||||||||||||||||
Delegates |
The following code shows the delegate definitions used by the Events class:
|
||||||||||||||||||||||||||||
Structure |
The following code shows the Events class declaration, which includes events and methods to raise them:
|
||||||||||||||||||||||||||||
Remarks |
Each event is organized into 3 parts: a delegate, an event, and a function to raise the event. For instance, the ShowError event makes use of a delegate called ShowErrorEventHandler and can be raised via the RaiseShowError method. The following is a table of events, along with associated delegates and methods.
|
||||||||||||||||||||||||||||
See Also |
|
|