
请问在程序退出后,我的notifyicon的托盘小图标怎么还停在上面,鼠标移动到上面时才会消失,怎么解决
privatevoidMainFrm_FormClosed(objectsender,FormClosedEventArgse){notifyIcon.Dispose()...
private void MainFrm_FormClosed(object sender, FormClosedEventArgs e)
{ notifyIcon.Dispose(); }加了垃圾回收还是不行……C#,Windows系统 展开
{ notifyIcon.Dispose(); }加了垃圾回收还是不行……C#,Windows系统 展开
展开全部
你试试看
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{ notifyIcon.Visible = false; }
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{ notifyIcon.Visible = false; }
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询