public FilterWindowViewModel(MainWindowViewModel parentVM)
 {
     parentViewModel = parentVM;
     Cancel = new CloseCommandFWVM(this);
 }
 public AnimeDetailsViewModel (MainWindowViewModel input, ProtoAnime a)
 {
     parentViewModel = input;
     element = a;
 }
 public NewListWindowViewModel(MainWindowViewModel input)
 {
     parentViewModel = input;
     Cancel = new CloseCommandNLWVM(this);
     AddList = new AddListCommand(this);
 }
Пример #4
0
 public MainWindow()
 {
     InitializeComponent();
     DataContext = new MainWindowViewModel();
 }