// /// <summary> // /// Currently implemented only to load TopView's visible-quadrants menu. // /// </summary> // /// <param name="e"></param> // protected virtual void OnExtraRegistrySettingsLoad(RegistryEventArgs e) // {} // /// <summary> // /// Currently implemented only to save TopView's visible-quadrants menu. // /// </summary> // /// <param name="e"></param> // protected virtual void OnExtraRegistrySettingsSave(RegistryEventArgs e) // {} #endregion #region Eventcalls (override) /// <summary> /// Scrolls the z-axis for TopView and RouteView. /// </summary> /// <param name="e"></param> protected override void OnMouseWheel(MouseEventArgs e) { base.OnMouseWheel(e); if (e.Delta < 0) { _mapBase.LevelUp(); } else if (e.Delta > 0) { _mapBase.LevelDown(); } }
// /// <summary> // /// Currently implemented only to load TopView's visible-quadrants menu. // /// </summary> // /// <param name="e"></param> // protected virtual void OnExtraRegistrySettingsLoad(RegistryEventArgs e) // {} // /// <summary> // /// Currently implemented only to save TopView's visible-quadrants menu. // /// </summary> // /// <param name="e"></param> // protected virtual void OnExtraRegistrySettingsSave(RegistryEventArgs e) // {} #endregion #region Eventcalls (override) /// <summary> /// Scrolls the z-axis for TopView and RouteView. /// </summary> /// <param name="e"></param> protected override void OnMouseWheel(MouseEventArgs e) { base.OnMouseWheel(e); if (e.Delta < 0) { _mapBase.LevelUp(); } else if (e.Delta > 0) { _mapBase.LevelDown(); } ViewerFormsManager.ToolFactory.ToggleDownButtons(_mapBase.Level != _mapBase.MapSize.Levs - 1); ViewerFormsManager.ToolFactory.ToggleUpButtons(_mapBase.Level != 0); }