Tab Pages Navigation
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hi there In my mdi app i have a child form which has a tabcontrol on it. there r 2 pages in that tabcontrol Now how can i load the child form to show the start page that i want? VisionTec
You could pass an
int
to the child form's constructor, and in the constructor setTabControl.SelectedIndex
to thatint
, or do this using theset
accessor of a property of your child form, or many other ways. This is a simple object-oriented design (heck, even procedural designs would be simple).Microsoft MVP, Visual C# My Articles