private void tabMainTab_SizeChanged(object sender, EventArgs e) { this.tabPlotDisplay.Size = new Size(this.tabMainTab.Size.Width - 8, this.tabMainTab.Size.Height - 26); }