Csharp_learner
Csharp_learner

Reputation: 341

Messagebox without buttons in c#

I am trying to handle exception in C#...suppose if the program writes to an output file it checks for if file already exists then it should display an error message.

I don't want to use MessageBox.Show() as it comes with an OK button. I want to use some kinda informational message where user doesnot have to click on any ok button. any suggestions???

Thank you

Upvotes: 1

Views: 8195

Answers (1)

BrokenGlass
BrokenGlass

Reputation: 160922

You might be looking for a Toast message that shows a notification, then disappears after a short time by itself.

An example for this is shown here.

Upvotes: 2

Related Questions