ACAT.Lib.Core.PanelManagement.SplashScreen.Dispose C# (CSharp) Method

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

Usage Example

Exemplo n.º 1
0
        /// <summary>
        /// The work handler function for the background worker
        /// </summary>
        /// <param name="sender">event sender</param>
        /// <param name="e">event args</param>
        private void backgroundWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            var appName      = _line1 ?? String.Empty;
            var appVersion   = _line2 ?? String.Empty;
            var appCopyright = _line3 ?? String.Empty;

            _form = new SplashScreen(appName, appVersion, appCopyright, _image);

            _closeEvent.Set();
            _form.ShowDialog();
            _form.Dispose();
        }
All Usage Examples Of ACAT.Lib.Core.PanelManagement.SplashScreen::Dispose