[求助]请看看这是怎么回事??
我用vb.net 2005动态创建Button控件,调试出来的问题Private bthnok As System.Windows.Forms.Button
Private Sub InitializeComponent()
bthnok = New Button
bthnok.Name = "Button-ok"
bthnok.Location = New System.Drawing.Point(328, 32)
bthnok.Size = New System.Drawing.Size(72, 50)
bthnok.TabIndex = 0
bthnok.Text = "OK"
Me.Controls.Add(bthnok)
End Sub
错误 1 “Private Sub InitializeComponent()”具有多个带有相同签名的定义。