2 instantiations of ColorOptions
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
1574
ColorOptions colors = new
ColorOptions
(g, foreColor, backColor);
1580
ColorOptions colors = new
ColorOptions
(g, Control.ForeColor, Control.BackColor);
14 references to ColorOptions
System.Windows.Forms (14)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (11)
862
internal
ColorOptions
options;
864
internal ColorData(
ColorOptions
options) {
1573
static
ColorOptions
CommonRender(Graphics g, Color foreColor, Color backColor, bool enabled) {
1574
ColorOptions
colors = new ColorOptions(g, foreColor, backColor);
1579
ColorOptions
CommonRender(Graphics g) {
1580
ColorOptions
colors = new ColorOptions(g, Control.ForeColor, Control.BackColor);
1585
protected
ColorOptions
PaintRender(Graphics g) {
1590
internal static
ColorOptions
PaintFlatRender(Graphics g, Color foreColor, Color backColor, bool enabled) {
1594
protected
ColorOptions
PaintFlatRender(Graphics g) {
1599
internal static
ColorOptions
PaintPopupRender(Graphics g, Color foreColor, Color backColor, bool enabled) {
1603
protected
ColorOptions
PaintPopupRender(Graphics g) {
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (3)
1385
highlight = Color.FromArgb(ButtonInternal.ButtonBaseAdapter.
ColorOptions
.Adjust255(adjust, highlight.R),
1386
ButtonInternal.ButtonBaseAdapter.
ColorOptions
.Adjust255(adjust, highlight.G),
1387
ButtonInternal.ButtonBaseAdapter.
ColorOptions
.Adjust255(adjust, highlight.B));