示例#1
0
 private void RemoveTool(BaseToolLayer t)
 {
     if (t.MapControl == this)
     {
         t.MapControl = null;
     }
     _registeredTools.Remove(t);
     t.PropertyChanged -= TOnPropertyChanged;
 }
示例#2
0
 private void RegisterTool(BaseToolLayer t)
 {
     t.MapControl = this;
     _registeredTools.Add(t);
     t.PropertyChanged += TOnPropertyChanged;
 }