2005-02-17 Peter Bartok <pbartok@novell.com>
authorPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Thu, 17 Feb 2005 21:41:37 +0000 (21:41 -0000)
committerPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Thu, 17 Feb 2005 21:41:37 +0000 (21:41 -0000)
* UpDownBase.cs: Fixed typo, compilation errors
* DomainUpDown.cs: Fixed attribute value

svn path=/trunk/mcs/; revision=40828

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DomainUpDown.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/UpDownBase.cs

index 7b68c47a076846690c6b3323475cbda23af16290..946dbf126a2d8a02e58b7dc7a7f2e5548e3c687c 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-17  Peter Bartok  <pbartok@novell.com>
+
+       * UpDownBase.cs: Fixed typo, compilation errors
+       * DomainUpDown.cs: Fixed attribute value
+
 2005-02-16  Miguel de Icaza  <miguel@novell.com>
 
        * UpDownBase.cs: Attach entry events.
index 3bbf69dcfc9c71200be43385f63e70f201eca15a..43cd20725039c06f946228ab84ae514911166c43 100644 (file)
@@ -198,7 +198,7 @@ namespace System.Windows.Forms {
                        }
                }
 
-               [DesignerSerializationVisibility(DesignerSerializationVisibility.Item)]
+               [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
                [Browsable(false)]
                public object SelectedItem {
                        get {
index 6a58567e52e8e75a000b55ea0327b82a11f59771..7c180c68e12cfcf362908af604d149a7f6bfc2e4 100644 (file)
@@ -257,10 +257,10 @@ namespace System.Windows.Forms {
                        entry.LostFocus += new EventHandler (EntryOnLostFocus);
                        entry.TextChanged += new EventHandler (OnTextBoxTextChanged);
                        entry.KeyDown += new KeyEventHandler (OnTextBoxKeyDown);
-                       entry.KeyPress += new KeyEventHandler (OnTextBoxKeyPress);
+                       entry.KeyPress += new KeyPressEventHandler (OnTextBoxKeyPress);
                        entry.LostFocus += new EventHandler (OnTextBoxLostFocus);
                        entry.Resize += new EventHandler (OnTextBoxResize);
-                       entry.TexrChanged += new EventHandler (OnTextBoxTextChanged);
+                       entry.TextChanged += new EventHandler (OnTextBoxTextChanged);
                        
                        entry.ReadOnly = false;
                        Controls.Add (entry);
@@ -387,27 +387,27 @@ namespace System.Windows.Forms {
                //
                protected virtual void OnTextBoxKeyDown (object source, KeyEventArgs e)
                {
-                       this.KeyDown (e);
+                       OnKeyDown(e);
                }
                
                protected virtual void OnTextBoxKeyPress (object source, KeyPressEventArgs e)
                {
-                       this.KeyPress (e);
+                       OnKeyPress (e);
                }
 
                protected virtual void OnTextBoxLostFocus (object source, EventArgs e)
                {
-                       this.LostFocus (e);
+                       OnLostFocus (e);
                }
 
                protected virtual void OnTextBoxResize (object source, EventArgs e)
                {
-                       this.Resize (e);
+                       OnResize (e);
                }
 
                protected virtual void OnTextBoxTextChanged (object source, EventArgs e)
                {
-                       this.TextChanged (e);
+                       OnTextChanged (e);
 #if false
                        if (changing_text)
                                return;