Archive for January 2nd, 2008
Hiding TabControl tabs in c#
by brian on Jan.02, 2008, under .NET, GUI, c#, coding
Finally found how this way online to hide the tabs on a tab control. Works pretty good. This will quite simplify my GUI coding and mean I won’t need to import a component. Thanks jeeftan
Rectangle rect = new RectangleF(
tabPage1.Left,
tabPage1.Top,
tabPage1.Width,
tabPage1.Height );
tabControl1.Region = new Region(rect);
