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