private void OnOpenFeatureClassProperties(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".esri_FeatureClassProperties ";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnSelectByAttributes(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".ESRI_SelectByAttribute";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnClearSelection(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".ESRI_ClearSelected";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnOpenAttributeTable(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".ESRI_Table";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnZoomToExtents(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".ESRI_ZoomFeatures";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnExtractFeatureService(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".ESRI_DisconnectFeatureService";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnSelectAllClicked(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".ESRI_SelectFeatures";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnRefreshFeatureService(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".esri_Synchronize";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnClickMapExport(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".ESRI_ExportMap ";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnOpenMapServiceLayerProperties(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".esri_MapServiceProperties ";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnDeleteFeatureClass(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".ESRI_DeleteFeatureClass";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
        private void OnOpenTableSelected(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".esri_TableSelected";

            CmdLine.ExecuteQuietCommand(cmdString);
        }
Beispiel #13
0
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    string cmdString = ".ESRI_LOCATE ";
                    CmdLine.ExecuteQuietCommand(cmdString);
                }
            }
Beispiel #14
0
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    string cmdString = ".esri_Synchronize ";
                    CmdLine.ExecuteQuietCommand(cmdString);
                }
            }
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    CmdLine.CancelActiveCommand();
                    string cmdString = ".ESRI_ImportSchema ";
                    CmdLine.ExecuteQuietCommand(cmdString);
                }
            }
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    CmdLine.CancelActiveCommand();
                    string cmdString = ".esri_MapServiceProperties ";
                    CmdLine.ExecuteQuietCommand(cmdString);
                }
            }
Beispiel #17
0
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    CmdLine.CancelActiveCommand();
                    string cmdString = "ESRI_ZoomFeatures ";
                    CmdLine.ExecuteQuietCommand(cmdString);
                }
            }
Beispiel #18
0
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    CmdLine.CancelActiveCommand();
                    string cmdString = ".ESRI_SetCurrentDrawingLayer ";
                    CmdLine.ExecuteQuietCommand(cmdString);
                }
            }
Beispiel #19
0
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    CmdLine.CancelActiveCommand();
                    string cmdString = ".ESRI_SELECTFEATUREOBJECTS ";
                    CmdLine.ExecuteQuietCommand(cmdString);
                }
            }
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    CmdLine.CancelActiveCommand();
                    string cmdString = ".esri_DiscardAllEdits ";
                    CmdLine.ExecuteQuietCommand(cmdString);
                }
            }
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    CmdLine.CancelActiveCommand();
                    string cmdString = "esri_OpenAttributeTable ";
                    CmdLine.ExecuteQuietCommand(cmdString);
                }
            }
 public static void ShowPalette(Document doc, MSCDataset dataset)
 {
     try
     {
         ToolPalette.UpdatePalette(doc, dataset);
         string cmdString = "(command \"tpnavigate\" \"ArcGIS Feature Services\")";
         CmdLine.ExecuteQuietCommand(cmdString);
     }
     catch
     {
     }
 }
        private void OnDeleteFeatureService(object sender, RoutedEventArgs e)
        {
            string cmdString = ".ESRI_DeleteFeatureService";

            CmdLine.ExecuteQuietCommand(cmdString);
        }