23 references to Pen
System.Drawing.Common.Tests (13)
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
432
using (Pen p =
new
(Color.BlueViolet, 2))
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
186
using (Pen p =
new
(Color.Red, 2))
mono\System.Drawing.Imaging\IconCodecTests.cs (1)
1870
using (Pen p =
new
(Color.Red, 2))
mono\System.Drawing.Imaging\JpegCodecTests.cs (1)
351
using (Pen p =
new
(Color.Red, 2))
mono\System.Drawing.Imaging\PngCodecTests.cs (1)
572
using (Pen p =
new
(Color.BlueViolet, 2))
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
243
using (Pen p =
new
(Color.BlueViolet, 2))
mono\System.Drawing\GraphicsTests.cs (3)
1218
using Pen pen =
new
(Color.Blue, width);
1381
using Pen pen =
new
(Color.Blue, width);
1527
using Pen pen =
new
(Color.Blue, width);
System\Drawing\Drawing2D\GraphicsPathTests.cs (3)
1726
using Pen pen =
new
(Color.Aqua, 0);
2248
using Pen pen =
new
(Color.Red, 3.0f);
2275
using Pen pen =
new
(Color.Red, 3.0f);
System\Drawing\PenTests.cs (1)
109
using Pen pen =
new
(Color.Red, width);
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (1)
8116
using Pen pen =
new
(Color.Red, width: 2);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
515
using Pen pen =
new
(SystemColors.ControlDark, 1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStripButton.cs (2)
49
Pen focusPen1 =
new
(SystemColors.ControlText, penWidth)
54
Pen focusPen2 =
new
(SystemColors.Control, penWidth)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
468
Pen focusPen1 =
new
(SystemColors.ControlText, penWidth)
473
Pen focusPen2 =
new
(SystemColors.Control, penWidth)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1668
using Pen pen =
new
(SystemColors.WindowFrame, 1);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.cs (1)
2278
using (Pen pen =
new
(Color.Red, penThickness))
System.Windows.Forms.Primitives (1)
System\Windows\Forms\GdiPlus\GdiPlusCache.cs (1)
77
=> width == 1 ? GetPenScope(color) : new PenCache.Scope(new
Pen
(color, width));
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
95
Pen pen =
new
(SystemColors.ControlDarkDark, 1);