Exemplo n.º 1
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServiceGroupClass));
     this.dataSet1          = new System.Data.DataSet();
     this.khachang          = new System.Data.DataTable();
     this.dataColumn1       = new System.Data.DataColumn();
     this.dataColumn2       = new System.Data.DataColumn();
     this.dataColumn3       = new System.Data.DataColumn();
     this.reportManager1    = new PerpetuumSoft.Reporting.Components.ReportManager(this.components);
     this.dataTable1        = new System.Data.DataTable();
     this.dataColumn4       = new System.Data.DataColumn();
     this.dataColumn5       = new System.Data.DataColumn();
     this.dataColumn6       = new System.Data.DataColumn();
     this.dataColumn7       = new System.Data.DataColumn();
     this.dataColumn8       = new System.Data.DataColumn();
     this.inlineReportSlot1 = new PerpetuumSoft.Reporting.Components.InlineReportSlot(this.components);
     this.inlineReportSlot2 = new PerpetuumSoft.Reporting.Components.InlineReportSlot(this.components);
     this.inlineReportSlot3 = new PerpetuumSoft.Reporting.Components.InlineReportSlot(this.components);
     this.dataSet2          = new System.Data.DataSet();
     this.inlineReportSlot4 = new PerpetuumSoft.Reporting.Components.InlineReportSlot(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.khachang)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet2)).BeginInit();
     //
     // dataSet1
     //
     this.dataSet1.DataSetName = "NewDataSet";
     this.dataSet1.Tables.AddRange(new System.Data.DataTable[] {
         this.khachang
     });
     //
     // khachang
     //
     this.khachang.Columns.AddRange(new System.Data.DataColumn[] {
         this.dataColumn1,
         this.dataColumn2,
         this.dataColumn3
     });
     this.khachang.TableName = "KhacHang";
     //
     // dataColumn1
     //
     this.dataColumn1.ColumnName = "Name";
     //
     // dataColumn2
     //
     this.dataColumn2.ColumnName = "PhoneNumber";
     //
     // dataColumn3
     //
     this.dataColumn3.ColumnName = "Address";
     //
     // reportManager1
     //
     this.reportManager1.DataSources = new PerpetuumSoft.Reporting.Components.ObjectPointerCollection(new string[] {
         "KhachHang",
         "New_Name"
     }, new object[] {
         ((object)(this.khachang)),
         ((object)(this.dataTable1))
     });
     this.reportManager1.Reports.AddRange(new PerpetuumSoft.Reporting.Components.ReportSlot[] {
         this.inlineReportSlot1,
         this.inlineReportSlot2,
         this.inlineReportSlot3,
         this.inlineReportSlot4
     });
     //
     // dataTable1
     //
     this.dataTable1.Columns.AddRange(new System.Data.DataColumn[] {
         this.dataColumn4,
         this.dataColumn5,
         this.dataColumn6,
         this.dataColumn7,
         this.dataColumn8
     });
     this.dataTable1.TableName = "Member";
     //
     // dataColumn4
     //
     this.dataColumn4.ColumnName = "Name";
     //
     // dataColumn5
     //
     this.dataColumn5.ColumnName = "Old";
     //
     // dataColumn6
     //
     this.dataColumn6.ColumnName = "Address";
     //
     // dataColumn7
     //
     this.dataColumn7.ColumnName = "Provine";
     //
     // dataColumn8
     //
     this.dataColumn8.ColumnName = "Note";
     //
     // inlineReportSlot1
     //
     this.inlineReportSlot1.DocumentStream   = resources.GetString("inlineReportSlot1.DocumentStream");
     this.inlineReportSlot1.ReportName       = "KhachHangRP";
     this.inlineReportSlot1.ReportScriptType = typeof(PerpetuumSoft.Reporting.Rendering.ReportScriptBase);
     //
     // inlineReportSlot2
     //
     this.inlineReportSlot2.DocumentStream   = resources.GetString("inlineReportSlot2.DocumentStream");
     this.inlineReportSlot2.ReportName       = "Group";
     this.inlineReportSlot2.ReportScriptType = typeof(PerpetuumSoft.Reporting.Rendering.ReportScriptBase);
     //
     // inlineReportSlot3
     //
     this.inlineReportSlot3.DocumentStream   = resources.GetString("inlineReportSlot3.DocumentStream");
     this.inlineReportSlot3.ReportName       = "SidebySide";
     this.inlineReportSlot3.ReportScriptType = typeof(PerpetuumSoft.Reporting.Rendering.ReportScriptBase);
     //
     // dataSet2
     //
     this.dataSet2.DataSetName = "NewDataSet";
     this.dataSet2.Tables.AddRange(new System.Data.DataTable[] {
         this.dataTable1
     });
     //
     // inlineReportSlot4
     //
     this.inlineReportSlot4.DocumentStream   = resources.GetString("inlineReportSlot4.DocumentStream");
     this.inlineReportSlot4.ReportName       = "MultiBand";
     this.inlineReportSlot4.ReportScriptType = typeof(PerpetuumSoft.Reporting.Rendering.ReportScriptBase);
     //
     // ServiceGroupClass
     //
     this.ReportManager = this.reportManager1;
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.khachang)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet2)).EndInit();
 }
Exemplo n.º 2
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServiceClass));
     this.dataSet1          = new System.Data.DataSet();
     this.customers         = new System.Data.DataTable();
     this.dataColumn1       = new System.Data.DataColumn();
     this.dataColumn2       = new System.Data.DataColumn();
     this.dataColumn3       = new System.Data.DataColumn();
     this.dataColumn4       = new System.Data.DataColumn();
     this.inlineReportSlot1 = new PerpetuumSoft.Reporting.Components.InlineReportSlot(this.components);
     this.reportManager1    = new PerpetuumSoft.Reporting.Components.ReportManager(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.customers)).BeginInit();
     //
     // dataSet1
     //
     this.dataSet1.DataSetName = "NewDataSet";
     this.dataSet1.Tables.AddRange(new System.Data.DataTable[] {
         this.customers
     });
     //
     // customers
     //
     this.customers.Columns.AddRange(new System.Data.DataColumn[] {
         this.dataColumn1,
         this.dataColumn2,
         this.dataColumn3,
         this.dataColumn4
     });
     this.customers.TableName = "Customers";
     //
     // dataColumn1
     //
     this.dataColumn1.ColumnName = "Name";
     //
     // dataColumn2
     //
     this.dataColumn2.ColumnName = "Phone";
     //
     // dataColumn3
     //
     this.dataColumn3.ColumnName = "Email";
     //
     // dataColumn4
     //
     this.dataColumn4.ColumnName = "Active";
     //
     // inlineReportSlot1
     //
     this.inlineReportSlot1.DocumentStream   = resources.GetString("inlineReportSlot1.DocumentStream");
     this.inlineReportSlot1.ReportName       = "CustomersReport";
     this.inlineReportSlot1.ReportScriptType = typeof(PerpetuumSoft.Reporting.Rendering.ReportScriptBase);
     //
     // reportManager1
     //
     this.reportManager1.DataSources = new PerpetuumSoft.Reporting.Components.ObjectPointerCollection(new string[] {
         "Customers"
     }, new object[] {
         ((object)(this.customers))
     });
     this.reportManager1.Reports.AddRange(new PerpetuumSoft.Reporting.Components.ReportSlot[] {
         this.inlineReportSlot1
     });
     //
     // ServiceClass
     //
     this.ReportManager = this.reportManager1;
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.customers)).EndInit();
 }