摘要: 阅读全文
posted @ 2019-12-25 09:27 adozheng 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-12-24 20:25 adozheng 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-12-24 16:10 adozheng 阅读(72) 评论(0) 推荐(0) 编辑
摘要: (1)分析项目中有哪些类(或对象)参与程序。 分析结果: *对象选择的标准: 第一,这个对象的确能参与程序的运行。 第二,这个对象有对象的基本特征。 第三,对象必须是项目强相关的对象。初步找到的:试卷、试题、计算机、考生、答案、题干、选项.…筛选后:试卷类:本项目中只有一张试卷(后续扩展可以做成多套 阅读全文
posted @ 2019-12-23 17:22 adozheng 阅读(1225) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-12-23 12:41 adozheng 阅读(137) 评论(0) 推荐(0) 编辑
摘要: DialogResult result =MessageBox.Show("请输入学员姓名!","验证提示",MessageBoxButtons.OKCancel,MessageBoxlcon.Information); if(result == DialogResult.Cancel) { //用 阅读全文
posted @ 2019-12-21 16:02 adozheng 阅读(174) 评论(0) 推荐(0) 编辑
摘要: //sender:表示的是“事件源”对象 privata void btn_TeacherClick(object sender,EventArgs e) { string txt = ((Button)sender).Text; MessageBox.Show(txt + "您好!"); } 阅读全文
posted @ 2019-12-21 15:46 adozheng 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-12-21 12:08 adozheng 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-12-21 11:43 adozheng 阅读(345) 评论(0) 推荐(0) 编辑
摘要: IComparable<T>.CompareTo(T) 方法 定义 命名空间:System程序集:System.Runtime.dll, mscorlib.dll, netstandard.dll 将当前实例与同一类型的另一个对象进行比较,并返回一个整数,该整数指示当前实例在排序顺序中的位置是位于另 阅读全文
posted @ 2019-12-21 11:12 adozheng 阅读(1040) 评论(0) 推荐(0) 编辑