예제 #1
0
        private void ExportBench1_Click(object sender, EventArgs e)
        {
            SaveFileDialog saveFileDialog1 = new SaveFileDialog();

            saveFileDialog1.Filter           = "PNG files (*.png)|*.png|All files (*.*)|*.*";
            saveFileDialog1.FilterIndex      = 1;
            saveFileDialog1.RestoreDirectory = true;
            if (saveFileDialog1.ShowDialog() == DialogResult.OK)
            {
                chartForm = new HiResChartForm();
                chartForm.DrawChart(sparcityBenchmark, "sparcity");
                chartForm.HiResolutionChart.SaveImage(saveFileDialog1.FileName, ChartImageFormat.Png);
            }
        }
예제 #2
0
 private void SparcityChart_Click(object sender, EventArgs e)
 {
     chartForm = new HiResChartForm();
     chartForm.DrawChart(sparcityBenchmark, "sparcity");
     chartForm.Show();
 }
예제 #3
0
 private void SizeChart_Click(object sender, EventArgs e)
 {
     chartForm = new HiResChartForm();
     chartForm.DrawChart(sizeBenchmark, "size");
     chartForm.Show();
 }