private void tsmzoom_Click(object sender, EventArgs e) { //this.ChartAreas[0].AxisX.ScaleView.Zoomable = true; //this.ChartAreas[0].AxisX.ScrollBar.IsPositionedInside = true; Control c = this.Parent; chartcopy = this; ZoomedChart frm = new ZoomedChart(this); frm.WindowState = FormWindowState.Maximized; frm.ShowDialog(); c.Controls.Add(chartcopy); chartcopy.Invalidate(); chartcopy.Show(); }