[Mono-bugs] [Bug 78026][Nor] New - Transparent BackColor in children
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Apr 5 16:19:57 EDT 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 gonzalo at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78026
--- shadow/78026 2006-04-05 16:19:57.000000000 -0400
+++ shadow/78026.tmp.13166 2006-04-05 16:19:57.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 78026
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com
+ReportedBy: gonzalo at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Transparent BackColor in children
+
+Compile and run the following program:
+----
+using System;
+using System.ComponentModel;
+using System.Windows.Forms;
+using System.Drawing;
+
+namespace Test {
+ public class Form1 : Form {
+ static void Main ()
+ {
+ Form1 form = new Form1 ();
+ Panel panel = new Panel ();
+ panel.BackColor = Color.Transparent;
+ Label label = new Label ();
+ label.Text = "Hi there!";
+ panel.Controls.Add (label);
+ form.Controls.Add (panel);
+ Application.Run (form);
+ }
+ }
+}
+----
+
+You will see that the panel, except for the label, is displayed as totally
+transparent.
+
+Running on windows there's no transparent panel.
More information about the mono-bugs
mailing list