
UI
qaz231564
笨蛋也会有出头的一天
展开
-
asp.net绘制验证码
最近做一个小型门户网站,登录需要用到验证码 网上找了一大推发现都不适合, 所以看书学习,自己做了一个验证码控件: 好了不YY了,直接上代码 using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.IO; usi原创 2012-02-11 14:28:25 · 548 阅读 · 0 评论 -
关于右下角弹出框
int ScreenWidth = Screen.PrimaryScreen.WorkingArea.Width; int ScreenHeight = Screen.PrimaryScreen.WorkingArea.Height; //计算窗体显示的坐标值,可以根据需要微调几个像素 int x = ScreenWidth - this.Width - 5; int y =原创 2012-03-21 10:08:45 · 647 阅读 · 0 评论 -
系统开机自动启动
应为项目的需要,程序需要可以实现开机时自动运行 string dir = Directory.GetCurrentDirectory(); //获取程序所在的路径(绝对路径) string exedir = dir + \\ETS.EXE; //运行的文件名(或者快捷方式名)————得到要运行的程序的完整路径原创 2012-04-10 10:31:52 · 752 阅读 · 0 评论