09 2016 档案

摘要:1.设置WinForm窗体属性showinTask=false 2.加notifyicon控件notifyIcon1,为控件notifyIcon1的属性Icon添加一个icon图标。 3.添加窗体最小化事件(首先需要添加事件引用): this.SizeChanged += new System.Ev 阅读全文
posted @ 2016-09-29 15:24 会弹猫的吉他 阅读(355) 评论(0) 推荐(0)
摘要:/// /// 汉字转换为Unicode编码 /// /// 要编码的汉字字符串 /// Unicode编码的的字符串 public static string ToUnicode(string str) { byte[] bts = Encoding.Unicode.Ge... 阅读全文
posted @ 2016-09-18 09:35 会弹猫的吉他 阅读(723) 评论(0) 推荐(0)
摘要:_dic = _dic.OrderByDescending(x => x.Value).ToDictionary(x=>x.Key,x=>x.Value); var Num = _dic.ToList().Take(5).Select(a => a.Key.ToString()).ToArray() 阅读全文
posted @ 2016-09-09 14:20 会弹猫的吉他 阅读(3458) 评论(0) 推荐(0)
摘要://过滤\n 转换成空 String withoutNString=message.Replace("\n", ""); //过滤\r 转换成空 String withoutRString = withoutNString.Replace("\r", ""); //过滤\t 转换成空 String  阅读全文
posted @ 2016-09-09 13:12 会弹猫的吉他 阅读(3600) 评论(0) 推荐(0)