ACPAddIn.Tour.setButtonStates C# (CSharp) Method

setButtonStates() private method

private setButtonStates ( ) : void
return void
        private void setButtonStates()
        {
            //reset button visibility
            this.back_btn.Visible = true;
            this.next_btn.Visible = true;
            this.finish_btn.Visible = false;

            //hide the state based on the current screen.
            if (currentScreen == 0)
            {
                this.back_btn.Visible = false;
            }
            if (currentScreen == tourScreen.Count - 1)
            {
                this.next_btn.Visible = false;
                this.finish_btn.Visible = true;
            }
        }