//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);
 }