Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我收到以下行的此错误。(蓝色摆动线在 (35, 31) 下)
Dim chkbx1 as New Checkbox chkbx1.Location = New Point(35, 31)
这个错误的原因是什么?有没有其他方法可以给出复选框的位置?
您必须在Point某处定义另一个类。
Point
尝试以下操作:
Dim chkbx1 As New CheckBox chkbx1.Location = New System.Drawing.Point(35, 31)