24 references to Clear
DesignSurface (1)
MainForm.MyScrollableControl.cs (1)
35
graphics.
Clear
(BackColor);
System.Drawing.Common.Tests (9)
mono\System.Drawing\GraphicsTests.cs (6)
1192
g.
Clear
(Color.Fuchsia);
1213
g.
Clear
(Color.Red);
1377
g.
Clear
(Color.Red);
1523
g.
Clear
(Color.Red);
2886
g.
Clear
(Color.White);
2928
g.
Clear
(Color.White);
System\Drawing\GraphicsTests.cs (3)
2743
graphics.
Clear
(color);
2760
Assert.Throws<InvalidOperationException>(() => graphics.
Clear
(Color.Red));
2776
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
Clear
(Color.Red));
System.Windows.Forms (6)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
312
offscreen.
Clear
(Color.Transparent);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1353
offscreen.
Clear
(Color.Transparent);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
822
e.Graphics.
Clear
(ColorTable.ToolStripContentPanelGradientEnd);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
782
e.Graphics.
Clear
(e.BackColor);
System\Windows\Forms\Rendering\ControlPaint.cs (2)
1373
g2.
Clear
(Color.Transparent);
1443
g2.
Clear
(Color.Transparent);
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
1022
g.
Clear
(Color.Chartreuse);
System\Windows\Forms\Design\DesignerUtils.cs (2)
398
gDest.
Clear
(SystemColors.Control);
431
g.
Clear
(SystemColors.Control);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (5)
1857
g.
Clear
(_toolStripBorderColor);
1928
g.
Clear
(_toolStripBorderColor);
1937
g.
Clear
(_toolStripBorderColor);
1947
g.
Clear
(_toolStripBorderColor);
1956
g.
Clear
(_toolStripBorderColor);