What is expected behavior of TabControl.ControlRemoved?
The following code:
private void tabControl_ControlRemoved(object sender, ControlEventArgs e)
{
MessageBox.Show(tabControl.TabCount.ToString());
}
I am assuming should tell me that there are no controls (tabpages) in the
TabControl after I close the very last tab. But instead it tells me there
is 1.
Is this expected behaviour for TabControl.ControlRemoved, or is this some
kind of bug?
No comments:
Post a Comment