title: Show Groupbox when button is clicked or Bring GroupBox to front?
body: <p>I have 3 GroupBox's that contain various TextBox's and Buttons, I have placed the 3 GroupBox's on top of each other and created 4 buttons so that when one of the buttons is clicked the GroupBox it refers to is shown above the other. To do this I tried .Visible and .BringToFront command. But It didn't work. </p>
  
  <pre><code>private void bunifuFlatButton1_Click(object sender, EventArgs e)
  {
      LOGINGROUP.Visible = true;
      LOGINGROUP1.Visible = false;
      LOGINGROUP2.Visible = false;
  }
  
  private void bunifuFlatButton2_Click(object sender, EventArgs e)
  {
  
      LOGINGROUP1.Visible = true;
      LOGINGROUP.Visible=false;
      LOGINGROUP2.Visible = false;
  }
  
  private void bunifuFlatButton3_Click(object sender, EventArgs e)
  {
  
      LOGINGROUP2.Visible = true;
      LOGINGROUP1.Visible = false;
      LOGINGROUP.Visible = false;
  
  }
  </code></pre>