[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/samples FormsHello.cs,1.8,1.9
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/samples FormsHello.cs,1.8,1.9 |
Date: |
Fri, 20 Jun 2003 20:42:44 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/samples
In directory subversions:/tmp/cvs-serv22717/samples
Modified Files:
FormsHello.cs
Log Message:
Dashed pens only work in X with a line width of 0, not 1.
Index: FormsHello.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/samples/FormsHello.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** FormsHello.cs 17 Jun 2003 01:33:46 -0000 1.8
--- FormsHello.cs 21 Jun 2003 00:42:42 -0000 1.9
***************
*** 81,84 ****
--- 81,88 ----
pen.Dispose();
+ ControlPaint.DrawFocusRectangle
+ (graphics,
+ new Rectangle(15, 15, bounds.Width - 30, bounds.Height
- 50));
+
Brush brush = new SolidBrush(Color.Yellow);
graphics.FillPie(brush, 20, 20, 60, 60, 30.0f, 70.0f);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/samples FormsHello.cs,1.8,1.9,
Rhys Weatherley <address@hidden> <=