ZForge.Controls.ExplorerBar.Expando.Dispose C# (CSharp) Method

Dispose() protected method

Releases the unmanaged resources used by the Expando and optionally releases the managed resources
protected Dispose ( bool disposing ) : void
disposing bool True to release both managed and unmanaged /// resources; false to release only unmanaged resources
return void
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }

                if (this.systemSettings != null)
                {
                    this.systemSettings.Dispose();
                    this.systemSettings = null;
                }

                if (this.animationHelper != null)
                {
                    this.animationHelper.Dispose();
                    this.animationHelper = null;
                }
            }

            base.Dispose(disposing);
        }