28 overrides of OnPaint
DemoConsole (1)
MainForm.MyScrollableControl.cs (1)
28protected override void OnPaint(PaintEventArgs e)
PresentationUI (1)
MS\Internal\Documents\DialogDivider.cs (1)
67protected override void OnPaint(PaintEventArgs e)
System.Windows.Forms (14)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1240protected override void OnPaint(PaintEventArgs pevent)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16658protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
396protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Controls\Labels\Label.cs (1)
1247protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1100protected override void OnPaint(PaintEventArgs pe)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
2887protected override void OnPaint(PaintEventArgs pevent)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.SnappableControl.cs (1)
37protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3291protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
3444protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
512protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
268protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Form.cs (1)
4438protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1211protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
342protected override void OnPaint(PaintEventArgs pevent)
System.Windows.Forms.Design (11)
System\ComponentModel\Design\ByteViewer.cs (1)
515protected override void OnPaint(PaintEventArgs e)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
466protected override void OnPaint(PaintEventArgs e)
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
357protected override void OnPaint(PaintEventArgs pe)
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (3)
182protected override void OnPaint(PaintEventArgs e) 198protected override void OnPaint(PaintEventArgs e) 264protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Design\ComponentTray.cs (2)
1385protected override void OnPaint(PaintEventArgs pe) 2259protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Design\DockEditor.DockUI.cs (1)
299protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Design\SelectionUIService.cs (1)
764protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Design\TabOrder.cs (1)
642protected override void OnPaint(PaintEventArgs e)
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
379protected override void OnPaint(SWF.PaintEventArgs e)
33 references to OnPaint
DemoConsole (1)
MainForm.MyScrollableControl.cs (1)
30base.OnPaint(e);
PresentationUI (1)
MS\Internal\Documents\DialogDivider.cs (1)
69base.OnPaint(e);
System.Windows.Forms (15)
System\Windows\Forms\Control.cs (2)
6263c.OnPaint(e); 8360OnPaint(e);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1260base.OnPaint(pevent);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16718base.OnPaint(e);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
453base.OnPaint(e); // raise paint event
System\Windows\Forms\Controls\Labels\Label.cs (1)
1309base.OnPaint(e); // raise paint event
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1135base.OnPaint(pe!);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
2919base.OnPaint(pevent);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.SnappableControl.cs (1)
39base.OnPaint(e);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
3446base.OnPaint(e);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
514base.OnPaint(e);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
360base.OnPaint(e);
System\Windows\Forms\Form.cs (1)
4440base.OnPaint(e);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1213base.OnPaint(e);
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
376base.OnPaint(pevent); // raise paint event
System.Windows.Forms.Design (5)
System\ComponentModel\Design\ByteViewer.cs (1)
517base.OnPaint(e);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
468base.OnPaint(e);
System\Windows\Forms\Design\ComponentTray.cs (2)
1428base.OnPaint(pe); 2267base.OnPaint(e);
System\Windows\Forms\Design\TabOrder.cs (1)
644base.OnPaint(e);
System.Windows.Forms.Tests (10)
System\Windows\Forms\ComboBoxTests.cs (1)
350public void InvokeOnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\ControlTests.cs (1)
1344public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\DateTimePickerTests.cs (1)
1074public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\ListBoxTests.cs (1)
6494public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\MonthCalendarTests.cs (1)
4814public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\ProgressBarTests.cs (1)
2672public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\ScrollBarTests.cs (1)
3242public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
4614public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
TextBoxBaseTests.cs (1)
7771public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
TrackBarTests.cs (1)
3360public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
381base.OnPaint(e);