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

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

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

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

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

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

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

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

            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 OnRefreshFeatureService(object sender, RoutedEventArgs e)
        {
            CmdLine.CancelActiveCommand();
            string cmdString = ".esri_Synchronize";

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

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

                if (ribbonButton != null)
                {
                    CmdLine.CancelActiveCommand();
                    string cmdString = "ESRI_ZoomFeatures ";
                    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);
                }
            }
Esempio n. 15
0
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

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

                if (ribbonButton != null)
                {
                    CmdLine.CancelActiveCommand();
                    string cmdString = ".ESRI_SetCurrentDrawingLayer ";
                    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_OpenAttributeTable ";
                    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);
                }
            }
Esempio n. 20
0
            public void Execute(object param)
            {
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    if (Application.DocumentManager.MdiActiveDocument == null)
                    {
                        return;
                    }
                    CmdLine.CancelActiveCommand();
                    string text = "ESRI_IDENTIFYMAP ";
                    Application.DocumentManager.MdiActiveDocument.SendStringToExecute(text, true, false, false);
                }
            }
            public void Execute(object param)
            {
                if (Application.DocumentManager.MdiActiveDocument == null)
                {
                    return;
                }
                RibbonButton ribbonButton = param as RibbonButton;

                if (ribbonButton != null)
                {
                    CmdLine.CancelActiveCommand();
                    string text = ".ESRI_SetFeatureServiceLimit ";
                    Application.DocumentManager.MdiActiveDocument.SendStringToExecute(text, true, false, false);
                }
            }