CmisSync.SetupWindow.Reset C# (CSharp) Method

Reset() public method

public Reset ( ) : void
return void
        public void Reset() {
            this.Header = string.Empty;
            this.Description = string.Empty;

            if (this.optionArea.Children.Length > 0) {
                this.optionArea.Remove(this.optionArea.Children[0]);
            }

            if (this.wrapper.Children.Length > 0) {
                this.wrapper.Remove(this.wrapper.Children[0]);
            }

            foreach (Button button in this.buttons) {
                this.buttons.Remove(button);
            }

            this.ShowAll();
        }