从IDE的工具箱拖动一个文本框控件到窗体中,假如控件被取名为txtInput,则自动生成的语句代码为:
A: this.txtInput = new TextBox();
B: this.txtInput = new Forms.TextBox();
C: this.txtInput = new Windows.Forms.TextBox();
D: this.txtInput = new System.Windows.Forms.TextBox();
A: this.txtInput = new TextBox();
B: this.txtInput = new Forms.TextBox();
C: this.txtInput = new Windows.Forms.TextBox();
D: this.txtInput = new System.Windows.Forms.TextBox();
举一反三
- 从工具箱拖动一个文本框控件到窗体,该文本框控件是TextBox类的一个对象。
- 在Windows窗体控件中属于数据显示的控件是。 A: DataGridView 控件 B: TextBox控件 C: RadioButton控件 D: CheckBox控件
- 【判断题】TextBox控件又称文本框控件,用于输入或显示文本,TextBox控件通常用于可编辑文本,但也可以通过设置其属性值,使其成为只读控件
- 文本框TextBox控件的数据验证代码一般写在()事件中。
- textbox控件通过()属性获取或设置textbox控件的文本内容。 A: text B: font C: forecolor D: borderstyle