public override void Run() { IWorkbench workbench = WorkbenchSingleton.Workbench; PadDescriptor setupDialogsPad = workbench.GetPad(typeof(SetupDialogListPad)); if (setupDialogsPad != null) { setupDialogsPad.BringPadToFront(); } else { foreach (PadDescriptor pad in workbench.PadContentCollection) { if (pad.PadContent is SetupDialogListPad) { workbench.ShowPad(pad); break; } } } }