Creating balloon tooltip in C#

PirateOwh picture PirateOwh · Jun 8, 2011 · Viewed 31.2k times · Source

Can i know how can i make a popup bubble message in my application coded in C#.

Like example, when i start my application, it'll popup saying "Welcome to UbuntuSE App".

And yea, The popup is not the message box popup, it's the popup in the traymenu.

Something similar to this:

enter image description here

PS, If i'm not wrong, this is called Balloon Tooltips. But how can i use this in my codes.

Answer

alexn picture alexn · Jun 8, 2011

If you're using Winforms you have the NotifyIcon class. This object has a ShowBalloonTip method which will show a balloon tip:

var icon = new NotifyIcon();
icon.ShowBalloonTip(1000, "Balloon title", "Balloon text", ToolTipIcon.None)