hide tab in tabControl ?

  • Thread starter Thread starter Kostya Ergin
  • Start date Start date
K

Kostya Ergin

I try to hide one tab in tabControl.

Write such line:

tabControl.TabPageCollection.Item[1].Visible = false;

Compiler speaks:

[C# Error] Internal Compiler Error (0xc0000005 at address 535DB439): likely
culprit is 'BIND'.
[C# Error] WinForm.cs(56236): Internal Compiler Error: stage 'BIND'

Somebody knows how correctly to hide a tab?
 
Back
Top