public MainForm() { InitializeComponent(); // This line of code is generated by Data Source Configuration Wizard countriesTableAdapter1.Fill(countriesDBDataSet1.Countries); ViewFormatDesigner newFormatDesigner = new ViewFormatDesigner(pivotGridControl1); }
private void MainForm_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'countriesDBDataSet.Countries' table. You can move, or remove it, as needed. this.countriesTableAdapter.Fill(this.countriesDBDataSet.Countries); ViewFormatDesigner newFormatDesigner = new ViewFormatDesigner(gridViewMain); }