105 references to VisibleChanged
System.Windows.Forms (15)
System\Windows\Forms\ActiveX\AxHost.cs (2)
413
containingControl.
VisibleChanged
+= _onContainerVisibleChanged;
3431
container.
VisibleChanged
-= _onContainerVisibleChanged;
System\Windows\Forms\Controls\TabControl\TabPage.cs (2)
475
add => base.
VisibleChanged
+= value;
476
remove => base.
VisibleChanged
-= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
741
control.
VisibleChanged
+= HandleControlVisibleChanged;
786
control.
VisibleChanged
-= HandleControlVisibleChanged;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (2)
57
_wrappedToolStrip.
VisibleChanged
+= OnToolStripVisibleChanged;
233
_wrappedToolStrip.
VisibleChanged
-= OnToolStripVisibleChanged;
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (1)
32
owner.
VisibleChanged
+= OnControlVisibleChanged;
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (2)
40
_control.
VisibleChanged
+= OnParentVisibleChanged;
63
_control.
VisibleChanged
-= OnParentVisibleChanged;
System\Windows\Forms\Panels\SplitterPanel.cs (2)
294
add => base.
VisibleChanged
+= value;
295
remove => base.
VisibleChanged
-= value;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (2)
533
add => base.
VisibleChanged
+= value;
534
remove => base.
VisibleChanged
-= value;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
467
VisibleChanged
+= DataGridViewAddColumnDialog_VisibleChanged;
System.Windows.Forms.Tests (88)
System\Windows\Forms\ButtonBaseTests.cs (10)
4531
control.
VisibleChanged
+= handler;
4549
control.
VisibleChanged
-= handler;
7390
control.
VisibleChanged
+= handler;
7396
control.
VisibleChanged
-= handler;
7435
control.
VisibleChanged
+= handler;
7441
control.
VisibleChanged
-= handler;
7488
control.
VisibleChanged
+= handler;
7497
control.
VisibleChanged
-= handler;
7546
control.
VisibleChanged
+= handler;
7555
control.
VisibleChanged
-= handler;
System\Windows\Forms\ControlTests.ControlCollection.cs (12)
557
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
601
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
694
control.
VisibleChanged
+= (sender, e) =>
849
control.
VisibleChanged
+= (sender, e) =>
980
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
1060
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
2254
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
2301
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
2395
control.
VisibleChanged
+= (sender, e) =>
2544
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
2651
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
2727
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
System\Windows\Forms\ControlTests.Handlers.cs (25)
4579
control.
VisibleChanged
+= handler;
4584
control.
VisibleChanged
-= handler;
4607
control.
VisibleChanged
+= handler;
4612
control.
VisibleChanged
-= handler;
5562
control.
VisibleChanged
+= handler;
5568
control.
VisibleChanged
-= handler;
5593
control.
VisibleChanged
+= handler;
5599
control.
VisibleChanged
-= handler;
5643
control.
VisibleChanged
+= handler;
5652
control.
VisibleChanged
-= handler;
5689
control.
VisibleChanged
+= handler;
5698
control.
VisibleChanged
-= handler;
5747
grandchild1.
VisibleChanged
+= grandchildHandler1;
5755
child1.
VisibleChanged
+= childHandler1;
5763
child2.
VisibleChanged
+= childHandler2;
5768
control.
VisibleChanged
+= handler;
5776
control.
VisibleChanged
-= handler;
5785
grandchild1.
VisibleChanged
-= grandchildHandler1;
5786
child1.
VisibleChanged
-= childHandler1;
5787
child2.
VisibleChanged
-= childHandler2;
5822
grandchild1.
VisibleChanged
+= (sender, e) => grandchildCallCount1++;
5823
child1.
VisibleChanged
+= (sender, e) => childCallCount1++;
5824
child2.
VisibleChanged
+= (sender, e) => childCallCount2++;
5827
control.
VisibleChanged
+= handler;
5835
control.
VisibleChanged
-= handler;
System\Windows\Forms\ControlTests.Methods.cs (2)
2932
control.
VisibleChanged
+= handler;
2944
control.
VisibleChanged
-= handler;
System\Windows\Forms\ControlTests.Properties.cs (14)
12880
control.
VisibleChanged
+= handler;
12898
control.
VisibleChanged
-= handler;
12937
control.
VisibleChanged
+= handler;
12938
child1.
VisibleChanged
+= childHandler1;
12939
child2.
VisibleChanged
+= childHandler2;
12969
control.
VisibleChanged
-= handler;
12970
child1.
VisibleChanged
-= childHandler1;
12971
child2.
VisibleChanged
-= childHandler2;
13020
control.
VisibleChanged
+= handler;
13021
child1.
VisibleChanged
+= childHandler1;
13022
child2.
VisibleChanged
+= childHandler2;
13052
control.
VisibleChanged
-= handler;
13053
child1.
VisibleChanged
-= childHandler1;
13054
child2.
VisibleChanged
-= childHandler2;
System\Windows\Forms\FormTests.cs (10)
2147
control.
VisibleChanged
+= handler;
2174
control.
VisibleChanged
-= handler;
2200
control.
VisibleChanged
+= handler;
2228
control.
VisibleChanged
-= handler;
2252
control.
VisibleChanged
+= handler;
2280
control.
VisibleChanged
-= handler;
2310
control.
VisibleChanged
+= handler;
2337
control.
VisibleChanged
-= handler;
2366
control.
VisibleChanged
+= handler;
2396
control.
VisibleChanged
-= handler;
System\Windows\Forms\PictureBoxTests.cs (4)
1684
control.
VisibleChanged
+= handler;
1702
control.
VisibleChanged
-= handler;
2821
control.
VisibleChanged
+= handler;
2826
control.
VisibleChanged
-= handler;
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
1766
control.
VisibleChanged
+= handler;
1784
control.
VisibleChanged
-= handler;
System\Windows\Forms\ToolStripTests.cs (7)
4180
control.
VisibleChanged
+= handler;
4198
control.
VisibleChanged
-= handler;
6838
control.
VisibleChanged
+= handler;
6843
control.
VisibleChanged
-= handler;
6853
control.
VisibleChanged
+= (sender, e) => callCount++;
6891
control.
VisibleChanged
+= handler;
6896
control.
VisibleChanged
-= handler;
System\Windows\Forms\WebBrowserTests.cs (2)
2223
control.
VisibleChanged
+= handler;
2241
control.
VisibleChanged
-= handler;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
897
this.
VisibleChanged
+= this.OnPropertyChangedVisible;