Author: miguel
Date: 2006-11-27 18:29:53 -0500 (Mon, 27 Nov 2006)
New Revision: 68542
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.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/TextBox.cs
Log:
Add a few proxies that binaries are calling
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs
2006-11-27 23:24:06 UTC (rev 68541)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs
2006-11-27 23:29:53 UTC (rev 68542)
@@ -562,6 +562,16 @@
use_compatible_text_rendering = value;
}
}
+
+ public override string Text {
+ get {
+ return base.Text;
+ }
+
+ set {
+ base.Text = value;
+ }
+ }
#endif
#endregion
}
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
2006-11-27 23:24:06 UTC (rev 68541)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
2006-11-27 23:29:53 UTC (rev 68542)
@@ -2082,5 +2082,18 @@
remove { base.TabIndexChanged -= value; }
}
#endregion // Events
+
+#if NET_2_0
+ public override string Text {
+ get {
+ return base.Text;
+ }
+
+ set {
+ base.Text = value;
+ }
+ }
+
+#endif
}
}
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
2006-11-27 23:24:06 UTC (rev 68541)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
2006-11-27 23:29:53 UTC (rev 68542)
@@ -661,6 +661,31 @@
use_compatible_text_rendering = value;
}
}
+
+ public override string Text {
+ get {
+ return base.Text;
+ }
+
+ set {
+ base.Text = value;
+ }
+ }
+
+ protected override void OnMouseEnter (EventArgs e)
+ {
+ base.OnMouseEnter (e);
+ }
+
+ protected override void OnMouseLeave (EventArgs e)
+ {
+ base.OnMouseLeave (e);
+ }
+
+ protected override void OnHandleDestroyed (EventArgs e)
+ {
+ base.OnHandleDestroyed (e);
+ }
#endif
}
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBox.cs
2006-11-27 23:24:06 UTC (rev 68541)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBox.cs
2006-11-27 23:29:53 UTC (rev 68542)
@@ -316,5 +316,17 @@
SelectAll();
}
#endregion // Private Methods
+
+#if NET_2_0
+ public override bool Multiline {
+ get {
+ return base.Multiline;
+ }
+
+ set {
+ base.Multiline = value;
+ }
+ }
+#endif
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches