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 CountryChanged 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 CountryChanged events.
Private Sub CountryPicker_CountryChanged(ByVal sender As Object, _
ByVal e As ComponentSpace.CountryPicker.CountryEventArgs) _
Handles CountryPicker.CountryChanged
' The CountryChanged event is fired whenever the selected country changes.
End Sub
|
Listing 1 Receiving CountryChanged events
|