public bool Execute() { GenMovieWindow window = new GenMovieWindow(); window.DataContext = new GenMovieViewModel(window); window.ShowDialog(); return true; }
public bool Execute() { GenMovieWindow window = new GenMovieWindow(); window.DataContext = new GenMovieViewModel(window); window.ShowDialog(); return(true); }
private void CreateMovie() { GenMovieWindow window = new GenMovieWindow(); var viewmodel = new GenMovieViewModel(window); viewmodel.Fps = Fps; viewmodel.MinValue = MinValue; viewmodel.MaxValue = MaxValue; window.DataContext = viewmodel; window.ShowDialog(); }