CmisSync.UI.UpdateDockIconVisibility C# (CSharp) Method

UpdateDockIconVisibility() public method

public UpdateDockIconVisibility ( ) : void
return void
        public void UpdateDockIconVisibility() {
            if (this.Setup.IsWindowLoaded && this.Setup.Window.IsVisible) {
                this.ShowDockIcon();
            } else if (this.About.IsVisible) {
                this.ShowDockIcon();
            } else if (Program.Controller.IsEditWindowVisible) {
                this.ShowDockIcon();
            } else if (this.Settings.IsWindowLoaded && this.Settings.Window.IsVisible) {
                this.ShowDockIcon();
            } else if (this.Transmission.IsWindowLoaded && this.Transmission.Window.IsVisible) {
                this.ShowDockIcon();
            } else {
                this.HideDockIcon();
            }
        }