摘要: 这是我的博客的新地址http://www.hsppl.me 阅读全文
posted @ 2013-12-31 16:45 Hsppl 阅读(87) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Data.OleDb; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CMS.Common ... 阅读全文
posted @ 2012-11-29 13:42 Hsppl 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 最近换工作了,找到了一家灰常NB的公司,比以前那个北京移X通神马技术有限公司(PS:这家公司特别坑爹,有想去的建议你们别去,公司地址在加利大厦,想去的童鞋好自为之)好多了,神马五险一金的都有,员工福利也特别好,在现在的公司做技术支持,忙的时候非常忙,闲下来的时候也很蛋疼,我是做技术出身的,一时不写代码就难受,所以我想为广大喜欢看小说的同仁们做一个便携式小说阅读器,你懂的。 既然是在公司,那就要实... 阅读全文
posted @ 2012-11-28 23:30 Hsppl 阅读(349) 评论(0) 推荐(1) 编辑
摘要: #region 图片旋转函数 /// <summary>--以顺时针为方向对图像进行旋转-- /// Guo Jin /// </summary> /// <param name="b">位图流</param> /// <param name="angle">旋转角度[0,360](前台给的)</param> /// <returns></returns> private... 阅读全文
posted @ 2012-07-26 13:34 Hsppl 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 首先在窗体类里面声明两个变量,来监视鼠标的动作 //鼠标按下标识 bool mouseDown = false; Point mouseOffset;在Load事件里加载所有的图片 if (File.Exists(GlobalInfo.AppPath + "\\Picture\\login.png")) this.BackgroundImage = new Bitmap... 阅读全文
posted @ 2012-07-20 13:26 Hsppl 阅读(537) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Data.SqlClient; using System.Data; namespace CN.COM.YYT.DBHelper { public cl... 阅读全文
posted @ 2012-07-20 10:03 Hsppl 阅读(644) 评论(0) 推荐(0) 编辑
摘要: LookUpEdit控件如果已经绑定数据源,要想更改控件的值,要用EditValue属性,不要直接改Text,要不控件会闪一下,看着很难受……比如这样…… 阅读全文
posted @ 2012-07-19 17:35 Hsppl 阅读(736) 评论(0) 推荐(0) 编辑
摘要: string localPriname, localcityname, localregname, localtownname; string localPricode, localcitycode, localregcode, localtowncode; private void ControlLocalSelect(string proCode, string cityCod... 阅读全文
posted @ 2012-07-19 14:15 Hsppl 阅读(215) 评论(0) 推荐(0) 编辑
摘要: private void ucPage1_onPageDown(){ if (curPage >= ucPage1.PageCount) { XtraMessageBox.Show("当前已经是最后一页了!", "友情提示", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { ... 阅读全文
posted @ 2012-07-18 17:49 Hsppl 阅读(194) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; using Microsoft.Win32; namespace SafetyPCClient.Function { public class RegisterOperate { /// <summary... 阅读全文
posted @ 2012-07-18 17:38 Hsppl 阅读(215) 评论(0) 推荐(0) 编辑