27 references to Paint
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
932
_closeToolStripButton.
Paint
+= OnCloseToolStripButtonPaint;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
466
ToolStripItem.
Paint
-= OnItemPaint;
652
ToolStripItem.
Paint
+= OnItemPaint;
System.Windows.Forms.Tests (24)
System\Windows\Forms\ToolStripButtonTests.cs (8)
1213
item.
Paint
+= handler;
1218
item.
Paint
-= handler;
1335
item.
Paint
+= handler;
1343
item.
Paint
-= handler;
1426
item.
Paint
+= handler;
1434
item.
Paint
-= handler;
1484
item.
Paint
+= handler;
1492
item.
Paint
-= handler;
System\Windows\Forms\ToolStripControlHostTests.cs (4)
3023
item.
Paint
+= handler;
3028
item.
Paint
-= handler;
3783
item.
Paint
+= (sender, e) =>
4027
item.
Paint
+= (sender, e) => paintCallCount++;
System\Windows\Forms\ToolStripItemTests.cs (2)
12477
item.
Paint
+= handler;
12482
item.
Paint
-= handler;
System\Windows\Forms\ToolStripSeparatorTests.cs (10)
1101
item.
Paint
+= handler;
1106
item.
Paint
-= handler;
1147
item.
Paint
+= handler;
1153
item.
Paint
-= handler;
1183
item.
Paint
+= handler;
1189
item.
Paint
-= handler;
1253
item.
Paint
+= handler;
1260
item.
Paint
-= handler;
1324
item.
Paint
+= handler;
1331
item.
Paint
-= handler;