/// <summary> /// Internal handler for the zoom changed event. /// </summary> protected void OnZoomChanged() { if (ZoomChanged != null) ZoomChanged.Invoke(this); if (m_ZoomedSection == -1) { if (PanelUnZoomed != null) PanelUnZoomed.Invoke(this); } else { if (PanelZoomed != null) PanelZoomed.Invoke(this); } }
/// <summary> /// Internal handler for the zoom changed event. /// </summary> protected void OnZoomChanged() { if (ZoomChanged != null) { ZoomChanged.Invoke(this, EventArgs.Empty); } if (m_ZoomedSection == -1) { if (PanelUnZoomed != null) { PanelUnZoomed.Invoke(this, EventArgs.Empty); } } else { if (PanelZoomed != null) { PanelZoomed.Invoke(this, EventArgs.Empty); } } }