public AddWindow(MainVM vm) { InitializeComponent(); DataContext = new AddWindowVM(this, vm); }
public AddCommand(AddWindowVM vm) { viewModel = vm; }