Code Snippet to Display Notifications in Windows Application

This is the code snippet used for display the notifications in windows application.

You can show the notifications in windows application using the below code.

NotifyIcon notifyIcon = new NotifyIcon();
 
notifyIcon.Visible = true;

notifyIcon.BalloonTipTitle = "fahfffdsf";

notifyIcon.BalloonTipText = "body";

notifyIcon.Icon = SystemIcons.Application;

notifyIcon.ShowBalloonTip(30000);

notifyIcon.Dispose();

Posted by Editorial Staff

We are official editorial team of consult machine. We write articals about ASP MVC, SQL Server , C# And Jquery.