C# NotifyIcon Show Balloon Parameter Deprecated

2019-08-06 03:18发布

问题:

I am trying to show a BalloonTip in my application, and am reading the documentation from MSDN but the only methods that display the BalloonTip, use timeout (specifically ShowBalloonTip(Int32) and ShowBalloonTip(Int32, String, String, ToolTipIcon)), which is a deprecated parameter as of Windows Vista. What is the proper way to display a BalloonTip that doesn't contain a deprecated parameter for Windows 7 and above?