验证码 和 验证控件

摘要: 一般处理程序:ashx,接受请求,处理后输出,无页面,其他同aspx中的.cs验证码: using System;using System.Web;using System.Drawing;using System.Web.SessionState;//IRequiresSessionStat... 阅读全文
posted @ 2015-04-12 21:29 极度猎隼 阅读(132) 评论(0) 推荐(0) 编辑

网页验证码 书写

摘要: using System;using System.Web;using System.Drawing;using System.Web.SessionState;//IRequiresSessionState的命名空间public class show : IHttpHandler, IRequir... 阅读全文
posted @ 2015-04-12 20:26 极度猎隼 阅读(181) 评论(0) 推荐(0) 编辑

webfrom 控件

摘要: 服务器基本控件:button: text属性linkbutton:text属性,它是一个超链接模样的普通buttonhyperlink: navigateurl:链接地址,相当于标签imagebutton:imageurl:指定图片路径,这也是一个按钮,执行click事件image:就是一个img标... 阅读全文
posted @ 2015-04-12 20:25 极度猎隼 阅读(123) 评论(0) 推荐(0) 编辑

手机滑动解锁代码

摘要: #region==滑动解锁部分== private bool mousedown;//定义鼠标点击的bool值 private int curx;//定义鼠标点击时的位置X坐标 private void button11_MouseDown(object... 阅读全文
posted @ 2015-04-07 22:36 极度猎隼 阅读(226) 评论(0) 推荐(0) 编辑

用LINQ方法增删改查

摘要: //Func fc = delegate(string a) //{ // a += "你好"; // return a; //}; //MessageBox.Show(fc... 阅读全文
posted @ 2015-04-03 10:07 极度猎隼 阅读(184) 评论(0) 推荐(0) 编辑

数据库 增 ,删,改, 查询

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
posted @ 2015-03-12 13:09 极度猎隼 阅读(124) 评论(0) 推荐(0) 编辑

winform 记事本编程部分

摘要: textbox: 属性: text:文本 selectedtext:获取或设置选中文本 canundo:是否能够撤销方法: undo:撤销 clearundo:清空撤销缓冲区 cut:剪切 copy:复制Paste:粘贴 SelectAll:全选对话框: showdialog();显示对话框,... 阅读全文
posted @ 2015-03-09 22:43 极度猎隼 阅读(167) 评论(0) 推荐(0) 编辑

winform计算器编程部分

摘要: ? 阅读全文
posted @ 2015-03-09 22:38 极度猎隼 阅读(92) 评论(0) 推荐(0) 编辑

winform 公共控件部分

摘要: ? 阅读全文
posted @ 2015-03-09 22:36 极度猎隼 阅读(58) 评论(0) 推荐(0) 编辑

winform 控件部分

摘要: ? 阅读全文
posted @ 2015-03-09 22:35 极度猎隼 阅读(56) 评论(0) 推荐(0) 编辑