I want to display a Visual Notification blinking for the user in my application .
For Example : Notification in the bottom right corner for the incoming call event ( Like old开发者_StackOverflow中文版 office assistant wil do fine)
I dont want to use the MsgBox and other things.
Any Idea?
Insert an notify icon from the tool box and try the following code in any event you want
if (WindowState==FormWindowState.Minimized)
{
BackupMinimizeNotification.Visible = true;
Hide();
BackupMinimizeNotification.BalloonTipTitle = "APP Hidden";
BackupMinimizeNotification.BalloonTipText = "Your application has been minimized to the taskbar.";
BackupMinimizeNotification.ShowBalloonTip(2000);
}
精彩评论