How to put a close button on TabPage header?
We can build a custom TabControl and override its OnDrawItem method in which you paint the “close button”, then do the hit testing and close the tab when the “close button” is clicked. The following article demonstrates the idea in more detail: http://www.codeproject.com/cs/miscctrl/firefoxtabcontrol.