using DevExpress.XtraSplashScreen; namespace Verify { public static class OverlayHelper { private static OverlayWindowOptions _options = new OverlayWindowOptions(opacity: 100d / 255); public static IOverlaySplashScreenHandle ShowOverlay(this Control owner) { return DevExpress.XtraSplashScreen.SplashScreenManager.ShowOverlayForm(owner, _options); } public static IOverlaySplashScreenHandle ShowOverlay(Control owner, OverlayWindowOptions options) { return DevExpress.XtraSplashScreen.SplashScreenManager.ShowOverlayForm(owner, options); } public static IOverlaySplashScreenHandle ShowOverlay(Control owner, bool? fadeIn = null, bool? fadeOut = null, Color? backColor = null, Color? foreColor = null, int? opacity = null, Image image = null, IOverlayWindowPainter customPainter = null, string skinName = null, ImageRotationParams? rotationParameters = null, int? startupDelay = null) { return DevExpress.XtraSplashScreen.SplashScreenManager.ShowOverlayForm(owner, fadeIn, fadeOut, backColor, foreColor, opacity, image, customPainter, skinName, rotationParameters, startupDelay); } } }