0 out of 6 rated this helpful - Rate this topic

General User Interface Elements (Visual Studio) 

This section describes elements of the integrated development environment (IDE) that are not associated with any singe feature, and of general interest.

In This Section

About Dialog Box (Visual Studio)

Provides information about Visual Studio and about the computer that it is running on.

Integrated Development Environment Recovered Files Dialog Box

Describes the dialog box that allows you to recover files left unsaved at the time of an unexpected IDE event.

Integrated Development Environment Web Browser

Describes the Web browser available from within the IDE.

Properties Window

Displays properties for projects, files controls, and fields in IDE windows and designers.

Visual Studio 2005 Image Library

Explains what the image library is and how you can use it.

Related Sections

Visual Studio Commands and Switches

Contains language reference topics that explain how to use commands to interact with the integrated development environment (IDE) from the Command Window and Find/Command box.

Language Equivalents

Provides a key of how each programming language structures its common syntax elements.

XML Schema References

Contains topics on various XML schemas available in Visual Studio.

MSBuild

Contains topics about the new build platform.

Automation and Extensibility Reference

Contains language reference topics for the automation model for the integrated development environment (IDE), including debugging.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
About building custom UI elements
$0About building custom UI elements$0 $0Using add-ins is the easiest way to create custom user interface (UI) elements that can be configured within ArcGIS Desktop applications (ArcMap, ArcCatalog, ArcGlobe and ArcScene). The following custom UI elements are supported by add-ins:$0 $0 $0Buttons$0 $0Tools$0 $0Tool palettes$0 $0Combo boxes$0 $0Menus$0 $0Toolbars$0 $0Multi-items$0 $0Dockable windows$0 $0 $0ESRI provides integrated development environment (IDE) templates for building and deploying these custom UI elements. This walkthrough describes the steps to create custom UI elements for ArcMap using ArcGIS project and item templates.$0 $0Creating a custom button and tool$0 $0It's easy to create a button and a tool using the ArcGIS Add-Ins Wizard. The following subsections detail how to create a button that zooms to the active layer of the current map and how to create a tool that allows you to add new graphics to your map.$0 $0Creating a Visual Studio project$0 $0To create a Visual Studio project, perform the following steps:$0 $0 $0 $0Start Visual Studio. $0 $0 $0 $0Click File, select New, and click Project. The New Project dialog box opens. $0 $0 $0 $0Under Project types, expand the Visual Basic or Visual C# project node, expand the ArcGIS node, and click Desktop Add-Ins.$0 $0 $0 $0 $0If there are no templates in the Templates pane associated with the Desktop Add-Ins node, verify that your target .NET Framework is set to .NET Framework 3.5 or higher in the drop-down menu in the upper right corner of the New Project dialog box.$0 $0 $0 $0 $0Select the ArcMap Add-in template in the Templates pane. Add-in customizations are specific to ArcGIS Desktop applications and can also be created for ArcCatalog, ArcScene, and ArcGlobe. $0 $0 $0 $0Name the project CustomUIElements and browse to the location where you want to save the project.$0 $0 $0$0 $0 $0 $0 $0Click OK to close the dialog box and open the ArcGIS Add-Ins Wizard.  $0 $0 $0Using the ArcGIS Add-Ins Wizard$0 $0The ArcGIS Add-Ins Wizard creates appropriate Extensible Markup Language (XML) elements and managed classes required for the add-in based on the input that you provide. To define the customizations to include in your add-in, perform the following steps:$0 $0 $0On the Welcome page, fill in the basic information about the add-in: name, company/publisher, description, and the image. The metadata information you provide about an add-in on the Welcome page is displayed in the Add-In Manager dialog box.$0 $0Click Next. The Available Add-in Components page opens. The Add-in Types section on the left lists the type of customizations that you can add to your add-in. $0 $0Under Add-in Types, check the Button check box. The declarative properties of the button, such as caption, image, and tooltip become active.$0 $0You can find help tips about each entry in the dialog box by hovering your mouse over the appropriate help icon. The ZoomToLayerButton class will be the managed class that will implement the run time behavior of the button. The managed class will be created by the wizard.$0 $0Check the Tool check box to add a custom tool to the add-in.$0 $0Type AddGraphicsTool as the class name, which must implement the run time behavior of the tool, and fill in the other declarative properties of the tool.$0 $0 $0 $0 $0
Advertisement