protected virtual void RaiseOnToolActivate(ToolEventArgs e) { EventHandler <ToolEventArgs> handler = OnToolActivate; if (handler != null) { handler(this, e); } }
public virtual void RaiseOnToolDeactivate(ToolEventArgs e) { EventHandler <ToolEventArgs> handler = OnToolDeactivate; if (handler != null) { handler(this, e); } }