Master_Yi
Master_Yi

Reputation: 179

how to show notification when program is running background?

I want to write a windows application with c#, but I don't know how to show a popup in the corner of screen or in the notification area, or any other way to notify the users.

Thanks very much.

Upvotes: 2

Views: 991

Answers (1)

Ry-
Ry-

Reputation: 224903

Use the NotifyIcon component's ShowBalloonTip method. Add a NotifyIcon to your form in the Designer, give it a name, and call myNotifyIcon.ShowBalloonTip where you want to show the notification.

Upvotes: 5

Related Questions