private void InitializeComponent() { this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.tbNumber = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.btnSave = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.periodSelector = new PeriodSelector(); this.dbDate = new DateBox(); this.selectOrganization = new SelectOrganization(); this.label5 = new System.Windows.Forms.Label(); this.tbSumm = new System.Windows.Forms.TextBox(); base.SuspendLayout(); this.label3.set_AutoSize(true); this.label3.set_Location(new System.Drawing.Point(12, 110)); this.label3.set_Name("label3"); this.label3.set_Size(new System.Drawing.Size(0x21, 13)); this.label3.set_TabIndex(12); this.label3.set_Text("Дата"); this.label2.set_AutoSize(true); this.label2.set_Location(new System.Drawing.Point(12, 0x3e)); this.label2.set_Name("label2"); this.label2.set_Size(new System.Drawing.Size(0x61, 13)); this.label2.set_TabIndex(9); this.label2.set_Text("Платёжный агент"); this.tbNumber.set_Location(new System.Drawing.Point(0xb1, 6)); this.tbNumber.set_Name("tbNumber"); this.tbNumber.set_Size(new System.Drawing.Size(0xd7, 20)); this.tbNumber.set_TabIndex(1); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(12, 9)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0x9f, 13)); this.label1.set_TabIndex(6); this.label1.set_Text("Номер платёжного поручения"); this.label4.set_AutoSize(true); this.label4.set_Location(new System.Drawing.Point(0xec, 110)); this.label4.set_Name("label4"); this.label4.set_Size(new System.Drawing.Size(0x2d, 13)); this.label4.set_TabIndex(14); this.label4.set_Text("Период"); this.btnSave.set_Location(new System.Drawing.Point(0x9a, 0x8f)); this.btnSave.set_Name("btnSave"); this.btnSave.set_Size(new System.Drawing.Size(0x74, 0x22)); this.btnSave.set_TabIndex(15); this.btnSave.set_Text("Сохранить"); this.btnSave.set_UseVisualStyleBackColor(true); this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click)); this.btnCancel.set_Location(new System.Drawing.Point(0x114, 0x8f)); this.btnCancel.set_Name("btnCancel"); this.btnCancel.set_Size(new System.Drawing.Size(0x74, 0x22)); this.btnCancel.set_TabIndex(0x10); this.btnCancel.set_Text("Отмена"); this.btnCancel.set_UseVisualStyleBackColor(true); this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click)); this.periodSelector.set_Anchor(System.Windows.Forms.AnchorStyles.Top); this.periodSelector.set_Location(new System.Drawing.Point(0x11f, 0x68)); this.periodSelector.set_Name("periodSelector"); this.periodSelector.set_Size(new System.Drawing.Size(0x69, 0x1a)); this.periodSelector.set_TabIndex(5); this.dbDate.AttachToPeriod = false; this.dbDate.AttachToPeriodEnd = false; this.dbDate.set_Location(new System.Drawing.Point(0x33, 0x6b)); this.dbDate.set_Mask("00/00/0000"); this.dbDate.set_Name("dbDate"); this.dbDate.set_Size(new System.Drawing.Size(0x69, 20)); this.dbDate.set_TabIndex(4); this.selectOrganization.IsCashlessTransferrer = false; this.selectOrganization.IsHouseHolder = false; this.selectOrganization.IsPaymentAgent = false; this.selectOrganization.IsResourceProvider = false; this.selectOrganization.IsServiceProvider = false; this.selectOrganization.set_Location(new System.Drawing.Point(15, 80)); this.selectOrganization.set_Name("selectOrganization"); this.selectOrganization.set_Size(new System.Drawing.Size(0x179, 20)); this.selectOrganization.set_TabIndex(3); this.label5.set_AutoSize(true); this.label5.set_Location(new System.Drawing.Point(12, 0x25)); this.label5.set_Name("label5"); this.label5.set_Size(new System.Drawing.Size(0x29, 13)); this.label5.set_TabIndex(0x11); this.label5.set_Text("Сумма"); this.tbSumm.set_Location(new System.Drawing.Point(0xb1, 0x22)); this.tbSumm.set_Name("tbSumm"); this.tbSumm.set_Size(new System.Drawing.Size(0xd7, 20)); this.tbSumm.set_TabIndex(2); this.tbSumm.add_TextChanged(new System.EventHandler(this.tbSumm_TextChanged)); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(0x194, 0xbd)); base.Controls.Add(this.tbSumm); base.Controls.Add(this.label5); base.Controls.Add(this.btnCancel); base.Controls.Add(this.btnSave); base.Controls.Add(this.label4); base.Controls.Add(this.periodSelector); base.Controls.Add(this.label3); base.Controls.Add(this.dbDate); base.Controls.Add(this.label2); base.Controls.Add(this.selectOrganization); base.Controls.Add(this.tbNumber); base.Controls.Add(this.label1); base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog); base.set_MaximizeBox(false); base.set_MinimizeBox(false); base.set_Name("PayPaymentOrderAddChangeForm"); base.set_ShowIcon(false); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); this.dgvCounterPlaceFactors = new System.Windows.Forms.DataGridView(); this.placeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.valueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bsCounterPlaceFactors = new System.Windows.Forms.BindingSource(this.components); this.gbFilter = new System.Windows.Forms.GroupBox(); this.combFactorRelation = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.numFactor = new System.Windows.Forms.NumericUpDown(); this.periodSelector = new PeriodSelector(); this.sfdPlaces = new SelectFasetData(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.tsBtnSearch = new System.Windows.Forms.ToolStripButton(); this.tsBtnFilterHide = new System.Windows.Forms.ToolStripButton(); this.tsBtnErase = new System.Windows.Forms.ToolStripButton(); this.tsBtnAdd = new System.Windows.Forms.ToolStripButton(); this.tsBtnEdit = new System.Windows.Forms.ToolStripButton(); this.tsBtnDelete = new System.Windows.Forms.ToolStripButton(); this.tsBtnSelect = new System.Windows.Forms.ToolStripButton(); 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.cbUsePeriod = new System.Windows.Forms.CheckBox(); this.dgvCounterPlaceFactors.BeginInit(); this.bsCounterPlaceFactors.BeginInit(); this.gbFilter.SuspendLayout(); this.numFactor.BeginInit(); this.toolStrip1.SuspendLayout(); base.SuspendLayout(); this.dgvCounterPlaceFactors.set_AllowUserToAddRows(false); this.dgvCounterPlaceFactors.set_AllowUserToDeleteRows(false); this.dgvCounterPlaceFactors.set_AllowUserToResizeRows(false); this.dgvCounterPlaceFactors.set_AutoGenerateColumns(false); this.dgvCounterPlaceFactors.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill); this.dgvCounterPlaceFactors.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells); this.dgvCounterPlaceFactors.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvCounterPlaceFactors.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.placeNameDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.valueDataGridViewTextBoxColumn }); this.dgvCounterPlaceFactors.set_DataSource(this.bsCounterPlaceFactors); this.dgvCounterPlaceFactors.set_Dock(System.Windows.Forms.DockStyle.Fill); this.dgvCounterPlaceFactors.set_Location(new System.Drawing.Point(0, 0x72)); this.dgvCounterPlaceFactors.set_MultiSelect(false); this.dgvCounterPlaceFactors.set_Name("dgvCounterPlaceFactors"); this.dgvCounterPlaceFactors.set_ReadOnly(true); this.dgvCounterPlaceFactors.set_RowHeadersVisible(false); this.dgvCounterPlaceFactors.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect); this.dgvCounterPlaceFactors.set_Size(new System.Drawing.Size(0x180, 0x94)); this.dgvCounterPlaceFactors.set_TabIndex(80); this.dgvCounterPlaceFactors.add_CellContentDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvCounterPlaceFactors_CellDoubleClick)); this.placeNameDataGridViewTextBoxColumn.set_DataPropertyName("PlaceName"); this.placeNameDataGridViewTextBoxColumn.set_HeaderText("Параметр установки"); this.placeNameDataGridViewTextBoxColumn.set_Name("placeNameDataGridViewTextBoxColumn"); this.placeNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate"); this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Период"); this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn"); this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.valueDataGridViewTextBoxColumn.set_DataPropertyName("Value"); this.valueDataGridViewTextBoxColumn.set_HeaderText("Коэффициент"); this.valueDataGridViewTextBoxColumn.set_Name("valueDataGridViewTextBoxColumn"); this.valueDataGridViewTextBoxColumn.set_ReadOnly(true); this.bsCounterPlaceFactors.set_DataSource(typeof(ApartmentCounterPlaceFactor)); this.gbFilter.Controls.Add(this.cbUsePeriod); this.gbFilter.Controls.Add(this.combFactorRelation); this.gbFilter.Controls.Add(this.label3); this.gbFilter.Controls.Add(this.label1); this.gbFilter.Controls.Add(this.numFactor); this.gbFilter.Controls.Add(this.periodSelector); this.gbFilter.Controls.Add(this.sfdPlaces); 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(0x180, 0x59)); this.gbFilter.set_TabIndex(0); this.gbFilter.set_TabStop(false); this.gbFilter.set_Text("Фильтр"); this.combFactorRelation.set_FormattingEnabled(true); this.combFactorRelation.Items.AddRange((object[]) new object[] { "?", "=", "<>", ">", "<", ">=", "<=" }); this.combFactorRelation.set_Location(new System.Drawing.Point(0x109, 0x3d)); this.combFactorRelation.set_Name("combFactorRelation"); this.combFactorRelation.set_Size(new System.Drawing.Size(0x29, 0x15)); this.combFactorRelation.set_TabIndex(30); this.label3.set_AutoSize(true); this.label3.set_Location(new System.Drawing.Point(0xbc, 0x40)); this.label3.set_Name("label3"); this.label3.set_Size(new System.Drawing.Size(80, 13)); this.label3.set_TabIndex(5); this.label3.set_Text("Коэффициент:"); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(12, 0x10)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0xbc, 13)); this.label1.set_TabIndex(3); this.label1.set_Text("Параметр установки прибора учёта"); this.numFactor.set_DecimalPlaces(4); int[] numArray = new int[4]; numArray[0] = 1; numArray[3] = 0x10000; this.numFactor.set_Increment(new decimal(numArray)); this.numFactor.set_Location(new System.Drawing.Point(0x138, 0x3e)); this.numFactor.set_Name("numFactor"); this.numFactor.set_Size(new System.Drawing.Size(60, 20)); this.numFactor.set_TabIndex(40); this.periodSelector.set_Enabled(false); this.periodSelector.set_Location(new System.Drawing.Point(0x4c, 0x39)); this.periodSelector.set_Name("periodSelector"); this.periodSelector.set_Size(new System.Drawing.Size(0x6a, 0x1a)); this.periodSelector.set_TabIndex(20); this.sfdPlaces.set_FormattingEnabled(true); this.sfdPlaces.set_Location(new System.Drawing.Point(12, 0x20)); this.sfdPlaces.set_Name("sfdPlaces"); this.sfdPlaces.set_Size(new System.Drawing.Size(360, 0x15)); this.sfdPlaces.set_Sorted(true); this.sfdPlaces.set_TabIndex(10); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsBtnSearch, this.tsBtnFilterHide, this.tsBtnErase, this.tsBtnAdd, this.tsBtnEdit, this.tsBtnDelete, this.tsBtnSelect }); this.toolStrip1.set_Location(new System.Drawing.Point(0, 0x59)); this.toolStrip1.set_Name("toolStrip1"); this.toolStrip1.set_Size(new System.Drawing.Size(0x180, 0x19)); this.toolStrip1.set_TabIndex(70); this.toolStrip1.set_Text("toolStrip1"); this.tsBtnSearch.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnSearch.set_Image(Resources.SEARCH); this.tsBtnSearch.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnSearch.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnSearch.set_Name("tsBtnSearch"); this.tsBtnSearch.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsBtnSearch.set_Text("Найти коэффициенты"); this.tsBtnSearch.add_Click(new System.EventHandler(this.tsBtnSearch_Click)); this.tsBtnFilterHide.set_Checked(true); this.tsBtnFilterHide.set_CheckOnClick(true); this.tsBtnFilterHide.set_CheckState(System.Windows.Forms.CheckState.Checked); this.tsBtnFilterHide.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnFilterHide.set_Image(Resources.FILTER); this.tsBtnFilterHide.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnFilterHide.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnFilterHide.set_Name("tsBtnFilterHide"); this.tsBtnFilterHide.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsBtnFilterHide.set_Text("Скрыть/отобразить настройки фильтра"); this.tsBtnFilterHide.add_Click(new System.EventHandler(this.tsBtnFilterHide_Click)); this.tsBtnErase.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnErase.set_Image(Resources.ERASE); this.tsBtnErase.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnErase.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnErase.set_Name("tsBtnErase"); this.tsBtnErase.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsBtnErase.set_Text("Очистить поля фильтра"); this.tsBtnErase.add_Click(new System.EventHandler(this.tsBtnErase_Click)); this.tsBtnAdd.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnAdd.set_Image(Resources.ADD); this.tsBtnAdd.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnAdd.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnAdd.set_Name("tsBtnAdd"); this.tsBtnAdd.set_Size(new System.Drawing.Size(0x18, 0x16)); this.tsBtnAdd.set_Text("Добавить"); this.tsBtnAdd.add_Click(new System.EventHandler(this.tsBtnAdd_Click)); this.tsBtnEdit.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnEdit.set_Image(Resources.CHANGE); this.tsBtnEdit.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnEdit.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnEdit.set_Name("tsBtnEdit"); this.tsBtnEdit.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsBtnEdit.set_Text("Изменить"); this.tsBtnEdit.add_Click(new System.EventHandler(this.tsBtnEdit_Click)); this.tsBtnDelete.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnDelete.set_Image(Resources.DELETE); this.tsBtnDelete.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnDelete.set_Name("tsBtnDelete"); this.tsBtnDelete.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsBtnDelete.set_Text("Удалить"); this.tsBtnDelete.add_Click(new System.EventHandler(this.tsBtnDelete_Click)); this.tsBtnSelect.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnSelect.set_Image(Resources.APPLY); this.tsBtnSelect.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnSelect.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnSelect.set_Name("tsBtnSelect"); this.tsBtnSelect.set_Size(new System.Drawing.Size(0x18, 0x16)); this.tsBtnSelect.set_Text("Выбрать"); this.tsBtnSelect.set_Visible(false); this.tsBtnSelect.add_Click(new System.EventHandler(this.tsBtnSelect_Click)); this.dataGridViewTextBoxColumn1.set_DataPropertyName("ShortName"); this.dataGridViewTextBoxColumn1.set_HeaderText("Название"); this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1"); this.dataGridViewTextBoxColumn1.set_ReadOnly(true); this.dataGridViewTextBoxColumn1.set_Width(0x59); this.dataGridViewTextBoxColumn2.set_DataPropertyName("Code"); this.dataGridViewTextBoxColumn2.set_HeaderText("Код"); this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2"); this.dataGridViewTextBoxColumn2.set_ReadOnly(true); this.dataGridViewTextBoxColumn2.set_Width(0x58); this.dataGridViewTextBoxColumn3.set_DataPropertyName("INN"); this.dataGridViewTextBoxColumn3.set_HeaderText("ИНН"); this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3"); this.dataGridViewTextBoxColumn3.set_ReadOnly(true); this.dataGridViewTextBoxColumn3.set_Width(0x59); this.dataGridViewTextBoxColumn4.set_DataPropertyName("KPP"); this.dataGridViewTextBoxColumn4.set_HeaderText("КПП"); this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4"); this.dataGridViewTextBoxColumn4.set_ReadOnly(true); this.dataGridViewTextBoxColumn4.set_Width(0x58); this.dataGridViewTextBoxColumn5.set_DataPropertyName("BIK"); this.dataGridViewTextBoxColumn5.set_HeaderText("БИК"); this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5"); this.dataGridViewTextBoxColumn5.set_ReadOnly(true); this.dataGridViewTextBoxColumn5.set_Width(0x59); this.dataGridViewTextBoxColumn6.set_DataPropertyName("LoroAccount"); this.dataGridViewTextBoxColumn6.set_HeaderText("Корр. счёт"); this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6"); this.dataGridViewTextBoxColumn6.set_ReadOnly(true); this.dataGridViewTextBoxColumn6.set_Visible(false); this.dataGridViewTextBoxColumn6.set_Width(0x58); this.dataGridViewTextBoxColumn7.set_DataPropertyName("Id"); this.dataGridViewTextBoxColumn7.set_HeaderText("Id"); this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7"); this.dataGridViewTextBoxColumn7.set_ReadOnly(true); this.dataGridViewTextBoxColumn7.set_Visible(false); this.cbUsePeriod.set_AutoSize(true); this.cbUsePeriod.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight); this.cbUsePeriod.set_Location(new System.Drawing.Point(12, 0x3f)); this.cbUsePeriod.set_Name("cbUsePeriod"); this.cbUsePeriod.set_Size(new System.Drawing.Size(0x40, 0x11)); this.cbUsePeriod.set_TabIndex(0x29); this.cbUsePeriod.set_Text("Период"); this.cbUsePeriod.set_UseVisualStyleBackColor(true); this.cbUsePeriod.add_CheckedChanged(new System.EventHandler(this.cbUsePeriod_CheckedChanged)); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(0x180, 0x106)); base.Controls.Add(this.dgvCounterPlaceFactors); base.Controls.Add(this.toolStrip1); base.Controls.Add(this.gbFilter); this.set_MinimumSize(new System.Drawing.Size(400, 200)); base.set_Name("CounterPlaceFactorsForm"); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen); this.set_Text("Температурные коэффициенты приборов учёта"); base.add_Load(new System.EventHandler(this.CounterPlaceFactorsForm_Load)); this.dgvCounterPlaceFactors.EndInit(); this.bsCounterPlaceFactors.EndInit(); this.gbFilter.ResumeLayout(false); this.gbFilter.PerformLayout(); this.numFactor.EndInit(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); this.bsServices = new System.Windows.Forms.BindingSource(this.components); this.btnCancel = new System.Windows.Forms.Button(); this.btnOK = new System.Windows.Forms.Button(); this.cbService = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.nudCostsExecutor = new System.Windows.Forms.NumericUpDown(); this.label3 = new System.Windows.Forms.Label(); this.cbTypeServices = new System.Windows.Forms.ComboBox(); this.bsTypeServices = new System.Windows.Forms.BindingSource(this.components); this.label4 = new System.Windows.Forms.Label(); this.nudSaldo = new System.Windows.Forms.NumericUpDown(); this.label5 = new System.Windows.Forms.Label(); this.nudCharge = new System.Windows.Forms.NumericUpDown(); this.label6 = new System.Windows.Forms.Label(); this.nudPaymentAccounts = new System.Windows.Forms.NumericUpDown(); this.label7 = new System.Windows.Forms.Label(); this.nudRecalcAccounts = new System.Windows.Forms.NumericUpDown(); this.label8 = new System.Windows.Forms.Label(); this.nudChargeAccounts = new System.Windows.Forms.NumericUpDown(); this.nudPaymentProcent = new System.Windows.Forms.NumericUpDown(); this.label10 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.cbHouseHolder = new System.Windows.Forms.ComboBox(); this.bsHouseHolders = new System.Windows.Forms.BindingSource(this.components); this.label9 = new System.Windows.Forms.Label(); this.psPeriod = new PeriodSelector(); this.bsServices.BeginInit(); this.nudCostsExecutor.BeginInit(); this.bsTypeServices.BeginInit(); this.nudSaldo.BeginInit(); this.nudCharge.BeginInit(); this.nudPaymentAccounts.BeginInit(); this.nudRecalcAccounts.BeginInit(); this.nudChargeAccounts.BeginInit(); this.nudPaymentProcent.BeginInit(); this.bsHouseHolders.BeginInit(); base.SuspendLayout(); this.bsServices.set_DataSource(typeof(ServiceOld)); this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.btnCancel.set_Location(new System.Drawing.Point(0x189, 0x12f)); this.btnCancel.set_Name("btnCancel"); this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17)); this.btnCancel.set_TabIndex(9); this.btnCancel.set_Text("Отмена"); this.btnCancel.set_UseVisualStyleBackColor(true); this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click)); this.btnOK.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.btnOK.set_Location(new System.Drawing.Point(0x138, 0x12f)); this.btnOK.set_Name("btnOK"); this.btnOK.set_Size(new System.Drawing.Size(0x4b, 0x17)); this.btnOK.set_TabIndex(7); this.btnOK.set_UseVisualStyleBackColor(true); this.btnOK.add_Click(new System.EventHandler(this.btnOK_Click)); this.cbService.set_Cursor(System.Windows.Forms.Cursors.Default); this.cbService.set_DataSource(this.bsServices); this.cbService.set_DisplayMember("CodeName"); this.cbService.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList); this.cbService.set_Location(new System.Drawing.Point(0xd0, 0x41)); this.cbService.set_Name("cbService"); this.cbService.set_Size(new System.Drawing.Size(260, 0x15)); this.cbService.set_TabIndex(6); this.cbService.set_ValueMember("Id"); this.cbService.add_SelectedIndexChanged(new System.EventHandler(this.cbService_SelectedIndexChanged)); this.label2.set_AutoSize(true); this.label2.set_Location(new System.Drawing.Point(12, 0x44)); this.label2.set_Name("label2"); this.label2.set_Size(new System.Drawing.Size(0x2e, 13)); this.label2.set_TabIndex(8); this.label2.set_Text("Услуга:"); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(11, 0x60)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0x30, 13)); this.label1.set_TabIndex(5); this.label1.set_Text("Период:"); this.nudCostsExecutor.set_DecimalPlaces(2); this.nudCostsExecutor.set_Location(new System.Drawing.Point(0xd0, 0x77)); int[] numArray = new int[4]; numArray[0] = 0x5d89ffff; numArray[1] = 0x1634578; this.nudCostsExecutor.set_Maximum(new decimal(numArray)); this.nudCostsExecutor.set_Name("nudCostsExecutor"); this.nudCostsExecutor.set_Size(new System.Drawing.Size(260, 20)); this.nudCostsExecutor.set_TabIndex(11); this.label3.set_AutoSize(true); this.label3.set_Location(new System.Drawing.Point(11, 0x79)); this.label3.set_Name("label3"); this.label3.set_Size(new System.Drawing.Size(0x79, 13)); this.label3.set_TabIndex(8); this.label3.set_Text("Затраты исполнителя:"); this.cbTypeServices.set_Cursor(System.Windows.Forms.Cursors.Default); this.cbTypeServices.set_DataSource(this.bsTypeServices); this.cbTypeServices.set_DisplayMember("CodeName"); this.cbTypeServices.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList); this.cbTypeServices.set_Location(new System.Drawing.Point(0xd0, 0x27)); this.cbTypeServices.set_Name("cbTypeServices"); this.cbTypeServices.set_Size(new System.Drawing.Size(260, 0x15)); this.cbTypeServices.set_TabIndex(12); this.cbTypeServices.set_ValueMember("Id"); this.cbTypeServices.add_SelectedIndexChanged(new System.EventHandler(this.cbTypeServices_SelectedIndexChanged)); this.bsTypeServices.set_DataSource(typeof(ServiceType)); this.label4.set_AutoSize(true); this.label4.set_Location(new System.Drawing.Point(11, 0x2a)); this.label4.set_Name("label4"); this.label4.set_Size(new System.Drawing.Size(0x41, 13)); this.label4.set_TabIndex(13); this.label4.set_Text("Тип услуги:"); this.nudSaldo.set_DecimalPlaces(2); this.nudSaldo.set_Location(new System.Drawing.Point(0xd0, 0xab)); int[] numArray2 = new int[4]; numArray2[0] = 0x5d89ffff; numArray2[1] = 0x1634578; this.nudSaldo.set_Maximum(new decimal(numArray2)); this.nudSaldo.set_Name("nudSaldo"); this.nudSaldo.set_Size(new System.Drawing.Size(0x105, 20)); this.nudSaldo.set_TabIndex(15); this.label5.set_AutoSize(true); this.label5.set_Location(new System.Drawing.Point(12, 0xae)); this.label5.set_Name("label5"); this.label5.set_Size(new System.Drawing.Size(0x65, 13)); this.label5.set_TabIndex(14); this.label5.set_Text("Остаток стредств:"); this.nudCharge.set_DecimalPlaces(2); this.nudCharge.set_Location(new System.Drawing.Point(0xd0, 0x91)); int[] numArray3 = new int[4]; numArray3[0] = 0x5d89ffff; numArray3[1] = 0x1634578; this.nudCharge.set_Maximum(new decimal(numArray3)); this.nudCharge.set_Name("nudCharge"); this.nudCharge.set_Size(new System.Drawing.Size(0x105, 20)); this.nudCharge.set_TabIndex(0x11); this.label6.set_AutoSize(true); this.label6.set_Location(new System.Drawing.Point(12, 0x94)); this.label6.set_Name("label6"); this.label6.set_Size(new System.Drawing.Size(120, 13)); this.label6.set_TabIndex(0x10); this.label6.set_Text("Поступление средств:"); this.nudPaymentAccounts.set_DecimalPlaces(2); this.nudPaymentAccounts.set_Location(new System.Drawing.Point(0xd0, 0xdf)); int[] numArray4 = new int[4]; numArray4[0] = 0x5d89ffff; numArray4[1] = 0x1634578; this.nudPaymentAccounts.set_Maximum(new decimal(numArray4)); this.nudPaymentAccounts.set_Name("nudPaymentAccounts"); this.nudPaymentAccounts.set_Size(new System.Drawing.Size(0x106, 20)); this.nudPaymentAccounts.set_TabIndex(0x17); this.label7.set_AutoSize(true); this.label7.set_Location(new System.Drawing.Point(13, 0xe2)); this.label7.set_Name("label7"); this.label7.set_Size(new System.Drawing.Size(0xa6, 13)); this.label7.set_TabIndex(0x16); this.label7.set_Text("Оплата по указанным услугам:"); this.nudRecalcAccounts.set_DecimalPlaces(2); this.nudRecalcAccounts.set_Location(new System.Drawing.Point(0xd0, 0xf9)); int[] numArray5 = new int[4]; numArray5[0] = 0x5d89ffff; numArray5[1] = 0x1634578; this.nudRecalcAccounts.set_Maximum(new decimal(numArray5)); this.nudRecalcAccounts.set_Name("nudRecalcAccounts"); this.nudRecalcAccounts.set_Size(new System.Drawing.Size(0x106, 20)); this.nudRecalcAccounts.set_TabIndex(0x15); this.label8.set_AutoSize(true); this.label8.set_Location(new System.Drawing.Point(13, 0xfc)); this.label8.set_Name("label8"); this.label8.set_Size(new System.Drawing.Size(0xbd, 13)); this.label8.set_TabIndex(20); this.label8.set_Text("Перерасчет по указанным услугам:"); this.nudChargeAccounts.set_DecimalPlaces(2); this.nudChargeAccounts.set_Location(new System.Drawing.Point(0xd0, 0xc5)); int[] numArray6 = new int[4]; numArray6[0] = 0x5d89ffff; numArray6[1] = 0x1634578; this.nudChargeAccounts.set_Maximum(new decimal(numArray6)); this.nudChargeAccounts.set_Name("nudChargeAccounts"); this.nudChargeAccounts.set_Size(new System.Drawing.Size(0x105, 20)); this.nudChargeAccounts.set_TabIndex(0x13); this.nudPaymentProcent.set_DecimalPlaces(2); this.nudPaymentProcent.set_Location(new System.Drawing.Point(0xd0, 0x113)); int[] numArray7 = new int[4]; numArray7[0] = 0x5d89ffff; numArray7[1] = 0x1634578; this.nudPaymentProcent.set_Maximum(new decimal(numArray7)); this.nudPaymentProcent.set_Name("nudPaymentProcent"); this.nudPaymentProcent.set_Size(new System.Drawing.Size(0x106, 20)); this.nudPaymentProcent.set_TabIndex(0x19); this.label10.set_AutoSize(true); this.label10.set_Location(new System.Drawing.Point(13, 0x116)); this.label10.set_Name("label10"); this.label10.set_Size(new System.Drawing.Size(0xb2, 13)); this.label10.set_TabIndex(0x18); this.label10.set_Text("Процент оплаты по начислениям:"); this.label11.set_AutoSize(true); this.label11.set_Location(new System.Drawing.Point(12, 0xc7)); this.label11.set_Name("label11"); this.label11.set_Size(new System.Drawing.Size(180, 13)); this.label11.set_TabIndex(0x1a); this.label11.set_Text("Начисления на указанные услуги:"); this.cbHouseHolder.set_Cursor(System.Windows.Forms.Cursors.Default); this.cbHouseHolder.set_DataSource(this.bsHouseHolders); this.cbHouseHolder.set_DisplayMember("CodeName"); this.cbHouseHolder.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList); this.cbHouseHolder.set_Location(new System.Drawing.Point(0xd0, 12)); this.cbHouseHolder.set_Name("cbHouseHolder"); this.cbHouseHolder.set_Size(new System.Drawing.Size(260, 0x15)); this.cbHouseHolder.set_TabIndex(0x1b); this.cbHouseHolder.set_ValueMember("Id"); this.bsHouseHolders.set_DataSource(typeof(Organization)); this.label9.set_AutoSize(true); this.label9.set_Location(new System.Drawing.Point(11, 15)); this.label9.set_Name("label9"); this.label9.set_Size(new System.Drawing.Size(0x88, 13)); this.label9.set_TabIndex(0x1c); this.label9.set_Text("Управляющая компания:"); this.psPeriod.set_Location(new System.Drawing.Point(0xcd, 0x58)); this.psPeriod.set_Name("psPeriod"); this.psPeriod.set_Size(new System.Drawing.Size(0x68, 0x1a)); this.psPeriod.set_TabIndex(0x1d); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(480, 0x152)); base.Controls.Add(this.psPeriod); base.Controls.Add(this.cbHouseHolder); base.Controls.Add(this.label9); base.Controls.Add(this.label11); base.Controls.Add(this.nudPaymentProcent); base.Controls.Add(this.label10); base.Controls.Add(this.nudPaymentAccounts); base.Controls.Add(this.label7); base.Controls.Add(this.nudRecalcAccounts); base.Controls.Add(this.label8); base.Controls.Add(this.nudChargeAccounts); base.Controls.Add(this.nudCharge); base.Controls.Add(this.label6); base.Controls.Add(this.nudSaldo); base.Controls.Add(this.label5); base.Controls.Add(this.cbTypeServices); base.Controls.Add(this.label4); base.Controls.Add(this.nudCostsExecutor); base.Controls.Add(this.btnCancel); base.Controls.Add(this.btnOK); base.Controls.Add(this.cbService); base.Controls.Add(this.label3); base.Controls.Add(this.label2); base.Controls.Add(this.label1); base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog); base.set_MaximizeBox(false); base.set_MinimizeBox(false); base.set_Name("HouseTreatyCommitmentAddChangeForm"); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent); this.set_Text("HouseTreatyCommitmentAddChangeForm"); base.add_FormClosing(new System.Windows.Forms.FormClosingEventHandler(this.HouseTreatyCommitmentAddChangeForm_FormClosing)); this.bsServices.EndInit(); this.nudCostsExecutor.EndInit(); this.bsTypeServices.EndInit(); this.nudSaldo.EndInit(); this.nudCharge.EndInit(); this.nudPaymentAccounts.EndInit(); this.nudRecalcAccounts.EndInit(); this.nudChargeAccounts.EndInit(); this.nudPaymentProcent.EndInit(); this.bsHouseHolders.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
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(); System.Windows.Forms.DataGridViewCellStyle style4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle style5 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle style6 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle style7 = new System.Windows.Forms.DataGridViewCellStyle(); this.label1 = new System.Windows.Forms.Label(); this.btnRetrieve = new System.Windows.Forms.Button(); this.btnMake = new System.Windows.Forms.Button(); this.dgvAccountMoneyTransfer = new System.Windows.Forms.DataGridView(); this.bsMoneyTransfer = new System.Windows.Forms.BindingSource(this.components); this.tbBalance = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.tbSumma = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.tbTotal = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.tbComment = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); 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.periodPayment = new PeriodSelector(); this.selectOrgDocument = new SelectOrgDocument(); this.button1 = new System.Windows.Forms.Button(); this.label7 = new System.Windows.Forms.Label(); this.balanceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.summaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.totalDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.codeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.serviceNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dgvAccountMoneyTransfer.BeginInit(); this.bsMoneyTransfer.BeginInit(); base.SuspendLayout(); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(3, 11)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0x58, 13)); this.label1.set_TabIndex(0); this.label1.set_Text("Период оплаты:"); this.btnRetrieve.set_Location(new System.Drawing.Point(0xcd, 8)); this.btnRetrieve.set_Name("btnRetrieve"); this.btnRetrieve.set_Size(new System.Drawing.Size(0x73, 0x17)); this.btnRetrieve.set_TabIndex(2); this.btnRetrieve.set_Text("Выбрать услуги"); this.btnRetrieve.set_UseVisualStyleBackColor(true); this.btnRetrieve.add_Click(new System.EventHandler(this.btnRetrieve_Click)); this.btnMake.set_Location(new System.Drawing.Point(0x146, 8)); this.btnMake.set_Name("btnMake"); this.btnMake.set_Size(new System.Drawing.Size(0x73, 0x17)); this.btnMake.set_TabIndex(3); this.btnMake.set_Text("Провести"); this.btnMake.set_UseVisualStyleBackColor(true); this.btnMake.add_Click(new System.EventHandler(this.btnMake_Click)); this.dgvAccountMoneyTransfer.set_AllowUserToAddRows(false); this.dgvAccountMoneyTransfer.set_AllowUserToDeleteRows(false); this.dgvAccountMoneyTransfer.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top); this.dgvAccountMoneyTransfer.set_AutoGenerateColumns(false); this.dgvAccountMoneyTransfer.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader); this.dgvAccountMoneyTransfer.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells); this.dgvAccountMoneyTransfer.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvAccountMoneyTransfer.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.balanceDataGridViewTextBoxColumn, this.summaDataGridViewTextBoxColumn, this.totalDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn, this.codeDataGridViewTextBoxColumn, this.serviceNameDataGridViewTextBoxColumn }); this.dgvAccountMoneyTransfer.set_Cursor(System.Windows.Forms.Cursors.Default); this.dgvAccountMoneyTransfer.set_DataSource(this.bsMoneyTransfer); this.dgvAccountMoneyTransfer.set_EditMode(System.Windows.Forms.DataGridViewEditMode.EditOnEnter); this.dgvAccountMoneyTransfer.set_Location(new System.Drawing.Point(0, 0x6a)); this.dgvAccountMoneyTransfer.set_Name("dgvAccountMoneyTransfer"); this.dgvAccountMoneyTransfer.set_RowHeadersVisible(false); this.dgvAccountMoneyTransfer.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect); this.dgvAccountMoneyTransfer.set_Size(new System.Drawing.Size(0x26f, 220)); this.dgvAccountMoneyTransfer.set_TabIndex(4); this.dgvAccountMoneyTransfer.add_CellEndEdit(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAccountPenaltyRemission_CellEndEdit)); this.dgvAccountMoneyTransfer.add_DataError(new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvAccountPenaltyRemission_DataError)); this.dgvAccountMoneyTransfer.add_Sorted(new System.EventHandler(this.dgvAccountMoneyTransfer_Sorted)); this.bsMoneyTransfer.set_DataSource(typeof(AIS.SN.Model.DomainObjects.AccountMoneyTransferView)); this.bsMoneyTransfer.set_Sort("ToDate desc, FromDate desc"); this.bsMoneyTransfer.add_DataSourceChanged(new System.EventHandler(this.bsMoneyTransfer_DataSourceChanged)); this.tbBalance.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom); this.tbBalance.set_Location(new System.Drawing.Point(0x58, 330)); this.tbBalance.set_Name("tbBalance"); this.tbBalance.set_ReadOnly(true); this.tbBalance.set_Size(new System.Drawing.Size(0x4e, 20)); this.tbBalance.set_TabIndex(5); this.tbBalance.set_Text("0"); this.label2.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom); this.label2.set_AutoSize(true); this.label2.set_Location(new System.Drawing.Point(0, 0x14d)); this.label2.set_Name("label2"); this.label2.set_Size(new System.Drawing.Size(0x47, 13)); this.label2.set_TabIndex(6); this.label2.set_Text("Нач. сальдо:"); this.label3.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom); this.label3.set_AutoSize(true); this.label3.set_Location(new System.Drawing.Point(0xb8, 0x14d)); this.label3.set_Name("label3"); this.label3.set_Size(new System.Drawing.Size(0x67, 13)); this.label3.set_TabIndex(7); this.label3.set_Text("Сумма изменения:"); this.tbSumma.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom); this.tbSumma.set_Location(new System.Drawing.Point(0x12e, 330)); this.tbSumma.set_Name("tbSumma"); this.tbSumma.set_ReadOnly(true); this.tbSumma.set_Size(new System.Drawing.Size(0x4f, 20)); this.tbSumma.set_TabIndex(8); this.tbSumma.set_Text("0"); this.label4.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom); this.label4.set_AutoSize(true); this.label4.set_Location(new System.Drawing.Point(0x18d, 0x14d)); this.label4.set_Name("label4"); this.label4.set_Size(new System.Drawing.Size(0x61, 13)); this.label4.set_TabIndex(9); this.label4.set_Text("Конечное сальдо:"); this.tbTotal.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom); this.tbTotal.set_Location(new System.Drawing.Point(0x1fd, 330)); this.tbTotal.set_Name("tbTotal"); this.tbTotal.set_ReadOnly(true); this.tbTotal.set_Size(new System.Drawing.Size(0x4f, 20)); this.tbTotal.set_TabIndex(10); this.tbTotal.set_Text("0"); this.label5.set_AutoSize(true); this.label5.set_Location(new System.Drawing.Point(3, 0x25)); this.label5.set_Name("label5"); this.label5.set_Size(new System.Drawing.Size(0x48, 13)); this.label5.set_TabIndex(11); this.label5.set_Text("Коментарий:"); this.tbComment.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.tbComment.set_Location(new System.Drawing.Point(0x61, 0x22)); this.tbComment.set_Name("tbComment"); this.tbComment.set_Size(new System.Drawing.Size(0x20b, 20)); this.tbComment.set_TabIndex(12); this.label6.set_AutoSize(true); this.label6.set_Location(new System.Drawing.Point(4, 0x3e)); this.label6.set_Name("label6"); this.label6.set_Size(new System.Drawing.Size(0x3d, 13)); this.label6.set_TabIndex(14); this.label6.set_Text("Документ:"); this.dataGridViewTextBoxColumn1.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.dataGridViewTextBoxColumn1.set_DataPropertyName("Code"); this.dataGridViewTextBoxColumn1.set_HeaderText("Код"); this.dataGridViewTextBoxColumn1.set_MinimumWidth(80); this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1"); this.dataGridViewTextBoxColumn1.set_ReadOnly(true); this.dataGridViewTextBoxColumn2.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.dataGridViewTextBoxColumn2.set_DataPropertyName("ServiceName"); this.dataGridViewTextBoxColumn2.set_HeaderText("Услуга"); this.dataGridViewTextBoxColumn2.set_MinimumWidth(80); this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2"); this.dataGridViewTextBoxColumn2.set_ReadOnly(true); this.dataGridViewTextBoxColumn3.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.dataGridViewTextBoxColumn3.set_DataPropertyName("FromDate"); this.dataGridViewTextBoxColumn3.set_HeaderText("Дата открытия"); this.dataGridViewTextBoxColumn3.set_MinimumWidth(30); this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3"); this.dataGridViewTextBoxColumn3.set_ReadOnly(true); this.dataGridViewTextBoxColumn4.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.dataGridViewTextBoxColumn4.set_DataPropertyName("ToDate"); style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight); this.dataGridViewTextBoxColumn4.set_DefaultCellStyle(style); this.dataGridViewTextBoxColumn4.set_HeaderText("Дата закрытия"); this.dataGridViewTextBoxColumn4.set_MinimumWidth(80); this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4"); this.dataGridViewTextBoxColumn4.set_ReadOnly(true); this.dataGridViewTextBoxColumn5.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.dataGridViewTextBoxColumn5.set_DataPropertyName("Balance"); style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight); this.dataGridViewTextBoxColumn5.set_DefaultCellStyle(style2); this.dataGridViewTextBoxColumn5.set_HeaderText("Начальное сальдо"); this.dataGridViewTextBoxColumn5.set_MinimumWidth(80); this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5"); this.dataGridViewTextBoxColumn5.set_ReadOnly(true); this.dataGridViewTextBoxColumn6.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.dataGridViewTextBoxColumn6.set_DataPropertyName("Summa"); style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc)); this.dataGridViewTextBoxColumn6.set_DefaultCellStyle(style3); this.dataGridViewTextBoxColumn6.set_HeaderText("Сумма изменения"); this.dataGridViewTextBoxColumn6.set_MinimumWidth(80); this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6"); this.dataGridViewTextBoxColumn6.set_ReadOnly(true); this.dataGridViewTextBoxColumn7.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.dataGridViewTextBoxColumn7.set_DataPropertyName("Total"); style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight); this.dataGridViewTextBoxColumn7.set_DefaultCellStyle(style4); this.dataGridViewTextBoxColumn7.set_HeaderText("Конечное сальдо"); this.dataGridViewTextBoxColumn7.set_MinimumWidth(80); this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7"); this.dataGridViewTextBoxColumn7.set_ReadOnly(true); this.periodPayment.set_Location(new System.Drawing.Point(0x5f, 6)); this.periodPayment.set_Name("periodPayment"); this.periodPayment.set_Size(new System.Drawing.Size(0x68, 0x1a)); this.periodPayment.set_TabIndex(15); this.periodPayment.OnCurrentChanged += new PeriodSelectorCurrentChanged(this.periodPayment_OnCurrentChanged); this.selectOrgDocument.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.selectOrgDocument.set_Location(new System.Drawing.Point(0x61, 60)); this.selectOrgDocument.set_Name("selectOrgDocument"); this.selectOrgDocument.set_Size(new System.Drawing.Size(0x20b, 20)); this.selectOrgDocument.set_TabIndex(13); this.button1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top); this.button1.set_Location(new System.Drawing.Point(0x1f2, 8)); this.button1.set_Name("button1"); this.button1.set_Size(new System.Drawing.Size(0x7a, 0x17)); this.button1.set_TabIndex(0x10); this.button1.set_Text("Минимизация пеней"); this.button1.set_UseVisualStyleBackColor(true); this.button1.add_Click(new System.EventHandler(this.button1_Click)); this.label7.set_AutoSize(true); this.label7.set_Location(new System.Drawing.Point(4, 90)); this.label7.set_Name("label7"); this.label7.set_Size(new System.Drawing.Size(460, 13)); this.label7.set_TabIndex(0x11); this.label7.set_Text("Если услуга выделена красным цветом, значит она принадлежит поставщику - банкроту"); this.balanceDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.balanceDataGridViewTextBoxColumn.set_DataPropertyName("Balance"); style5.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight); this.balanceDataGridViewTextBoxColumn.set_DefaultCellStyle(style5); this.balanceDataGridViewTextBoxColumn.set_HeaderText("Начальное сальдо"); this.balanceDataGridViewTextBoxColumn.set_MinimumWidth(80); this.balanceDataGridViewTextBoxColumn.set_Name("balanceDataGridViewTextBoxColumn"); this.balanceDataGridViewTextBoxColumn.set_ReadOnly(true); this.balanceDataGridViewTextBoxColumn.set_Width(80); this.summaDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.summaDataGridViewTextBoxColumn.set_DataPropertyName("Summa"); style6.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight); style6.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc)); this.summaDataGridViewTextBoxColumn.set_DefaultCellStyle(style6); this.summaDataGridViewTextBoxColumn.set_HeaderText("Сумма изменения"); this.summaDataGridViewTextBoxColumn.set_MinimumWidth(80); this.summaDataGridViewTextBoxColumn.set_Name("summaDataGridViewTextBoxColumn"); this.summaDataGridViewTextBoxColumn.set_Width(80); this.totalDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.totalDataGridViewTextBoxColumn.set_DataPropertyName("Total"); style7.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight); this.totalDataGridViewTextBoxColumn.set_DefaultCellStyle(style7); this.totalDataGridViewTextBoxColumn.set_HeaderText("Конечное сальдо"); this.totalDataGridViewTextBoxColumn.set_MinimumWidth(80); this.totalDataGridViewTextBoxColumn.set_Name("totalDataGridViewTextBoxColumn"); this.totalDataGridViewTextBoxColumn.set_ReadOnly(true); this.totalDataGridViewTextBoxColumn.set_Width(80); this.fromDateDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate"); this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Дата открытия"); this.fromDateDataGridViewTextBoxColumn.set_MinimumWidth(80); this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn"); this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.fromDateDataGridViewTextBoxColumn.set_Width(80); this.toDateDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate"); this.toDateDataGridViewTextBoxColumn.set_HeaderText("Дата закрытия"); this.toDateDataGridViewTextBoxColumn.set_MinimumWidth(80); this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn"); this.toDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.toDateDataGridViewTextBoxColumn.set_Width(80); this.codeDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader); this.codeDataGridViewTextBoxColumn.set_DataPropertyName("Code"); this.codeDataGridViewTextBoxColumn.set_HeaderText("Код"); this.codeDataGridViewTextBoxColumn.set_MinimumWidth(0x23); this.codeDataGridViewTextBoxColumn.set_Name("codeDataGridViewTextBoxColumn"); this.codeDataGridViewTextBoxColumn.set_ReadOnly(true); this.codeDataGridViewTextBoxColumn.set_Width(0x23); this.serviceNameDataGridViewTextBoxColumn.set_DataPropertyName("ServiceName"); this.serviceNameDataGridViewTextBoxColumn.set_HeaderText("Услуга"); this.serviceNameDataGridViewTextBoxColumn.set_Name("serviceNameDataGridViewTextBoxColumn"); this.serviceNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.serviceNameDataGridViewTextBoxColumn.set_Width(5); base.Controls.Add(this.label7); base.Controls.Add(this.button1); base.Controls.Add(this.periodPayment); base.Controls.Add(this.label6); base.Controls.Add(this.selectOrgDocument); base.Controls.Add(this.tbComment); base.Controls.Add(this.label5); base.Controls.Add(this.label4); base.Controls.Add(this.tbTotal); base.Controls.Add(this.tbBalance); base.Controls.Add(this.tbSumma); base.Controls.Add(this.label3); base.Controls.Add(this.label2); base.Controls.Add(this.dgvAccountMoneyTransfer); base.Controls.Add(this.btnMake); base.Controls.Add(this.btnRetrieve); base.Controls.Add(this.label1); base.set_Name("AccountMoneyTransferView"); base.set_Size(new System.Drawing.Size(0x26f, 0x163)); base.add_Load(new System.EventHandler(this.AccountMoneyTransferView_Load)); this.dgvAccountMoneyTransfer.EndInit(); this.bsMoneyTransfer.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.btnCancel = new System.Windows.Forms.Button(); this.btnAccept = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.numFactor = new System.Windows.Forms.NumericUpDown(); this.periodSelector = new PeriodSelector(); this.sfdPlaces = new SelectFasetData(); this.numFactor.BeginInit(); base.SuspendLayout(); this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.btnCancel.set_DialogResult(System.Windows.Forms.DialogResult.Cancel); this.btnCancel.set_Location(new System.Drawing.Point(0x7a, 0x61)); this.btnCancel.set_Name("btnCancel"); this.btnCancel.set_Size(new System.Drawing.Size(0x4a, 0x17)); this.btnCancel.set_TabIndex(50); this.btnCancel.set_Text("Отмена"); this.btnCancel.set_UseVisualStyleBackColor(true); this.btnAccept.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.btnAccept.set_Location(new System.Drawing.Point(0x29, 0x61)); this.btnAccept.set_Name("btnAccept"); this.btnAccept.set_Size(new System.Drawing.Size(0x4b, 0x17)); this.btnAccept.set_TabIndex(40); this.btnAccept.set_UseVisualStyleBackColor(true); this.btnAccept.add_Click(new System.EventHandler(this.btnAccept_Click)); this.label3.set_AutoSize(true); this.label3.set_Location(new System.Drawing.Point(0x77, 0x31)); this.label3.set_Name("label3"); this.label3.set_Size(new System.Drawing.Size(0x4d, 13)); this.label3.set_TabIndex(0x60); this.label3.set_Text("Коэффициент"); this.label2.set_AutoSize(true); this.label2.set_Location(new System.Drawing.Point(9, 0x31)); this.label2.set_Name("label2"); this.label2.set_Size(new System.Drawing.Size(0x2d, 13)); this.label2.set_TabIndex(0x5f); this.label2.set_Text("Период"); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(12, 9)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0xbc, 13)); this.label1.set_TabIndex(0x5e); this.label1.set_Text("Параметр установки прибора учёта"); this.numFactor.set_DecimalPlaces(4); int[] numArray = new int[4]; numArray[0] = 1; numArray[3] = 0x10000; this.numFactor.set_Increment(new decimal(numArray)); this.numFactor.set_Location(new System.Drawing.Point(0x7a, 0x44)); this.numFactor.set_Name("numFactor"); this.numFactor.set_Size(new System.Drawing.Size(0x4a, 20)); this.numFactor.set_TabIndex(30); this.periodSelector.set_Location(new System.Drawing.Point(9, 0x41)); this.periodSelector.set_Name("periodSelector"); this.periodSelector.set_Size(new System.Drawing.Size(0x68, 0x1a)); this.periodSelector.set_TabIndex(20); this.sfdPlaces.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.sfdPlaces.set_FormattingEnabled(true); this.sfdPlaces.set_Location(new System.Drawing.Point(12, 0x19)); this.sfdPlaces.set_Name("sfdPlaces"); this.sfdPlaces.set_Size(new System.Drawing.Size(0xb8, 0x15)); this.sfdPlaces.set_Sorted(true); this.sfdPlaces.set_TabIndex(10); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(0xd0, 0x84)); base.Controls.Add(this.label3); base.Controls.Add(this.label2); base.Controls.Add(this.label1); base.Controls.Add(this.numFactor); base.Controls.Add(this.periodSelector); base.Controls.Add(this.sfdPlaces); base.Controls.Add(this.btnAccept); base.Controls.Add(this.btnCancel); base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog); base.set_MaximizeBox(false); this.set_MinimumSize(new System.Drawing.Size(0xd6, 160)); base.set_Name("AddChangeCounterPlaceFactorForm"); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen); base.add_Load(new System.EventHandler(this.AddChangeBankForm_Load)); this.numFactor.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.tbSumm = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.btnApply = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.cbxResidents = new System.Windows.Forms.ComboBox(); this.bsPersons = new System.Windows.Forms.BindingSource(this.components); this.periodSelector = new PeriodSelector(); this.bsPersons.BeginInit(); base.SuspendLayout(); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(12, 0x12)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0x52, 13)); this.label1.set_TabIndex(2); this.label1.set_Text("Проживающий"); this.label2.set_AutoSize(true); this.label2.set_Location(new System.Drawing.Point(12, 0x33)); this.label2.set_Name("label2"); this.label2.set_Size(new System.Drawing.Size(0x2c, 13)); this.label2.set_TabIndex(3); this.label2.set_Text("Сальдо"); this.tbSumm.set_Location(new System.Drawing.Point(0x65, 0x30)); this.tbSumm.set_Name("tbSumm"); this.tbSumm.set_Size(new System.Drawing.Size(120, 20)); this.tbSumm.set_TabIndex(1); this.tbSumm.add_TextChanged(new System.EventHandler(this.tbSumm_TextChanged)); this.label3.set_AutoSize(true); this.label3.set_Location(new System.Drawing.Point(240, 0x33)); this.label3.set_Name("label3"); this.label3.set_Size(new System.Drawing.Size(0x3a, 13)); this.label3.set_TabIndex(6); this.label3.set_Text("на период"); this.btnApply.set_Location(new System.Drawing.Point(0xd6, 0x5c)); this.btnApply.set_Name("btnApply"); this.btnApply.set_Size(new System.Drawing.Size(0x5d, 0x1d)); this.btnApply.set_TabIndex(3); this.btnApply.set_Text("Добавить"); this.btnApply.set_UseVisualStyleBackColor(true); this.btnApply.add_Click(new System.EventHandler(this.btnApply_Click)); this.btnCancel.set_Location(new System.Drawing.Point(0x139, 0x5c)); this.btnCancel.set_Name("btnCancel"); this.btnCancel.set_Size(new System.Drawing.Size(0x5d, 0x1d)); this.btnCancel.set_TabIndex(4); this.btnCancel.set_Text("Отмена"); this.btnCancel.set_UseVisualStyleBackColor(true); this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click)); this.cbxResidents.set_DataSource(this.bsPersons); this.cbxResidents.set_DisplayMember("FullName"); this.cbxResidents.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList); this.cbxResidents.set_FormattingEnabled(true); this.cbxResidents.set_Location(new System.Drawing.Point(0x65, 15)); this.cbxResidents.set_Name("cbxResidents"); this.cbxResidents.set_Size(new System.Drawing.Size(0x131, 0x15)); this.cbxResidents.set_TabIndex(0); this.cbxResidents.set_ValueMember("Id"); this.bsPersons.set_DataSource(typeof(Person)); this.periodSelector.set_Location(new System.Drawing.Point(0x12e, 0x2e)); this.periodSelector.set_Name("periodSelector"); this.periodSelector.set_Size(new System.Drawing.Size(0x68, 0x1a)); this.periodSelector.set_TabIndex(9); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(0x1aa, 0x85)); base.Controls.Add(this.periodSelector); base.Controls.Add(this.cbxResidents); base.Controls.Add(this.btnCancel); base.Controls.Add(this.btnApply); base.Controls.Add(this.label3); base.Controls.Add(this.tbSumm); base.Controls.Add(this.label2); base.Controls.Add(this.label1); base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog); base.set_MaximizeBox(false); base.set_MinimizeBox(false); base.set_Name("BenefitDebtAddForm"); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen); this.set_Text("Добавление задолженности по льготам"); base.add_Load(new System.EventHandler(this.BenefitDebtAddForm_Load)); this.bsPersons.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }