private void button2_Click(object sender, EventArgs e) { IChart_Dev = ChartControlDevexpress as IChart; Control chart = IChart_Dev.CretaeUChart(); panel1.Controls.Clear(); chart.Parent = panel1; }
private void button1_Click(object sender, EventArgs e) { IChart_TeeChart = ChartControlTeeChart as IChart; Control chart = IChart_TeeChart.CretaeUChart(); panel1.Controls.Clear(); chart.Parent = panel1; }