private void OnMouseWheel(object sender, MouseEventArgs mouseEventArgs) { if (mouseEventArgs.Delta > 0) { SystemController.SetTrackHeight(SystemController.GetTrackHeight() + 5); } else { SystemController.SetTrackHeight(SystemController.GetTrackHeight() - 5); } ShowTrackHeight(); }
private void ShowTrackHeight() => lab_trackHeight.Text = SystemController.GetTrackHeight().ToString("0.0");