27 overrides of OnPaint
DesignSurface (1)
MainForm.MyScrollableControl.cs (1)
31protected override void OnPaint(PaintEventArgs e)
PresentationUI (1)
MS\Internal\Documents\DialogDivider.cs (1)
68protected override void OnPaint(PaintEventArgs e)
System.Windows.Forms (13)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1178protected override void OnPaint(PaintEventArgs pevent)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16667protected 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)
1249protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1106protected override void OnPaint(PaintEventArgs pe)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.SnappableControl.cs (1)
37protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3253protected 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)
514protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
257protected override void OnPaint(PaintEventArgs e)
System\Windows\Forms\Form.cs (1)
4398protected 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)
1391protected override void OnPaint(PaintEventArgs pe) 2265protected 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)
651protected override void OnPaint(PaintEventArgs e)
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
381protected override void OnPaint(SWF.PaintEventArgs e)
32 references to OnPaint
DesignSurface (1)
MainForm.MyScrollableControl.cs (1)
33base.OnPaint(e);
PresentationUI (1)
MS\Internal\Documents\DialogDivider.cs (1)
70base.OnPaint(e);
System.Windows.Forms (14)
System\Windows\Forms\Control.cs (2)
6169c.OnPaint(e); 8280OnPaint(e);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1198base.OnPaint(pevent);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16727base.OnPaint(e);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
454base.OnPaint(e); // raise paint event
System\Windows\Forms\Controls\Labels\Label.cs (1)
1311base.OnPaint(e); // raise paint event
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1141base.OnPaint(pe!);
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)
516base.OnPaint(e);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
333base.OnPaint(e);
System\Windows\Forms\Form.cs (1)
4400base.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)
1434base.OnPaint(pe); 2273base.OnPaint(e);
System\Windows\Forms\Design\TabOrder.cs (1)
653base.OnPaint(e);
System.Windows.Forms.Tests (10)
System\Windows\Forms\ComboBoxTests.cs (1)
348public void InvokeOnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\ControlTests.cs (1)
1342public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\DateTimePickerTests.cs (1)
1072public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\ListBoxTests.cs (1)
6492public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\MonthCalendarTests.cs (1)
4812public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\ProgressBarTests.cs (1)
2670public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\ScrollBarTests.cs (1)
3240public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
4612public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
TextBoxBaseTests.cs (1)
7769public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
TrackBarTests.cs (1)
3358public new void OnPaint(PaintEventArgs e) => base.OnPaint(e);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
383base.OnPaint(e);