随笔分类 -  C#

摘要:1. 窗体Tab键的顺序设置 选中窗体-视图-tab键顺序 label不适用tab键 2. 热键设置和快捷键设置 热键:无论光标在哪都可以 快捷键:出现界面后才能按 添加label 更改label的Text属性改为:热键关闭&C 当按下Alt+C时,Close按钮获得焦点【本应该是热键关闭(C)这个 阅读全文
posted @ 2017-08-01 14:00 mCat 阅读(301) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.... 阅读全文
posted @ 2017-08-01 10:53 mCat 阅读(134) 评论(0) 推荐(0)
摘要:偶尔发现身份证号码的规定,觉得甚是好玩,特此标记 身份证验证算法 阅读全文
posted @ 2017-08-01 09:26 mCat 阅读(286) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test2 { class Ticket { decimal distance; public... 阅读全文
posted @ 2017-07-25 16:26 mCat 阅读(199) 评论(0) 推荐(0)
摘要:try...catch...finally 阅读全文
posted @ 2017-07-24 14:37 mCat 阅读(146) 评论(0) 推荐(0)
摘要:throw在特定情况下主动抛出异常 (1)ArithmeticException (2)ArrayTypeMismatchException (3)DivideByZeroException (4)IndexOutOfRangeException (5)InvalidCastException (6 阅读全文
posted @ 2017-07-24 14:25 mCat 阅读(122) 评论(0) 推荐(0)
摘要:WebRequest 和 WebResponse类的使用 阅读全文
posted @ 2017-07-24 14:10 mCat 阅读(202) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.... 阅读全文
posted @ 2017-07-24 12:04 mCat 阅读(192) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.... 阅读全文
posted @ 2017-07-19 14:27 mCat 阅读(211) 评论(0) 推荐(0)
摘要:背景图片放在debug文件夹中 阅读全文
posted @ 2017-07-19 14:10 mCat 阅读(222) 评论(0) 推荐(0)