Notification of bubbles from nothing in C #

in a C # application, which has no graphics at all, and performs many network operations, I should be able to show notification bubbles (above all, for a few seconds) near the icon tray on certain events.

I looked at this: http://www.codeproject.com/KB/miscctrl/taskbarnotifier.aspx

But without success. The problem is that windows created there will not be displayed on asynchronous events. It seems that I need a basic form in which I add delegates to work, and I don't need it.

All the parameters that I have seen so far require a form in my application, but this will not happen. Is it then impossible to have these bubbles? Any ideas? Should there be a way to add an icon to the tray displaying messages without restrictions and without a GUI?

+7
source share
3 answers

Taken from the Systray icon for a console application and Creating a tooltip in C #

Add a link to System.Windows.Forms and System.Drawing.

Update

using System.Windows.Forms; using System.Drawing; ... private void Form1_Load(object sender, EventArgs e) { var item = new NotifyIcon(this.components); item.Visible = true; item.Icon = System.Drawing.SystemIcons.Information; item.ShowBalloonTip(3000, "Balloon title", "Balloon text", ToolTipIcon.Info); } 

It may also be that pop-ups are disabled in the registry .

+7
source

Look at the NotifyIcon class, it allows you to place icons in the notification area, as well as make balloon notifications, which is what you are after.

+2
source

Check out this link . I believe that I should answer your question. I think the code is clear enough for a port in C # (I myself am a C # developer).

EDIT: Sorry links now.

0
source

All Articles