99 references to ForeColorChanged
System.Windows.Forms (24)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
2609add => base.ForeColorChanged += value; 2610remove => base.ForeColorChanged -= value;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (2)
505add => base.ForeColorChanged += value; 506remove => base.ForeColorChanged -= value;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
274add => base.ForeColorChanged += value; 275remove => base.ForeColorChanged -= value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
584add => base.ForeColorChanged += value; 585remove => base.ForeColorChanged -= value;
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
120add => base.ForeColorChanged += value; 121remove => base.ForeColorChanged -= value;
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
259add => base.ForeColorChanged += value; 260remove => base.ForeColorChanged -= value;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
771add => base.ForeColorChanged += value; 772remove => base.ForeColorChanged -= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (2)
252add => base.ForeColorChanged += value; 253remove => base.ForeColorChanged -= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
720control.ForeColorChanged += HandleForeColorChanged; 765control.ForeColorChanged -= HandleForeColorChanged;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
248add => base.ForeColorChanged += value; 249remove => base.ForeColorChanged -= value;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (2)
549add => base.ForeColorChanged += value; 550remove => base.ForeColorChanged -= value;
System\Windows\Forms\Scrolling\ScrollBar.cs (2)
163add => base.ForeColorChanged += value; 164remove => base.ForeColorChanged -= value;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
499nameof(ToolStripPanel.ForeColorChanged),
System.Windows.Forms.Tests (72)
System\Windows\Forms\ComboBoxTests.cs (2)
1120control.ForeColorChanged += handler; 1138control.ForeColorChanged -= handler;
System\Windows\Forms\ControlTests.ControlCollection.cs (12)
559control.ForeColorChanged += (sender, e) => foreColorChangedCallCount++; 603control.ForeColorChanged += (sender, e) => foreColorChangedCallCount++; 716control.ForeColorChanged += (sender, e) => 869control.ForeColorChanged += (sender, e) => 982((Control)control).ForeColorChanged += (sender, e) => foreColorChangedCallCount++; 1062((Control)control).ForeColorChanged += (sender, e) => foreColorChangedCallCount++; 2256control.ForeColorChanged += (sender, e) => foreColorChangedCallCount++; 2303control.ForeColorChanged += (sender, e) => foreColorChangedCallCount++; 2417control.ForeColorChanged += (sender, e) => 2554control.ForeColorChanged += (sender, e) => 2653((Control)control).ForeColorChanged += (sender, e) => foreColorChangedCallCount++; 2729((Control)control).ForeColorChanged += (sender, e) => foreColorChangedCallCount++;
System\Windows\Forms\ControlTests.Handlers.cs (17)
1873control.ForeColorChanged += handler; 1879control.ForeColorChanged -= handler; 1907control.ForeColorChanged += handler; 1919control.ForeColorChanged -= handler; 1937control.ForeColorChanged += (sender, e) => callCount++; 1973child1.ForeColorChanged += (sender, e) => 1979child2.ForeColorChanged += (sender, e) => 1987control.ForeColorChanged += handler; 1994control.ForeColorChanged -= handler; 2026child1.ForeColorChanged += (sender, e) => 2032child2.ForeColorChanged += (sender, e) => 2040control.ForeColorChanged += handler; 2047control.ForeColorChanged -= handler; 4527control.ForeColorChanged += handler; 4532control.ForeColorChanged -= handler; 4555control.ForeColorChanged += handler; 4560control.ForeColorChanged -= handler;
System\Windows\Forms\ControlTests.Properties.cs (17)
5426control.ForeColorChanged += handler; 5444control.ForeColorChanged -= handler; 5457control.ForeColorChanged += (sender, e) => callCount++; 5511control.ForeColorChanged += handler; 5512child1.ForeColorChanged += childHandler1; 5513child2.ForeColorChanged += childHandler2; 5543control.ForeColorChanged -= handler; 5544child1.ForeColorChanged -= childHandler1; 5545child2.ForeColorChanged -= childHandler2; 5591control.ForeColorChanged += handler; 5592child1.ForeColorChanged += childHandler1; 5593child2.ForeColorChanged += childHandler2; 5623control.ForeColorChanged -= handler; 5624child1.ForeColorChanged -= childHandler1; 5625child2.ForeColorChanged -= childHandler2; 10795control.ForeColorChanged += (sender, e) => 10977control.ForeColorChanged += (sender, e) =>
System\Windows\Forms\ListBoxTests.cs (2)
1313control.ForeColorChanged += handler; 1331control.ForeColorChanged -= handler;
System\Windows\Forms\ListViewTests.cs (2)
1391control.ForeColorChanged += handler; 1409control.ForeColorChanged -= handler;
System\Windows\Forms\MonthCalendarTests.cs (6)
994control.ForeColorChanged += handler; 1012control.ForeColorChanged -= handler; 3546control.ForeColorChanged += handler; 3552control.ForeColorChanged -= handler; 3580control.ForeColorChanged += handler; 3592control.ForeColorChanged -= handler;
System\Windows\Forms\ProgressBarTests.cs (6)
597control.ForeColorChanged += handler; 615control.ForeColorChanged -= handler; 2033control.ForeColorChanged += handler; 2039control.ForeColorChanged -= handler; 2067control.ForeColorChanged += handler; 2079control.ForeColorChanged -= handler;
System\Windows\Forms\RichTextBoxTests.cs (2)
1789control.ForeColorChanged += handler; 1807control.ForeColorChanged -= handler;
System\Windows\Forms\TreeViewTests.cs (2)
1507control.ForeColorChanged += handler; 1525control.ForeColorChanged -= handler;
System\Windows\Forms\UpDownBaseTests.cs (2)
999control.ForeColorChanged += handler; 1017control.ForeColorChanged -= handler;
TextBoxBaseTests.cs (2)
1234control.ForeColorChanged += handler; 1252control.ForeColorChanged -= handler;
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
1189add { base.ForeColorChanged += value; } 1190remove { base.ForeColorChanged -= value; }