摘要:
public class message { private string _caption; public void Show(string text, string caption, int timeout) { this._caption = caption; StartTimer(timeo 阅读全文
posted @ 2019-09-02 14:44
芮源
阅读(293)
评论(0)
推荐(1)
摘要:
HttpWebRequest和HttpWebResponse类是用于发送和接收HTTP数据的最好选择。它们支持一系列有用的属性。这两个类位 于System.Net命名空间,默认情况下这个类对于控制台程序来说是可访问的。请注意,HttpWebRequest对象不是利用new关键字通过构 造函数来创建的 阅读全文
posted @ 2019-09-02 14:42
芮源
阅读(2726)
评论(0)
推荐(1)
摘要:
https://www.cnblogs.com/LL-723/p/4268020.html 阅读全文
posted @ 2019-09-02 14:20
芮源
阅读(1802)
评论(0)
推荐(0)
摘要:
picHeadImg.ImageLocation = string.Format("http://img3.imgtn.bdimg.com/it/u=4160106393,1595591376&fm=214&gp=0.jpg"); // picHeadImg.Image = Image.FromSt 阅读全文
posted @ 2019-09-02 11:54
芮源
阅读(1970)
评论(0)
推荐(0)
摘要:
//子线程调用主线程方法一 //this.Invoke(new Action(() => { // dgvScanChip.DataSource = SaveChipList; //})); //子线程调用主线程方法一 //ControlInvoker.Invoke(this, delegate / 阅读全文
posted @ 2019-09-02 11:49
芮源
阅读(243)
评论(0)
推荐(0)
摘要:
using (OpenFileDialog ofd = new OpenFileDialog()) { ofd.Title = "请选择要插入的图片"; ofd.Filter = "JPG图片|*.jpg|BMP图片|*.bmp|Gif图片|*.gif"; ofd.CheckFileExists = 阅读全文
posted @ 2019-09-02 11:47
芮源
阅读(223)
评论(0)
推荐(0)
摘要:
List<DeptInfo> deptList = (from emp in empList where emp.Status == "在职" //筛选“在职”员工 orderby emp.DeptID ascending //按“部门ID”排序 group emp by new //按“部门ID” 阅读全文
posted @ 2019-09-02 11:42
芮源
阅读(1726)
评论(0)
推荐(0)
摘要:
public static async Task<List<Syncchip>> DownSyncchipList(int id) { using (var client = new HttpClient()) { try { string url = ApiServer.url+"/school/ 阅读全文
posted @ 2019-09-02 11:39
芮源
阅读(1079)
评论(0)
推荐(0)
摘要:
芮源: public class IsInternet { /// <summary> /// 判断是否有网 /// </summary> /// <returns>true为有网,false为无网</returns> public bool IsInternetAvailable() { try 阅读全文
posted @ 2019-09-02 11:35
芮源
阅读(584)
评论(0)
推荐(0)
摘要:
//分组去重 Tag_data = Tag_data.GroupBy(p => p.epc).Select(g => g.First()).OrderBy(o=>o.epc).ToList(); //去除字符串的空格 string trim = Regex.Replace(epc.epc, @"\s 阅读全文
posted @ 2019-09-02 11:33
芮源
阅读(474)
评论(0)
推荐(0)

浙公网安备 33010602011771号