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