mainmenu1.menuitem1和tabcontrol1.tabpage1绑定
怎么把mainmenu1.menuitem1和tabcontrol1.tabpage1绑定,就是按mainmenu1.menuitem1时出现tabpage1。知道怎么做的高手请指教下好吗?麻烦了
我这样做,但不行:
Private Sub MenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem7.Click
TabControl1.TabPages.Item(0).Show()
End Sub