[Mono-bugs] [Bug 80184][Nor] New - Setting BackgroundImage does not take effect immediately

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Dec 8 06:13:30 EST 2006

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.


--- shadow/80184	2006-12-08 06:13:30.000000000 -0500
+++ shadow/80184.tmp.9397	2006-12-08 06:13:30.000000000 -0500
@@ -0,0 +1,44 @@
+Bug#: 80184
+Product: Mono: Class Libraries
+Version: 1.2
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Setting BackgroundImage does not take effect immediately
+Description of Problem:
+Setting BackgroundImage does not take effect immediately
+Steps to reproduce the problem:
+1. Compile and run the following program.
+using System;
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    protected override void OnClick(EventArgs e) {
+        BackgroundImage = Icon.ToBitmap();
+    }
+2. Click on the form.
+Actual Results:
+Nothing happens immediately. If something causes invalidation, the image 
+will be displayed.
+Expected Results:
+The image is displayed immediately.
+How often does this happen? 

More information about the mono-bugs mailing list