摘要:
方法一://须添加对System.Web的引用using System.Web.Security;.../// <summary>/// SHA1加密字符串/// </summary>/// <param name="source">源字符串</param>/// <returns>加密后的字符串</returns>public string SHA1(string source){ return FormsAuthentication.HashPasswordForStoringInConfigFil 阅读全文
摘要:
//实现接近屏幕窗体边源吸附 private void timer1_Tick(object sender, EventArgs e) { if (this.WindowState != System.Windows.Forms.FormWindowState.Minimized) { if (Cursor.Position.X > this.Left && Cursor.Position.X < this.Right && Cursor.Position.Y > this.Top && Cursor.Position.Y &l 阅读全文