摘要: 在声明公共变量的位置加上这句就可以了Dim WithEvents NewButton As Buttonform_load中添加NewButton = New Button NewButton.Text = "close" Me.Controls.Add(NewButton)调用事件: Privat... 阅读全文
posted @ 2014-06-05 16:13 醉月清风 阅读(787) 评论(0) 推荐(0)
摘要: Dim lb As New Label lb.Text = "hello" lb.Top = 200 lb.Left = 100 Me.Controls.Add(lb) 阅读全文
posted @ 2014-06-05 14:25 醉月清风 阅读(982) 评论(0) 推荐(0)