Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="NuGenNavigationButtonCollection"/> class.
        /// </summary>
        /// <param name="owner"></param>
        /// <exception cref="ArgumentNullException">
        /// <para><paramref name="owner"/> is <see langword="null"/>.</para>
        /// </exception>
        public NuGenNavigationButtonCollection(NuGenNavigationBar owner)
        {
            if (owner == null)
            {
                throw new ArgumentNullException("owner");
            }

            _owner = owner;
        }
Exemple #2
0
            /// <summary>
            /// Initializes a new instance of the <see cref="NavigationPaneCollection"/> class.
            /// </summary>
            /// <exception cref="ArgumentNullException">
            /// <para><paramref name="navigationBar"/> is <see langword="null"/>.</para>
            /// </exception>
            public NavigationPaneCollection(NuGenNavigationBar navigationBar)
            {
                if (navigationBar == null)
                {
                    throw new ArgumentNullException("navigationBar");
                }

                _list          = new List <NuGenNavigationPane>();
                _navigationBar = navigationBar;
            }
			/// <summary>
			/// Initializes a new instance of the <see cref="NavigationPaneCollection"/> class.
			/// </summary>
			/// <exception cref="ArgumentNullException">
			/// <para><paramref name="navigationBar"/> is <see langword="null"/>.</para>
			/// </exception>
			public NavigationPaneCollection(NuGenNavigationBar navigationBar)
			{
				if (navigationBar == null)
				{
					throw new ArgumentNullException("navigationBar");
				}

				_list = new List<NuGenNavigationPane>();
				_navigationBar = navigationBar;
			}
		public NuGenSmoothNavigationBarActionList(NuGenNavigationBar navigationBar)
			: base(navigationBar)
		{
		}
		public override void Initialize(IComponent component)
		{
			Debug.Assert(component != null, "component != null");
			_navigationBar = (NuGenNavigationBar)component;
			base.Initialize(component);
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="NuGenNavigationButtonCollection"/> class.
		/// </summary>
		/// <param name="owner"></param>
		/// <exception cref="ArgumentNullException">
		/// <para><paramref name="owner"/> is <see langword="null"/>.</para>
		/// </exception>
		public NuGenNavigationButtonCollection(NuGenNavigationBar owner)
		{
			if (owner == null)
			{
				throw new ArgumentNullException("owner");
			}

			_owner = owner;
		}