Shuxia Ning
2024-08-28 1a8a81785470302fc7fbd6914a9df5d1094dac2a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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);
        }
 
    }
}