Geeks With Blogs
Gaurav Taneja Great dreams... never even get out of the box. It takes an uncommon amount of guts to put your dreams on the line, to hold them up and say, "How good or how bad am I?" That's where courage comes in. Window Application
To change the colour of TAB control
To change the color of Tab control Add this event handler DrawMode property to OwnerDrawFixed. Override the DrawItem event handler definition. tabControl2.DrawItem += new DrawItemEventHandler(OnDraw... step 2 private void OnDrawItem(object sender, DrawItemEventArgs e) { TabPage CurrentTab = tabControl2.TabPages[e.Index]; Rectangle ItemRect = tabControl2.GetTabRect(e.In... SolidBrush FillBrush = new SolidBrush(Color.Red); SolidBrush TextBrush = new SolidBrush(Color.White); StringFormat sf = new ......

Posted On Wednesday, December 10, 2008 11:34 PM

Copyright © Gaurav Taneja | Powered by: