74 references to EnabledChanged
System.Windows.Forms (6)
System\Windows\Forms\Controls\TabControl\TabPage.cs (2)
306
add => base.
EnabledChanged
+= value;
307
remove => base.
EnabledChanged
-= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
719
control.
EnabledChanged
+= HandleEnabledChanged;
764
control.
EnabledChanged
-= HandleEnabledChanged;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (2)
395
add => base.
EnabledChanged
+= value;
396
remove => base.
EnabledChanged
-= value;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ControlDesigner.cs (2)
486
Control.
EnabledChanged
-= OnEnabledChanged;
991
Control.
EnabledChanged
+= OnEnabledChanged;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
497
nameof(ToolStripPanel.
EnabledChanged
),
System.Windows.Forms.Tests (64)
System\Windows\Forms\ButtonBaseTests.cs (10)
1004
control.
EnabledChanged
+= handler;
1022
control.
EnabledChanged
-= handler;
5131
control.
EnabledChanged
+= handler;
5137
control.
EnabledChanged
-= handler;
5176
control.
EnabledChanged
+= handler;
5182
control.
EnabledChanged
-= handler;
5229
control.
EnabledChanged
+= handler;
5238
control.
EnabledChanged
-= handler;
5287
control.
EnabledChanged
+= handler;
5296
control.
EnabledChanged
-= handler;
System\Windows\Forms\ControlTests.ControlCollection.cs (12)
556
control.
EnabledChanged
+= (sender, e) => enabledChangedCallCount++;
600
control.
EnabledChanged
+= (sender, e) => enabledChangedCallCount++;
683
control.
EnabledChanged
+= (sender, e) =>
839
control.
EnabledChanged
+= (sender, e) =>
979
((Control)control).
EnabledChanged
+= (sender, e) => enabledChangedCallCount++;
1059
((Control)control).
EnabledChanged
+= (sender, e) => enabledChangedCallCount++;
2253
control.
EnabledChanged
+= (sender, e) => enabledChangedCallCount++;
2300
control.
EnabledChanged
+= (sender, e) => enabledChangedCallCount++;
2384
control.
EnabledChanged
+= (sender, e) =>
2535
control.
EnabledChanged
+= (sender, e) =>
2650
((Control)control).
EnabledChanged
+= (sender, e) => enabledChangedCallCount++;
2726
((Control)control).
EnabledChanged
+= (sender, e) => enabledChangedCallCount++;
System\Windows\Forms\ControlTests.Handlers.cs (18)
1417
control.
EnabledChanged
+= handler;
1424
control.
EnabledChanged
-= handler;
1450
control.
EnabledChanged
+= handler;
1457
control.
EnabledChanged
-= handler;
1484
control.
EnabledChanged
+= handler;
1491
control.
EnabledChanged
-= handler;
1517
child1.
EnabledChanged
+= (sender, e) =>
1523
child2.
EnabledChanged
+= (sender, e) =>
1531
control.
EnabledChanged
+= handler;
1538
control.
EnabledChanged
-= handler;
1570
child1.
EnabledChanged
+= (sender, e) =>
1576
child2.
EnabledChanged
+= (sender, e) =>
1584
control.
EnabledChanged
+= handler;
1591
control.
EnabledChanged
-= handler;
4422
control.
EnabledChanged
+= handler;
4427
control.
EnabledChanged
-= handler;
4450
control.
EnabledChanged
+= handler;
4455
control.
EnabledChanged
-= handler;
System\Windows\Forms\ControlTests.Properties.cs (14)
4578
control.
EnabledChanged
+= handler;
4596
control.
EnabledChanged
-= handler;
4635
control.
EnabledChanged
+= handler;
4636
child1.
EnabledChanged
+= childHandler1;
4637
child2.
EnabledChanged
+= childHandler2;
4667
control.
EnabledChanged
-= handler;
4668
child1.
EnabledChanged
-= childHandler1;
4669
child2.
EnabledChanged
-= childHandler2;
4718
control.
EnabledChanged
+= handler;
4719
child1.
EnabledChanged
+= childHandler1;
4720
child2.
EnabledChanged
+= childHandler2;
4750
control.
EnabledChanged
-= handler;
4751
child1.
EnabledChanged
-= childHandler1;
4752
child2.
EnabledChanged
-= childHandler2;
System\Windows\Forms\PictureBoxTests.cs (4)
286
control.
EnabledChanged
+= handler;
304
control.
EnabledChanged
-= handler;
2150
control.
EnabledChanged
+= handler;
2155
control.
EnabledChanged
-= handler;
System\Windows\Forms\ScrollBarTests.cs (6)
456
control.
EnabledChanged
+= handler;
474
control.
EnabledChanged
-= handler;
1959
control.
EnabledChanged
+= handler;
1965
control.
EnabledChanged
-= handler;
1992
control.
EnabledChanged
+= handler;
2001
control.
EnabledChanged
-= handler;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
893
this.
EnabledChanged
+= this.OnPropertyChangedEnabled;