ArcFM Engine Developer Guide
Dockable Window

Resource Center Home

Product Availability: ArcFM Engine

This code sample illustrates how to create a custom pane (or tab) for the Table of Contents dockable window. The ArcFM Viewer user interface allows the user to easily add panes to the Table of Contents dockable window (see Using ArcFM Viewer for ArcGIS Engine online help).

Developer Sample: Developer Samples\Dockable Windows\C# - Dockable Windows

How to Implement:

  1. You may modify the code sample. This step is not required.
  2. Build the solution.
  3. Copy the DLL to the ArcFM Solution\bin directory.
  4. Open the ArcFM Engine Administrator and select the Layout and Licenses tab.
  5. Click the Dockable Windows node in the tree at the left, then click the Add button next to the Loaded Components column.
  6. Browse to the DLL you just compiled (e.g., ArcFMViewerEngineDockWindow.dll) and click Open.
  7. Select DevDockableWindow from the list of commands. Click Add.
  8. Click OK in the ArcFM Engine Administrator.

How to Use:

To add the dockable window to the user interface, select View > Upper Caption. The dockable window will appear in the top left corner. You can adjust its size and placement in the user interface.

Additional Information:

Requires:

All of the files shown below are required for the project to compile successfully. Download these files from the ArcFM Solution Resource Center here.

File

Description

ArcFMViewerEngineDockableWindow.sln

C# solution containing the dockable window pane code sample for ArcFM Viewer for ArcGIS Engine

ArcFMViewerEngineDockableWindow.csproj

C# project containing the code to generate a custom dockable window pane object

DevDockableWindow.cs
  (view code)

Class module that contains the dockable window pane form

The following reference files are required for the project to compile successfully.

Miner.Windows

System

System.Drawing

System.Windows.Forms

 

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com