1. Create a project
2. Add controls
Select the "ArcGIS Windows Forms" section in the Toolkit, drag the "ToolbarControl" control into the form, and set the Dock in its properties to Top.
Select "menu and toolbar StatusStrip" in the toolbox and drag it into the form.
Select the "container SplitContainer" container in the toolbox to drag the form and set the Dock in its properties to Fill.
Drag the TabControl control into Panel1, set the Alignment attribute to Bottom, and the Dock attribute to Fill.
Select the layers tab, drag the TOCControl control, and set the Dock attribute to Fill.
Select the Properties tab and drag the PropertyGrid control to query and set properties.
Select the map tab, drag the MapControl control, and set the Dock attribute to Fill.
Select the "plate making" tab, drag the PageLayoutControl control, and set the Dock attribute to Fill.
Drag the LicenseControl control to any part of the form.
3. Bind controls
Right-click the ToolbarControl and TOCControl controls, and set Buddy to axMapControl1.
4. Add a tool on the toolbar <Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4KPHA + 09k791rvb2xiyxjdb250cm9so6zrdtxobdk9ndu "Items", click Add and Add the required tool.
5. Compile and run. Here I will use the shp of China Map to open the demo.