Okay I have the following:
Code:
private System.Windows.Forms.TabPage tab1;
And I need to hide this tab when a certain menu Item is clicked. In the code for the menuitem, I have the following:
And nothing is happening. The other code I have contained in that same block is working fine, I just cant get the tab hidden.
Thanks