选项卡内控件的删除问题
我想动态删除选项卡内控件。请求帮助。谢谢!
程序代码:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click TabPage1.Controls.Remove(Label1) TabPage1.Controls.Item("label2").Dispose() TabPage1.Controls.Clear() End Sub
[此贴子已经被作者于2022-4-22 23:59编辑过]