BigRedButtonOfDeath.Forms.Form1.SetVisible C# (CSharp) Method

SetVisible() public method

public SetVisible ( bool standBy, bool chooseShip, bool SelfDestruct, bool simulationEnded, bool connect ) : void
standBy bool
chooseShip bool
SelfDestruct bool
simulationEnded bool
connect bool
return void
        void SetVisible(bool standBy, bool chooseShip, bool SelfDestruct, bool simulationEnded, bool connect)
        {
            if (InvokeRequired)
            {
                this.Invoke(new Action<bool, bool, bool, bool, bool>(SetVisible), standBy, chooseShip, SelfDestruct, simulationEnded, connect);
            }
            else
            {
                grpStandby.Visible = standBy;
                grpShip.Visible = chooseShip;
                grpSimulationEnded.Visible = simulationEnded;
                btnSelfDestruct.Visible = SelfDestruct;
                connectBox.Visible = connect;
            }
        }
        public void SimulationEnded()