public IntoClassView(IntoClassType intoClassType) { IntoClassType = intoClassType; InitializeComponent(); //InitPictureBoxsAndLabels(); DataContext = new IntoClassViewModel(this); }
private void SwitchCamera(object sender, System.Windows.Input.ExecutedRoutedEventArgs e) { var model = new IntoClassViewModel(this); model.SwitchCamera(); }