Cheung
Cheung

Reputation: 15552

Winform, How to suppress the winform error dialog?

I have working on C# 4.0 winform project with Xulrunner and VLC web plugin,

Something the VLC will cause the winform crash, and show something like :

enter image description here

But i have a software monitor to restart the application when crash.

So how can i suppress this dialog? because something it will on top of the screen, even the application is restart.

Upvotes: 0

Views: 411

Answers (1)

Mark Cidade
Mark Cidade

Reputation: 99957

Handle the AppDomain.UnhandledException event.

Upvotes: 5

Related Questions