Article View: alt.pl.comp.lang.csharp
Article #895Re: procedurka...
From: Michal Wojas
Date: Sun, 11 Apr 2004 22:21
Date: Sun, 11 Apr 2004 22:21
20 lines
1526 bytes
1526 bytes
> static void Main()
> {
> Application.ThreadException += new
> ThreadExceptionEventHandler(UnhandledExceptionCatcher);
> Application.Run(new WinForm());
> }
>
> private static void UnhandledExceptionCatcher(object sender,
> ThreadExceptionEventArgs e)
> {
> MessageBox.Show(e.Exception.Message, "B��d");
> }
>
> W pomocy MSDN jest nawet bardzie rozbudowany przyk�ad dla tego
> zdarzenia z obs�ug� wyj�tk�w w obs�udze wyj�tk�w.
Fajne, podoba mi sie. Do tego jeszcze nie doszedlem ... Dzieki
MW
Technical Details
Message-ID:
<c5cg6e$j47$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!nntp.idg.pl!wsisiz.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mailReferences:
<c575ud$ak5$1@news.onet.pl> <c58pv4$75e$1@news.onet.pl> <c59aa2$31jn$1@news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!nntp.idg.pl!wsisiz.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail From: "Michal Wojas" <mwojas...@onet.pl> Newsgroups: alt.pl.comp.lang.csharp Subject: Re: procedurka... Date: Mon, 12 Apr 2004 00:21:53 +0200 Organization: news.onet.pl Lines: 22 Sender: nowickam@poczta.onet.pl@michal40.net.autocom.pl Message-ID: <c5cg6e$j47$1@news.onet.pl> References: <c575ud$ak5$1@news.onet.pl> <c58pv4$75e$1@news.onet.pl> <c59aa2$31jn$1@news.atman.pl> NNTP-Posting-Host: michal40.net.autocom.pl X-Trace: news.onet.pl 1081721870 19591 213.134.164.126 (11 Apr 2004 22:17:50 GMT) X-Complaints-To: ab...@onet.pl NNTP-Posting-Date: 11 Apr 2004 22:17:50 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit