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 (); }
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(); }