/// <summary> /// Hides the ext. /// </summary> /// <param name="wizard">The wizard.</param> public static void HideExt(this IWizard wizard) { try { if (wizard.InvokeRequired) { wizard.Invoke(new GenericDelegate(wizard.Hide)); } else { wizard.Hide( ); } } catch (ThreadAbortException) { } }