D
Dom
I have 5 TabPages, and I pass one of them to a procedure. How do I
know which page I have?
All I can think of is using the Name property of the TabPage.
void SetPage (TabPage t)
{
if (t.Name = "tabFirst") {...}
else if (t.Name = "tabSecond") {...}
}
know which page I have?
All I can think of is using the Name property of the TabPage.
void SetPage (TabPage t)
{
if (t.Name = "tabFirst") {...}
else if (t.Name = "tabSecond") {...}
}