GUI模拟题.docVIP

  • 6
  • 0
  • 约8.32千字
  • 约 17页
  • 2016-11-03 发布于北京
  • 举报
GUI模拟题

在窗体加载事件过程中动态加载一个按钮控件的正确代码是下列哪一段? Button btn= new Button(); btn.Add(); Button btn= new Button(); this.Add(btn); Button btn= new Button(); this.Button.Add(btn); Button btn= new Button(); this.controls.Add(btn); 以下描述错误的是4.8 SplitButton是StatusStrip的子控件 LayoutStyle属性指定StatusStrip控件的布局方向 TextDirection属性指定ToolStrip控件指定项上的文本绘制方向 Value属性是指定ProgressBar控件的当前值递增的数量 实现只能输入整型数的验证功能的代码是下列哪一段?4.14 private void textBox1_Validating(object sender, CancelEventArgs e) { try { int x = Int32.Parse(textBox1.Text); errorProvider1.SetError(textBox1, ); } catch { errorProvider1.SetError(textBox1, Not an integer value.); } } private void textBox1_Validating(object sender, CancelEventArgs e) { try { int x = Int32.ToString(textBox1.Text); errorProvider1.SetError(textBox1, ); } catch { errorProvider1.SetError(textBox1, Not an integer value.); } } private void textBox1_Validating(object sender, CancelEventArgs e) { try { int x = Int32.Parse(textBox1.Text); errorProvider1.SetError(textBox1); } catch { errorProvider1.SetError(textBox1, Not an integer value.); } } private void textBox1_Validating(object sender, CancelEventArgs e) { try { int x = Int32. ToString (textBox1.Text); errorProvider1.SetError(textBox1); } catch { errorProvider1.SetError(textBox1, Not an integer value.); } } 以下哪个不是创建水晶报表方法?6.27 手动 自动 使用标准报表向导 使用现有报表 CrystalReportViewer控件对水晶报表有什么作用?6.54 交互 浏览 触发 提升 哪个属性用于跟踪用户在打印对话框中点击的按钮?6.6 TAG属性 Document属性 Filter属性 D

文档评论(0)

1亿VIP精品文档

相关文档