using DevExpress.XtraSplashScreen; namespace TsSFCDevice.Control { public static class DevExtend { /// /// 关闭等待窗口 /// /// public static void TryCloseWait(this SplashScreenManager ssm) { try { if (ssm.IsSplashFormVisible) { ssm.CloseWaitForm(); } } catch { } } } }