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