Beispiel #1
0
        private void OnRecentFileClick(object sender, EventArgs e)
        {
            MenuItem item         = (MenuItem)sender;
            string   testFileName = item.Text.Substring(2);

            TestLoaderUI.OpenProject(item.GetMainMenu().GetForm(), testFileName);
        }
Beispiel #2
0
        public static void Init(Form ownerForm, TextWriter outWriter, TextWriter errWriter)
        {
            AppUI.outWriter = outWriter;
            Console.SetOut(outWriter);

            AppUI.errWriter = errWriter;
            Console.SetError(errWriter);

            loader                = new TestLoader(outWriter, errWriter);
            loader.ReloadOnRun    = UserSettings.Options.ReloadOnRun;
            loader.ReloadOnChange = UserSettings.Options.ReloadOnChange;
            loaderUI              = new TestLoaderUI(ownerForm, loader);
        }