public static void HideWaitForm(this Control owner)
        {
            if (!Managers.ContainsKey(owner))
            {
                return;
            }
            SplashScreenManager manager = Managers[owner];

            Managers.Remove(owner);
            try {
                manager.CloseWaitForm();
            } finally {
                manager.Dispose();
            }
        }
Exemple #2
0
 public void Dispose()
 {
     _manager?.Dispose();
     _manualResetEventSlim?.Dispose();
 }