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

            // this.Closing += OnMainWindowClose;
        }
Exemplo 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;
        }