09 2016 档案
摘要:1.设置WinForm窗体属性showinTask=false 2.加notifyicon控件notifyIcon1,为控件notifyIcon1的属性Icon添加一个icon图标。 3.添加窗体最小化事件(首先需要添加事件引用): this.SizeChanged += new System.Ev
阅读全文
摘要:/// /// 汉字转换为Unicode编码 /// /// 要编码的汉字字符串 /// Unicode编码的的字符串 public static string ToUnicode(string str) { byte[] bts = Encoding.Unicode.Ge...
阅读全文
摘要:_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()
阅读全文
摘要://过滤\n 转换成空 String withoutNString=message.Replace("\n", ""); //过滤\r 转换成空 String withoutRString = withoutNString.Replace("\r", ""); //过滤\t 转换成空 String
阅读全文

浙公网安备 33010602011771号