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