//When editor is activated (user starts drawing), Any previously created graphics should be cleared
 void Editor_EditorActivated(object sender, Editor.CommandEventArgs e)
 {
     if (NewSearchArea != null)
     {
         SearchAreaLayer.UndoEdits(NewSearchArea);
     }
 }
コード例 #2
0
        private void Editor_EditorActivated(object sender, Editor.CommandEventArgs e)
        {
            this.displayAttribute = false;
            EventHandler <ESRI.ArcGIS.Client.Editor.CommandEventArgs> handler = EditorActivated;

            if (handler != null)
            {
                handler(this, e);
            }
        }
コード例 #3
0
 private void Editor_EditorActivated(object sender, Editor.CommandEventArgs e)
 {
     OnEditorActivated(e);
 }