/// <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; }
public void SetUp() { _dummyControl = new Control(); _dummyParent = new Form(); _reflector = new NuGenControlReflector(); }
/* * 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); }