托盘,右键演示,C#源代码private void Form1_Load(object sender, EventArgs e)

时间:2012-02-06 10:37:10
【文件属性】:

文件名称:托盘,右键演示,C#源代码private void Form1_Load(object sender, EventArgs e)

文件大小:56KB

文件格式:RAR

更新时间:2012-02-06 10:37:10

托盘,右键演示,C#源代码private void Form1_Load(object sender, EventArgs

托盘,右键演示,C#源代码private void Form1_Load(object sender, EventArgs e) {//设置托盘控件属性 this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1; this.notifyIcon1.Text = "演示创建托盘"; this.notifyIcon1.Visible = true; this.notifyIcon1.Icon = new Icon("MyIcon.ico"); this.ContextMenuStrip=this.contextMenuStrip1; } private void 显示托盘ToolStripMenuItem_Click(object sender, EventArgs e) {//显示托盘 this.notifyIcon1.Visible = true; this.Visible = false; } private void 显示窗体ToolStripMenuItem_Click(object sender, EventArgs e) {//显示窗体 this.notifyIcon1.Visible = false; this.Visible = true; } VisualStudio2008创建


【文件预览】:
C#090115-托盘,右键演示
----_UpgradeReport_Files()
--------UpgradeReport.xslt(12KB)
--------UpgradeReport_Plus.gif(71B)
--------UpgradeReport.css(3KB)
--------UpgradeReport_Minus.gif(69B)
----WindowsApplication1()
--------Form1.cs(1KB)
--------bin()
--------obj()
--------Properties()
--------Program.cs(478B)
--------Form1.Designer.cs(4KB)
--------WindowsApplication1.csproj(3KB)
--------Form1.resx(6KB)
----新建 文本文档.txt(864B)
----UpgradeLog.XML(1KB)
----WindowsApplication1.suo(15KB)
----WindowsApplication1.sln(947B)

网友评论

  • 用不了啊,这个咋搞的
  • 很不错 正好可以用到 学习中。