Exemplo n.º 1
0
 private void InitializeComponents()
 {
     this.components = new System.ComponentModel.Container();
     if ((this.northwindDataSet == null))
     {
         // 如果此对象尚未从数据缓存加载,则实例化该对象。
         this.northwindDataSet = new DataContentControls.NorthwindDataSet();
     }
     this.tableAdapterManager    = new DataContentControls.NorthwindDataSetTableAdapters.TableAdapterManager();
     this.employeesTableAdapter  = new DataContentControls.NorthwindDataSetTableAdapters.EmployeesTableAdapter();
     this.employeesBindingSource = new System.Windows.Forms.BindingSource(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.ActionsPane)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.richTextContentControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.datePickerContentControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureContentControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupContentControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // ActionsPane
     //
     this.ActionsPane.AutoSize     = false;
     this.ActionsPane.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange;
     //
     // northwindDataSet
     //
     this.northwindDataSet.DataSetName             = "NorthwindDataSet";
     this.northwindDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // tableAdapterManager
     //
     this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
     this.tableAdapterManager.EmployeesTableAdapter     = this.employeesTableAdapter;
     this.tableAdapterManager.UpdateOrder = DataContentControls.NorthwindDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
     //
     // employeesTableAdapter
     //
     this.employeesTableAdapter.ClearBeforeFill = true;
     //
     // employeesBindingSource
     //
     this.employeesBindingSource.DataMember = "Employees";
     this.employeesBindingSource.DataSource = this.northwindDataSet;
     //
     // ThisDocument
     //
     ((System.ComponentModel.ISupportInitialize)(this.ActionsPane)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.richTextContentControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.datePickerContentControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureContentControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupContentControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Exemplo n.º 2
0
 private void InitializeComponents() {
     this.components = new System.ComponentModel.Container();
     if ((this.northwindDataSet == null)) {
         // 如果此对象尚未从数据缓存加载,则实例化该对象。
         this.northwindDataSet = new DataContentControls.NorthwindDataSet();
     }
     this.tableAdapterManager = new DataContentControls.NorthwindDataSetTableAdapters.TableAdapterManager();
     this.employeesTableAdapter = new DataContentControls.NorthwindDataSetTableAdapters.EmployeesTableAdapter();
     this.employeesBindingSource = new System.Windows.Forms.BindingSource(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.ActionsPane)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.richTextContentControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.datePickerContentControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureContentControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupContentControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     // 
     // ActionsPane
     // 
     this.ActionsPane.AutoSize = false;
     this.ActionsPane.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange;
     // 
     // northwindDataSet
     // 
     this.northwindDataSet.DataSetName = "NorthwindDataSet";
     this.northwindDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     // 
     // tableAdapterManager
     // 
     this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
     this.tableAdapterManager.EmployeesTableAdapter = this.employeesTableAdapter;
     this.tableAdapterManager.UpdateOrder = DataContentControls.NorthwindDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
     // 
     // employeesTableAdapter
     // 
     this.employeesTableAdapter.ClearBeforeFill = true;
     // 
     // employeesBindingSource
     // 
     this.employeesBindingSource.DataMember = "Employees";
     this.employeesBindingSource.DataSource = this.northwindDataSet;
     // 
     // ThisDocument
     // 
     ((System.ComponentModel.ISupportInitialize)(this.ActionsPane)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.richTextContentControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.datePickerContentControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plainTextContentControl9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureContentControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupContentControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }