[Mono-bugs] [Bug 80639][Wis] New - TextBox.OnPaint should not be called
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jan 26 14:27:33 EST 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by georgegiolfan at yahoo.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80639
--- shadow/80639 2007-01-26 14:27:33.000000000 -0500
+++ shadow/80639.tmp.25823 2007-01-26 14:27:33.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 80639
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: georgegiolfan at yahoo.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: TextBox.OnPaint should not be called
+
+using System.Diagnostics;
+using System.Drawing;
+using System.Windows.Forms;
+class TestForm : Form {
+ static void Main() {
+ Application.Run(new TestForm());
+ }
+ public TestForm() {
+ Controls.Add(new MyTextBox());
+ }
+ class MyTextBox : TextBox {
+ protected override void OnPaint(PaintEventArgs e) {
+ Debug.Fail(null);
+ }
+ }
+}
More information about the mono-bugs
mailing list