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. 阅读全文
posted @ 2011-03-29 14:35 biubiubiu 阅读(486) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2011-03-08 13:41 biubiubiu 阅读(672) 评论(0) 推荐(0)