Ejemplo n.º 1
0
            /// <summary>
            /// Initializes a new instance of the <see cref="TabPageCollection"/> class.
            /// </summary>
            /// <exception cref="ArgumentNullException">
            /// <para>
            ///		<paramref name="tabControl"/> is <see langword="null"/>.
            /// </para>
            /// </exception>
            public TabPageCollection(NuGenTabControl tabControl)
            {
                if (tabControl == null)
                {
                    throw new ArgumentNullException("tabControl");
                }

                _tabControl = tabControl;
            }
		public NuGenSmoothTabControlActionList(NuGenTabControl tabControl)
			: base(tabControl)
		{
		}
			/// <summary>
			/// Initializes a new instance of the <see cref="TabPageCollection"/> class.
			/// </summary>
			/// <exception cref="ArgumentNullException">
			/// <para>
			///		<paramref name="tabControl"/> is <see langword="null"/>.
			/// </para>
			/// </exception>
			public TabPageCollection(NuGenTabControl tabControl)
			{
				if (tabControl == null)
				{
					throw new ArgumentNullException("tabControl");
				}

				_list = new List<NuGenTabPage>();
				_tabControl = tabControl;
			}
		public override void Initialize(IComponent component)
		{
			Debug.Assert(component != null, "component != null");
			_tabControl = (NuGenTabControl)component;
			base.Initialize(component);
		}