20 references to Window
System.Drawing.Common.Tests (1)
System\Drawing\SystemPensTest.cs (1)
42
yield return Pen(() => SystemPens.
Window
, SystemColors.Window);
System.Windows.Forms (19)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2331
g.DrawRectangle(SystemPens.
Window
, rect);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
6903
g.DrawRectangle(SystemPens.
Window
, rect);
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
2894
g.DrawRectangle(SystemPens.
Window
, rect);
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
830
g.DrawRectangle(SystemPens.
Window
, rect);
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
3155
g.DrawRectangle(SystemPens.
Window
, rect);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (2)
459
SystemPens.
Window
,
465
SystemPens.
Window
,
System\Windows\Forms\Rendering\ControlPaint.cs (12)
2336
g.DrawLine(SystemPens.
Window
, right - 1, y, right - 1, bottom - 1);
2337
g.DrawLine(SystemPens.
Window
, x, bottom - 1, right - 1, bottom - 1);
2343
g.DrawLine(SystemPens.
Window
, x, y, right - 1, y);
2344
g.DrawLine(SystemPens.
Window
, x, y, x, bottom - 1);
2364
g.DrawLine(SystemPens.
Window
, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y);
2365
g.DrawLine(SystemPens.
Window
, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1);
2375
g.DrawLine(SystemPens.
Window
, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y);
2376
g.DrawLine(SystemPens.
Window
, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1);
2385
g.DrawLine(SystemPens.
Window
, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2386
g.DrawLine(SystemPens.
Window
, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2397
g.DrawLine(SystemPens.
Window
, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);
2398
g.DrawLine(SystemPens.
Window
, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1);