private void rdoDownTimeChart_CheckedChanged(object sender, EventArgs e) { this.downTimeChart = new DownTimeChart(); this.pnlChartContainer.Controls.Clear(); this.pnlChartContainer.Controls.Add(this.downTimeChart); UpdateChartData(); }
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); }