|
From: | anonymous |
Subject: | [Pnet-developers] [bug #14146] System.Windows.Forms.ThreadExceptionEventHandler and ThreadExceptionEventArgs.cs are invalid |
Date: | Tue, 16 Aug 2005 14:42:45 +0000 |
User-agent: | Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko) |
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14146> Summary: System.Windows.Forms.ThreadExceptionEventHandler and ThreadExceptionEventArgs.cs are invalid Project: DotGNU Portable.NET Submitted by: None Submitted on: Tue 08/16/05 at 14:42 Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open _______________________________________________________ Details: System.Windows.Forms.ThreadExceptionEventArgs.cs and System.Windows.Forms.ThreadExceptionEventHandler.cs should be deleted. These classes do not exist in .NET Their functionality is in System.Threading. Because of this we cant compile this simple program handling Application.ThreadException. using System.Windows.Forms; class Application_ThreadException_Test { static void Main() { Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException); } static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e) { MessageBox.Show(e.Exception.Message); } } _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 08/16/05 at 14:42 Name: Application_ThreadException_Test.cs Size: 358B By: None Compile with cscc -winforms Application_ThreadException_Test.cs <http://savannah.gnu.org/bugs/download.php?item_id=14146&item_file_id=2830> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14146> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |