// ------------------------------------------------------------------ /// <summary> /// Raises the <see cref="OnToolDeactivate"/> event. /// </summary> /// <param name="e">ConnectionCollection event argument</param> // ------------------------------------------------------------------ public virtual void RaiseOnToolDeactivate(ToolEventArgs e) { EventHandler <ToolEventArgs> handler = OnToolDeactivate; if (handler != null) { handler(this, e); } }
/// <summary> /// Raises the <see cref="OnToolActivate"/> event /// </summary> /// <param name="e">ConnectionCollection event argument</param> protected virtual void RaiseOnToolActivate(ToolEventArgs e) { EventHandler <ToolEventArgs> handler = OnToolActivate; if (handler != null) { handler(this, e); } }