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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=81736

--- shadow/81736        2007-05-25 14:46:05.000000000 -0400
+++ shadow/81736.tmp.31677      2007-05-25 14:46:05.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 81736
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TextBox.Cut() should emit TextChanged
+
+MS prints CHANGED, mono prints nothing.
+
+pretty easy test (and fix, hopefully :)
+
+using System;
+using System.Windows.Forms;
+
+public class Foo : Form {
+        public static void Main (string[] args) {
+                TextBox tb = new TextBox ();
+
+                tb.Text = "hi there";
+
+                tb.TextChanged += new EventHandler (changed);
+
+                tb.SelectAll ();
+                tb.Cut ();
+        }
+
+        public static void changed (object o, EventArgs ev) {
+                 Console.WriteLine ("CHANGED");
+        }
+}
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to