Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

FireFox-like Tab Control

, 24 Jun 2008
An article on Tab Control
sourcecode_tabcontrol.zip
SourceCode_TabControl
SourceCode_TabControl
TabControl_Demo
TabCtrl
TabCtrl.csproj.user
Tab_Control_Demo
App.ico
Tab_Control_Demo.csproj.user
sourcecode_tabcontrol_2005.zip
SourceCode_TabControl_2005
SourceCode_TabControl
SourceCode_TabControl
TabControl_Demo
TabCtrl
TabCtrl.csproj.user
Tab_Control_Demo
App.ico
Tab_Control_Demo.csproj.user
using System;
using System.ComponentModel;
using System.Collections;
using System.Diagnostics;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
using System.Drawing;
namespace MyControlLibrary
{
	/// <summary>
	/// Summary description for TabPage.
	/// </summary>
	public class TabPageEx : System.Windows.Forms.TabPage
	{
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;
      public TabPageEx(System.ComponentModel.IContainer container)
		{
			///
			/// Required for Windows.Forms Class Composition Designer support
			///
			container.Add(this);
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		public TabPageEx()
		{
			///
			/// Required for Windows.Forms Class Composition Designer support
			///
			InitializeComponent();
         
			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

   
      
		#region Component Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			components = new System.ComponentModel.Container();
               
         
		}
        public override string Text
        {
            get
            {
                return base.Text+"                                                 ";
            }
            set
            {
                base.Text = value;
            }
        }
        private ContextMenu ctxtMenu = null;
        public ContextMenu Menu
        {
            get
            {
                return this.ctxtMenu;
            }
            set
            {

                this.ctxtMenu = value;
            }
        }
        
          
      

		#endregion
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

vijayaprasen
Software Developer (Senior)
United States United States
worst fellow working as a consultant in a Telecom company (USA)
knows little bit on C,C++ and C# with 5+ years of experience.

| Advertise | Privacy | Mobile
Web03 | 2.8.140905.1 | Last Updated 24 Jun 2008
Article Copyright 2007 by vijayaprasen
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid