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