Example #1
0
        /// <summary>
        /// Function to hide the splash screen.
        /// </summary>
        private async Task HideSplashAsync()
        {
            if (_splash == null)
            {
                return;
            }

            await _splash.FadeAsync(false, 16);

            _splash.Dispose();
            _splash = null;
        }
Example #2
0
 /// <summary>
 /// Function to show the splash screen for our application boot up procedure.
 /// </summary>
 private async Task ShowSplashAsync()
 {
     _splash = new FormSplash();
     _splash.Show();
     await _splash.FadeAsync(true, 16);
 }