Example #1
0
        public void TestMainWindow()
        {
            var win = new MainWindow();
            Assert.That(win, Is.Not.Null);

            var rc = new RelayCommand(_ => { });
            rc.CanExecuteChanged += rc_CanExecuteChanged;
            rc.CanExecuteChanged -= rc_CanExecuteChanged;
        }
Example #2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            MainWindow = new MainWindow();

            SetupContainer();

            DemoData.InitDemoData();

            ShowStartupWindow();
        }