dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms Control.cs,1.4,1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms Control.cs,1.4,1.5
Date: Thu, 12 Jun 2003 02:39:13 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms
In directory subversions:/tmp/cvs-serv13083/System.Windows.Forms

Modified Files:
        Control.cs 
Log Message:


Add the "CreateBackgroundBrush()" helper method.


Index: Control.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms/Control.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** Control.cs  12 Jun 2003 02:55:48 -0000      1.4
--- Control.cs  12 Jun 2003 06:39:11 -0000      1.5
***************
*** 4107,4110 ****
--- 4107,4117 ----
                        }
  
+       // Create a brush that can be used to fill with the background 
color/image.
+       internal Brush CreateBackgroundBrush()
+                       {
+                               // TODO: background images
+                               return new SolidBrush(BackColor);
+                       }
+ 
  }; // class Control
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]