摘要: 1 private NotifyIcon notifyIcon = null; //这里在窗体上没有拖拽一个NotifyIcon控件,而是在这里定义了一个变量 2 public Form1() 3 { 4 InitializeCompone... 阅读全文
posted @ 2015-05-20 08:40 取经路上 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1 返回插入的id号2 insert into t_users(username,password) output inserted.id values("admin","123456");1 清除自动增长ID记录(执行后该表的所有数据丢失)2 truncate table tbName 阅读全文
posted @ 2015-05-19 08:33 取经路上 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 对于很多和我一样的老C++程序员来讲,如果不能与时俱进,不但会倍感失落,还会真的自绝于天下。 比如C#有很多好的组件, 如NPOI ,如。。。,怎么在C++中也自如调用呢,这样不用去学习C#,不用换刀,也可以达到同样的目的。网上看了半天,找到的资料要么太老,要么不对,干脆自己调试一遍。下面把体会说一... 阅读全文
posted @ 2015-05-08 17:00 取经路上 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 1 ToolStrip menuStrip1; 2 public Form1() 3 { 4 InitializeComponent(); 5 menuStrip1 = new ToolStrip(); 6 ... 阅读全文
posted @ 2015-04-14 14:31 取经路上 阅读(303) 评论(0) 推荐(0) 编辑