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