Пример #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="NuGenLinkLabelActionList"/> class.
        /// </summary>
        /// <exception cref="ArgumentNullException">
        /// <para><paramref name="linkLabel"/> is <see langword="null"/>.</para>
        /// </exception>
        public NuGenLinkLabelActionList(NuGenLinkLabel linkLabel)
            : base(linkLabel)
        {
            if (linkLabel == null)
            {
                throw new ArgumentNullException("linkLabel");
            }

            _linkLabel = linkLabel;
        }
		/// <summary>
		/// Initializes the designer with the specified component.
		/// </summary>
		/// <param name="component">The <see cref="T:System.ComponentModel.IComponent"></see> to associate the designer with. This component must always be an instance of, or derive from, <see cref="T:System.Windows.Forms.Control"></see>.</param>
		public override void Initialize(IComponent component)
		{
			_linkLabel = component as NuGenLinkLabel;
			base.Initialize(component);
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="NuGenLinkLabelActionList"/> class.
		/// </summary>
		/// <exception cref="ArgumentNullException">
		/// <para><paramref name="linkLabel"/> is <see langword="null"/>.</para>
		/// </exception>
		public NuGenLinkLabelActionList(NuGenLinkLabel linkLabel)
			: base(linkLabel)
		{
			if (linkLabel == null)
			{
				throw new ArgumentNullException("linkLabel");
			}

			_linkLabel = linkLabel;
		}
Пример #4
0
 /// <summary>
 /// Initializes the designer with the specified component.
 /// </summary>
 /// <param name="component">The <see cref="T:System.ComponentModel.IComponent"></see> to associate the designer with. This component must always be an instance of, or derive from, <see cref="T:System.Windows.Forms.Control"></see>.</param>
 public override void Initialize(IComponent component)
 {
     _linkLabel = component as NuGenLinkLabel;
     base.Initialize(component);
 }