Try that derived class form TabControl. It simply overrides the DisplayRectangle and adds a ShowTab Property for your new TabControl class. Does it help you ?
<br />public class MyTabControl : TabControl<br /> {<br /> public override Rectangle DisplayRectangle<br /> {<br /> get<br /> {<br /> if (showTabs)<br /> {<br /> return base.DisplayRectangle;<br /> }<br /> else<br /> {<br /> return new Rectangle(0, 0, Width, Height);<br /> }<br /> }<br /> }<br /><br /> #region Properties<br /> private bool showTabs = true;<br /> [Category("Apparence"),<br /> Description("Indique si les onglets s'affichent."),<br /> DefaultValue(true)]<br /> public bool ShowTabs<br /> {<br /> get { return showTabs; }<br /> set<br /> {<br /> showTabs = value;<br /> RecreateHandle();<br /> }<br /> }<br /> #endregion<br /> }<br /><br />