摘要: //MD5加密方式。 string str = "0.0"; byte[] result = Encoding.Default.GetBytes(str); MD5 md5 = new MD5CryptoServiceProvider(); byte[] output = md5.ComputeHash(result); MessageBox.Show(BitConverter.ToString(output).Replace("-", "")); 阅读全文
posted @ 2012-06-29 16:57 黑白 阅读(128) 评论(0) 推荐(0)
摘要: publicvoidSetWindowRegion(){System.Drawing.Drawing2D.GraphicsPathFormPath;FormPath=newSystem.Drawing.Drawing2D.GraphicsPath();Rectanglerect=newRectangle(0,22,this.Width,this.Height-22);//this.Left-10,this.Top-10,this.Width-10,this.Height-10);FormPath=GetRoundedRectPath(rect,30);this.Region=newRegion 阅读全文
posted @ 2012-06-29 12:57 黑白 阅读(645) 评论(0) 推荐(1)