03 2011 档案
摘要:1 private bool canMove = false; 2 private Point mousePos; 3 4 private void pictureBox1_MouseMove(object sender, MouseEventArgs e) 5 { 6 if (this.canMove) 7 { 8 pictureBox1.Location = new Point(pictureBox1.Location.X 9 - mousePos.X + e.X, pictureBox1.Location.Y10 - mousePos.Y + e.Y);11 }12 }13 14 pr.
阅读全文
摘要:public static string DelHtml(this HtmlHelper htmlhelper, string Htmlstring) { #region //删除脚本 Htmlstring = System.Text.RegularExpressions.Regex.Replace(Htmlstring, @"<script[^>]*?>.*?</script>", "", System.Text.RegularExpressions.RegexOptions.IgnoreCase); //删除HTML H
阅读全文

浙公网安备 33010602011771号