ArcFM Engine Overview > ArcFM Engine Developer Samples > Button Command: Map Refresh |
Product Availability: ArcFM Engine
The button command created in this code sample refreshes the data view when clicked. The button used in this code sample looks like this:
Developer Sample: Developer Samples\Custom Commands\C# - Custom Commands\Map Refresh
How to Implement:
How to Use:
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
ArcFMViewerEngineMapRefresh.sln
C# solution containing the button command code sample for ArcFM Viewer for ArcGIS Engine
ArcFMViewerEngineMapRefresh.csproj
C# project containing the code to generate a custom button command object
AssemblyInfo.cs
Class module to support the command
DevMapRefreshCommand.cs
(view code)Class module that contains the button command code
The following reference files are required for the project to compile successfully.
Esri.ArcGIS.Carto
Esri.ArcGIS.System
Miner.Windows
Miner.Windows.ArcGIS
System.Drawing
System.Windows.Forms