public DetailInvoiceFileDesignerForm(IViewModelBase VM)
        {
            InitializeComponent();
            SaveChanges.SetParent(ModalDialogParent);

            DataContext = VM;
            SetCloseHandler();
        }
Exemple #2
0
        public DisplayNotes(IViewModelBase VM)
        {
            InitializeComponent();
            SaveChanges.SetParent(ModalDialogParent);

            DataContext = VM;

            SetCloseHandler();
            // When the ViewModel asks to be closed, close the window.
        }