107 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)
59
_wrappedToolStrip.
VisibleChanged
+= OnToolStripVisibleChanged;
235
_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 (3)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
467
VisibleChanged
+= DataGridViewAddColumnDialog_VisibleChanged;
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
855
ToolStrip.
VisibleChanged
+= OnToolStripVisibleChanged;
1191
ToolStrip.
VisibleChanged
-= OnToolStripVisibleChanged;
System.Windows.Forms.Tests (88)
System\Windows\Forms\ButtonBaseTests.cs (10)
4533
control.
VisibleChanged
+= handler;
4551
control.
VisibleChanged
-= handler;
7392
control.
VisibleChanged
+= handler;
7398
control.
VisibleChanged
-= handler;
7437
control.
VisibleChanged
+= handler;
7443
control.
VisibleChanged
-= handler;
7490
control.
VisibleChanged
+= handler;
7499
control.
VisibleChanged
-= handler;
7548
control.
VisibleChanged
+= handler;
7557
control.
VisibleChanged
-= handler;
System\Windows\Forms\ControlTests.ControlCollection.cs (12)
559
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
603
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
696
control.
VisibleChanged
+= (sender, e) =>
851
control.
VisibleChanged
+= (sender, e) =>
982
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
1062
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
2256
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
2303
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
2397
control.
VisibleChanged
+= (sender, e) =>
2546
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
2653
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
2729
control.
VisibleChanged
+= (sender, e) => visibleChangedCallCount++;
System\Windows\Forms\ControlTests.Handlers.cs (25)
4581
control.
VisibleChanged
+= handler;
4586
control.
VisibleChanged
-= handler;
4609
control.
VisibleChanged
+= handler;
4614
control.
VisibleChanged
-= handler;
5564
control.
VisibleChanged
+= handler;
5570
control.
VisibleChanged
-= handler;
5595
control.
VisibleChanged
+= handler;
5601
control.
VisibleChanged
-= handler;
5645
control.
VisibleChanged
+= handler;
5654
control.
VisibleChanged
-= handler;
5691
control.
VisibleChanged
+= handler;
5700
control.
VisibleChanged
-= handler;
5749
grandchild1.
VisibleChanged
+= grandchildHandler1;
5757
child1.
VisibleChanged
+= childHandler1;
5765
child2.
VisibleChanged
+= childHandler2;
5770
control.
VisibleChanged
+= handler;
5778
control.
VisibleChanged
-= handler;
5787
grandchild1.
VisibleChanged
-= grandchildHandler1;
5788
child1.
VisibleChanged
-= childHandler1;
5789
child2.
VisibleChanged
-= childHandler2;
5824
grandchild1.
VisibleChanged
+= (sender, e) => grandchildCallCount1++;
5825
child1.
VisibleChanged
+= (sender, e) => childCallCount1++;
5826
child2.
VisibleChanged
+= (sender, e) => childCallCount2++;
5829
control.
VisibleChanged
+= handler;
5837
control.
VisibleChanged
-= handler;
System\Windows\Forms\ControlTests.Methods.cs (2)
2892
control.
VisibleChanged
+= handler;
2904
control.
VisibleChanged
-= handler;
System\Windows\Forms\ControlTests.Properties.cs (14)
12882
control.
VisibleChanged
+= handler;
12900
control.
VisibleChanged
-= handler;
12939
control.
VisibleChanged
+= handler;
12940
child1.
VisibleChanged
+= childHandler1;
12941
child2.
VisibleChanged
+= childHandler2;
12971
control.
VisibleChanged
-= handler;
12972
child1.
VisibleChanged
-= childHandler1;
12973
child2.
VisibleChanged
-= childHandler2;
13022
control.
VisibleChanged
+= handler;
13023
child1.
VisibleChanged
+= childHandler1;
13024
child2.
VisibleChanged
+= childHandler2;
13054
control.
VisibleChanged
-= handler;
13055
child1.
VisibleChanged
-= childHandler1;
13056
child2.
VisibleChanged
-= childHandler2;
System\Windows\Forms\FormTests.cs (10)
2149
control.
VisibleChanged
+= handler;
2176
control.
VisibleChanged
-= handler;
2202
control.
VisibleChanged
+= handler;
2230
control.
VisibleChanged
-= handler;
2254
control.
VisibleChanged
+= handler;
2282
control.
VisibleChanged
-= handler;
2312
control.
VisibleChanged
+= handler;
2339
control.
VisibleChanged
-= handler;
2368
control.
VisibleChanged
+= handler;
2398
control.
VisibleChanged
-= handler;
System\Windows\Forms\PictureBoxTests.cs (4)
1686
control.
VisibleChanged
+= handler;
1704
control.
VisibleChanged
-= handler;
2823
control.
VisibleChanged
+= handler;
2828
control.
VisibleChanged
-= handler;
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
1768
control.
VisibleChanged
+= handler;
1786
control.
VisibleChanged
-= handler;
System\Windows\Forms\ToolStripTests.cs (7)
4182
control.
VisibleChanged
+= handler;
4200
control.
VisibleChanged
-= handler;
6840
control.
VisibleChanged
+= handler;
6845
control.
VisibleChanged
-= handler;
6855
control.
VisibleChanged
+= (sender, e) => callCount++;
6893
control.
VisibleChanged
+= handler;
6898
control.
VisibleChanged
-= handler;
System\Windows\Forms\WebBrowserTests.cs (2)
2225
control.
VisibleChanged
+= handler;
2243
control.
VisibleChanged
-= handler;
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
893
this.
VisibleChanged
+= this.OnPropertyChangedVisible;