程 序 人 生

[每个人都是工程师,书写着属于自己的人生代码!--林海]
posts - 41, comments - 14, trackbacks - 0, articles - 2
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

公告

06 2009 档案

摘要: 当前程序所在的文件夹 System.IO.Directory.GetCurrentDirectory()--------------------------------------------------------------------------------显示指定文件夹下的文件 if(this.textBox1.Text.Trim()=="") return;this.listBox1.I...阅读全文

posted @ 2009-06-13 09:35 林海 阅读(146) | 评论 (0) 编辑 |

摘要: 1.在form中添加一个NotifyIcon控件,并给它设一个图标,如lin.ico2.给当前FORM添加SizeChanged事件,最小化时显示在托盘3.给NotifyIcon控件添加Click事件,点击后恢复原窗体 using System; using System.Collections.Generic; using System.ComponentModel; using System....阅读全文

posted @ 2009-06-13 09:25 林海 阅读(105) | 评论 (0) 编辑 |