137 references to Paint
System.Windows.Forms (27)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
1282add => base.Paint += value; 1283remove => base.Paint -= value;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (2)
549add => base.Paint += value; 550remove => base.Paint -= value;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
1226add => base.Paint += value; 1227remove => base.Paint -= value;
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2130add => base.Paint += value; 2131remove => base.Paint -= value;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (2)
1061add => base.Paint += value; 1062remove => base.Paint -= value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
547add => base.Paint += value; 548remove => base.Paint -= value;
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
913add => base.Paint += value; 914remove => base.Paint -= value;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1425add => base.Paint += value; 1426remove => base.Paint -= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
735control.Paint += HandlePaint; 780control.Paint -= HandlePaint;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
682add => base.Paint += value; 683remove => base.Paint -= value;
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
1458add => base.Paint += value; 1459remove => base.Paint -= value;
System\Windows\Forms\Panels\Panel.cs (1)
15[DefaultEvent(nameof(Paint))]
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
11/// Provides data for the <see cref="Control.Paint"/> event.
System\Windows\Forms\Rendering\PaintEventHandler.cs (1)
7/// Represents a method that will handle the <see cref="Control.Paint"/> event of a <see cref="Control"/> class.
System\Windows\Forms\Scrolling\ScrollBar.cs (2)
400add => base.Paint += value; 401remove => base.Paint -= value;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
1494MenuItem.DropDown.Paint += DropDownPaint; 2588MenuItem.DropDown.Paint -= DropDownPaint;
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\ByteViewerTests.cs (8)
439control.Paint += handler; 445control.Paint -= handler; 490control.Paint += handler; 499control.Paint -= handler; 525control.Paint += handler; 531control.Paint -= handler; 565control.Paint += handler; 574control.Paint -= handler;
System.Windows.Forms.Tests (95)
System\Windows\Forms\ButtonTests.cs (4)
3382control.Paint += (sender, e) => paintCallCount++; 3421control.Paint += (sender, e) => paintCallCount++; 3462control.Paint += (sender, e) => paintCallCount++; 3494control.Paint += (sender, e) => paintCallCount++;
System\Windows\Forms\ControlTests.Handlers.cs (19)
3824control.Paint += handler; 3829control.Paint -= handler; 3872control.Paint += handler; 3878control.Paint -= handler; 4006control.Paint += handler; 4007parent.Paint += parentHandler; 4014control.Paint -= handler; 4015parent.Paint -= parentHandler; 4051control.Paint += handler; 4060control.Paint -= handler; 4144control.Paint += handler; 4145parent.Paint += parentHandler; 4155control.Paint -= handler; 4156parent.Paint -= parentHandler; 4634control.Paint += (sender, e) => paintCallCount++; 4649control.Paint += (sender, e) => 4692control.Paint += (sender, e) => paintCallCount++; 4710control.Paint += (sender, e) => 4748control.Paint += (sender, e) =>
System\Windows\Forms\ControlTests.Methods.cs (20)
4277control.Paint += handler; 4278otherControl.Paint += otherHandler; 4284control.Paint -= handler; 4285otherControl.Paint -= otherHandler; 4329control.Paint += handler; 4330otherControl.Paint += otherHandler; 4331otherControlParent.Paint += otherParentHandler; 4338control.Paint -= handler; 4339otherControl.Paint -= otherHandler; 4340otherControlParent.Paint -= otherParentHandler; 12855control.Paint += (sender, e) => paintCallCount++; 12891control.Paint += (sender, e) => paintCallCount++; 12943control.Paint += (sender, e) => paintCallCount++; 12986control.Paint += (sender, e) => paintCallCount++; 13178control.Paint += (sender, e) => paintCallCount++; 13201control.Paint += (sender, e) => paintCallCount++; 13233control.Paint += (sender, e) => paintCallCount++; 13273control.Paint += (sender, e) => paintCallCount++; 13303control.Paint += (sender, e) => paintCallCount++; 13343control.Paint += (sender, e) => paintCallCount++;
System\Windows\Forms\GroupBoxTests.cs (6)
1871control.Paint += handler; 1877control.Paint -= handler; 1917control.Paint += handler; 1926control.Paint -= handler; 2186control.Paint += (sender, e) => paintCallCount++; 2231control.Paint += (sender, e) => paintCallCount++;
System\Windows\Forms\PictureBoxTests.cs (4)
2471control.Paint += handler; 2476control.Paint -= handler; 2599control.Paint += handler; 2604control.Paint -= handler;
System\Windows\Forms\ScrollableControlTests.cs (12)
1552control.Paint += handler; 1558control.Paint -= handler; 1709control.Paint += handler; 1710parent.Paint += parentHandler; 1717control.Paint -= handler; 1718parent.Paint -= parentHandler; 1758control.Paint += handler; 1767control.Paint -= handler; 1860control.Paint += handler; 1861parent.Paint += parentHandler; 1871control.Paint -= handler; 1872parent.Paint -= parentHandler;
System\Windows\Forms\StatusStripTests.cs (2)
1228control.Paint += handler; 1234control.Paint -= handler;
System\Windows\Forms\TableLayoutPanelTests.cs (4)
1451control.Paint += handler; 1458control.Paint -= handler; 1521control.Paint += handler; 1528control.Paint -= handler;
System\Windows\Forms\TabPageTests.cs (8)
3994control.Paint += handler; 4000control.Paint -= handler; 4082control.Paint += handler; 4090control.Paint -= handler; 4127control.Paint += handler; 4136control.Paint -= handler; 4228control.Paint += handler; 4239control.Paint -= handler;
System\Windows\Forms\ToolStripTests.cs (12)
5893control.Paint += handler; 5899control.Paint -= handler; 6049control.Paint += handler; 6050parent.Paint += parentHandler; 6057control.Paint -= handler; 6058parent.Paint -= parentHandler; 6098control.Paint += handler; 6107control.Paint -= handler; 6199control.Paint += handler; 6200parent.Paint += parentHandler; 6210control.Paint -= handler; 6211parent.Paint -= parentHandler;
System\Windows\Forms\UpDownBaseTests.cs (4)
2265control.Paint += handler; 2271control.Paint -= handler; 2309control.Paint += handler; 2318control.Paint -= handler;
System.Windows.Forms.UI.IntegrationTests (2)
Infra\ScreenRecordService.cs (2)
570form.Paint += OnThrottledInteraction; 584form.Paint -= OnThrottledInteraction;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
1399add { base.Paint += value; } 1400remove { base.Paint -= value; }
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
55control.Paint += (sender, e) => DrawRoundBorder((Control)sender, e.Graphics);