public static SliderManager GetSliderManager()
 {
     if (_sliderManager == null)
     {
         _sliderManager = new SliderManager();
     }
     return(_sliderManager);
 }
示例#2
0
 private void Slider_ValueChanged(object sender, EventArgs e)
 {
     SliderManager.GetSliderManager().CurrentValue = trackBar1.Value;
     SliderManager.GetSliderManager().HandleEvent();
     GameApp.GetGameApp().Renderer.RunWorkerAsync();
 }