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();
}