Example #1
0
 public void CloseOverlayForm(IOverlaySplashScreenHandle handle)
 {
     if (handle != null)
     {
         windowCompositePainter = null;
         SplashScreenManager.CloseOverlayForm(handle);
     }
 }
Example #2
0
 public IOverlaySplashScreenHandle ShowOverlayForm(Control owner, Action onCancel)
 {
     windowCompositePainter = new CancelableOverlayWindowCompositePainter(onCancel);
     return(SplashScreenManager.ShowOverlayForm(owner, customPainter: new OverlayWindowCompositePainter(windowCompositePainter.OverlayButtonDrawHelper, windowCompositePainter.OverlayLabelDrawHelper), opacity: 150));
 }