Visual C#系统托盘程序示例
摘要:C#源码,系统相关,托盘,任务栏图标 C#系统托盘程序示例源代码,知识点: 1、添加一个 NotifyIcon 组件和一个 ContextMenuStrip组件到主窗体 2、设置notifyIcon1控件的ContextMenuStrip属性为 contextMenuStrip1,将用户单击托盘图标显示的菜单指向 contextMenuStrip1 3、notifyIcon1.Visible = true; //显示托盘图标 4、this.ShowIcon = true; //应用程序窗口是否显示图标 5、this.ShowInTaskbar
下载地址
用户评论