Geography Reference
In-Depth Information
Select your
StatusStrip
control and rename it
StatusBar
. Then click on the
Items -
(collection)
property to launch the
Items Collection Editor
. Click on the drop-down to the
left of the status bar and add a
StatusLabel
. Rename the new label as
lblStatusText
and
remove the text from the
Text
property.
Set the width of the ListBox control to be the same as the width of the button controls and
place it beneath them. Stretch its height to just above the status bar at the bottom. Set the
list box's name to
lsbCountyResults
, then click on its
Anchor
property and set it to
Top,
Left, Bottom
.
Finally, use the rest of the space on the form for your map box. Align the bottom of it with the
list box, and set its
BackColor
property to
White
. Change its name to
mpbMapView
, and
change the
Anchor
to
Top, Bottom, Left, and Right
.
Your finished UI should look similar to the following:
Figure 75: Completed SharpMap UI