private void InitializeComponents() { this.components = new System.ComponentModel.Container(); if ((this.northwindDataSet == null)) { // Instantiate the object if not yet loaded from the data cache. this.northwindDataSet = new Trin_VstcoreDataExcelCS.NorthwindDataSet(); } this.employeesTableAdapter = new Trin_VstcoreDataExcelCS.NorthwindDataSetTableAdapters.EmployeesTableAdapter(); this.employeesBindingSource = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.employeesListObject)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // button1 // this.button1.Name = "button1"; this.button1.Text = "button1"; // // northwindDataSet // this.northwindDataSet.DataSetName = "NorthwindDataSet"; // // employeesTableAdapter // this.employeesTableAdapter.ClearBeforeFill = true; // // employeesBindingSource // this.employeesBindingSource.DataMember = "Employees"; this.employeesBindingSource.DataSource = this.northwindDataSet; // // Sheet3 // ((System.ComponentModel.ISupportInitialize)(this.employeesListObject)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.button1.BindingContext = this.BindingContext; }
private void InitializeComponents() { this.components = new System.ComponentModel.Container(); if ((this.northwindDataSet == null)) { // Instantiate the object if not yet loaded from the data cache. this.northwindDataSet = new Trin_VstcoreDataExcelCS.NorthwindDataSet(); } this.customersTableAdapter = new Trin_VstcoreDataExcelCS.NorthwindDataSetTableAdapters.CustomersTableAdapter(); this.customersBindingSource = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.namedRange1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.customerIDNamedRange)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.companyNameNamedRange)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.customersBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // button1 // this.button1.Name = "button1"; this.button1.Text = "button1"; // // button2 // this.button2.Name = "button2"; this.button2.Text = "button2"; // // button3 // this.button3.Name = "button3"; this.button3.Text = "button3"; // // button4 // this.button4.Name = "button4"; this.button4.Text = "button4"; // // northwindDataSet // this.northwindDataSet.DataSetName = "NorthwindDataSet"; // // customersTableAdapter // this.customersTableAdapter.ClearBeforeFill = true; // // customersBindingSource // this.customersBindingSource.DataMember = "Customers"; this.customersBindingSource.DataSource = this.northwindDataSet; // // Sheet1 // ((System.ComponentModel.ISupportInitialize)(this.namedRange1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.customerIDNamedRange)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.companyNameNamedRange)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.customersBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.button1.BindingContext = this.BindingContext; this.button2.BindingContext = this.BindingContext; this.button3.BindingContext = this.BindingContext; this.button4.BindingContext = this.BindingContext; }