public void AddInvoiceViewCreate() { AddInvoiceView view = new AddInvoiceView(); view.DataContext = addInvoiceViewModel; view.ShowDialog(); }
private void AddInvoiceCommandExecuted() { RaisePropertyChanged("DisableParentWindow"); var window = new AddInvoiceView(Event); window.ShowDialog(); RaisePropertyChanged("EnableParentWindow"); }