How to hide the Tabcontrol element from the Windows form

  • 2
    We take control, set the property Visible = false . Not? - Dmitry D.
  • @Dmitry D. And how to make the button1 button appear on top of the Tabcontrol or even on top of other form elements - SVD102
  • 2
    Do not you think that this is a completely different question? By the way, yours: another question . - Dmitry D.
  • one
    @DmitryD .: Feel free to write as an answer, if you do not accept, we will raise it by popular vote. :) - Neolisk
  • one
    @Neolisk Said - done. :) - Dmitry D.

1 answer 1

All controls have a Visible property inherited from their common ancestor: System.Windows.Froms.Control .
To hide a control, set this property to false . For example:

 tabControl1.Visible = false;