protected override void Run() { var padId = "QuickTest.TestWindow"; var pad = IdeApp.Workbench.Pads.FirstOrDefault (p => p.Id == padId); if (pad == null) { var padContent = new TestWindowPadContent (); pad = IdeApp.Workbench.AddPad (padContent, "QuickTest.TestWindow", "Quick Test", "", null); } pad.BringToFront (false); }
protected override void Run() { var padId = "QuickTest.TestWindow"; var pad = IdeApp.Workbench.Pads.FirstOrDefault(p => p.Id == padId); if (pad == null) { var padContent = new TestWindowPadContent(); pad = IdeApp.Workbench.AddPad(padContent, "QuickTest.TestWindow", "Quick Test", "", null); } pad.BringToFront(false); }