Example #1
0
        public void AddInvoiceViewCreate()
        {
            AddInvoiceView view = new AddInvoiceView();

            view.DataContext = addInvoiceViewModel;
            view.ShowDialog();
        }
Example #2
0
        private void AddInvoiceCommandExecuted()
        {
            RaisePropertyChanged("DisableParentWindow");

            var window = new AddInvoiceView(Event);

            window.ShowDialog();

            RaisePropertyChanged("EnableParentWindow");
        }