AnimatGuiCtrls.Controls.DropDownControlBase.OnSizeChanged C# (CSharp) Method

OnSizeChanged() protected method

Recalculates the bounds for the dropdown button when the control's size changes.
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void
        protected override void OnSizeChanged(EventArgs e)
        {
            base.OnSizeChanged(e);
            dropDownButtonBounds = new Rectangle(ClientSize.Width - DROPDOWNBUTTON_WIDTH, 0, DROPDOWNBUTTON_WIDTH, ClientSize.Height);
        }