Author: jpobst
Date: 2007-05-01 14:58:31 -0400 (Tue, 01 May 2007)
New Revision: 76536

Modified:
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingNavigator.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CheckBox.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FlowLayoutPanel.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LinkLabel.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
Log:
2007-05-01  Jonathan Pobst  <[EMAIL PROTECTED]>
        corcompare work: A - M
        * BindingNavigator.cs
        * Button.cs
        * ButtonBase.cs
        * CheckBox.cs
        * Control.cs
        * FlowLayoutPanel.cs
        * Form.cs
        * Label.cs
        * LinkLabel.cs
        * ListView.cs

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingNavigator.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingNavigator.cs  
    2007-05-01 17:25:38 UTC (rev 76535)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingNavigator.cs  
    2007-05-01 18:58:31 UTC (rev 76536)
@@ -35,7 +35,10 @@
 namespace System.Windows.Forms
 {
        [ComVisibleAttribute(true)]
+       [DefaultEvent ("RefreshItems")]
+       [DefaultProperty ("BindingSource")]
        [ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
+       [Designer ("System.Windows.Forms.Design.BindingNavigatorDesigner, " + 
Consts.AssemblySystem_Design, "System.ComponentModel.Design.IDesigner")]
        public class BindingNavigator : ToolStrip, ISupportInitialize
        {
                #region Private Fields
@@ -69,6 +72,7 @@
                        }
                }
 
+               [DefaultValue (null)]
                [TypeConverter(typeof(ReferenceConverter))]
                public BindingSource BindingSource
                {
@@ -183,7 +187,8 @@
 
                #region Constructors
 
-               public BindingNavigator()
+               [EditorBrowsable (EditorBrowsableState.Never)]
+               public BindingNavigator ()
                        : this(false)
                {
                }
@@ -204,6 +209,7 @@
                                this.AddStandardItems();
                }
 
+               [EditorBrowsable (EditorBrowsableState.Never)]
                public BindingNavigator(IContainer container)
                        :base()
                {
@@ -305,7 +311,8 @@
                        this.RefreshItemsCore();
                }
 
-               protected virtual void RefreshItemsCore()
+               [EditorBrowsable (EditorBrowsableState.Advanced)]
+               protected virtual void RefreshItemsCore ()
                {
                        try
                        {

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs        
2007-05-01 17:25:38 UTC (rev 76535)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs        
2007-05-01 18:58:31 UTC (rev 76536)
@@ -164,6 +164,8 @@
                }
                
 #if NET_2_0
+               [Browsable (false)]
+               [EditorBrowsable (EditorBrowsableState.Advanced)]
                public new event MouseEventHandler MouseDoubleClick {
                        add { base.MouseDoubleClick += value; }
                        remove { base.MouseDoubleClick -= value; }

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs    
2007-05-01 17:25:38 UTC (rev 76535)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs    
2007-05-01 18:58:31 UTC (rev 76536)
@@ -602,6 +602,8 @@
 
                #region Events
 #if NET_2_0
+               [Browsable (true)]
+               [EditorBrowsable (EditorBrowsableState.Always)]
                public new event EventHandler AutoSizeChanged {
                        add { base.AutoSizeChanged += value; }
                        remove { base.AutoSizeChanged -= value; }
@@ -618,7 +620,9 @@
 
 
                #region .NET 2.0 Public Instance Properties
+               [Browsable (true)]
                [DefaultValue (false)]
+               [EditorBrowsable (EditorBrowsableState.Always)]
 #if NET_2_0
                public 
 #else
@@ -645,7 +649,9 @@
                }
 
 #if NET_2_0
-               [DefaultValue (true)]
+               [Browsable (true)]
+               [EditorBrowsable (EditorBrowsableState.Always)]
+               [DesignerSerializationVisibility 
(DesignerSerializationVisibility.Visible)]
                public override bool AutoSize {
                        get { return base.AutoSize; }
                        set { base.AutoSize = value; }
@@ -657,6 +663,9 @@
                }
                
                [Localizable (true)]
+               [DefaultValue ("")]
+               [Editor ("System.Windows.Forms.Design.ImageIndexEditor, " + 
Consts.AssemblySystem_Design, typeof (System.Drawing.Design.UITypeEditor))]
+               [RefreshProperties (RefreshProperties.Repaint)]
                public string ImageKey {
                        get { return this.image_key; }
                        set {

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-05-01 17:25:38 UTC (rev 76535)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-05-01 18:58:31 UTC (rev 76536)
@@ -1,5 +1,18 @@
 2007-05-01  Jonathan Pobst  <[EMAIL PROTECTED]>
+       corcompare work: A - M
+       * BindingNavigator.cs
+       * Button.cs
+       * ButtonBase.cs
+       * CheckBox.cs
+       * Control.cs
+       * FlowLayoutPanel.cs
+       * Form.cs
+       * Label.cs
+       * LinkLabel.cs
+       * ListView.cs
 
+2007-05-01  Jonathan Pobst  <[EMAIL PROTECTED]>
+
        * Application.cs: Give toolstrips a chance to process mnemonics.
        * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
        ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CheckBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CheckBox.cs      
2007-05-01 17:25:38 UTC (rev 76535)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CheckBox.cs      
2007-05-01 18:58:31 UTC (rev 76536)
@@ -36,7 +36,7 @@
        [ComVisible (true)]
        [ClassInterface (ClassInterfaceType.AutoDispatch)]
        [DefaultBindingProperty ("CheckState")]
-       [ToolboxItem ("")]
+       [ToolboxItem ("System.Windows.Forms.Design.AutoSizeToolboxItem," + 
Consts.AssemblySystem_Design)]
 #endif
        public class CheckBox : ButtonBase {
                #region Local Variables
@@ -373,6 +373,8 @@
                }
                
 #if NET_2_0
+               [Browsable (false)]
+               [EditorBrowsable (EditorBrowsableState.Never)]
                public new event MouseEventHandler MouseDoubleClick {
                        add { base.MouseDoubleClick += value; }
                        remove { base.MouseDoubleClick -= value; }

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs       
2007-05-01 17:25:38 UTC (rev 76535)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs       
2007-05-01 18:58:31 UTC (rev 76536)
@@ -2031,7 +2031,9 @@
                }
 
 #if NET_2_0
-
+               [Browsable (false)]
+               [DefaultValue ("{X=0,Y=0}")]
+               [EditorBrowsable (EditorBrowsableState.Advanced)]
                public virtual Point AutoScrollOffset {
                        get {
                                return auto_scroll_offset;

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FlowLayoutPanel.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FlowLayoutPanel.cs   
    2007-05-01 17:25:38 UTC (rev 76535)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FlowLayoutPanel.cs   
    2007-05-01 18:58:31 UTC (rev 76536)
@@ -38,6 +38,7 @@
        [ProvideProperty ("FlowBreak", typeof (Control))]
        [DefaultProperty ("FlowDirection")]
        [Docking (DockingBehavior.Ask)]
+       [Designer ("System.Windows.Forms.Design.FlowLayoutPanelDesigner, " + 
Consts.AssemblySystem_Design, "System.ComponentModel.Design.IDesigner")]
        public class FlowLayoutPanel : Panel, IExtenderProvider
        {
                private FlowLayoutSettings settings;

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2007-05-01 17:25:38 UTC (rev 76535)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2007-05-01 18:58:31 UTC (rev 76536)
@@ -1371,6 +1371,7 @@
 #if !NET_2_0
                internal
 #else
+               [Browsable (false)]
                [MonoTODO ("Implemented for Win32, needs X11 implementation")]
                protected 
 #endif

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs 
2007-05-01 17:25:38 UTC (rev 76535)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs 
2007-05-01 18:58:31 UTC (rev 76536)
@@ -41,7 +41,7 @@
 #if NET_2_0
        [ClassInterface (ClassInterfaceType.AutoDispatch)]
        [ComVisible (true)]
-       [ToolboxItem (true)]
+       [ToolboxItem ("System.Windows.Forms.Design.AutoSizeToolboxItem," + 
Consts.AssemblySystem_Design)]
        [DefaultBindingProperty ("Text")]
 #endif
        public class Label : Control

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LinkLabel.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LinkLabel.cs     
2007-05-01 17:25:38 UTC (rev 76535)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LinkLabel.cs     
2007-05-01 18:58:31 UTC (rev 76536)
@@ -40,6 +40,7 @@
 #if NET_2_0
        [ClassInterface (ClassInterfaceType.AutoDispatch)]
        [ComVisible (true)]
+       [ToolboxItem ("System.Windows.Forms.Design.AutoSizeToolboxItem," + 
Consts.AssemblySystem_Design)]
 #endif
        public class LinkLabel : Label, IButtonControl
        {

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs      
2007-05-01 17:25:38 UTC (rev 76535)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs      
2007-05-01 18:58:31 UTC (rev 76536)
@@ -820,6 +820,8 @@
                }
 
 #if NET_2_0
+               [DefaultValue (false)]
+               [RefreshProperties (RefreshProperties.Repaint)]
                public bool VirtualMode {
                        get {
                                return virtual_mode;
@@ -836,6 +838,8 @@
                        }
                }
 
+               [DefaultValue (0)]
+               [RefreshProperties (RefreshProperties.Repaint)]
                public int VirtualListSize {
                        get {
                                return virtual_list_size;

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

Reply via email to