private void rdoTemperature_CheckedChanged(object sender, EventArgs e) { this.programDataChart = new ProgramDataChart(); this.pnlChartContainer.Controls.Clear(); this.pnlChartContainer.Controls.Add(this.programDataChart); UpdateChartData(2); }
public StatisticsForm() { InitializeComponent(); this.ReadLanguageResources(); this.yiedAndCapacityChart = new YiedAndCapacityChart(); this.yiedAndCapacityChart.Dock = DockStyle.Fill; this.ctChart = new CycleTimeChart(); this.ctChart.Dock = DockStyle.Fill; this.ngInfoChart = new NGInfoChart(); this.ctChart.Dock = DockStyle.Fill; this.downTimeChart = new DownTimeChart(); this.downTimeChart.Dock = DockStyle.Fill; this.programDataChart = new ProgramDataChart(); this.programDataChart.Dock = DockStyle.Fill; UpdateChartData(); this.pnlChartContainer.Controls.Add(this.yiedAndCapacityChart); }