Example #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (openFileDialog1.ShowDialog() == DialogResult.OK)
     {
         this.Text = @openFileDialog1.FileName;
         table     = ChartTableFactory.CreateChartTable(openFileDialog1.FileName);
         this.dataGrid1.DataSource = table;
     }
 }
Example #2
0
 public ChartDataView()
 {
     InitializeComponent();
     table = ChartTableFactory.CreateChartTable();
     this.dataGrid1.DataSource = table;
 }