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