Author: jpobst
Date: 2007-06-12 16:11:30 -0400 (Tue, 12 Jun 2007)
New Revision: 79334

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThreadExceptionDialog.cs
Log:
2007-06-12  Jonathan Pobst  <[EMAIL PROTECTED]>

        * ThreadExceptionDialog.cs: Add 2.0 stuffs.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-06-12 20:09:42 UTC (rev 79333)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-06-12 20:11:30 UTC (rev 79334)
@@ -1,5 +1,9 @@
 2007-06-12  Jonathan Pobst  <[EMAIL PROTECTED]>
 
+       * ThreadExceptionDialog.cs: Add 2.0 stuffs.
+
+2007-06-12  Jonathan Pobst  <[EMAIL PROTECTED]>
+
        * UpDownBase.cs: Add 2.0 stuffs.
 
 2007-06-12  Jonathan Pobst  <[EMAIL PROTECTED]>

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThreadExceptionDialog.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThreadExceptionDialog.cs
 2007-06-12 20:09:42 UTC (rev 79333)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThreadExceptionDialog.cs
 2007-06-12 20:11:30 UTC (rev 79334)
@@ -30,9 +30,15 @@
 using System;
 using System.Text;
 using System.Reflection;
+using System.ComponentModel;
+using System.Runtime.InteropServices;
 
 namespace System.Windows.Forms
 {
+#if NET_2_0
+       [ComVisible (true)]
+       [ClassInterface (ClassInterfaceType.AutoDispatch)]
+#endif
        public class ThreadExceptionDialog: Form
        {
                Exception e;
@@ -203,5 +209,22 @@
                {
                        Application.Exit ();
                }
+
+#if NET_2_0
+               [Browsable (false)]
+               [EditorBrowsable (EditorBrowsableState.Never)]
+               [DesignerSerializationVisibility 
(DesignerSerializationVisibility.Hidden)]
+               public override bool AutoSize {
+                       get { return base.AutoSize; }
+                       set { base.AutoSize = value; }
+               }
+
+               [Browsable (false)]
+               [EditorBrowsable (EditorBrowsableState.Never)]
+               public new event EventHandler AutoSizeChanged {
+                       add { base.AutoSizeChanged += value; }
+                       remove { base.AutoSizeChanged -= value; }
+               }
+#endif
        }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to