private void InitializeComponent() { this.components = new Container(); System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle(); this.loadWorker = new BackgroundWorker(); this.dgvCounterIndicationsSid = new System.Windows.Forms.DataGridView(); this.bsCounterIndicationsSid = new System.Windows.Forms.BindingSource(this.components); this.gbFilter = new System.Windows.Forms.GroupBox(); this.selectServices = new AIS.SN.UI.Controls.ReportSelectors.SelectServices(); this.label2 = new System.Windows.Forms.Label(); this.datePeriod = new DatePeriod(); this.btnFind = new System.Windows.Forms.Button(); this.selectServiceTypes = new SelectServiceTypes(); this.label1 = new System.Windows.Forms.Label(); this.lblService = new System.Windows.Forms.Label(); this.btnRecalc = new System.Windows.Forms.Button(); this.recalcWorker = new BackgroundWorker(); this.btnLoad = new System.Windows.Forms.Button(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.AccountNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.AddressName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.DataCreated = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.counterNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.lastIndicationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.indicationDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.summRecalcDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.errorDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.errorMessageDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.groupOperIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.isPaymentDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dgvCounterIndicationsSid.BeginInit(); this.bsCounterIndicationsSid.BeginInit(); this.gbFilter.SuspendLayout(); base.SuspendLayout(); this.loadWorker.add_DoWork(new DoWorkEventHandler(this.loadWorker_DoWork)); this.loadWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.loadWorker_RunWorkerCompleted)); this.dgvCounterIndicationsSid.set_AllowUserToAddRows(false); this.dgvCounterIndicationsSid.set_AllowUserToDeleteRows(false); this.dgvCounterIndicationsSid.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top); this.dgvCounterIndicationsSid.set_AutoGenerateColumns(false); this.dgvCounterIndicationsSid.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvCounterIndicationsSid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.AccountNumber, this.AddressName, this.DataCreated, this.counterNameDataGridViewTextBoxColumn, this.lastIndicationDataGridViewTextBoxColumn, this.indicationDateDataGridViewTextBoxColumn, this.summRecalcDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn, this.errorDataGridViewTextBoxColumn, this.errorMessageDataGridViewTextBoxColumn, this.groupOperIdDataGridViewTextBoxColumn, this.isPaymentDataGridViewCheckBoxColumn, this.idDataGridViewTextBoxColumn }); this.dgvCounterIndicationsSid.set_DataSource(this.bsCounterIndicationsSid); this.dgvCounterIndicationsSid.set_Location(new System.Drawing.Point(0, 0x83)); this.dgvCounterIndicationsSid.set_Name("dgvCounterIndicationsSid"); this.dgvCounterIndicationsSid.set_ReadOnly(true); this.dgvCounterIndicationsSid.set_RowHeadersVisible(false); this.dgvCounterIndicationsSid.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect); this.dgvCounterIndicationsSid.set_Size(new System.Drawing.Size(0x2bd, 0x1c0)); this.dgvCounterIndicationsSid.set_TabIndex(0); this.bsCounterIndicationsSid.set_DataSource(typeof(ExtCounterIndicationSid)); this.gbFilter.Controls.Add(this.selectServices); this.gbFilter.Controls.Add(this.label2); this.gbFilter.Controls.Add(this.datePeriod); this.gbFilter.Controls.Add(this.btnFind); this.gbFilter.Controls.Add(this.selectServiceTypes); this.gbFilter.Controls.Add(this.label1); this.gbFilter.Controls.Add(this.lblService); this.gbFilter.set_Dock(System.Windows.Forms.DockStyle.Top); this.gbFilter.set_Location(new System.Drawing.Point(0, 0)); this.gbFilter.set_Name("gbFilter"); this.gbFilter.set_Size(new System.Drawing.Size(0x2bd, 0x7d)); this.gbFilter.set_TabIndex(2); this.gbFilter.set_TabStop(false); this.gbFilter.set_Text("Фильтр"); this.selectServices.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.selectServices.IsByUser = false; this.selectServices.set_Location(new System.Drawing.Point(0x4b, 0x39)); this.selectServices.set_Name("selectServices"); this.selectServices.set_Size(new System.Drawing.Size(0x1ff, 20)); this.selectServices.set_TabIndex(11); this.label2.set_AutoSize(true); this.label2.set_Location(new System.Drawing.Point(7, 0x5e)); this.label2.set_Name("label2"); this.label2.set_Size(new System.Drawing.Size(0x2d, 13)); this.label2.set_TabIndex(10); this.label2.set_Text("Период"); this.datePeriod.AttachToPeriod = false; this.datePeriod.DateBeginReadonly = false; this.datePeriod.DateEndReadonly = false; this.datePeriod.set_Location(new System.Drawing.Point(0x49, 90)); this.datePeriod.set_Margin(new System.Windows.Forms.Padding(4)); this.datePeriod.set_Name("datePeriod"); this.datePeriod.set_Size(new System.Drawing.Size(0xe9, 0x17)); this.datePeriod.set_TabIndex(9); this.btnFind.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top); this.btnFind.set_Location(new System.Drawing.Point(0x250, 0x13)); this.btnFind.set_Name("btnFind"); this.btnFind.set_Size(new System.Drawing.Size(0x61, 0x3a)); this.btnFind.set_TabIndex(8); this.btnFind.set_Text("Поиск"); this.btnFind.set_UseVisualStyleBackColor(true); this.btnFind.add_Click(new System.EventHandler(this.btnFind_Click)); this.selectServiceTypes.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.selectServiceTypes.IsByUser = false; this.selectServiceTypes.set_Location(new System.Drawing.Point(0x4b, 0x13)); this.selectServiceTypes.set_Name("selectServiceTypes"); this.selectServiceTypes.set_Size(new System.Drawing.Size(0x1ff, 20)); this.selectServiceTypes.set_TabIndex(3); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(7, 0x13)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0x40, 13)); this.label1.set_TabIndex(2); this.label1.set_Text("Типы услуг"); this.lblService.set_AutoSize(true); this.lblService.set_Location(new System.Drawing.Point(7, 0x39)); this.lblService.set_Name("lblService"); this.lblService.set_Size(new System.Drawing.Size(0x2b, 13)); this.lblService.set_TabIndex(1); this.lblService.set_Text("Услуги"); this.btnRecalc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.btnRecalc.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft); this.btnRecalc.set_Location(new System.Drawing.Point(0x21a, 0x24d)); this.btnRecalc.set_Name("btnRecalc"); this.btnRecalc.set_Size(new System.Drawing.Size(0x9a, 0x22)); this.btnRecalc.set_TabIndex(3); this.btnRecalc.set_Text("Проведение"); this.btnRecalc.set_UseVisualStyleBackColor(true); this.btnRecalc.add_Click(new System.EventHandler(this.btnRecalc_Click)); this.recalcWorker.add_DoWork(new DoWorkEventHandler(this.recalcWorker_DoWork)); this.recalcWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.recalcWorker_RunWorkerCompleted)); this.btnLoad.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.btnLoad.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft); this.btnLoad.set_Location(new System.Drawing.Point(0x17a, 0x24d)); this.btnLoad.set_Name("btnLoad"); this.btnLoad.set_Size(new System.Drawing.Size(0x9a, 0x22)); this.btnLoad.set_TabIndex(4); this.btnLoad.set_Text("Загрузка показаний"); this.btnLoad.set_UseVisualStyleBackColor(true); this.btnLoad.add_Click(new System.EventHandler(this.btnLoad_Click)); this.dataGridViewTextBoxColumn1.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells); this.dataGridViewTextBoxColumn1.set_DataPropertyName("CounterName"); this.dataGridViewTextBoxColumn1.set_HeaderText("Счетчик"); this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1"); this.dataGridViewTextBoxColumn1.set_ReadOnly(true); this.dataGridViewTextBoxColumn2.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells); this.dataGridViewTextBoxColumn2.set_DataPropertyName("LastIndication"); this.dataGridViewTextBoxColumn2.set_HeaderText("Последнее показание"); this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2"); this.dataGridViewTextBoxColumn2.set_ReadOnly(true); this.dataGridViewTextBoxColumn3.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells); this.dataGridViewTextBoxColumn3.set_DataPropertyName("IndicationDate"); this.dataGridViewTextBoxColumn3.set_HeaderText("Дата показаний"); this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3"); this.dataGridViewTextBoxColumn3.set_ReadOnly(true); this.dataGridViewTextBoxColumn4.set_DataPropertyName("FromDate"); this.dataGridViewTextBoxColumn4.set_HeaderText("Дата начала"); this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4"); this.dataGridViewTextBoxColumn4.set_ReadOnly(true); this.dataGridViewTextBoxColumn5.set_DataPropertyName("ToDate"); this.dataGridViewTextBoxColumn5.set_HeaderText("Дата конца"); this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5"); this.dataGridViewTextBoxColumn5.set_ReadOnly(true); this.dataGridViewTextBoxColumn6.set_DataPropertyName("SummRecalc"); this.dataGridViewTextBoxColumn6.set_HeaderText("Сумма перерасчета"); this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6"); this.dataGridViewTextBoxColumn6.set_ReadOnly(true); this.dataGridViewTextBoxColumn7.set_DataPropertyName("Error"); this.dataGridViewTextBoxColumn7.set_HeaderText("Код ошибки"); this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7"); this.dataGridViewTextBoxColumn7.set_ReadOnly(true); this.dataGridViewTextBoxColumn8.set_DataPropertyName("ErrorMessage"); this.dataGridViewTextBoxColumn8.set_HeaderText("Сообщение ошибки"); this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8"); this.dataGridViewTextBoxColumn8.set_ReadOnly(true); this.dataGridViewTextBoxColumn9.set_DataPropertyName("GroupOperId"); this.dataGridViewTextBoxColumn9.set_HeaderText("Номер групповой операции"); this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9"); this.dataGridViewTextBoxColumn9.set_ReadOnly(true); this.dataGridViewTextBoxColumn10.set_DataPropertyName("ServiceTypeName"); this.dataGridViewTextBoxColumn10.set_HeaderText("Тип услуги"); this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10"); this.dataGridViewTextBoxColumn10.set_ReadOnly(true); this.dataGridViewTextBoxColumn11.set_DataPropertyName("ServiceName"); this.dataGridViewTextBoxColumn11.set_HeaderText("Услуга"); this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11"); this.dataGridViewTextBoxColumn11.set_ReadOnly(true); this.dataGridViewTextBoxColumn12.set_DataPropertyName("RequestId"); this.dataGridViewTextBoxColumn12.set_HeaderText("RequestId"); this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12"); this.dataGridViewTextBoxColumn12.set_ReadOnly(true); this.dataGridViewTextBoxColumn12.set_Visible(false); this.dataGridViewTextBoxColumn13.set_DataPropertyName("CalcId"); this.dataGridViewTextBoxColumn13.set_HeaderText("CalcId"); this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13"); this.dataGridViewTextBoxColumn13.set_ReadOnly(true); this.dataGridViewTextBoxColumn13.set_Visible(false); this.dataGridViewTextBoxColumn14.set_DataPropertyName("SidId"); this.dataGridViewTextBoxColumn14.set_HeaderText("SidId"); this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14"); this.dataGridViewTextBoxColumn14.set_ReadOnly(true); this.dataGridViewTextBoxColumn14.set_Visible(false); this.dataGridViewTextBoxColumn15.set_DataPropertyName("CounterId"); this.dataGridViewTextBoxColumn15.set_HeaderText("CounterId"); this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15"); this.dataGridViewTextBoxColumn15.set_ReadOnly(true); this.dataGridViewTextBoxColumn15.set_Visible(false); this.dataGridViewTextBoxColumn16.set_DataPropertyName("ServiceId"); this.dataGridViewTextBoxColumn16.set_HeaderText("ServiceId"); this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16"); this.dataGridViewTextBoxColumn16.set_ReadOnly(true); this.dataGridViewTextBoxColumn16.set_Visible(false); this.dataGridViewTextBoxColumn17.set_DataPropertyName("Id"); this.dataGridViewTextBoxColumn17.set_HeaderText("Id"); this.dataGridViewTextBoxColumn17.set_Name("dataGridViewTextBoxColumn17"); this.dataGridViewTextBoxColumn17.set_ReadOnly(true); this.dataGridViewTextBoxColumn17.set_Visible(false); this.dataGridViewTextBoxColumn18.set_DataPropertyName("AccountServiceId"); this.dataGridViewTextBoxColumn18.set_HeaderText("AccountServiceId"); this.dataGridViewTextBoxColumn18.set_Name("dataGridViewTextBoxColumn18"); this.dataGridViewTextBoxColumn18.set_ReadOnly(true); this.dataGridViewTextBoxColumn18.set_Visible(false); this.AccountNumber.set_DataPropertyName("AccountNumber"); this.AccountNumber.set_HeaderText("Лиц. счет"); this.AccountNumber.set_Name("AccountNumber"); this.AccountNumber.set_ReadOnly(true); this.AddressName.set_DataPropertyName("AddressName"); this.AddressName.set_HeaderText("Адрес"); this.AddressName.set_Name("AddressName"); this.AddressName.set_ReadOnly(true); this.DataCreated.set_DataPropertyName("DataCreated"); style.set_Format("d"); style.set_NullValue(null); this.DataCreated.set_DefaultCellStyle(style); this.DataCreated.set_HeaderText("Дата"); this.DataCreated.set_Name("DataCreated"); this.DataCreated.set_ReadOnly(true); this.counterNameDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells); this.counterNameDataGridViewTextBoxColumn.set_DataPropertyName("CounterName"); this.counterNameDataGridViewTextBoxColumn.set_HeaderText("Счетчик"); this.counterNameDataGridViewTextBoxColumn.set_Name("counterNameDataGridViewTextBoxColumn"); this.counterNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.counterNameDataGridViewTextBoxColumn.set_Width(0x48); this.lastIndicationDataGridViewTextBoxColumn.set_DataPropertyName("LastIndication"); this.lastIndicationDataGridViewTextBoxColumn.set_HeaderText("Последнее показание"); this.lastIndicationDataGridViewTextBoxColumn.set_Name("lastIndicationDataGridViewTextBoxColumn"); this.lastIndicationDataGridViewTextBoxColumn.set_ReadOnly(true); this.indicationDateDataGridViewTextBoxColumn.set_DataPropertyName("IndicationDate"); this.indicationDateDataGridViewTextBoxColumn.set_HeaderText("Дата показаний"); this.indicationDateDataGridViewTextBoxColumn.set_Name("indicationDateDataGridViewTextBoxColumn"); this.indicationDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.summRecalcDataGridViewTextBoxColumn.set_DataPropertyName("SummRecalc"); this.summRecalcDataGridViewTextBoxColumn.set_HeaderText("Сумма перерасчета"); this.summRecalcDataGridViewTextBoxColumn.set_Name("summRecalcDataGridViewTextBoxColumn"); this.summRecalcDataGridViewTextBoxColumn.set_ReadOnly(true); this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate"); this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Дата начала"); this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn"); this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate"); this.toDateDataGridViewTextBoxColumn.set_HeaderText("Дата конца"); this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn"); this.toDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.errorDataGridViewTextBoxColumn.set_DataPropertyName("Error"); this.errorDataGridViewTextBoxColumn.set_HeaderText("Код ошибки"); this.errorDataGridViewTextBoxColumn.set_Name("errorDataGridViewTextBoxColumn"); this.errorDataGridViewTextBoxColumn.set_ReadOnly(true); this.errorMessageDataGridViewTextBoxColumn.set_DataPropertyName("ErrorMessage"); this.errorMessageDataGridViewTextBoxColumn.set_HeaderText("Сообщение ошибки"); this.errorMessageDataGridViewTextBoxColumn.set_Name("errorMessageDataGridViewTextBoxColumn"); this.errorMessageDataGridViewTextBoxColumn.set_ReadOnly(true); this.groupOperIdDataGridViewTextBoxColumn.set_DataPropertyName("GroupOperId"); this.groupOperIdDataGridViewTextBoxColumn.set_HeaderText("Номер групповой операции"); this.groupOperIdDataGridViewTextBoxColumn.set_Name("groupOperIdDataGridViewTextBoxColumn"); this.groupOperIdDataGridViewTextBoxColumn.set_ReadOnly(true); this.isPaymentDataGridViewCheckBoxColumn.set_DataPropertyName("IsPayment"); this.isPaymentDataGridViewCheckBoxColumn.set_HeaderText("Платеж"); this.isPaymentDataGridViewCheckBoxColumn.set_Name("isPaymentDataGridViewCheckBoxColumn"); this.isPaymentDataGridViewCheckBoxColumn.set_ReadOnly(true); this.isPaymentDataGridViewCheckBoxColumn.set_Width(50); this.idDataGridViewTextBoxColumn.set_DataPropertyName("Id"); this.idDataGridViewTextBoxColumn.set_HeaderText("Id"); this.idDataGridViewTextBoxColumn.set_Name("idDataGridViewTextBoxColumn"); this.idDataGridViewTextBoxColumn.set_ReadOnly(true); this.idDataGridViewTextBoxColumn.set_Visible(false); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(0x2bd, 0x277)); base.Controls.Add(this.btnLoad); base.Controls.Add(this.btnRecalc); base.Controls.Add(this.gbFilter); base.Controls.Add(this.dgvCounterIndicationsSid); base.set_Name("SidCounterIndicationsForm"); this.set_Text("Показания приборов учета из СПУН"); base.set_WindowState(System.Windows.Forms.FormWindowState.Maximized); base.add_Load(new System.EventHandler(this.SidCounterIndicationsForm_Load)); this.dgvCounterIndicationsSid.EndInit(); this.bsCounterIndicationsSid.EndInit(); this.gbFilter.ResumeLayout(false); this.gbFilter.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = new Container(); System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle style2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle style3 = new System.Windows.Forms.DataGridViewCellStyle(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.Generate = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.Search = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.cbTypeUse = new System.Windows.Forms.ComboBox(); this.Upload = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.dgvRemitteePaymentOrders = new System.Windows.Forms.DataGridView(); this.CheckColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.workerRemitteePayOrder = new BackgroundWorker(); this.sfdDBF = new System.Windows.Forms.SaveFileDialog(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.numberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.remitteeOrgShortNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.clientDocOrgNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.summDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.createdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bsRemitteePaymentOrders = new System.Windows.Forms.BindingSource(this.components); this.selectServices = new AIS.SN.UI.Controls.ReportSelectors.SelectServices(); this.selectClient = new SelectOrganization(); this.selectRemittee = new SelectOrganization(); this.datePeriod = new DatePeriod(); this.dateBox = new DateBox(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bsUseType = new System.Windows.Forms.BindingSource(this.components); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.dgvRemitteePaymentOrders.BeginInit(); this.bsRemitteePaymentOrders.BeginInit(); this.bsUseType.BeginInit(); base.SuspendLayout(); this.groupBox1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.groupBox1.Controls.Add(this.Generate); this.groupBox1.Controls.Add(this.dateBox); this.groupBox1.Controls.Add(this.label1); this.groupBox1.set_Location(new System.Drawing.Point(6, 3)); this.groupBox1.set_Name("groupBox1"); this.groupBox1.set_Size(new System.Drawing.Size(0x1df, 0x36)); this.groupBox1.set_TabIndex(0); this.groupBox1.set_TabStop(false); this.groupBox1.set_Text("Формирование"); this.Generate.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top); this.Generate.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight); this.Generate.set_Location(new System.Drawing.Point(0x158, 0x12)); this.Generate.set_Name("Generate"); this.Generate.set_Size(new System.Drawing.Size(0x7e, 30)); this.Generate.set_TabIndex(2); this.Generate.set_Text("Сформировать"); this.Generate.set_UseVisualStyleBackColor(true); this.Generate.add_Click(new System.EventHandler(this.Generate_Click)); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(9, 0x1b)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0x2e, 13)); this.label1.set_TabIndex(0); this.label1.set_Text("На дату"); this.groupBox2.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.groupBox2.Controls.Add(this.Search); this.groupBox2.Controls.Add(this.selectClient); this.groupBox2.Controls.Add(this.selectRemittee); this.groupBox2.Controls.Add(this.datePeriod); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.label2); this.groupBox2.set_Location(new System.Drawing.Point(6, 0x39)); this.groupBox2.set_Name("groupBox2"); this.groupBox2.set_Size(new System.Drawing.Size(0x1df, 0x68)); this.groupBox2.set_TabIndex(1); this.groupBox2.set_TabStop(false); this.groupBox2.set_Text("Поиск"); this.Search.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top); this.Search.set_Location(new System.Drawing.Point(0x158, 0x44)); this.Search.set_Name("Search"); this.Search.set_Size(new System.Drawing.Size(0x7e, 30)); this.Search.set_TabIndex(7); this.Search.set_Text("Поиск"); this.Search.set_UseVisualStyleBackColor(true); this.Search.add_Click(new System.EventHandler(this.Search_Click)); this.label4.set_AutoSize(true); this.label4.set_Location(new System.Drawing.Point(9, 0x4a)); this.label4.set_Name("label4"); this.label4.set_Size(new System.Drawing.Size(0x4b, 13)); this.label4.set_TabIndex(3); this.label4.set_Text("Даты оплаты"); this.label3.set_AutoSize(true); this.label3.set_Location(new System.Drawing.Point(9, 0x2d)); this.label3.set_Name("label3"); this.label3.set_Size(new System.Drawing.Size(0x24, 13)); this.label3.set_TabIndex(2); this.label3.set_Text("Агент"); this.label2.set_AutoSize(true); this.label2.set_Location(new System.Drawing.Point(9, 0x10)); this.label2.set_Name("label2"); this.label2.set_Size(new System.Drawing.Size(0x55, 13)); this.label2.set_TabIndex(1); this.label2.set_Text("Получатель ДС"); this.groupBox3.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.groupBox3.Controls.Add(this.selectServices); this.groupBox3.Controls.Add(this.cbTypeUse); this.groupBox3.Controls.Add(this.Upload); this.groupBox3.Controls.Add(this.label6); this.groupBox3.Controls.Add(this.label5); this.groupBox3.set_Location(new System.Drawing.Point(6, 0xa1)); this.groupBox3.set_Name("groupBox3"); this.groupBox3.set_Size(new System.Drawing.Size(0x1df, 0x57)); this.groupBox3.set_TabIndex(1); this.groupBox3.set_TabStop(false); this.groupBox3.set_Text("Выгрузка"); this.cbTypeUse.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.cbTypeUse.set_DataSource(this.bsUseType); this.cbTypeUse.set_FormattingEnabled(true); this.cbTypeUse.set_Location(new System.Drawing.Point(110, 0x2b)); this.cbTypeUse.set_Name("cbTypeUse"); this.cbTypeUse.set_Size(new System.Drawing.Size(0xde, 0x15)); this.cbTypeUse.set_TabIndex(5); this.Upload.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top); this.Upload.set_Location(new System.Drawing.Point(0x158, 0x30)); this.Upload.set_Name("Upload"); this.Upload.set_Size(new System.Drawing.Size(0x7e, 30)); this.Upload.set_TabIndex(4); this.Upload.set_Text("Выгрузить"); this.Upload.set_UseVisualStyleBackColor(true); this.Upload.add_Click(new System.EventHandler(this.Upload_Click)); this.label6.set_AutoSize(true); this.label6.set_Location(new System.Drawing.Point(9, 0x10)); this.label6.set_Name("label6"); this.label6.set_Size(new System.Drawing.Size(0x2b, 13)); this.label6.set_TabIndex(3); this.label6.set_Text("Услуги"); this.label5.set_AutoSize(true); this.label5.set_Location(new System.Drawing.Point(9, 0x2e)); this.label5.set_Name("label5"); this.label5.set_Size(new System.Drawing.Size(0x62, 13)); this.label5.set_TabIndex(2); this.label5.set_Text("Назначение и вид"); this.dgvRemitteePaymentOrders.set_AllowUserToAddRows(false); this.dgvRemitteePaymentOrders.set_AllowUserToResizeRows(false); this.dgvRemitteePaymentOrders.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top); this.dgvRemitteePaymentOrders.set_AutoGenerateColumns(false); this.dgvRemitteePaymentOrders.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells); style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft); style.set_BackColor(System.Drawing.SystemColors.Control); style.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc)); style.set_ForeColor(System.Drawing.SystemColors.WindowText); style.set_SelectionBackColor(System.Drawing.SystemColors.Highlight); style.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText); style.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True); this.dgvRemitteePaymentOrders.set_ColumnHeadersDefaultCellStyle(style); this.dgvRemitteePaymentOrders.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvRemitteePaymentOrders.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.CheckColumn, this.Id, this.numberDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.remitteeOrgShortNameDataGridViewTextBoxColumn, this.clientDocOrgNameDataGridViewTextBoxColumn, this.summDataGridViewTextBoxColumn, this.createdDataGridViewTextBoxColumn }); this.dgvRemitteePaymentOrders.set_DataSource(this.bsRemitteePaymentOrders); style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft); style2.set_BackColor(System.Drawing.SystemColors.Window); style2.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc)); style2.set_ForeColor(System.Drawing.SystemColors.ControlText); style2.set_SelectionBackColor(System.Drawing.SystemColors.Highlight); style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText); style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False); this.dgvRemitteePaymentOrders.set_DefaultCellStyle(style2); this.dgvRemitteePaymentOrders.set_Location(new System.Drawing.Point(6, 0xfb)); this.dgvRemitteePaymentOrders.set_Name("dgvRemitteePaymentOrders"); style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft); style3.set_BackColor(System.Drawing.SystemColors.Control); style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc)); style3.set_ForeColor(System.Drawing.SystemColors.WindowText); style3.set_SelectionBackColor(System.Drawing.SystemColors.Highlight); style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText); style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True); this.dgvRemitteePaymentOrders.set_RowHeadersDefaultCellStyle(style3); this.dgvRemitteePaymentOrders.set_RowHeadersVisible(false); this.dgvRemitteePaymentOrders.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect); this.dgvRemitteePaymentOrders.set_Size(new System.Drawing.Size(0x1df, 0xe2)); this.dgvRemitteePaymentOrders.set_TabIndex(2); this.CheckColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.CheckColumn.set_HeaderText("Выбор"); this.CheckColumn.set_Name("CheckColumn"); this.CheckColumn.set_Width(0x2e); this.workerRemitteePayOrder.add_DoWork(new DoWorkEventHandler(this.workerRemitteePayOrder_DoWork)); this.workerRemitteePayOrder.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.workerRemitteePayOrder_RunWorkerCompleted)); this.sfdDBF.set_DefaultExt("dbf"); this.dataGridViewTextBoxColumn1.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.dataGridViewTextBoxColumn1.set_DataPropertyName("Number"); this.dataGridViewTextBoxColumn1.set_HeaderText("Номер"); this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1"); this.dataGridViewTextBoxColumn1.set_ReadOnly(true); this.dataGridViewTextBoxColumn1.set_Visible(false); this.dataGridViewTextBoxColumn1.set_Width(0x29); this.Id.set_DataPropertyName("Id"); this.Id.set_HeaderText("Id"); this.Id.set_Name("Id"); this.Id.set_ReadOnly(true); this.Id.set_Visible(false); this.Id.set_Width(0x29); this.numberDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.numberDataGridViewTextBoxColumn.set_DataPropertyName("Number"); this.numberDataGridViewTextBoxColumn.set_HeaderText("Номер"); this.numberDataGridViewTextBoxColumn.set_Name("numberDataGridViewTextBoxColumn"); this.numberDataGridViewTextBoxColumn.set_ReadOnly(true); this.numberDataGridViewTextBoxColumn.set_Width(0x42); this.fromDateDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate"); this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Дата"); this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn"); this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.fromDateDataGridViewTextBoxColumn.set_Width(0x3a); this.remitteeOrgShortNameDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.remitteeOrgShortNameDataGridViewTextBoxColumn.set_DataPropertyName("RemitteeOrgShortName"); this.remitteeOrgShortNameDataGridViewTextBoxColumn.set_HeaderText("Получатель"); this.remitteeOrgShortNameDataGridViewTextBoxColumn.set_Name("remitteeOrgShortNameDataGridViewTextBoxColumn"); this.remitteeOrgShortNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.remitteeOrgShortNameDataGridViewTextBoxColumn.set_Width(0x5b); this.clientDocOrgNameDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.clientDocOrgNameDataGridViewTextBoxColumn.set_DataPropertyName("ClientDocOrgName"); this.clientDocOrgNameDataGridViewTextBoxColumn.set_HeaderText("Агент"); this.clientDocOrgNameDataGridViewTextBoxColumn.set_Name("clientDocOrgNameDataGridViewTextBoxColumn"); this.clientDocOrgNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.clientDocOrgNameDataGridViewTextBoxColumn.set_Width(0x3d); this.summDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.summDataGridViewTextBoxColumn.set_DataPropertyName("Summ"); this.summDataGridViewTextBoxColumn.set_HeaderText("Сумма"); this.summDataGridViewTextBoxColumn.set_Name("summDataGridViewTextBoxColumn"); this.summDataGridViewTextBoxColumn.set_ReadOnly(true); this.summDataGridViewTextBoxColumn.set_Width(0x42); this.createdDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.createdDataGridViewTextBoxColumn.set_DataPropertyName("Created"); this.createdDataGridViewTextBoxColumn.set_HeaderText("Дата создания"); this.createdDataGridViewTextBoxColumn.set_Name("createdDataGridViewTextBoxColumn"); this.createdDataGridViewTextBoxColumn.set_ReadOnly(true); this.bsRemitteePaymentOrders.set_DataSource(typeof(RemitteePaymentOrder)); this.selectServices.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.selectServices.IsByUser = false; this.selectServices.set_Location(new System.Drawing.Point(110, 13)); this.selectServices.set_Name("selectServices"); this.selectServices.set_Size(new System.Drawing.Size(360, 0x18)); this.selectServices.set_TabIndex(7); this.selectClient.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.selectClient.IsCashlessTransferrer = false; this.selectClient.IsHouseHolder = false; this.selectClient.IsPaymentAgent = false; this.selectClient.IsResourceProvider = false; this.selectClient.IsServiceProvider = false; this.selectClient.set_Location(new System.Drawing.Point(110, 0x2a)); this.selectClient.set_Name("selectClient"); this.selectClient.set_Size(new System.Drawing.Size(360, 20)); this.selectClient.set_TabIndex(6); this.selectRemittee.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.selectRemittee.IsCashlessTransferrer = false; this.selectRemittee.IsHouseHolder = false; this.selectRemittee.IsPaymentAgent = false; this.selectRemittee.IsResourceProvider = false; this.selectRemittee.IsServiceProvider = false; this.selectRemittee.set_Location(new System.Drawing.Point(110, 12)); this.selectRemittee.set_Name("selectRemittee"); this.selectRemittee.set_Size(new System.Drawing.Size(360, 20)); this.selectRemittee.set_TabIndex(5); this.datePeriod.AttachToPeriod = false; this.datePeriod.DateBeginReadonly = false; this.datePeriod.DateEndReadonly = false; this.datePeriod.set_Location(new System.Drawing.Point(110, 0x45)); this.datePeriod.set_Margin(new System.Windows.Forms.Padding(4)); this.datePeriod.set_Name("datePeriod"); this.datePeriod.set_Size(new System.Drawing.Size(0xee, 20)); this.datePeriod.set_TabIndex(4); this.dateBox.AttachToPeriod = false; this.dateBox.AttachToPeriodEnd = false; this.dateBox.set_Location(new System.Drawing.Point(110, 0x18)); this.dateBox.set_Mask("00/00/0000"); this.dateBox.set_Name("dateBox"); this.dateBox.set_Size(new System.Drawing.Size(100, 20)); this.dateBox.set_TabIndex(1); this.dataGridViewTextBoxColumn2.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.dataGridViewTextBoxColumn2.set_DataPropertyName("FromDate"); this.dataGridViewTextBoxColumn2.set_HeaderText("Дата"); this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2"); this.dataGridViewTextBoxColumn2.set_ReadOnly(true); this.dataGridViewTextBoxColumn3.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.dataGridViewTextBoxColumn3.set_DataPropertyName("RemitteeOrgShortName"); this.dataGridViewTextBoxColumn3.set_HeaderText("Получатель"); this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3"); this.dataGridViewTextBoxColumn3.set_ReadOnly(true); this.dataGridViewTextBoxColumn4.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.dataGridViewTextBoxColumn4.set_DataPropertyName("ClientDocOrgName"); this.dataGridViewTextBoxColumn4.set_HeaderText("Агент"); this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4"); this.dataGridViewTextBoxColumn4.set_ReadOnly(true); this.dataGridViewTextBoxColumn5.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.dataGridViewTextBoxColumn5.set_DataPropertyName("Summ"); this.dataGridViewTextBoxColumn5.set_HeaderText("Сумма"); this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5"); this.dataGridViewTextBoxColumn5.set_ReadOnly(true); this.dataGridViewTextBoxColumn6.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.dataGridViewTextBoxColumn6.set_DataPropertyName("Created"); this.dataGridViewTextBoxColumn6.set_HeaderText("Дата создания"); this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6"); this.dataGridViewTextBoxColumn6.set_ReadOnly(true); this.dataGridViewTextBoxColumn7.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.dataGridViewTextBoxColumn7.set_DataPropertyName("Created"); this.dataGridViewTextBoxColumn7.set_HeaderText("Дата создания"); this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7"); this.dataGridViewTextBoxColumn7.set_ReadOnly(true); this.bsUseType.set_DataSource(typeof(RemitteePaymentOrderUploading)); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(0x1e9, 0x1e1)); base.Controls.Add(this.dgvRemitteePaymentOrders); base.Controls.Add(this.groupBox3); base.Controls.Add(this.groupBox2); base.Controls.Add(this.groupBox1); this.set_MinimumSize(new System.Drawing.Size(0x1f9, 0x207)); base.set_Name("PaymentOrdersForm"); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent); this.set_Text("Формирование платежных поручений"); base.add_Load(new System.EventHandler(this.PaymentOrdersForm_Load)); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.dgvRemitteePaymentOrders.EndInit(); this.bsRemitteePaymentOrders.EndInit(); this.bsUseType.EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = new Container(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.btnSearch = new System.Windows.Forms.Button(); this.btnRecalc = new System.Windows.Forms.Button(); this.cbxAllPeriods = new System.Windows.Forms.CheckBox(); this.label4 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.selectServices = new AIS.SN.UI.Controls.ReportSelectors.SelectServices(); this.selectServiceTypes = new SelectServiceTypes(); this.dgvHouseCounters = new System.Windows.Forms.DataGridView(); this.AdrName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.MarkName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.serviceTypeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.typeCounterNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.counterNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.counterNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.capacityDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.createdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bsHouseCounters = new System.Windows.Forms.BindingSource(this.components); this.recalcWorker = new BackgroundWorker(); this.chbxSelectAll = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.datePeriod = new DatePeriod(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox2.SuspendLayout(); this.dgvHouseCounters.BeginInit(); this.bsHouseCounters.BeginInit(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); base.SuspendLayout(); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(13, 0x13)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0x3e, 13)); this.label1.set_TabIndex(1); this.label1.set_Text("Тип услуги"); this.label2.set_AutoSize(true); this.label2.set_Location(new System.Drawing.Point(14, 50)); this.label2.set_Name("label2"); this.label2.set_Size(new System.Drawing.Size(0x2b, 13)); this.label2.set_TabIndex(2); this.label2.set_Text("Услуга"); this.btnSearch.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top); this.btnSearch.set_Location(new System.Drawing.Point(0x2ad, 0x11)); this.btnSearch.set_Name("btnSearch"); this.btnSearch.set_Size(new System.Drawing.Size(0x39, 0x30)); this.btnSearch.set_TabIndex(3); this.btnSearch.set_Text("Поиск"); this.btnSearch.set_UseVisualStyleBackColor(true); this.btnSearch.add_Click(new System.EventHandler(this.btnSearch_Click)); this.btnRecalc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top); this.btnRecalc.set_Location(new System.Drawing.Point(0x271, 0xe1)); this.btnRecalc.set_Name("btnRecalc"); this.btnRecalc.set_Size(new System.Drawing.Size(0x75, 0x19)); this.btnRecalc.set_TabIndex(10); this.btnRecalc.set_Text("Перерасчёт"); this.btnRecalc.set_UseVisualStyleBackColor(true); this.btnRecalc.add_Click(new System.EventHandler(this.btnRecalc_Click)); this.cbxAllPeriods.set_AutoSize(true); this.cbxAllPeriods.set_Location(new System.Drawing.Point(0x1e9, 0xe3)); this.cbxAllPeriods.set_Name("cbxAllPeriods"); this.cbxAllPeriods.set_Size(new System.Drawing.Size(0x6b, 0x11)); this.cbxAllPeriods.set_TabIndex(11); this.cbxAllPeriods.set_Text("За все периоды"); this.cbxAllPeriods.set_UseVisualStyleBackColor(true); this.cbxAllPeriods.add_CheckedChanged(new System.EventHandler(this.cbxAllPeriods_CheckedChanged)); this.label4.set_AutoSize(true); this.label4.set_Location(new System.Drawing.Point(0x83, 0xe4)); this.label4.set_Name("label4"); this.label4.set_Size(new System.Drawing.Size(0x70, 13)); this.label4.set_TabIndex(12); this.label4.set_Text("Период перерасчёта"); this.groupBox2.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.groupBox2.Controls.Add(this.selectServices); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.selectServiceTypes); this.groupBox2.Controls.Add(this.btnSearch); this.groupBox2.set_Location(new System.Drawing.Point(0, 0)); this.groupBox2.set_Name("groupBox2"); this.groupBox2.set_Size(new System.Drawing.Size(0x2ec, 0x48)); this.groupBox2.set_TabIndex(13); this.groupBox2.set_TabStop(false); this.groupBox2.set_Text("Фильтр"); this.selectServices.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.selectServices.IsByUser = false; this.selectServices.set_Location(new System.Drawing.Point(90, 0x2d)); this.selectServices.set_Name("selectServices"); this.selectServices.set_Size(new System.Drawing.Size(0x24d, 20)); this.selectServices.set_TabIndex(9); this.selectServiceTypes.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.selectServiceTypes.IsByUser = false; this.selectServiceTypes.set_Location(new System.Drawing.Point(90, 0x11)); this.selectServiceTypes.set_Name("selectServiceTypes"); this.selectServiceTypes.set_Size(new System.Drawing.Size(0x24d, 20)); this.selectServiceTypes.set_TabIndex(7); this.dgvHouseCounters.set_AllowUserToAddRows(false); this.dgvHouseCounters.set_AllowUserToDeleteRows(false); this.dgvHouseCounters.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.dgvHouseCounters.set_AutoGenerateColumns(false); this.dgvHouseCounters.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells); this.dgvHouseCounters.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells); this.dgvHouseCounters.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvHouseCounters.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.AdrName, this.Id, this.MarkName, this.serviceTypeNameDataGridViewTextBoxColumn, this.typeCounterNameDataGridViewTextBoxColumn, this.counterNameDataGridViewTextBoxColumn, this.counterNumberDataGridViewTextBoxColumn, this.capacityDataGridViewTextBoxColumn, this.createdDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn }); this.dgvHouseCounters.set_DataSource(this.bsHouseCounters); this.dgvHouseCounters.set_GridColor(System.Drawing.SystemColors.ControlLight); this.dgvHouseCounters.set_Location(new System.Drawing.Point(6, 0x13)); this.dgvHouseCounters.set_Name("dgvHouseCounters"); this.dgvHouseCounters.set_RowHeadersVisible(false); this.dgvHouseCounters.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect); this.dgvHouseCounters.set_Size(new System.Drawing.Size(0x2e0, 0xc5)); this.dgvHouseCounters.set_TabIndex(15); this.dgvHouseCounters.add_SelectionChanged(new System.EventHandler(this.dgvHouseCounters_SelectionChanged)); this.AdrName.set_DataPropertyName("AdrName"); this.AdrName.set_HeaderText("Адрес"); this.AdrName.set_Name("AdrName"); this.AdrName.set_ReadOnly(true); this.AdrName.set_Width(0x3f); this.Id.set_DataPropertyName("Id"); this.Id.set_HeaderText("Id"); this.Id.set_Name("Id"); this.Id.set_ReadOnly(true); this.Id.set_Visible(false); this.Id.set_Width(0x29); this.MarkName.set_DataPropertyName("MarkName"); this.MarkName.set_HeaderText("Марка"); this.MarkName.set_Name("MarkName"); this.MarkName.set_ReadOnly(true); this.MarkName.set_Width(0x41); this.serviceTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("ServiceTypeName"); this.serviceTypeNameDataGridViewTextBoxColumn.set_HeaderText("Тип услуги"); this.serviceTypeNameDataGridViewTextBoxColumn.set_Name("serviceTypeNameDataGridViewTextBoxColumn"); this.serviceTypeNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.serviceTypeNameDataGridViewTextBoxColumn.set_Width(80); this.typeCounterNameDataGridViewTextBoxColumn.set_DataPropertyName("TypeCounterName"); this.typeCounterNameDataGridViewTextBoxColumn.set_HeaderText("Тип"); this.typeCounterNameDataGridViewTextBoxColumn.set_Name("typeCounterNameDataGridViewTextBoxColumn"); this.typeCounterNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.typeCounterNameDataGridViewTextBoxColumn.set_Width(0x33); this.counterNameDataGridViewTextBoxColumn.set_DataPropertyName("CounterName"); this.counterNameDataGridViewTextBoxColumn.set_HeaderText("Наименование"); this.counterNameDataGridViewTextBoxColumn.set_Name("counterNameDataGridViewTextBoxColumn"); this.counterNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.counterNameDataGridViewTextBoxColumn.set_Width(0x6c); this.counterNumberDataGridViewTextBoxColumn.set_DataPropertyName("CounterNumber"); this.counterNumberDataGridViewTextBoxColumn.set_HeaderText("Номер"); this.counterNumberDataGridViewTextBoxColumn.set_Name("counterNumberDataGridViewTextBoxColumn"); this.counterNumberDataGridViewTextBoxColumn.set_ReadOnly(true); this.counterNumberDataGridViewTextBoxColumn.set_Width(0x42); this.capacityDataGridViewTextBoxColumn.set_DataPropertyName("Capacity"); this.capacityDataGridViewTextBoxColumn.set_HeaderText("Разрядность"); this.capacityDataGridViewTextBoxColumn.set_Name("capacityDataGridViewTextBoxColumn"); this.capacityDataGridViewTextBoxColumn.set_ReadOnly(true); this.capacityDataGridViewTextBoxColumn.set_Width(0x62); this.createdDataGridViewTextBoxColumn.set_DataPropertyName("Created"); this.createdDataGridViewTextBoxColumn.set_HeaderText("Дата создания"); this.createdDataGridViewTextBoxColumn.set_Name("createdDataGridViewTextBoxColumn"); this.createdDataGridViewTextBoxColumn.set_ReadOnly(true); this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate"); this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Дата установки"); this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn"); this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.fromDateDataGridViewTextBoxColumn.set_Width(0x68); this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate"); this.toDateDataGridViewTextBoxColumn.set_HeaderText("Дата ликвидации"); this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn"); this.toDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.toDateDataGridViewTextBoxColumn.set_Width(0x6f); this.bsHouseCounters.set_DataSource(typeof(HouseCounter)); this.recalcWorker.add_DoWork(new DoWorkEventHandler(this.recalcWorker_DoWork)); this.recalcWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.recalcWorker_RunWorkerCompleted)); this.chbxSelectAll.set_AutoSize(true); this.chbxSelectAll.set_Location(new System.Drawing.Point(6, 0xe3)); this.chbxSelectAll.set_Name("chbxSelectAll"); this.chbxSelectAll.set_Size(new System.Drawing.Size(0x61, 0x11)); this.chbxSelectAll.set_TabIndex(0x10); this.chbxSelectAll.set_Text("Выделить все"); this.chbxSelectAll.set_UseVisualStyleBackColor(true); this.chbxSelectAll.add_CheckedChanged(new System.EventHandler(this.chbxSelectAll_CheckedChanged)); this.groupBox1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.groupBox1.Controls.Add(this.dgvHouseCounters); this.groupBox1.Controls.Add(this.chbxSelectAll); this.groupBox1.Controls.Add(this.btnRecalc); this.groupBox1.Controls.Add(this.datePeriod); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.cbxAllPeriods); this.groupBox1.set_Location(new System.Drawing.Point(0, 0x4e)); this.groupBox1.set_Name("groupBox1"); this.groupBox1.set_Size(new System.Drawing.Size(0x2ec, 0x102)); this.groupBox1.set_TabIndex(0x11); this.groupBox1.set_TabStop(false); this.groupBox1.set_Text("Список коллективных приборов учета"); this.datePeriod.AttachToPeriod = false; this.datePeriod.DateBeginReadonly = false; this.datePeriod.DateEndReadonly = false; this.datePeriod.set_Location(new System.Drawing.Point(250, 0xe1)); this.datePeriod.set_Margin(new System.Windows.Forms.Padding(4)); this.datePeriod.set_Name("datePeriod"); this.datePeriod.set_Size(new System.Drawing.Size(0xe8, 0x1d)); this.datePeriod.set_TabIndex(9); this.dataGridViewTextBoxColumn1.set_DataPropertyName("AdrName"); this.dataGridViewTextBoxColumn1.set_HeaderText("Адрес"); this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1"); this.dataGridViewTextBoxColumn1.set_ReadOnly(true); this.dataGridViewTextBoxColumn1.set_Width(0x3f); this.dataGridViewTextBoxColumn2.set_DataPropertyName("Id"); this.dataGridViewTextBoxColumn2.set_HeaderText("Id"); this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2"); this.dataGridViewTextBoxColumn2.set_ReadOnly(true); this.dataGridViewTextBoxColumn2.set_Visible(false); this.dataGridViewTextBoxColumn2.set_Width(0x29); this.dataGridViewTextBoxColumn3.set_DataPropertyName("MarkName"); this.dataGridViewTextBoxColumn3.set_HeaderText("Марка"); this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3"); this.dataGridViewTextBoxColumn3.set_ReadOnly(true); this.dataGridViewTextBoxColumn3.set_Width(0x41); this.dataGridViewTextBoxColumn4.set_DataPropertyName("ServiceTypeName"); this.dataGridViewTextBoxColumn4.set_HeaderText("Тип услуги"); this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4"); this.dataGridViewTextBoxColumn4.set_ReadOnly(true); this.dataGridViewTextBoxColumn4.set_Width(0x57); this.dataGridViewTextBoxColumn5.set_DataPropertyName("TypeCounterName"); this.dataGridViewTextBoxColumn5.set_HeaderText("Тип"); this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5"); this.dataGridViewTextBoxColumn5.set_ReadOnly(true); this.dataGridViewTextBoxColumn5.set_Width(0x33); this.dataGridViewTextBoxColumn6.set_DataPropertyName("CounterName"); this.dataGridViewTextBoxColumn6.set_HeaderText("Наименование"); this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6"); this.dataGridViewTextBoxColumn6.set_ReadOnly(true); this.dataGridViewTextBoxColumn6.set_Width(0x6c); this.dataGridViewTextBoxColumn7.set_DataPropertyName("CounterNumber"); this.dataGridViewTextBoxColumn7.set_HeaderText("Номер"); this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7"); this.dataGridViewTextBoxColumn7.set_ReadOnly(true); this.dataGridViewTextBoxColumn7.set_Width(0x42); this.dataGridViewTextBoxColumn8.set_DataPropertyName("Capacity"); this.dataGridViewTextBoxColumn8.set_HeaderText("Разрядность"); this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8"); this.dataGridViewTextBoxColumn8.set_ReadOnly(true); this.dataGridViewTextBoxColumn8.set_Width(0x62); this.dataGridViewTextBoxColumn9.set_DataPropertyName("Created"); this.dataGridViewTextBoxColumn9.set_HeaderText("Дата создания"); this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9"); this.dataGridViewTextBoxColumn9.set_ReadOnly(true); this.dataGridViewTextBoxColumn10.set_DataPropertyName("FromDate"); this.dataGridViewTextBoxColumn10.set_HeaderText("Дата установки"); this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10"); this.dataGridViewTextBoxColumn10.set_ReadOnly(true); this.dataGridViewTextBoxColumn10.set_Width(0x68); this.dataGridViewTextBoxColumn11.set_DataPropertyName("ToDate"); this.dataGridViewTextBoxColumn11.set_HeaderText("Дата ликвидации"); this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11"); this.dataGridViewTextBoxColumn11.set_ReadOnly(true); this.dataGridViewTextBoxColumn11.set_Width(0x6f); this.panel1.set_AutoScroll(true); this.panel1.Controls.Add(this.groupBox2); this.panel1.Controls.Add(this.groupBox1); this.panel1.set_Dock(System.Windows.Forms.DockStyle.Fill); this.panel1.set_Location(new System.Drawing.Point(0, 0)); this.panel1.set_Name("panel1"); this.panel1.set_Size(new System.Drawing.Size(0x2ec, 0x15a)); this.panel1.set_TabIndex(0x12); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.Controls.Add(this.panel1); base.set_Name("HouseCountersGroupRecalculationView"); base.set_Size(new System.Drawing.Size(0x2ec, 0x15a)); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.dgvHouseCounters.EndInit(); this.bsHouseCounters.EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panel1.ResumeLayout(false); base.ResumeLayout(false); }