Tabcontrol and window in Visual Studio

  • Thread starter Thread starter wheels619
  • Start date Start date
W

wheels619

Some GUI questions for Visual Studio C#:
I'm using a TabControl component, somehow it defaults to the middle
tab. How can I make it default to the first tab?

My program has two window forms; when I launch my program, how can i
make one window appear over the other?

Thanks
 
In order to show the tab you want, you must assign:

MyTabControl.SelectedTab = MyDefaultTab

MyDefaultTab is a "TabPage" object, which is one of many tabs in the
MyTabControl.TabPages collection.

Some GUI questions for Visual Studio C#:
I'm using a TabControl component, somehow it defaults to the middle
tab. How can I make it default to the first tab?


I don't know much about this question, sorry.
 
Back
Top