internal BaseTab()
        {
            InitializeComponent();

            if (DesignerProperties.GetIsInDesignMode(this))
            {
                DataContext = new BaseTabDesignModel();
            }
            else
            {
                DataContext = new BaseTabViewModel();
            }

            baseDialogController = new DataTableLoadingController();
        }
Exemple #2
0
        internal MainWindow()
        {
            InitializeComponent();

            if (DesignerProperties.GetIsInDesignMode(this))
            {
                DataContext = new MainWindowDesignModel();
            }
            else
            {
                DataContext = new MainWindowViewModel();
            }

            InitTableViewModel();
            InitStatusBarViewModel();

            DataTableLoadingController = new DataTableLoadingController();
        }