Foxtable(狐表)用户栏目专家坐堂 → VB的代码怎么写成foxtable


  共有2274人关注过本帖树形打印复制链接

主题:VB的代码怎么写成foxtable

帅哥哟,离线,有人找我吗?
chenjiu6202
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:一尾狐 帖子:403 积分:3892 威望:0 精华:0 注册:2013/1/18 21:38:00
VB的代码怎么写成foxtable  发帖心情 Post By:2016/11/11 20:22:00 [只看该作者]

Public Class FaceDemo
Inherits System.Windows.Forms.Form
Private Sub InitializeComponent()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(Gettype(FaceDemo))
Me.btnEnroll = New Button() -------------------------这句报错,未定义类型
Me.btnEnroll.Location = New Point(253, 172)
Me.btnEnroll.Name = "btnEnroll"
Me.btnEnroll.Size = New Size(75, 23)
Me.btnEnroll.TabIndex = 2
Me.btnEnroll.Text = "Register"
Me.btnEnroll.UseVisualStyleBackColor = True
AddHandler Me.btnEnroll.Click, AddressOf Me.btnEnroll_Click
MyBase.Controls.Add(Me.btnEnroll)
End Sub
End Class

请问老师这句该怎么改啊!

 回到顶部
帅哥哟,离线,有人找我吗?
chenjiu6202
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:一尾狐 帖子:403 积分:3892 威望:0 精华:0 注册:2013/1/18 21:38:00
  发帖心情 Post By:2016/11/11 20:25:00 [只看该作者]

少写一句
Private btnEnroll As WinForm.Button

 回到顶部