예제 #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;
        }