23 references to DrawBorderSimple
System.Windows.Forms (23)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
113
ControlPaint.
DrawBorderSimple
(deviceContext, bounds, ControlPaint.Dark(Control.BackColor));
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (10)
96
ControlPaint.
DrawBorderSimple
(e, r, colors.WindowFrame);
101
ControlPaint.
DrawBorderSimple
(e, r, colors.WindowFrame);
102
ControlPaint.
DrawBorderSimple
(e, r, colors.ButtonShadow);
110
ControlPaint.
DrawBorderSimple
(e, r, colors.WindowFrame);
184
ControlPaint.
DrawBorderSimple
(e, r, colors.WindowFrame);
189
ControlPaint.
DrawBorderSimple
(e, r, colors.WindowFrame);
190
ControlPaint.
DrawBorderSimple
(e, r, colors.ButtonShadow);
198
ControlPaint.
DrawBorderSimple
(e, r, colors.WindowFrame);
278
ControlPaint.
DrawBorderSimple
(e, r, colors.WindowFrame);
283
ControlPaint.
DrawBorderSimple
(e, r, colors.WindowFrame);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (2)
51
ControlPaint.
DrawBorderSimple
(e, r, borderColor);
136
ControlPaint.
DrawBorderSimple
(e, r, colors.Options.HighContrast ? colors.WindowText : GetContrastingBorderColor(colors.ButtonShadow));
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
202
ControlPaint.
DrawBorderSimple
(e, r, colors.ButtonShadow);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (1)
38
ControlPaint.
DrawBorderSimple
(
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
848
ControlPaint.
DrawBorderSimple
(
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1526
ControlPaint.
DrawBorderSimple
(g, layout.CheckBounds, colors.ButtonShadow);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (2)
32
ControlPaint.
DrawBorderSimple
(e, r, ControlPaint.Dark(Control.BackColor));
61
ControlPaint.
DrawBorderSimple
(e, r, ControlPaint.Dark(Control.BackColor));
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (2)
583
ControlPaint.
DrawBorderSimple
(g, clientBounds, SystemColors.Highlight);
662
ControlPaint.
DrawBorderSimple
(g, bounds, SystemColors.Highlight);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
585
ControlPaint.
DrawBorderSimple
(e, editBounds, SystemColors.Control);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
530
DrawBorderSimple
(graphics, bounds, color, style);