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=80013

--- shadow/80013        2006-11-23 03:08:07.000000000 -0500
+++ shadow/80013.tmp.24076      2006-11-23 03:08:07.000000000 -0500
@@ -0,0 +1,52 @@
+Bug#: 80013
+Product: Mono: Class Libraries
+Version: 1.2
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Changing MenuItem.Text does not produce immediate results
+
+Description of Problem:
+Changing MenuItem.Text does not produce immediate results.
+
+Steps to reproduce the problem:
+1. Compile and run the following program.
+using System;
+using System.Windows.Forms;
+class TestApplication {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+}
+class TestForm : Form {
+    public TestForm() {
+        Menu = new MainMenu();
+        Menu.MenuItems.Add(TestMenuItem);
+        TestMenuItem.Click += new System.EventHandler(TestMenuItem_Click);
+    }
+    MenuItem TestMenuItem = new MenuItem("Initial");
+    void TestMenuItem_Click(object sender, EventArgs e) {
+        TestMenuItem.Text = "Final";
+    }
+}
+2. Click on the menu.
+
+Actual Results:
+The text does not change. It will be displayed correctly if the form is 
+repainted.
+
+Expected Results:
+The text changes immediately.
+
+How often does this happen? 
+Always.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to