Why isn't my NotifyIcon showing up?

后端 未结 4 1945
暖寄归人
暖寄归人 2020-12-20 11:06

I\'m trying to get a notifyIcon to show a BalloonTip, but it won\'t show up when I press the button

 private void button1_Click(object sender, EventArgs e)
         


        
4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-20 11:55

    There are not that many ways to fumble a NotifyIcon. Except one, if you forget to set its Icon property then it will never show up. Ought to raise an exception but that was overlooked.

提交回复
热议问题