CmisSync.UI.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose() {
            if (this.disposed) {
                return;
            }

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

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

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

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

            this.disposed = true;
        }
    }