欢迎光临
我们一直在努力

用VB.net制作一个小程序(3)-.NET教程,VB.Net语言

建站超值云服务器,限时71元/月

用vb.net制作一个小程序(3)

—-制作“input controls”程序(1)

作者:高山

public class form1

inherits system.windows.forms.form

#region " windows 窗体设计器生成的代码 "

public sub new()

mybase.new()

该调用是 windows 窗体设计器所必需的。

initializecomponent()

在 initializecomponent() 调用之后添加任何初始化

end sub

窗体重写处置以清理组件列表。

protected overloads overrides sub dispose(byval disposing as boolean)

if disposing then

if not (components is nothing) then

components.dispose()

end if

end if

mybase.dispose(disposing)

end sub

windows 窗体设计器所必需的

private components as system.componentmodel.icontainer

注意:以下过程是 windows 窗体设计器所必需的

可以使用 windows 窗体设计器修改此过程。

不要使用代码编辑器修改它。

friend withevents groupbox1 as system.windows.forms.groupbox

friend withevents groupbox2 as system.windows.forms.groupbox

friend withevents label1 as system.windows.forms.label

friend withevents checkbox1 as system.windows.forms.checkbox

friend withevents checkbox2 as system.windows.forms.checkbox

friend withevents checkbox3 as system.windows.forms.checkbox

friend withevents listbox1 as system.windows.forms.listbox

friend withevents label2 as system.windows.forms.label

friend withevents label3 as system.windows.forms.label

friend withevents radiobutton1 as system.windows.forms.radiobutton

friend withevents radiobutton2 as system.windows.forms.radiobutton

friend withevents radiobutton3 as system.windows.forms.radiobutton

friend withevents button1 as system.windows.forms.button

friend withevents combobox1 as system.windows.forms.combobox

friend withevents label4 as system.windows.forms.label

friend withevents picturebox1 as system.windows.forms.picturebox

friend withevents picturebox2 as system.windows.forms.picturebox

friend withevents picturebox3 as system.windows.forms.picturebox

friend withevents picturebox4 as system.windows.forms.picturebox

friend withevents picturebox5 as system.windows.forms.picturebox

<system.diagnostics.debuggerstepthrough()> private sub initializecomponent()

me.groupbox1 = new system.windows.forms.groupbox()

me.radiobutton3 = new system.windows.forms.radiobutton()

me.radiobutton2 = new system.windows.forms.radiobutton()

me.radiobutton1 = new system.windows.forms.radiobutton()

me.groupbox2 = new system.windows.forms.groupbox()

me.checkbox3 = new system.windows.forms.checkbox()

me.checkbox2 = new system.windows.forms.checkbox()

me.checkbox1 = new system.windows.forms.checkbox()

me.label1 = new system.windows.forms.label()

me.listbox1 = new system.windows.forms.listbox()

me.label2 = new system.windows.forms.label()

me.label3 = new system.windows.forms.label()

me.button1 = new system.windows.forms.button()

me.combobox1 = new system.windows.forms.combobox()

me.label4 = new system.windows.forms.label()

me.picturebox1 = new system.windows.forms.picturebox()

me.picturebox2 = new system.windows.forms.picturebox()

me.picturebox3 = new system.windows.forms.picturebox()

me.picturebox4 = new system.windows.forms.picturebox()

me.picturebox5 = new system.windows.forms.picturebox()

me.groupbox1.suspendlayout()

me.groupbox2.suspendlayout()

me.suspendlayout()

groupbox1

me.groupbox1.controls.addrange(new system.windows.forms.control() {me.radiobutton3, me.radiobutton2, me.radiobutton1})

me.groupbox1.location = new system.drawing.point(8, 120)

me.groupbox1.name = "groupbox1"

me.groupbox1.tabindex = 0

me.groupbox1.tabstop = false

me.groupbox1.text = "computer[required]"

radiobutton3

me.radiobutton3.location = new system.drawing.point(40, 64)

me.radiobutton3.name = "radiobutton3"

me.radiobutton3.tabindex = 2

me.radiobutton3.text = "laptop"

radiobutton2

me.radiobutton2.location = new system.drawing.point(40, 40)

me.radiobutton2.name = "radiobutton2"

me.radiobutton2.tabindex = 1

me.radiobutton2.text = "macintosh"

radiobutton1

me.radiobutton1.location = new system.drawing.point(40, 16)

me.radiobutton1.name = "radiobutton1"

me.radiobutton1.tabindex = 0

me.radiobutton1.text = "pc"

groupbox2

me.groupbox2.controls.addrange(new system.windows.forms.control() {me.checkbox3, me.checkbox2, me.checkbox1})

me.groupbox2.location = new system.drawing.point(8, 248)

me.groupbox2.name = "groupbox2"

me.groupbox2.size = new system.drawing.size(200, 104)

me.groupbox2.tabindex = 1

me.groupbox2.tabstop = false

me.groupbox2.text = "office equired(0-3)"

checkbox3

me.checkbox3.location = new system.drawing.point(40, 64)

me.checkbox3.name = "checkbox3"

me.checkbox3.tabindex = 2

me.checkbox3.text = "copy machine"

checkbox2

me.checkbox2.location = new system.drawing.point(40, 40)

me.checkbox2.name = "checkbox2"

me.checkbox2.tabindex = 1

me.checkbox2.text = "calcultor"

checkbox1

me.checkbox1.location = new system.drawing.point(40, 16)

me.checkbox1.name = "checkbox1"

me.checkbox1.tabindex = 0

me.checkbox1.text = "answering machine"

待续

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 用VB.net制作一个小程序(3)-.NET教程,VB.Net语言
分享到: 更多 (0)

相关推荐

  • 暂无文章