I have created a form and added a ToolStrip to it.
Then I added a big button and anchored it to all sides.
Then I created a second button that would set the ToolStrip visible and invisible:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Me.ToolStrip1.Visible = Not Me.ToolStrip1.Visible
End Sub
However, when I make the ToolStrip invisible, the big button does not change its size and position.
Does anybody know why?
Thank you!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…