Forex_Strategy_Builder.Command_Console.OnResize C# (CSharp) Method

OnResize() protected method

OnResize
protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void
        protected override void OnResize(EventArgs e)
        {
            base.OnResize(e);

            int border = 5;
            tbxInput.Width     = ClientSize.Width - 2 * border;
            tbxInput.Location  = new Point(border, ClientSize.Height - border - tbxInput.Height);
            tbxOutput.Width    = ClientSize.Width - 2 * border;
            tbxOutput.Height   = tbxInput.Top - 2 * border;
            tbxOutput.Location = new Point(border, border);
        }