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();
 }