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