[Mono-bugs] [Bug 81721][Wis] New - Transparent controls may create unpainted lines

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 23 15:45:21 EDT 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 rolfkvinge at ya.com.

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

--- shadow/81721	2007-05-23 15:45:21.000000000 -0400
+++ shadow/81721.tmp.13433	2007-05-23 15:45:21.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 81721
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: rolfkvinge at ya.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Transparent controls may create unpainted lines
+
+Repro:
+
+using System;
+using System.Windows.Forms;
+namespace SharpChess
+{
+	public class frmMain : System.Windows.Forms.Form
+	{
+		private System.Windows.Forms.Panel pnlMain;
+	
+		public frmMain()
+		{
+			this.pnlMain = new System.Windows.Forms.Panel ();
+			
+			this.pnlMain.BackColor = 
+System.Drawing.Color.Transparent;
+			this.pnlMain.Location = new 
+System.Drawing.Point(0, 26);
+			this.Controls.Add (this.pnlMain);
+		}
+
+		[STAThread]
+		static void Main() 
+		{
+			Application.Run(new frmMain());
+		}
+	}
+}


More information about the mono-bugs mailing list