Description: Recently I came across a requirement for a tab control to be closed from the header itself. This means the user doesn t need to switch to any tab page in order to close it. The perfect example for this one is Firefox browser. In Firefox, the user can open as many tabs as he wants and he can close any tab at any time without opening the tab. I tried Googling a solution and didn t find anything that was exactly what I wanted. Then I thought about implementing my own tab control with the same functionality. So finally, here is the control.
File list (Check if you may need any files):
TabControl_Demo\TabControl_Demo.sln
...............\....trl\AssemblyInfo.cs
...............\.......\TabCtlEx.cs
...............\.......\TabCtlEx.resx
...............\.......\TabCtrl.csproj
...............\.......\TabCtrl.csproj.user
...............\.......\TabPage.cs
...............\.......\TabPage.resx
...............\..._Control_Demo\App.ico
...............\................\AssemblyInfo.cs
...............\................\Form1.cs
...............\................\Form1.resx
...............\................\Tab_Control_Demo.csproj
...............\................\Tab_Control_Demo.csproj.user
...............\TabCtrl
...............\Tab_Control_Demo
TabControl_Demo