Where do I put these visible changes for them to display
<p>I have my code written like so:</p>

<pre><code>private void radioSelectButton_Click(object sender, EventArgs e)
{
    if (pteriRadio.Checked) // Selecting avatar to be displayed from here on out.
    //This avatar will also be displayed on the game board.
    {
        pteriBox1.Visible = true;
        xweetokBox1.Visible = false;
        ixiBox1.Visible = false;
        label1.Text = ("Pteri Inventory");
        player1avatar = "pteri";
    }
    else if (xweetokRadio.Checked)
    {
        xweetokBox1.Visible = true;
        pteriBox1.Visible = false;
        ixiBox1.Visible = false;
        label1.Text = ("Xweetok Inventory");
        player1avatar = "xweetok";
    }
    else if (ixiRadio.Checked)
    {
        ixiBox1.Visible = true;
        pteriBox1.Visible = false;
        xweetokBox1.Visible = false;
        label1.Text = ("Ixi Inventory");
        player1avatar = "ixi";
    }
    characterSelectBox.Visible = false;
    radioSelectButton.Visible = false;
    characterSelectBox2.Visible = true;
    radioSelectButton2.Visible = true;
}
</code></pre>

<p>It  seems as though the visibility changes should display when I have it like this, with the changes within the button click but outside of the if statements (It doesn't matter what the user selects, once selected the option to select needs to disappear for that user.)Yet the visibility changes don't execute. What am I missing here? </p>

<p>If I nest the if-statements as suggested by a previous person, here's what I have:</p>

<pre><code>    private void radioSelectButton_Click(object sender, EventArgs e)
    {
        if (pteriRadio.Checked) // Selecting avatar to be displayed from here on out.
        //This avatar will also be displayed on the game board.
        {
            pteriBox1.Visible = true;
            xweetokBox1.Visible = false;
            ixiBox1.Visible = false;
            label1.Text = ("Pteri Inventory");
            player1avatar = "pteri";
            if (xweetokRadio.Checked)
            {
                xweetokBox1.Visible = true;
                pteriBox1.Visible = false;
                ixiBox1.Visible = false;
                label1.Text = ("Xweetok Inventory");
                player1avatar = "xweetok";

                if (ixiRadio.Checked)
                {
                    ixiBox1.Visible = true;
                    pteriBox1.Visible = false;
                    xweetokBox1.Visible = false;
                    label1.Text = ("Ixi Inventory");
                    player1avatar = "ixi";
                }
                characterSelectBox.Visible = false;
                radioSelectButton.Visible = false;
                characterSelectBox2.Visible = true;
                radioSelectButton2.Visible = true;
            }
        }
    }
</code></pre>

<p>Now, not only do the visible items not swap over, two of the character choices don't display.</p>
