摘要: 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 阅读(346) 评论(0) 推荐(0) 编辑
摘要: IComparable<T>.CompareTo(T) 方法 定义 命名空间:System程序集:System.Runtime.dll, mscorlib.dll, netstandard.dll 将当前实例与同一类型的另一个对象进行比较,并返回一个整数,该整数指示当前实例在排序顺序中的位置是位于另 阅读全文
posted @ 2019-12-21 11:12 adozheng 阅读(1040) 评论(0) 推荐(0) 编辑