C # ArcGIS Engine instance development-Establishment of desktop GIS application framework

Source: Internet
Author: User

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.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.