11 references to DrawDefaultBorder
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (3)
89DrawDefaultBorder(g, r, colors.windowFrame, this.Control.IsDefault); 163DrawDefaultBorder(g, r, colors.windowFrame, this.Control.IsDefault); 247DrawDefaultBorder(g, r, colors.windowFrame, this.Control.IsDefault);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (3)
53DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, this.Control.IsDefault); 93DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, this.Control.IsDefault); 142DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.windowFrame, this.Control.IsDefault);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
208DrawDefaultBorder(g, r, colors.windowFrame, this.Control.IsDefault);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (4)
805ButtonInternal.ButtonBaseAdapter.DrawDefaultBorder(g, valBounds, foreBrush.Color, true /*isDefault == true*/); 878ButtonBaseAdapter.DrawDefaultBorder(g, 896ButtonBaseAdapter.DrawDefaultBorder(g, 909ButtonBaseAdapter.DrawDefaultBorder(g, valBounds, colors.options.highContrast ? colors.windowText : colors.buttonShadow, false /*isDefault*/);