private void OnHSVViewPressed(object sender, RoutedEventArgs e) { Controller.Stop(); Window window = new Window(); var props = Controller.Properties as IHsvProperties; HsvPickerView picker = new HsvPickerView(window, props: props); BallFollowingModule controller = Controller as BallFollowingModule; picker.SaveClicked += controller.UpdateHsvSpace; window.Content = picker; window.Show(); }
public BallFollowingView(BallFollowingModule controller) : base(controller) { InitializeComponent(); }