CNCGUI.MainForm.MainForm_ResizeEnd C# (CSharp) Method

MainForm_ResizeEnd() private method

private MainForm_ResizeEnd ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void MainForm_ResizeEnd(object sender, EventArgs e)
        {
            LogColumn1.Width = Log.Width - SystemInformation.VerticalScrollBarWidth - Log.Margin.Left;
            columnGCode.Width = GCodes.Width - columnBP.Width - 2 * SystemInformation.BorderSize.Width - SystemInformation.VerticalScrollBarWidth - GCodes.Margin.Left;
            GPlotPicture.Scale(new SizeF((float)(GPlotPicture.Width / PLOT_X), (float)(GPlotPicture.Height / PLOT_Y)));
            GPlotPicture.Refresh();
        }