本文介绍了如何使notifyicon工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hello codeproject。 i需要帮助让我的notifyicon工作,所以每次使用时我都会收到幻灯片信息但是当我试用它时.....我所有的get是任务栏中的图标,没有通知消息。 继承人我做了什么...
hello codeproject. i need help getting my notifyicon to work so everytime it used i get the slide message but when i try it..... all i get is a icon in taskbar and no notify message appears. heres what i have done...
private void notifyIcon1_MouseDoubleClick(object sender, MouseEventArgs e) { this.Show(); notifyIcon1.Visible = false; } private void notifyIcon1_BalloonTipClosed(object sender, EventArgs e) { notifyIcon1.Visible = false; }并用此来拨打通知
and use this to call the notify
notifyIcon2.Visible = true; notifyIcon2.ShowBalloonTip(10);谢谢希望你能提供帮助 我尝试过: 谷歌但找不到工作..
thanks hope you can help What I have tried: google but can not find a working one..
推荐答案你错过了这些行。 You missed these lines. notifyIcon1.BalloonTipIcon = ToolTipIcon.Info; notifyIcon1.BalloonTipText = "I am a NotifyIcon Balloon"; notifyIcon1.BalloonTipTitle = "Welcome Message";
希望这可以帮到你。
Hope this helps you.
熟悉 NotifyIcon类(System.Windows.Forms) [ ^ ],试试这个例子,代码中缺少的一件事是NotifyIcon.ShowBalloonTip Method(Int32)(System.Windows.Forms) [ ^ ]。 Get familiar with the properties and methods of NotifyIcon Class (System.Windows.Forms)[^], try out the example, one thing missing in your code is NotifyIcon.ShowBalloonTip Method (Int32) (System.Windows.Forms)[^].
更多推荐
如何使notifyicon工作?
发布评论