コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="NuGenControlReflectorActionList"/> class.
        /// </summary>
        /// <exception cref="ArgumentNullException">
        /// <para><paramref name="ctrlReflector"/> is <see langword="null"/>.</para>
        /// </exception>
        public NuGenControlReflectorActionList(NuGenControlReflector ctrlReflector)
            : base(ctrlReflector)
        {
            if (ctrlReflector == null)
            {
                throw new ArgumentNullException("ctrlReflector");
            }

            _ctrlReflector = ctrlReflector;
        }
コード例 #2
0
 public void SetUp()
 {
     _dummyControl = new Control();
     _dummyParent  = new Form();
     _reflector    = new NuGenControlReflector();
 }
コード例 #3
0
		/// <summary>
		/// Initializes a new instance of the <see cref="NuGenControlReflectorActionList"/> class.
		/// </summary>
		/// <exception cref="ArgumentNullException">
		/// <para><paramref name="ctrlReflector"/> is <see langword="null"/>.</para>
		/// </exception>
		public NuGenControlReflectorActionList(NuGenControlReflector ctrlReflector)
			: base(ctrlReflector)
		{
			if (ctrlReflector == null)
			{
				throw new ArgumentNullException("ctrlReflector");
			}

			_ctrlReflector = ctrlReflector;
		}
コード例 #4
0
		/*
		 * Initialize
		 */

		/// <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)
		{
			_ctrlReflector = component as NuGenControlReflector;
			base.Initialize(component);
		}
コード例 #5
0
        /*
         * Initialize
         */

        /// <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)
        {
            _ctrlReflector = component as NuGenControlReflector;
            base.Initialize(component);
        }