Exemple #1
0
        private void StartRun()
        {
            Run run = new Run(profiler, application.Text);

            run.profiler.completed = new EventHandler(run.Complete);
            run.Start();
        }
Exemple #2
0
        private void StartRun()
        {
            string message;
            bool   success = profiler.CheckSetup(out message);

            if (!success)
            {
                MessageBox.Show(this, message, "Application setup error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }
            Run run = new Run(profiler);

            run.profiler.completed = new EventHandler(run.Complete);
            run.Start();
        }