摘要:
CCC为项目名 新建三个文件 CCCBLL CCCDAL CCCController 1) 编写 Models 实体类 文件名为CCC2) CCCBLL 3) CCCBLL 4) CCCDAL 5) Controller 阅读全文
摘要:
https://www.cnblogs.com/lipan/archive/2011/12/21/2295355.html 阅读全文
摘要:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplicat... 阅读全文
摘要:
private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { System.Drawing.Drawing2D.GraphicsPath myPath = new System.Drawing.Dra 阅读全文
摘要:
https://www.freegeoip.net/xml/ 直接访问为查看本机公网IP和定位 https://www.freegeoip.net/xml/www.baidu.com 为查看百度的公网IP和定位 https://www.freegeoip.net/xml/192.168.0.166 阅读全文
摘要:
http://www.cnblogs.com/qq450867541/p/6180800.html 阅读全文
摘要:
解析Json字符串我这边是使用了JObject的方法 需要引用一个类库 需要下载Newtonsoft.Json.rar dll 然后引用 using Newtonsoft.Json;using Newtonsoft.Json.Linq; 第一个为解析字符串格式的Json 第二个为解析字符串数组形式的 阅读全文
摘要:
http://www.cnblogs.com/BenAndWang/p/7567982.html 阅读全文
摘要:
1 private delegate void CustomAction();//CustomAction 是委托的名字类似于静态方法 写在那就行 2 //线程内写入委托 代码直接写要改变的控件 和控件属性事件 3 this.Invoke(new CustomAction(delegate() 4 阅读全文
摘要:
转自一个百度知道- - 验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位 阅读全文