Author: toshok
Date: 2006-12-06 19:47:35 -0500 (Wed, 06 Dec 2006)
New Revision: 69145

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
Log:
        * Control.cs: make tab_stop private.

        * Label.cs: set TabStop, not tab_stop.  reformat some event
        add/remove methods to make them more compact.

2006-12-06  Chris Toshok  <[EMAIL PROTECTED]>



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-12-07 00:43:57 UTC (rev 69144)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-12-07 00:47:35 UTC (rev 69145)
@@ -1,5 +1,12 @@
 2006-12-06  Chris Toshok  <[EMAIL PROTECTED]>
 
+       * Control.cs: make tab_stop private.
+
+       * Label.cs: set TabStop, not tab_stop.  reformat some event
+       add/remove methods to make them more compact.
+
+2006-12-06  Chris Toshok  <[EMAIL PROTECTED]>
+
        * RadioButton.cs: fix TabStop handling.
 
 2006-12-06  Chris Toshok  <[EMAIL PROTECTED]>

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs       
2006-12-07 00:43:57 UTC (rev 69144)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs       
2006-12-07 00:47:35 UTC (rev 69145)
@@ -79,7 +79,7 @@
                bool causes_validation; // tracks if validation is executed on 
changes
                bool is_focusing; // tracks if Focus has been called on the 
control and has not yet finished
                int tab_index; // position in tab order of siblings
-               internal bool                   tab_stop;               // is 
the control a tab stop?
+               bool tab_stop; // is the control a tab stop?
                bool is_disposed; // has the window already been disposed?
                Size client_size; // size of the client area (window excluding 
decorations)
                Rectangle client_rect; // rectangle with the client area 
(window excluding decorations)

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs 
2006-12-07 00:43:57 UTC (rev 69144)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs 
2006-12-07 00:47:35 UTC (rev 69145)
@@ -66,70 +66,46 @@
                [Browsable(false)]
                [EditorBrowsable(EditorBrowsableState.Never)]
                public new event EventHandler BackgroundImageChanged {
-                       add {
-                               base.BackgroundImageChanged += value;
-                       }
-                       remove {
-                               base.BackgroundImageChanged -= value;
-                       }
+                       add { base.BackgroundImageChanged += value; }
+                       remove { base.BackgroundImageChanged -= value; }
                }
 
                [Browsable(false)]
                [EditorBrowsable(EditorBrowsableState.Never)]
                public new event EventHandler ImeModeChanged {
-                       add {
-                               base.ImeModeChanged += value;
-                       }
-                       remove {
-                               base.ImeModeChanged -= value;
-                       }
+                       add { base.ImeModeChanged += value; }
+                       remove { base.ImeModeChanged -= value; }
                }
 
                [Browsable(false)]
                [EditorBrowsable(EditorBrowsableState.Never)]
                public new event KeyEventHandler KeyDown {
-                       add {
-                               base.KeyDown += value;
-                       }
-                       remove {
-                               base.KeyDown -= value;
-                       }
+                       add { base.KeyDown += value; }
+                       remove { base.KeyDown -= value; }
                }
 
 
                [Browsable(false)]
                [EditorBrowsable(EditorBrowsableState.Never)]
                public new event KeyPressEventHandler KeyPress {
-                       add {
-                               base.KeyPress += value;
-                       }
-                       remove {
-                               base.KeyPress -= value;
-                       }
+                       add { base.KeyPress += value; }
+                       remove { base.KeyPress -= value; }
                }
 
 
                [Browsable(false)]
                [EditorBrowsable(EditorBrowsableState.Never)]
                public new event KeyEventHandler KeyUp {
-                       add {
-                               base.KeyUp += value;
-                       }
-                       remove {
-                               base.KeyUp -= value;
-                       }
+                       add { base.KeyUp += value; }
+                       remove { base.KeyUp -= value; }
                }
 
 
                [Browsable(false)]
                [EditorBrowsable(EditorBrowsableState.Never)]
                public new event EventHandler TabStopChanged {
-                       add {
-                               base.TabStopChanged += value;
-                       }
-                       remove {
-                               base.TabStopChanged -= value;
-                       }
+                       add { base.TabStopChanged += value; }
+                       remove { base.TabStopChanged -= value; }
                }
 
                public event EventHandler TextAlignChanged {
@@ -142,7 +118,7 @@
                {
                        // Defaults in the Spec
                        autosize = false;
-                       tab_stop = false;
+                       TabStop = false;
                        string_format = new StringFormat();
                        TextAlign = ContentAlignment.TopLeft;
                        image = null;

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

Reply via email to