Code Samples
The product includes numerous VB.NET and C# sample applications. All
samples include complete source code. For more detailed sample code please
refer to the sample applications.
Receiving TimeZoneChanged Events
After dragging the control from the Visual Studio .NET Toolbox
onto your application's form, you can set various properties at
design time. Alternatively. you may also set these properties at runtime.
Optionally, you may receive and act upon events received from the control.
Listing 1 demonstrates receiving TimeZoneChanged events.
Private Sub TimeZonePicker_TimeZoneChanged(ByVal sender As Object, _
ByVal e As ComponentSpace.TimeZonePicker.TimeZoneEventArgs) _
Handles TimeZonePicker.TimeZoneChanged
' The TimeZoneChanged event is fired whenever the selected time zone changes.
End Sub
|
Listing 1 Receiving TimeZoneChanged events
|