在同一个工程中,在窗体Form1通用段声明PublicaAsBoolean,则在窗体Form2的事件过程中()访问该变量。
A、PrintForm1.a
B、PrintForm.a
C、不可以
D、Printa
A、PrintForm1.a
B、PrintForm.a
C、不可以
D、Printa
A、Form1.Print"我的第一个应用程序" B、Form.Print"我的第一个应用程序" C、Form.caption="我的第一个应用程序" D、Form1.caption="我的第一个应用程序"
A、A.TextBox c = new TextBox(); c.ID = "txtUserName"; c.Visible = true; B、B.TextBox c = new TextBox(); c.ID = "txtUserName"; c.Visible = true; c.Controls.Add(form1); C、C.TextBox c = new TextBox(); c.ID = "txtUserName"; c.Visible = true; c.Add(form1); D、D.TextBox c = new TextBox(); c.ID = "txtUserName"; c.Visible = true; form1.Controls.Add(c);
A、A.Form.caption="myfrm" B、B.Form1.caption="myfrm" C、C.Form1.print "myfrm" D、D.Form. print "myfrm"
A、A.Form1=”VB Test” B、B.Caption=”VB Test” C、C.Form1.Text=”VB Test” D、D.Form1.Name=”VB Test”