Author: rolf
Date: 2007-01-03 05:47:34 -0500 (Wed, 03 Jan 2007)
New Revision: 70416

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MonthCalendar.cs
Log:
2007-01-03  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>

        * MonthCalendar.cs: Added Click and DoubleClick events again,
        but this time they only hide Control's Click and DoubleClick.
        


Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-01-03 10:11:21 UTC (rev 70415)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-01-03 10:47:34 UTC (rev 70416)
@@ -1,3 +1,8 @@
+2007-01-03  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
+
+       * MonthCalendar.cs: Added Click and DoubleClick events again,
+       but this time they only hide Control's Click and DoubleClick.
+       
 2007-01-03  Gert Driesen  <[EMAIL PROTECTED]>
 
        * Theme.cs: Re-enabled DefaultFont change. Use const to refer to

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MonthCalendar.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MonthCalendar.cs 
2007-01-03 10:11:21 UTC (rev 70415)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MonthCalendar.cs 
2007-01-03 10:47:34 UTC (rev 70416)
@@ -1167,6 +1167,20 @@
                }
 #endif
 
+               [Browsable (false)]
+               [EditorBrowsable (EditorBrowsableState.Never)]
+               public new event EventHandler Click {
+                       add {base.Click += value; }
+                       remove {base.Click -= value;}
+               }
+               
+               [Browsable (false)]
+               [EditorBrowsable (EditorBrowsableState.Never)]
+               public new event EventHandler DoubleClick {
+                       add {base.DoubleClick += value; }
+                       remove {base.DoubleClick -= value; }
+               }
+               
                [Browsable(false)]
                [EditorBrowsable (EditorBrowsableState.Never)]
                public new event EventHandler ImeModeChanged {

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

Reply via email to