/// <summary> /// Initializes a new instance of the DropDownContainer class with the /// specified DropDownCellEditor owner /// </summary> public DropDownContainer(DropDownCellEditor editor) : base() { if (editor == null) { throw new ArgumentNullException("editor", "DropDownCellEditor cannot be null"); } this.editor = editor; this.ControlBox = false; this.MaximizeBox = false; this.MinimizeBox = false; this.FormBorderStyle = FormBorderStyle.None; this.ShowInTaskbar = false; this.StartPosition = FormStartPosition.Manual; this.TabStop = false; this.TopMost = true; this.dropdownControl = null; this.panel = new Panel(); this.panel.AutoScroll = false; this.panel.BorderStyle = BorderStyle.FixedSingle; this.panel.Size = this.Size; this.Controls.Add(this.panel); this.SizeChanged += new EventHandler(DropDownContainer_SizeChanged); }
/// <summary> /// Initializes a new instance of the DropDownCellEditor class with the /// specified DropDownCellEditor owner /// </summary> /// <param name="owner">The DropDownCellEditor that owns the listener</param> public ActivationListener(DropDownCellEditor owner) : base() { this.owner = owner; }