11 references to DrawDefaultBorder
System.Windows.Forms (11)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (3)
84
DrawDefaultBorder
(e, r, colors.WindowFrame, Control.IsDefault);
172
DrawDefaultBorder
(e, r, colors.WindowFrame, Control.IsDefault);
261
DrawDefaultBorder
(e, r, colors.WindowFrame, Control.IsDefault);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (3)
47
DrawDefaultBorder
(e, r, borderColor, Control.IsDefault);
84
DrawDefaultBorder
(e, r, colors.Options.HighContrast ? colors.WindowText : colors.ButtonShadow, Control.IsDefault);
135
DrawDefaultBorder
(e, r, colors.Options.HighContrast ? colors.WindowText : colors.WindowFrame, Control.IsDefault);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
193
DrawDefaultBorder
(e, r, colors.WindowFrame, Control.IsDefault);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (4)
764
ButtonBaseAdapter.
DrawDefaultBorder
(g, valBounds, backBrushColor, isDefault: true);
807
ButtonBaseAdapter.
DrawDefaultBorder
(
828
ButtonBaseAdapter.
DrawDefaultBorder
(
843
ButtonBaseAdapter.
DrawDefaultBorder
(