Exemple #1
0
		protected override void Run ()
		{
			SelectProcessDialog dlg = new SelectProcessDialog ();
			if (dlg.Run () == (int)ResponseType.Ok) {
				IProfiler profiler = dlg.Profiler;
				Process process = dlg.Process;
				
				ProfilingOperations.ProfileProcess (profiler, process);
			}
			dlg.Destroy ();
		}
Exemple #2
0
        protected override void Run()
        {
            SelectProcessDialog dlg = new SelectProcessDialog();

            if (dlg.Run() == (int)ResponseType.Ok)
            {
                IProfiler profiler = dlg.Profiler;
                Process   process  = dlg.Process;

                ProfilingOperations.ProfileProcess(profiler, process);
            }
            dlg.Destroy();
        }