예제 #1
0
 private void rdoTemperature_CheckedChanged(object sender, EventArgs e)
 {
     this.programDataChart = new ProgramDataChart();
     this.pnlChartContainer.Controls.Clear();
     this.pnlChartContainer.Controls.Add(this.programDataChart);
     UpdateChartData(2);
 }
예제 #2
0
        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);
        }