<p>I have a Windows Form app with a TabControl. One of the TabPages in the TabControl contains a ToolStrip. Frequently, the Windows Form designer will spontaneously set the Visible property of the Toolstrip to False. To get the toolstrip to reappear in my form, I have to manually find the control and set the property back to True. It's really annoying.</p>

<p>Does anyone know why this happens, or how to stop it? I've tried setting the minimum height of the control to a non-zero value, but that has no effect.</p>

<p>I'm using VS2008, VB.NET and the .Net framework 2.0, however I've struggled with this problem in VS2005 too, in several different applications.</p>

[{'answer_id': 63942, 'author': 'Phillip Wells', 'author_id': 3012, 'author_profile': 'https://Stackoverflow.com/users/3012', 'pm_score': 4, 'selected': True, 'text': '<p>I may have found a workaround for this.</p>\n\n<p>My ToolStrip was placed directly on the TabPage, docked to Top. However, I found <a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=117176&amp;wa=wsignin1.0" rel="noreferrer">a thread on Microsoft Connect</a> that described the same problem when the ToolStrip was in a ToolStripContainer on the TabPage. That problem was observed in a release candidate of VS2005, but supposedly fixed by Microsoft in September 2006.</p>\n\n<p>As such, I changed my code to put the ToolStrip inside a ToolStripContainer, and now I am unable to reproduce the problem.</p>\n'}, {'answer_id': 740071, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': "<p>Open the designer code and explicitly set the control's visible property to true.</p>\n\n<p><strong><em>Nick Hanshaw</em></strong></p>\n"}]
['https://Stackoverflow.com/questions/57208', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3012/']