A4WaterUtilities.DataTools.IdentifySelected C# (CSharp) Метод

IdentifySelected() публичный метод

public IdentifySelected ( ) : void
Результат void
        public void IdentifySelected()
        {
            try
            {

                if (((IMxDocument)_app.Document).FocusMap.SelectionCount > 0)

                    //Globals.IdentifySelectedDockable(_app);
                    Globals.IdentifySelected(((IMxDocument)_app.Document).FocusMap);
                else
                    MessageBox.Show(A4LGSharedFunctions.Localizer.GetString("DataToolsMess_1") + Environment.NewLine + A4LGSharedFunctions.Localizer.GetString("DataToolsMess_2"), messageBoxHeader);

            }
            catch (Exception ex)
            {
                MessageBox.Show("IdentifySelected\n" + ex.ToString(), messageBoxHeader);
            }
        }

Usage Example

Пример #1
0
 protected override void OnClick()
 {
     ConfigUtil.type = "water";
     m_Tools.IdentifySelected();
 }
All Usage Examples Of A4WaterUtilities.DataTools::IdentifySelected