23 references to Pens
System.Windows.Forms (13)
winforms\Managed\System\WinForms\ControlPaint.cs (7)
1192
Pen pen =
Pens
.Black;
1405
grabPenPrimary =
Pens
.Black;
1421
grabPenSecondary =
Pens
.White;
1671
pen =
Pens
.White;
1674
pen =
Pens
.Black;
1682
pen =
Pens
.Black;
1685
pen =
Pens
.White;
winforms\Managed\System\WinForms\DataGridParentRows.cs (4)
796
g.DrawLine(
Pens
.Black, bounds.X, bounds.Y, bounds.X + bounds.Width, bounds.Y); // the top
797
g.DrawLine(
Pens
.White, bounds.X + bounds.Width, bounds.Y, bounds.X + bounds.Width, bounds.Y + bounds.Height); // the right side
798
g.DrawLine(
Pens
.White, bounds.X + bounds.Width, bounds.Y + bounds.Height, bounds.X, bounds.Y + bounds.Height); // the right side
799
g.DrawLine(
Pens
.Black, bounds.X, bounds.Y + bounds.Height, bounds.X, bounds.Y); // the left side
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
636
pevent.Graphics.DrawRectangle(
Pens
.Black, box);
646
pevent.Graphics.DrawRectangle(
Pens
.Black, box);
System.Workflow.ComponentModel (10)
AuthoringOM\Design\ActivityDesigner.cs (1)
3109
graphics.DrawPath(
Pens
.Black, graphicsPath);
AuthoringOM\Design\DesignerHelpers.cs (3)
582
graphics.DrawRectangle(
Pens
.Red, bounds);
583
graphics.DrawLine(
Pens
.Red, bounds.Left, bounds.Top, bounds.Right, bounds.Bottom);
584
graphics.DrawLine(
Pens
.Red, bounds.Right, bounds.Top, bounds.Left, bounds.Bottom);
AuthoringOM\Design\DesignerWidgets.cs (5)
172
graphics.DrawRectangle(
Pens
.Black, buttonBounds);
180
graphics.DrawPath(
Pens
.Black, graphicsPath);
225
graphics.DrawPath(
Pens
.DarkBlue, pagePath);
227
graphics.DrawPath(
Pens
.DarkBlue, pageFoldPath);
3413
graphics.DrawRectangle(
Pens
.Black, this.previewModeButtonRectangle.Left - 1, this.previewModeButtonRectangle.Top - 1, this.previewModeButtonRectangle.Width + 1, this.previewModeButtonRectangle.Height + 1);
AuthoringOM\Design\WorkflowLayouts.cs (1)
687
graphics.DrawRectangle(
Pens
.Black, pageLayoutData.PageBounds);