private void InitializeButtonsEvents(Option view) { view.kinectSlider.ValueChanged += kinectSlider_ValueChanged; view.btnVoltar.Foreground = Brushes.White; view.btnVoltar.Click += btnVoltar_Click; }
public OptionController() { view = new Option(); this.Form = view; InitializeButtonsEvents(view); view.lblVerticalValue.Content = Convert.ToInt32(view.kinectSlider.Value); }