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