11. 在窗体Form1中有按钮Button1,以下那个Click事件处理程序可以关闭该窗体? A. Form1.Close(); B. this.Close(); C. Button1.Close(); D. me.Close(); 满分:2 分 12. 在C#程序中,显示一个信息为"test", 标题为"Hello"的消息框,正确的语句是()。 A. MessageBox("test","hello"); B. MessageBox.Show("test","hello"); C. MessageBox("hello","test"); D. MessageBox.Show("hello","test"); 满分:2 分 13. 下列关于构造函数的描述正确的是() A. 构造函数可以声明返回类型 B. 构造函数不可以用private修饰 C. 构造函数必须与类名相同 D. 构造函数不能带参数 满分:2 分 14. 在Windows Forms程序中,某CheckBox对象初始化为三态(即:其ThreeState属性值为true).则应使用()属性来检查此CheckBox的状态. A. IsSelected B. CheckState C. Checked D. State 满分:2 分 (责任编辑:admin)要这答案加QQ:800020900 或加微信:q800020900 获取 |