Esempio n. 1
0
        public SimpleAccounting(SimpleAccountingViewModel model)
        {
            InitializeComponent();
            DataContext = model;

            // this.Closing += OnMainWindowClose;
        }
Esempio n. 2
0
        //public CloseView CloseView;

        public SimpleAccounting(SimpleAccountingViewModel model)
        {
            InitializeComponent();
            DataContext = model;
            _ViewModel  = model;
            if (_ViewModel.IsBlankHeaderRegionVisible == true)
            {
                grdTitle1.Background = Brushes.White;
            }

            // this.Closing += OnMainWindowClose;
        }