示例#1
0
文件: App.xaml.cs 项目: NomadPL/Nomad
        protected override void OnStartup(StartupEventArgs e)
        {
            Console.WriteLine("Starting AppDomain Launcher");

            AppDomainLauncher domainLauncher = new AppDomainLauncher();

            var mainWindow = new MainWindow(domainLauncher);
            mainWindow.Show();
        }
示例#2
0
文件: App.xaml.cs 项目: orb1t/Nomad
        protected override void OnStartup(StartupEventArgs e)
        {
            Console.WriteLine("Starting AppDomain Launcher");

            AppDomainLauncher domainLauncher = new AppDomainLauncher();

            var mainWindow = new MainWindow(domainLauncher);

            mainWindow.Show();
        }
示例#3
0
        public MainWindow(AppDomainLauncher launcher)
        {
            this.launcher = launcher;
            logger.Info("On WPF startup");
            InitializeComponent();

            CodeToTestSimpleFactory factory = new CodeToTestSimpleFactory();
            //explicitly split into to separete things for introducing another changes
            CodeToTestList codeToTestList = new CodeToTestList(factory.ListOfCodeTests);
            containerListBox.DataContext = codeToTestList;
        }
示例#4
0
        public MainWindow(AppDomainLauncher launcher)
        {
            this.launcher = launcher;
            logger.Info("On WPF startup");
            InitializeComponent();

            CodeToTestSimpleFactory factory = new CodeToTestSimpleFactory();
            //explicitly split into to separete things for introducing another changes
            CodeToTestList codeToTestList = new CodeToTestList(factory.ListOfCodeTests);

            containerListBox.DataContext = codeToTestList;
        }