4 instantiations of TabControlEventArgs
System.Windows.Forms (2)
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
1954OnSelected(new TabControlEventArgs(SelectedTab, SelectedIndex, TabControlAction.Selected)); 1997OnDeselected(new TabControlEventArgs(SelectedTab, SelectedIndex, TabControlAction.Deselected));
System.Windows.Forms.Tests (2)
System\Windows\Forms\TabControlEventArgsTests.cs (1)
20TabControlEventArgs e = new(tabPage, tabPageIndex, action);
System\Windows\Forms\TabControlTests.cs (1)
4110yield return new object[] { new TabControlEventArgs(null, 0, TabControlAction.Deselecting) };
22 references to TabControlEventArgs
DesignSurface (1)
MainForm.cs (1)
477private void OnTabPageSelected(object sender, TabControlEventArgs e)
System.Windows.Forms (4)
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
1465protected virtual void OnSelected(TabControlEventArgs e) 1484protected virtual void OnDeselected(TabControlEventArgs e)
System\Windows\Forms\Controls\TabControl\TabControlEventArgs.cs (1)
12/// Initializes a new instance of the <see cref="TabControlEventArgs"/> class.
System\Windows\Forms\Controls\TabControl\TabControlEventHandler.cs (1)
10public delegate void TabControlEventHandler(object? sender, TabControlEventArgs e);
System.Windows.Forms.Tests (17)
System\Windows\Forms\TabControlEventArgsTests.cs (1)
20TabControlEventArgs e = new(tabPage, tabPageIndex, action);
System\Windows\Forms\TabControlTests.cs (16)
2160void deselectedHandler(object sender, TabControlEventArgs e) => deselectedCallCount++; 2162void selectedHandler(object sender, TabControlEventArgs e) => selectedCallCount++; 2236void deselectedHandler(object sender, TabControlEventArgs e) 2260void selectedHandler(object sender, TabControlEventArgs e) 2351void deselectedHandler(object sender, TabControlEventArgs e) => deselectedCallCount++; 2353void selectedHandler(object sender, TabControlEventArgs e) => selectedCallCount++; 2427void deselectedHandler(object sender, TabControlEventArgs e) 2453void selectedHandler(object sender, TabControlEventArgs e) => selectedCallCount++; 4115public void TabControl_OnDeselected_Invoke_CallsDeselected(TabControlEventArgs eventArgs) 4119void handler(object sender, TabControlEventArgs e) 4139public void TabControl_OnDeselected_InvokeWithSelectedTab_CallsDeselected(TabControlEventArgs eventArgs) 4150void handler(object sender, TabControlEventArgs e) 4613public void TabControl_OnSelected_InvokeWithSelectedTab_CallsSelected(TabControlEventArgs eventArgs) 4624void handler(object sender, TabControlEventArgs e) 5793public new void OnDeselected(TabControlEventArgs e) => base.OnDeselected(e); 5809public new void OnSelected(TabControlEventArgs e) => base.OnSelected(e);