Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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();
        }