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