GitUI.CommandsDialogs.FormBrowse.Dispose C# (CSharp) Méthode

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
#if !__MonoCS__
                if (_commitButton != null)
                    _commitButton.Dispose();
                if (_pushButton != null)
                    _pushButton.Dispose();
                if (_pullButton != null)
                    _pullButton.Dispose();
#endif
                _submodulesStatusImagesCTS.Dispose();
                if (_formBrowseMenus != null)
                    _formBrowseMenus.Dispose();
                if (_filterRevisionsHelper != null)
                    _filterRevisionsHelper.Dispose();
                if (_filterBranchHelper != null)
                    _filterBranchHelper.Dispose();

                if (components != null)
                    components.Dispose();
            }
            base.Dispose(disposing);
        }
    }
FormBrowse