Пример #1
0
 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();
     System.Windows.Forms.DataGridViewCellStyle style8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style9 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style11 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style12 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style13 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style14 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style15 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style16 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style17 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style18 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style19 = new System.Windows.Forms.DataGridViewCellStyle();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.tbComment = new System.Windows.Forms.TextBox();
     this.btnSaveRecalc = new System.Windows.Forms.Button();
     this.btnReCalc = new System.Windows.Forms.Button();
     this.dgvRecalcPeriod = new System.Windows.Forms.DataGridView();
     this.period = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.DiffChargeSummPeriod = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.DiffBenefitSummPeriod = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.dgvAccountServices = new System.Windows.Forms.DataGridView();
     this.serviceCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serviceShortName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.oldChargeSummDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.oldBenefitSummDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.chargeSummDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.benefitSummDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.diffChargeSumm = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.diffBenefitSumm = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsCalcServices = new System.Windows.Forms.BindingSource(this.components);
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.menuStrip1 = new System.Windows.Forms.MenuStrip();
     this.выбратьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmMonth1 = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmMonth2 = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmMonth3 = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmMonth6 = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmMonth9 = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmMonth12 = new System.Windows.Forms.ToolStripMenuItem();
     this.label4 = new System.Windows.Forms.Label();
     this.selectOrgDocument = new SelectOrgDocument();
     this.dbPeriodDate = new DatePeriod();
     this.selectTypeRecalc = new SelectFasetData();
     this.cbIsUseNoticeRecalcUseByPeriod = new System.Windows.Forms.CheckBox();
     this.cbIsUseRecalcHouseCounters = new System.Windows.Forms.CheckBox();
     this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
     this.btnSelectAccountService = new System.Windows.Forms.Button();
     this.btnParametersOfCalculation = new System.Windows.Forms.Button();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.m_ReCalcWorker = new BackgroundWorker();
     this.tlpIsUseRecalc = new System.Windows.Forms.TableLayoutPanel();
     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.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn33 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn34 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn35 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn36 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn37 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn38 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn39 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn40 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn41 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn42 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn43 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn44 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn45 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn46 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn47 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn48 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn49 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.cbIsUseSaveRecalcAsCharge = new System.Windows.Forms.CheckBox();
     this.dgvRecalcPeriod.BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.dgvAccountServices.BeginInit();
     this.bsCalcServices.BeginInit();
     this.groupBox1.SuspendLayout();
     this.menuStrip1.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.tlpIsUseRecalc.SuspendLayout();
     base.SuspendLayout();
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(3, 0x10));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x2d, 13));
     this.label1.set_TabIndex(0);
     this.label1.set_Text("Период");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(3, 0x2d));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(50, 13));
     this.label2.set_TabIndex(1);
     this.label2.set_Text("Причина");
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(3, 0x45));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(70, 13));
     this.label3.set_TabIndex(2);
     this.label3.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(0x4a, 0x42));
     this.tbComment.set_Name("tbComment");
     this.tbComment.set_Size(new System.Drawing.Size(0x255, 20));
     this.tbComment.set_TabIndex(2);
     this.btnSaveRecalc.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnSaveRecalc.set_Location(new System.Drawing.Point(0xab, 3));
     this.btnSaveRecalc.set_Name("btnSaveRecalc");
     this.btnSaveRecalc.set_Size(new System.Drawing.Size(0x5f, 0x1d));
     this.btnSaveRecalc.set_TabIndex(5);
     this.btnSaveRecalc.set_Text("Сохранить");
     this.btnSaveRecalc.set_UseVisualStyleBackColor(true);
     this.btnSaveRecalc.add_Click(new System.EventHandler(this.btnSaveRecalc_Click));
     this.btnReCalc.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnReCalc.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btnReCalc.set_Location(new System.Drawing.Point(3, 3));
     this.btnReCalc.set_Name("btnReCalc");
     this.btnReCalc.set_Size(new System.Drawing.Size(0x5f, 0x1d));
     this.btnReCalc.set_TabIndex(4);
     this.btnReCalc.set_Text("Рассчитать");
     this.btnReCalc.set_UseVisualStyleBackColor(true);
     this.btnReCalc.add_Click(new System.EventHandler(this.btnReCalc_Click));
     this.dgvRecalcPeriod.set_AllowUserToAddRows(false);
     this.dgvRecalcPeriod.set_AllowUserToDeleteRows(false);
     this.dgvRecalcPeriod.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvRecalcPeriod.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders);
     this.dgvRecalcPeriod.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvRecalcPeriod.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.period, this.DiffChargeSummPeriod, this.DiffBenefitSummPeriod });
     this.dgvRecalcPeriod.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvRecalcPeriod.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvRecalcPeriod.set_Location(new System.Drawing.Point(0, 0));
     this.dgvRecalcPeriod.set_Name("dgvRecalcPeriod");
     this.dgvRecalcPeriod.set_ReadOnly(true);
     this.dgvRecalcPeriod.set_RowHeadersVisible(false);
     this.dgvRecalcPeriod.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvRecalcPeriod.set_Size(new System.Drawing.Size(0x80, 0xe4));
     this.dgvRecalcPeriod.set_TabIndex(7);
     this.dgvRecalcPeriod.add_CellFormatting(new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgvRecalcPeriod_CellFormatting));
     this.dgvRecalcPeriod.add_SelectionChanged(new System.EventHandler(this.dgvRecalcPeriod_SelectionChanged));
     this.period.set_DataPropertyName("period");
     style.set_Format("MM'.'yyyy");
     style.set_NullValue(null);
     this.period.set_DefaultCellStyle(style);
     this.period.set_HeaderText("Период");
     this.period.set_MinimumWidth(50);
     this.period.set_Name("period");
     this.period.set_ReadOnly(true);
     this.period.set_Width(50);
     this.DiffChargeSummPeriod.set_DataPropertyName("DiffChargeSumm");
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.DiffChargeSummPeriod.set_DefaultCellStyle(style2);
     this.DiffChargeSummPeriod.set_HeaderText("Нач. разница");
     this.DiffChargeSummPeriod.set_MinimumWidth(40);
     this.DiffChargeSummPeriod.set_Name("DiffChargeSummPeriod");
     this.DiffChargeSummPeriod.set_ReadOnly(true);
     this.DiffChargeSummPeriod.set_Width(40);
     this.DiffBenefitSummPeriod.set_DataPropertyName("DiffBenefitSumm");
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.DiffBenefitSummPeriod.set_DefaultCellStyle(style3);
     this.DiffBenefitSummPeriod.set_HeaderText("Льгот разница");
     this.DiffBenefitSummPeriod.set_MinimumWidth(40);
     this.DiffBenefitSummPeriod.set_Name("DiffBenefitSummPeriod");
     this.DiffBenefitSummPeriod.set_ReadOnly(true);
     this.DiffBenefitSummPeriod.set_Width(40);
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0xb1));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.Panel1.Controls.Add(this.dgvRecalcPeriod);
     this.splitContainer1.Panel2.Controls.Add(this.dgvAccountServices);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x2a5, 0xe4));
     this.splitContainer1.set_SplitterDistance(0x80);
     this.splitContainer1.set_TabIndex(0x15);
     this.dgvAccountServices.set_AllowUserToAddRows(false);
     this.dgvAccountServices.set_AllowUserToDeleteRows(false);
     this.dgvAccountServices.set_AutoGenerateColumns(false);
     this.dgvAccountServices.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCellsExceptHeader);
     this.dgvAccountServices.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders);
     this.dgvAccountServices.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvAccountServices.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.serviceCodeDataGridViewTextBoxColumn, this.serviceShortName, this.oldChargeSummDataGridViewTextBoxColumn, this.oldBenefitSummDataGridViewTextBoxColumn, this.chargeSummDataGridViewTextBoxColumn, this.benefitSummDataGridViewTextBoxColumn, this.diffChargeSumm, this.diffBenefitSumm });
     this.dgvAccountServices.set_DataSource(this.bsCalcServices);
     this.dgvAccountServices.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvAccountServices.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvAccountServices.set_Location(new System.Drawing.Point(0, 0));
     this.dgvAccountServices.set_Name("dgvAccountServices");
     this.dgvAccountServices.set_ReadOnly(true);
     this.dgvAccountServices.set_RowHeadersVisible(false);
     this.dgvAccountServices.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvAccountServices.set_Size(new System.Drawing.Size(0x221, 0xe4));
     this.dgvAccountServices.set_TabIndex(8);
     this.dgvAccountServices.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAccountServices_CellDoubleClick));
     this.dgvAccountServices.add_CellFormatting(new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgvAccountServices_CellFormatting));
     this.serviceCodeDataGridViewTextBoxColumn.set_DataPropertyName("ServiceCode");
     this.serviceCodeDataGridViewTextBoxColumn.set_HeaderText("Код");
     this.serviceCodeDataGridViewTextBoxColumn.set_MinimumWidth(30);
     this.serviceCodeDataGridViewTextBoxColumn.set_Name("serviceCodeDataGridViewTextBoxColumn");
     this.serviceCodeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.serviceCodeDataGridViewTextBoxColumn.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.NotSortable);
     this.serviceCodeDataGridViewTextBoxColumn.set_Width(30);
     this.serviceShortName.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill);
     this.serviceShortName.set_DataPropertyName("ServiceShortName");
     this.serviceShortName.set_HeaderText("Услуга");
     this.serviceShortName.set_MinimumWidth(30);
     this.serviceShortName.set_Name("serviceShortName");
     this.serviceShortName.set_ReadOnly(true);
     this.serviceShortName.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.NotSortable);
     this.oldChargeSummDataGridViewTextBoxColumn.set_DataPropertyName("OldChargeSumm");
     style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.oldChargeSummDataGridViewTextBoxColumn.set_DefaultCellStyle(style4);
     this.oldChargeSummDataGridViewTextBoxColumn.set_HeaderText("Нач. до");
     this.oldChargeSummDataGridViewTextBoxColumn.set_MinimumWidth(50);
     this.oldChargeSummDataGridViewTextBoxColumn.set_Name("oldChargeSummDataGridViewTextBoxColumn");
     this.oldChargeSummDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.oldChargeSummDataGridViewTextBoxColumn.set_Width(50);
     this.oldBenefitSummDataGridViewTextBoxColumn.set_DataPropertyName("OldBenefitSumm");
     style5.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.oldBenefitSummDataGridViewTextBoxColumn.set_DefaultCellStyle(style5);
     this.oldBenefitSummDataGridViewTextBoxColumn.set_HeaderText("Льгота до");
     this.oldBenefitSummDataGridViewTextBoxColumn.set_MinimumWidth(50);
     this.oldBenefitSummDataGridViewTextBoxColumn.set_Name("oldBenefitSummDataGridViewTextBoxColumn");
     this.oldBenefitSummDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.oldBenefitSummDataGridViewTextBoxColumn.set_Width(50);
     this.chargeSummDataGridViewTextBoxColumn.set_DataPropertyName("ChargeSumm");
     style6.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.chargeSummDataGridViewTextBoxColumn.set_DefaultCellStyle(style6);
     this.chargeSummDataGridViewTextBoxColumn.set_HeaderText("Нач. после");
     this.chargeSummDataGridViewTextBoxColumn.set_MinimumWidth(50);
     this.chargeSummDataGridViewTextBoxColumn.set_Name("chargeSummDataGridViewTextBoxColumn");
     this.chargeSummDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.chargeSummDataGridViewTextBoxColumn.set_Width(50);
     this.benefitSummDataGridViewTextBoxColumn.set_DataPropertyName("BenefitSumm");
     style7.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.benefitSummDataGridViewTextBoxColumn.set_DefaultCellStyle(style7);
     this.benefitSummDataGridViewTextBoxColumn.set_HeaderText("Льгота после");
     this.benefitSummDataGridViewTextBoxColumn.set_MinimumWidth(50);
     this.benefitSummDataGridViewTextBoxColumn.set_Name("benefitSummDataGridViewTextBoxColumn");
     this.benefitSummDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.benefitSummDataGridViewTextBoxColumn.set_Width(50);
     this.diffChargeSumm.set_DataPropertyName("DiffChargeSumm");
     style8.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.diffChargeSumm.set_DefaultCellStyle(style8);
     this.diffChargeSumm.set_HeaderText("Нач. разница");
     this.diffChargeSumm.set_MinimumWidth(50);
     this.diffChargeSumm.set_Name("diffChargeSumm");
     this.diffChargeSumm.set_ReadOnly(true);
     this.diffChargeSumm.set_Width(50);
     this.diffBenefitSumm.set_DataPropertyName("DiffBenefitSumm");
     style9.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.diffBenefitSumm.set_DefaultCellStyle(style9);
     this.diffBenefitSumm.set_HeaderText("Льгот разница");
     this.diffBenefitSumm.set_MinimumWidth(50);
     this.diffBenefitSumm.set_Name("diffBenefitSumm");
     this.diffBenefitSumm.set_ReadOnly(true);
     this.diffBenefitSumm.set_Width(50);
     this.bsCalcServices.set_DataSource(typeof(CalcService));
     this.groupBox1.Controls.Add(this.menuStrip1);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.selectOrgDocument);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.dbPeriodDate);
     this.groupBox1.Controls.Add(this.tbComment);
     this.groupBox1.Controls.Add(this.selectTypeRecalc);
     this.groupBox1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox1.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(0x2a5, 0x75));
     this.groupBox1.set_TabIndex(0x16);
     this.groupBox1.set_TabStop(false);
     this.menuStrip1.set_Dock(System.Windows.Forms.DockStyle.None);
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.выбратьToolStripMenuItem });
     this.menuStrip1.set_Location(new System.Drawing.Point(0x131, 13));
     this.menuStrip1.set_Name("menuStrip1");
     this.menuStrip1.set_Size(new System.Drawing.Size(0x4a, 0x18));
     this.menuStrip1.set_TabIndex(0x19);
     this.menuStrip1.set_Text("menuStrip1");
     this.выбратьToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmMonth1, this.tsmMonth2, this.tsmMonth3, this.tsmMonth6, this.tsmMonth9, this.tsmMonth12 });
     this.выбратьToolStripMenuItem.set_Name("выбратьToolStripMenuItem");
     this.выбратьToolStripMenuItem.set_Size(new System.Drawing.Size(0x42, 20));
     this.выбратьToolStripMenuItem.set_Text("Выбрать");
     this.tsmMonth1.set_Name("tsmMonth1");
     this.tsmMonth1.set_Size(new System.Drawing.Size(0x56, 0x16));
     this.tsmMonth1.set_Text("1");
     this.tsmMonth1.add_Click(new System.EventHandler(this.tsmMonth1_Click));
     this.tsmMonth2.set_Name("tsmMonth2");
     this.tsmMonth2.set_Size(new System.Drawing.Size(0x56, 0x16));
     this.tsmMonth2.set_Text("2");
     this.tsmMonth2.add_Click(new System.EventHandler(this.tsmMonth2_Click));
     this.tsmMonth3.set_Name("tsmMonth3");
     this.tsmMonth3.set_Size(new System.Drawing.Size(0x56, 0x16));
     this.tsmMonth3.set_Text("3");
     this.tsmMonth3.add_Click(new System.EventHandler(this.tsmMonth3_Click));
     this.tsmMonth6.set_Name("tsmMonth6");
     this.tsmMonth6.set_Size(new System.Drawing.Size(0x56, 0x16));
     this.tsmMonth6.set_Text("6");
     this.tsmMonth6.add_Click(new System.EventHandler(this.tsmMonth6_Click));
     this.tsmMonth9.set_Name("tsmMonth9");
     this.tsmMonth9.set_Size(new System.Drawing.Size(0x56, 0x16));
     this.tsmMonth9.set_Text("9");
     this.tsmMonth9.add_Click(new System.EventHandler(this.tsmMonth9_Click));
     this.tsmMonth12.set_Name("tsmMonth12");
     this.tsmMonth12.set_Size(new System.Drawing.Size(0x56, 0x16));
     this.tsmMonth12.set_Text("12");
     this.tsmMonth12.add_Click(new System.EventHandler(this.tsmMonth12_Click));
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(3, 0x5e));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x3a, 13));
     this.label4.set_TabIndex(12);
     this.label4.set_Text("Документ");
     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(0x4a, 90));
     this.selectOrgDocument.set_Name("selectOrgDocument");
     this.selectOrgDocument.set_Size(new System.Drawing.Size(0x255, 0x17));
     this.selectOrgDocument.set_TabIndex(3);
     this.dbPeriodDate.AttachToPeriod = false;
     this.dbPeriodDate.DateBeginReadonly = false;
     this.dbPeriodDate.DateEndReadonly = false;
     this.dbPeriodDate.set_Location(new System.Drawing.Point(0x44, 13));
     this.dbPeriodDate.set_Margin(new System.Windows.Forms.Padding(4));
     this.dbPeriodDate.set_Name("dbPeriodDate");
     this.dbPeriodDate.set_Size(new System.Drawing.Size(0xe9, 0x17));
     this.dbPeriodDate.set_TabIndex(0);
     this.selectTypeRecalc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectTypeRecalc.set_AutoCompleteMode(System.Windows.Forms.AutoCompleteMode.SuggestAppend);
     this.selectTypeRecalc.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource.ListItems);
     this.selectTypeRecalc.set_FormattingEnabled(true);
     this.selectTypeRecalc.set_Location(new System.Drawing.Point(0x4a, 0x2a));
     this.selectTypeRecalc.set_Name("selectTypeRecalc");
     this.selectTypeRecalc.set_Size(new System.Drawing.Size(0x255, 0x15));
     this.selectTypeRecalc.set_Sorted(true);
     this.selectTypeRecalc.set_TabIndex(1);
     this.selectTypeRecalc.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.selectTypeRecalc_KeyDown));
     this.cbIsUseNoticeRecalcUseByPeriod.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.cbIsUseNoticeRecalcUseByPeriod.set_AutoSize(true);
     this.cbIsUseNoticeRecalcUseByPeriod.set_Location(new System.Drawing.Point(0xce, 4));
     this.cbIsUseNoticeRecalcUseByPeriod.set_Name("cbIsUseNoticeRecalcUseByPeriod");
     this.cbIsUseNoticeRecalcUseByPeriod.set_Size(new System.Drawing.Size(0x62, 0x11));
     this.cbIsUseNoticeRecalcUseByPeriod.set_TabIndex(0x35);
     this.cbIsUseNoticeRecalcUseByPeriod.set_Text("Учесть в ЕПД");
     this.cbIsUseNoticeRecalcUseByPeriod.set_UseVisualStyleBackColor(true);
     this.cbIsUseRecalcHouseCounters.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.cbIsUseRecalcHouseCounters.set_AutoSize(true);
     this.cbIsUseRecalcHouseCounters.set_Location(new System.Drawing.Point(0x199, 4));
     this.cbIsUseRecalcHouseCounters.set_Name("cbIsUseRecalcHouseCounters");
     this.cbIsUseRecalcHouseCounters.set_Size(new System.Drawing.Size(0x98, 0x11));
     this.cbIsUseRecalcHouseCounters.set_TabIndex(0x33);
     this.cbIsUseRecalcHouseCounters.set_Text("Учесть при расчете КПУ");
     this.cbIsUseRecalcHouseCounters.set_UseVisualStyleBackColor(true);
     this.dataGridViewImageColumn1.set_HeaderText("Column1");
     this.dataGridViewImageColumn1.set_Image(Resources.LOADING);
     this.dataGridViewImageColumn1.set_Name("dataGridViewImageColumn1");
     this.btnSelectAccountService.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnSelectAccountService.set_Location(new System.Drawing.Point(0x110, 3));
     this.btnSelectAccountService.set_Name("btnSelectAccountService");
     this.btnSelectAccountService.set_Size(new System.Drawing.Size(0xc5, 0x1d));
     this.btnSelectAccountService.set_TabIndex(6);
     this.btnSelectAccountService.set_Text("Сохранить выборочно");
     this.btnSelectAccountService.set_UseVisualStyleBackColor(true);
     this.btnSelectAccountService.add_Click(new System.EventHandler(this.btnSaveRecalc_Click));
     this.btnParametersOfCalculation.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnParametersOfCalculation.set_Location(new System.Drawing.Point(0x1db, 3));
     this.btnParametersOfCalculation.set_Name("btnParametersOfCalculation");
     this.btnParametersOfCalculation.set_Size(new System.Drawing.Size(0xc7, 0x1d));
     this.btnParametersOfCalculation.set_TabIndex(0x17);
     this.btnParametersOfCalculation.set_Text("Параметры расчета");
     this.btnParametersOfCalculation.set_UseVisualStyleBackColor(true);
     this.btnParametersOfCalculation.add_Click(new System.EventHandler(this.btnParametersOfCalculation_Click));
     this.tableLayoutPanel1.set_ColumnCount(5);
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30f));
     this.tableLayoutPanel1.Controls.Add(this.btnReCalc, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.btnParametersOfCalculation, 4, 0);
     this.tableLayoutPanel1.Controls.Add(this.btnSaveRecalc, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.btnSelectAccountService, 3, 0);
     this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0x8e));
     this.tableLayoutPanel1.set_Name("tableLayoutPanel1");
     this.tableLayoutPanel1.set_RowCount(1);
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f));
     this.tableLayoutPanel1.set_Size(new System.Drawing.Size(0x2a5, 0x23));
     this.tableLayoutPanel1.set_TabIndex(0x18);
     this.m_ReCalcWorker.add_DoWork(new DoWorkEventHandler(this.m_SearchWorker_DoWork));
     this.m_ReCalcWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_SearchWorker_RunWorkerCompleted));
     this.tlpIsUseRecalc.set_ColumnCount(3);
     this.tlpIsUseRecalc.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30f));
     this.tlpIsUseRecalc.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30f));
     this.tlpIsUseRecalc.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40f));
     this.tlpIsUseRecalc.Controls.Add(this.cbIsUseSaveRecalcAsCharge, 0, 0);
     this.tlpIsUseRecalc.Controls.Add(this.cbIsUseRecalcHouseCounters, 2, 0);
     this.tlpIsUseRecalc.Controls.Add(this.cbIsUseNoticeRecalcUseByPeriod, 1, 0);
     this.tlpIsUseRecalc.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.tlpIsUseRecalc.set_Location(new System.Drawing.Point(0, 0x75));
     this.tlpIsUseRecalc.set_Name("tlpIsUseRecalc");
     this.tlpIsUseRecalc.set_RowCount(1);
     this.tlpIsUseRecalc.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f));
     this.tlpIsUseRecalc.set_Size(new System.Drawing.Size(0x2a5, 0x19));
     this.tlpIsUseRecalc.set_TabIndex(0x19);
     this.dataGridViewTextBoxColumn1.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("Dateb");
     style10.set_Format("MM'.'yyyy");
     style10.set_NullValue(null);
     this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style10);
     this.dataGridViewTextBoxColumn1.set_HeaderText("Дата начала действия");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(50);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.NotSortable);
     this.dataGridViewTextBoxColumn2.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("Datee");
     style11.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.dataGridViewTextBoxColumn2.set_DefaultCellStyle(style11);
     this.dataGridViewTextBoxColumn2.set_HeaderText("Дата конца действия");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(50);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("FromDate");
     style12.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.dataGridViewTextBoxColumn3.set_DefaultCellStyle(style12);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Дата открытия");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(50);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Дата закрытия");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(30);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.NotSortable);
     this.dataGridViewTextBoxColumn4.set_Visible(false);
     this.dataGridViewTextBoxColumn4.set_Width(0x65);
     this.dataGridViewTextBoxColumn5.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("Balance");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Сальдо");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(40);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.NotSortable);
     this.dataGridViewTextBoxColumn6.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("HouseHolderId");
     style13.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.dataGridViewTextBoxColumn6.set_DefaultCellStyle(style13);
     this.dataGridViewTextBoxColumn6.set_HeaderText("HouseHolderId");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(0x44);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("LastRateId");
     style14.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.dataGridViewTextBoxColumn7.set_DefaultCellStyle(style14);
     this.dataGridViewTextBoxColumn7.set_HeaderText("LastRateId");
     this.dataGridViewTextBoxColumn7.set_MinimumWidth(50);
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("AccountFromDate");
     style15.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.dataGridViewTextBoxColumn8.set_DefaultCellStyle(style15);
     this.dataGridViewTextBoxColumn8.set_HeaderText("AccountFromDate");
     this.dataGridViewTextBoxColumn8.set_MinimumWidth(50);
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("ServiceTypeId");
     style16.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.dataGridViewTextBoxColumn9.set_DefaultCellStyle(style16);
     this.dataGridViewTextBoxColumn9.set_HeaderText("ServiceTypeId");
     this.dataGridViewTextBoxColumn9.set_MinimumWidth(50);
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn10.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("AlgorithmName");
     style17.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.dataGridViewTextBoxColumn10.set_DefaultCellStyle(style17);
     this.dataGridViewTextBoxColumn10.set_HeaderText("AlgorithmName");
     this.dataGridViewTextBoxColumn10.set_MinimumWidth(50);
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn11.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("HouseHolderCode");
     style18.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.dataGridViewTextBoxColumn11.set_DefaultCellStyle(style18);
     this.dataGridViewTextBoxColumn11.set_HeaderText("HouseHolderCode");
     this.dataGridViewTextBoxColumn11.set_MinimumWidth(60);
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn12.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("LastRate");
     style19.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.dataGridViewTextBoxColumn12.set_DefaultCellStyle(style19);
     this.dataGridViewTextBoxColumn12.set_HeaderText("LastRate");
     this.dataGridViewTextBoxColumn12.set_MinimumWidth(60);
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("Balance");
     this.dataGridViewTextBoxColumn13.set_HeaderText("Balance");
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn14.set_DataPropertyName("HouseHolderName");
     this.dataGridViewTextBoxColumn14.set_HeaderText("HouseHolderName");
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("CurrentRateId");
     this.dataGridViewTextBoxColumn15.set_HeaderText("CurrentRateId");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("ObjectWithIdType");
     this.dataGridViewTextBoxColumn16.set_HeaderText("ObjectWithIdType");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     this.dataGridViewTextBoxColumn17.set_DataPropertyName("Datee");
     this.dataGridViewTextBoxColumn17.set_HeaderText("Datee");
     this.dataGridViewTextBoxColumn17.set_Name("dataGridViewTextBoxColumn17");
     this.dataGridViewTextBoxColumn18.set_DataPropertyName("ServiceTypeName");
     this.dataGridViewTextBoxColumn18.set_HeaderText("ServiceTypeName");
     this.dataGridViewTextBoxColumn18.set_Name("dataGridViewTextBoxColumn18");
     this.dataGridViewTextBoxColumn19.set_DataPropertyName("Datec");
     this.dataGridViewTextBoxColumn19.set_HeaderText("Datec");
     this.dataGridViewTextBoxColumn19.set_Name("dataGridViewTextBoxColumn19");
     this.dataGridViewTextBoxColumn20.set_DataPropertyName("OrgCode");
     this.dataGridViewTextBoxColumn20.set_HeaderText("OrgCode");
     this.dataGridViewTextBoxColumn20.set_Name("dataGridViewTextBoxColumn20");
     this.dataGridViewTextBoxColumn21.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn21.set_HeaderText("Created");
     this.dataGridViewTextBoxColumn21.set_Name("dataGridViewTextBoxColumn21");
     this.dataGridViewTextBoxColumn22.set_DataPropertyName("AccountOwnerId");
     this.dataGridViewTextBoxColumn22.set_HeaderText("AccountOwnerId");
     this.dataGridViewTextBoxColumn22.set_Name("dataGridViewTextBoxColumn22");
     this.dataGridViewTextBoxColumn23.set_DataPropertyName("ProviderId");
     this.dataGridViewTextBoxColumn23.set_HeaderText("ProviderId");
     this.dataGridViewTextBoxColumn23.set_Name("dataGridViewTextBoxColumn23");
     this.dataGridViewTextBoxColumn24.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn24.set_HeaderText("ToDate");
     this.dataGridViewTextBoxColumn24.set_Name("dataGridViewTextBoxColumn24");
     this.dataGridViewTextBoxColumn25.set_DataPropertyName("ServiceId");
     this.dataGridViewTextBoxColumn25.set_HeaderText("ServiceId");
     this.dataGridViewTextBoxColumn25.set_Name("dataGridViewTextBoxColumn25");
     this.dataGridViewTextBoxColumn26.set_DataPropertyName("ServiceCode");
     this.dataGridViewTextBoxColumn26.set_HeaderText("ServiceCode");
     this.dataGridViewTextBoxColumn26.set_Name("dataGridViewTextBoxColumn26");
     this.dataGridViewTextBoxColumn27.set_DataPropertyName("AccountkodCl");
     this.dataGridViewTextBoxColumn27.set_HeaderText("AccountkodCl");
     this.dataGridViewTextBoxColumn27.set_Name("dataGridViewTextBoxColumn27");
     this.dataGridViewTextBoxColumn28.set_DataPropertyName("Dateb");
     this.dataGridViewTextBoxColumn28.set_HeaderText("Dateb");
     this.dataGridViewTextBoxColumn28.set_Name("dataGridViewTextBoxColumn28");
     this.dataGridViewTextBoxColumn29.set_DataPropertyName("OrgDocument");
     this.dataGridViewTextBoxColumn29.set_HeaderText("OrgDocument");
     this.dataGridViewTextBoxColumn29.set_Name("dataGridViewTextBoxColumn29");
     this.dataGridViewTextBoxColumn30.set_DataPropertyName("OrgDocumentView");
     this.dataGridViewTextBoxColumn30.set_HeaderText("OrgDocumentView");
     this.dataGridViewTextBoxColumn30.set_Name("dataGridViewTextBoxColumn30");
     this.dataGridViewTextBoxColumn31.set_DataPropertyName("CurrentRate");
     this.dataGridViewTextBoxColumn31.set_HeaderText("CurrentRate");
     this.dataGridViewTextBoxColumn31.set_Name("dataGridViewTextBoxColumn31");
     this.dataGridViewTextBoxColumn32.set_DataPropertyName("AccountNumber");
     this.dataGridViewTextBoxColumn32.set_HeaderText("AccountNumber");
     this.dataGridViewTextBoxColumn32.set_Name("dataGridViewTextBoxColumn32");
     this.dataGridViewTextBoxColumn33.set_DataPropertyName("AccountOwnerName");
     this.dataGridViewTextBoxColumn33.set_HeaderText("AccountOwnerName");
     this.dataGridViewTextBoxColumn33.set_Name("dataGridViewTextBoxColumn33");
     this.dataGridViewTextBoxColumn34.set_DataPropertyName("AccountCreated");
     this.dataGridViewTextBoxColumn34.set_HeaderText("AccountCreated");
     this.dataGridViewTextBoxColumn34.set_Name("dataGridViewTextBoxColumn34");
     this.dataGridViewTextBoxColumn35.set_DataPropertyName("EquipmentCount");
     this.dataGridViewTextBoxColumn35.set_HeaderText("EquipmentCount");
     this.dataGridViewTextBoxColumn35.set_Name("dataGridViewTextBoxColumn35");
     this.dataGridViewTextBoxColumn36.set_DataPropertyName("HouseHolderLongName");
     this.dataGridViewTextBoxColumn36.set_HeaderText("HouseHolderLongName");
     this.dataGridViewTextBoxColumn36.set_Name("dataGridViewTextBoxColumn36");
     this.dataGridViewTextBoxColumn37.set_DataPropertyName("OrgDocumentId");
     this.dataGridViewTextBoxColumn37.set_HeaderText("OrgDocumentId");
     this.dataGridViewTextBoxColumn37.set_Name("dataGridViewTextBoxColumn37");
     this.dataGridViewTextBoxColumn38.set_DataPropertyName("ServiceLongName");
     this.dataGridViewTextBoxColumn38.set_HeaderText("ServiceLongName");
     this.dataGridViewTextBoxColumn38.set_Name("dataGridViewTextBoxColumn38");
     this.dataGridViewTextBoxColumn39.set_DataPropertyName("CounterCount");
     this.dataGridViewTextBoxColumn39.set_HeaderText("CounterCount");
     this.dataGridViewTextBoxColumn39.set_Name("dataGridViewTextBoxColumn39");
     this.dataGridViewTextBoxColumn40.set_DataPropertyName("AccountToDate");
     this.dataGridViewTextBoxColumn40.set_HeaderText("AccountToDate");
     this.dataGridViewTextBoxColumn40.set_Name("dataGridViewTextBoxColumn40");
     this.dataGridViewTextBoxColumn41.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn41.set_HeaderText("FromDate");
     this.dataGridViewTextBoxColumn41.set_Name("dataGridViewTextBoxColumn41");
     this.dataGridViewTextBoxColumn42.set_DataPropertyName("CanonicalName");
     this.dataGridViewTextBoxColumn42.set_HeaderText("CanonicalName");
     this.dataGridViewTextBoxColumn42.set_Name("dataGridViewTextBoxColumn42");
     this.dataGridViewTextBoxColumn43.set_DataPropertyName("CounterName");
     this.dataGridViewTextBoxColumn43.set_HeaderText("CounterName");
     this.dataGridViewTextBoxColumn43.set_Name("dataGridViewTextBoxColumn43");
     this.dataGridViewTextBoxColumn44.set_DataPropertyName("AccountkodObj");
     this.dataGridViewTextBoxColumn44.set_HeaderText("AccountkodObj");
     this.dataGridViewTextBoxColumn44.set_Name("dataGridViewTextBoxColumn44");
     this.dataGridViewTextBoxColumn45.set_DataPropertyName("OrgName");
     this.dataGridViewTextBoxColumn45.set_HeaderText("OrgName");
     this.dataGridViewTextBoxColumn45.set_Name("dataGridViewTextBoxColumn45");
     this.dataGridViewTextBoxColumn46.set_DataPropertyName("AccountId");
     this.dataGridViewTextBoxColumn46.set_HeaderText("AccountId");
     this.dataGridViewTextBoxColumn46.set_Name("dataGridViewTextBoxColumn46");
     this.dataGridViewTextBoxColumn47.set_DataPropertyName("AlgorithmId");
     this.dataGridViewTextBoxColumn47.set_HeaderText("AlgorithmId");
     this.dataGridViewTextBoxColumn47.set_Name("dataGridViewTextBoxColumn47");
     this.dataGridViewTextBoxColumn48.set_DataPropertyName("CanonicalId");
     this.dataGridViewTextBoxColumn48.set_HeaderText("CanonicalId");
     this.dataGridViewTextBoxColumn48.set_Name("dataGridViewTextBoxColumn48");
     this.dataGridViewTextBoxColumn49.set_DataPropertyName("ServiceShortName");
     this.dataGridViewTextBoxColumn49.set_HeaderText("ServiceShortName");
     this.dataGridViewTextBoxColumn49.set_Name("dataGridViewTextBoxColumn49");
     this.cbIsUseSaveRecalcAsCharge.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.cbIsUseSaveRecalcAsCharge.set_AutoSize(true);
     this.cbIsUseSaveRecalcAsCharge.set_Location(new System.Drawing.Point(3, 4));
     this.cbIsUseSaveRecalcAsCharge.set_Name("cbIsUseSaveRecalcAsCharge");
     this.cbIsUseSaveRecalcAsCharge.set_Size(new System.Drawing.Size(0xa2, 0x11));
     this.cbIsUseSaveRecalcAsCharge.set_TabIndex(0x36);
     this.cbIsUseSaveRecalcAsCharge.set_Text("Сохранить как начисление");
     this.cbIsUseSaveRecalcAsCharge.set_UseVisualStyleBackColor(true);
     base.Controls.Add(this.splitContainer1);
     base.Controls.Add(this.tableLayoutPanel1);
     base.Controls.Add(this.tlpIsUseRecalc);
     base.Controls.Add(this.groupBox1);
     base.set_Name("AccountRecalcView");
     base.set_Size(new System.Drawing.Size(0x2a5, 0x195));
     base.add_Load(new System.EventHandler(this.RecalcOfAccountServicesView_Load));
     this.dgvRecalcPeriod.EndInit();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.dgvAccountServices.EndInit();
     this.bsCalcServices.EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tlpIsUseRecalc.ResumeLayout(false);
     this.tlpIsUseRecalc.PerformLayout();
     base.ResumeLayout(false);
 }
Пример #2
0
 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();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PayPaymentOrdersForm));
     System.Windows.Forms.DataGridViewCellStyle style4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style5 = new System.Windows.Forms.DataGridViewCellStyle();
     this.dgvIncludedReesters = new System.Windows.Forms.DataGridView();
     this.IsBound = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.numberDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.summDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.paymentSystemNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.organizationNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.reeTypeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.statusNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.recordsDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsReesters = new System.Windows.Forms.BindingSource(this.components);
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.toolStrip3 = new System.Windows.Forms.ToolStrip();
     this.tsbPaymentOrdersSearch = new System.Windows.Forms.ToolStripButton();
     this.tsbPaymentOrdersRefresh = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbPaymentOrdersAdd = new System.Windows.Forms.ToolStripButton();
     this.tsbPaymentOrdersEdit = new System.Windows.Forms.ToolStripButton();
     this.tsbPaymentOrdersDelete = new System.Windows.Forms.ToolStripButton();
     this.dgvPaymentOrders = new System.Windows.Forms.DataGridView();
     this.numberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.summDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.periodDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.paymentAgentNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.reesterSumDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.reesterCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsPaymentOrders = new System.Windows.Forms.BindingSource(this.components);
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.toolStrip2 = new System.Windows.Forms.ToolStrip();
     this.tsbSearch = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbSave = new System.Windows.Forms.ToolStripButton();
     this.tslSumm = new System.Windows.Forms.ToolStripLabel();
     this.tslDiffLabel = new System.Windows.Forms.ToolStripLabel();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.tsbShowIncluded = new System.Windows.Forms.ToolStripButton();
     this.tsbShowAll = new System.Windows.Forms.ToolStripButton();
     this.filterDatePeriod = 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.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.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbPrepare = new System.Windows.Forms.ToolStripButton();
     this.dgvIncludedReesters.BeginInit();
     this.bsReesters.BeginInit();
     this.splitContainer2.BeginInit();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.toolStrip3.SuspendLayout();
     this.dgvPaymentOrders.BeginInit();
     this.bsPaymentOrders.BeginInit();
     this.splitContainer1.BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.toolStrip2.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     this.dgvIncludedReesters.set_AllowUserToAddRows(false);
     this.dgvIncludedReesters.set_AllowUserToDeleteRows(false);
     this.dgvIncludedReesters.set_AutoGenerateColumns(false);
     this.dgvIncludedReesters.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvIncludedReesters.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvIncludedReesters.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.IsBound, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn, this.numberDataGridViewTextBoxColumn1, this.summDataGridViewTextBoxColumn1, this.paymentSystemNameDataGridViewTextBoxColumn, this.organizationNameDataGridViewTextBoxColumn, this.reeTypeNameDataGridViewTextBoxColumn, this.statusNameDataGridViewTextBoxColumn, this.recordsDataGridViewTextBoxColumn, this.createdDataGridViewTextBoxColumn1 });
     this.dgvIncludedReesters.set_DataSource(this.bsReesters);
     this.dgvIncludedReesters.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvIncludedReesters.set_Location(new System.Drawing.Point(0, 0));
     this.dgvIncludedReesters.set_Name("dgvIncludedReesters");
     this.dgvIncludedReesters.set_RowHeadersVisible(false);
     this.dgvIncludedReesters.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvIncludedReesters.set_Size(new System.Drawing.Size(0x3f4, 0x109));
     this.dgvIncludedReesters.set_TabIndex(2);
     this.dgvIncludedReesters.add_CellContentClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvIncludedReesters_CellContentClick));
     this.dgvIncludedReesters.add_Sorted(new System.EventHandler(this.dgvIncludedReesters_Sorted));
     this.IsBound.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.IsBound.set_HeaderText("Выбран");
     this.IsBound.set_Name("IsBound");
     this.IsBound.set_Width(0x34);
     this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn.set_HeaderText("С");
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn.set_Width(0x5f);
     this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate");
     this.toDateDataGridViewTextBoxColumn.set_HeaderText("По");
     this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn");
     this.toDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.toDateDataGridViewTextBoxColumn.set_Width(0x5f);
     this.numberDataGridViewTextBoxColumn1.set_DataPropertyName("Number");
     this.numberDataGridViewTextBoxColumn1.set_HeaderText("Номер");
     this.numberDataGridViewTextBoxColumn1.set_Name("numberDataGridViewTextBoxColumn1");
     this.numberDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.numberDataGridViewTextBoxColumn1.set_Width(0x41);
     this.summDataGridViewTextBoxColumn1.set_DataPropertyName("Summ");
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style.set_Format("N2");
     style.set_NullValue("0");
     this.summDataGridViewTextBoxColumn1.set_DefaultCellStyle(style);
     this.summDataGridViewTextBoxColumn1.set_HeaderText("Сумма");
     this.summDataGridViewTextBoxColumn1.set_Name("summDataGridViewTextBoxColumn1");
     this.summDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.summDataGridViewTextBoxColumn1.set_Width(80);
     this.paymentSystemNameDataGridViewTextBoxColumn.set_DataPropertyName("PaymentSystemName");
     this.paymentSystemNameDataGridViewTextBoxColumn.set_HeaderText("Платёжная система");
     this.paymentSystemNameDataGridViewTextBoxColumn.set_Name("paymentSystemNameDataGridViewTextBoxColumn");
     this.paymentSystemNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.organizationNameDataGridViewTextBoxColumn.set_DataPropertyName("OrganizationName");
     this.organizationNameDataGridViewTextBoxColumn.set_HeaderText("Платёжный агент");
     this.organizationNameDataGridViewTextBoxColumn.set_Name("organizationNameDataGridViewTextBoxColumn");
     this.organizationNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.organizationNameDataGridViewTextBoxColumn.set_Width(140);
     this.reeTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("ReeTypeName");
     this.reeTypeNameDataGridViewTextBoxColumn.set_HeaderText("Тип реестра");
     this.reeTypeNameDataGridViewTextBoxColumn.set_Name("reeTypeNameDataGridViewTextBoxColumn");
     this.reeTypeNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.reeTypeNameDataGridViewTextBoxColumn.set_Width(120);
     this.statusNameDataGridViewTextBoxColumn.set_DataPropertyName("StatusName");
     this.statusNameDataGridViewTextBoxColumn.set_HeaderText("Статус");
     this.statusNameDataGridViewTextBoxColumn.set_Name("statusNameDataGridViewTextBoxColumn");
     this.statusNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.recordsDataGridViewTextBoxColumn.set_DataPropertyName("Records");
     this.recordsDataGridViewTextBoxColumn.set_HeaderText("Записей");
     this.recordsDataGridViewTextBoxColumn.set_Name("recordsDataGridViewTextBoxColumn");
     this.recordsDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.recordsDataGridViewTextBoxColumn.set_Width(60);
     this.createdDataGridViewTextBoxColumn1.set_DataPropertyName("Created");
     this.createdDataGridViewTextBoxColumn1.set_HeaderText("Создан");
     this.createdDataGridViewTextBoxColumn1.set_Name("createdDataGridViewTextBoxColumn1");
     this.createdDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.createdDataGridViewTextBoxColumn1.set_Width(0x5f);
     this.bsReesters.set_DataSource(typeof(PayReester));
     this.splitContainer2.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer2.set_Location(new System.Drawing.Point(0, 0));
     this.splitContainer2.set_Name("splitContainer2");
     this.splitContainer2.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.splitContainer2.Panel1.Controls.Add(this.toolStrip3);
     this.splitContainer2.Panel1.Controls.Add(this.dgvPaymentOrders);
     this.splitContainer2.Panel2.Controls.Add(this.splitContainer1);
     this.splitContainer2.set_Size(new System.Drawing.Size(0x3f4, 0x1f7));
     this.splitContainer2.set_SplitterDistance(200);
     this.splitContainer2.set_TabIndex(4);
     this.toolStrip3.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbPaymentOrdersSearch, this.tsbPaymentOrdersRefresh, this.toolStripSeparator2, this.tsbPaymentOrdersAdd, this.tsbPaymentOrdersEdit, this.tsbPaymentOrdersDelete });
     this.toolStrip3.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip3.set_Name("toolStrip3");
     this.toolStrip3.set_Size(new System.Drawing.Size(0x3f4, 0x19));
     this.toolStrip3.set_TabIndex(0);
     this.toolStrip3.set_Text("toolStrip3");
     this.tsbPaymentOrdersSearch.set_Font(new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.tsbPaymentOrdersSearch.set_Image(Resources.SEARCH);
     this.tsbPaymentOrdersSearch.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbPaymentOrdersSearch.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbPaymentOrdersSearch.set_Name("tsbPaymentOrdersSearch");
     this.tsbPaymentOrdersSearch.set_Size(new System.Drawing.Size(70, 0x16));
     this.tsbPaymentOrdersSearch.set_Text("Поиск");
     this.tsbPaymentOrdersSearch.add_Click(new System.EventHandler(this.tsmiSearch_Click));
     this.tsbPaymentOrdersRefresh.set_Image(Resources.UPDATE);
     this.tsbPaymentOrdersRefresh.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbPaymentOrdersRefresh.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbPaymentOrdersRefresh.set_Name("tsbPaymentOrdersRefresh");
     this.tsbPaymentOrdersRefresh.set_Size(new System.Drawing.Size(0x55, 0x16));
     this.tsbPaymentOrdersRefresh.set_Text("Обновить");
     this.tsbPaymentOrdersRefresh.add_Click(new System.EventHandler(this.tsmiRefresh_Click));
     this.toolStripSeparator2.set_Name("toolStripSeparator2");
     this.toolStripSeparator2.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsbPaymentOrdersAdd.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbPaymentOrdersAdd.set_Image(Resources.ADD);
     this.tsbPaymentOrdersAdd.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbPaymentOrdersAdd.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbPaymentOrdersAdd.set_Name("tsbPaymentOrdersAdd");
     this.tsbPaymentOrdersAdd.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.tsbPaymentOrdersAdd.set_Text("Добавить платёжное поручение");
     this.tsbPaymentOrdersAdd.add_Click(new System.EventHandler(this.tsmiAdd_Click));
     this.tsbPaymentOrdersEdit.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbPaymentOrdersEdit.set_Image(Resources.CHANGE);
     this.tsbPaymentOrdersEdit.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbPaymentOrdersEdit.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbPaymentOrdersEdit.set_Name("tsbPaymentOrdersEdit");
     this.tsbPaymentOrdersEdit.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbPaymentOrdersEdit.set_Text("Редактировать платёжное поручение");
     this.tsbPaymentOrdersEdit.add_Click(new System.EventHandler(this.tsmiChange_Click));
     this.tsbPaymentOrdersDelete.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbPaymentOrdersDelete.set_Image(Resources.DELETE);
     this.tsbPaymentOrdersDelete.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbPaymentOrdersDelete.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbPaymentOrdersDelete.set_Name("tsbPaymentOrdersDelete");
     this.tsbPaymentOrdersDelete.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbPaymentOrdersDelete.set_Text("Удалить платёжное поручение");
     this.tsbPaymentOrdersDelete.add_Click(new System.EventHandler(this.tsmiDelete_Click));
     this.dgvPaymentOrders.set_AllowUserToAddRows(false);
     this.dgvPaymentOrders.set_AllowUserToDeleteRows(false);
     this.dgvPaymentOrders.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.dgvPaymentOrders.set_AutoGenerateColumns(false);
     this.dgvPaymentOrders.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvPaymentOrders.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvPaymentOrders.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvPaymentOrders.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.numberDataGridViewTextBoxColumn, this.dateDataGridViewTextBoxColumn, this.summDataGridViewTextBoxColumn, this.periodDataGridViewTextBoxColumn, this.paymentAgentNameDataGridViewTextBoxColumn, this.reesterSumDataGridViewTextBoxColumn, this.reesterCountDataGridViewTextBoxColumn, this.createdDataGridViewTextBoxColumn });
     this.dgvPaymentOrders.set_DataSource(this.bsPaymentOrders);
     this.dgvPaymentOrders.set_Location(new System.Drawing.Point(0, 0x1c));
     this.dgvPaymentOrders.set_Name("dgvPaymentOrders");
     this.dgvPaymentOrders.set_RowHeadersVisible(false);
     this.dgvPaymentOrders.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvPaymentOrders.set_Size(new System.Drawing.Size(0x3f4, 0xad));
     this.dgvPaymentOrders.set_TabIndex(1);
     this.dgvPaymentOrders.add_Sorted(new System.EventHandler(this.dgvPaymentOrders_Sorted));
     this.numberDataGridViewTextBoxColumn.set_DataPropertyName("Number");
     this.numberDataGridViewTextBoxColumn.set_HeaderText("Номер");
     this.numberDataGridViewTextBoxColumn.set_Name("numberDataGridViewTextBoxColumn");
     this.numberDataGridViewTextBoxColumn.set_Width(0x42);
     this.dateDataGridViewTextBoxColumn.set_DataPropertyName("Date");
     this.dateDataGridViewTextBoxColumn.set_HeaderText("Дата");
     this.dateDataGridViewTextBoxColumn.set_Name("dateDataGridViewTextBoxColumn");
     this.dateDataGridViewTextBoxColumn.set_Width(0x3a);
     this.summDataGridViewTextBoxColumn.set_DataPropertyName("Summ");
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style2.set_Format("N2");
     style2.set_NullValue("0");
     this.summDataGridViewTextBoxColumn.set_DefaultCellStyle(style2);
     this.summDataGridViewTextBoxColumn.set_HeaderText("Сумма");
     this.summDataGridViewTextBoxColumn.set_Name("summDataGridViewTextBoxColumn");
     this.summDataGridViewTextBoxColumn.set_Width(0x42);
     this.periodDataGridViewTextBoxColumn.set_DataPropertyName("Period");
     this.periodDataGridViewTextBoxColumn.set_HeaderText("Период");
     this.periodDataGridViewTextBoxColumn.set_Name("periodDataGridViewTextBoxColumn");
     this.periodDataGridViewTextBoxColumn.set_Width(70);
     this.paymentAgentNameDataGridViewTextBoxColumn.set_DataPropertyName("PaymentAgentName");
     this.paymentAgentNameDataGridViewTextBoxColumn.set_HeaderText("Платёжный агент");
     this.paymentAgentNameDataGridViewTextBoxColumn.set_Name("paymentAgentNameDataGridViewTextBoxColumn");
     this.paymentAgentNameDataGridViewTextBoxColumn.set_Width(0x70);
     this.reesterSumDataGridViewTextBoxColumn.set_DataPropertyName("ReesterSum");
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style3.set_Format("N2");
     style3.set_NullValue("0");
     this.reesterSumDataGridViewTextBoxColumn.set_DefaultCellStyle(style3);
     this.reesterSumDataGridViewTextBoxColumn.set_HeaderText("Сумма реестров");
     this.reesterSumDataGridViewTextBoxColumn.set_Name("reesterSumDataGridViewTextBoxColumn");
     this.reesterSumDataGridViewTextBoxColumn.set_Width(0x6a);
     this.reesterCountDataGridViewTextBoxColumn.set_DataPropertyName("ReesterCount");
     this.reesterCountDataGridViewTextBoxColumn.set_HeaderText("Кол-во реестров");
     this.reesterCountDataGridViewTextBoxColumn.set_Name("reesterCountDataGridViewTextBoxColumn");
     this.reesterCountDataGridViewTextBoxColumn.set_Width(0x6a);
     this.createdDataGridViewTextBoxColumn.set_DataPropertyName("Created");
     this.createdDataGridViewTextBoxColumn.set_HeaderText("Создано");
     this.createdDataGridViewTextBoxColumn.set_Name("createdDataGridViewTextBoxColumn");
     this.createdDataGridViewTextBoxColumn.set_Width(0x4b);
     this.bsPaymentOrders.set_DataSource(typeof(PayPaymentOrder));
     this.bsPaymentOrders.add_CurrentChanged(new System.EventHandler(this.bsPaymentOrders_CurrentChanged));
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer1.set_FixedPanel(System.Windows.Forms.FixedPanel.Panel1);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.splitContainer1.Panel1.Controls.Add(this.toolStrip2);
     this.splitContainer1.Panel1.Controls.Add(this.toolStrip1);
     this.splitContainer1.Panel1.Controls.Add(this.filterDatePeriod);
     this.splitContainer1.Panel2.Controls.Add(this.dgvIncludedReesters);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x3f4, 0x12b));
     this.splitContainer1.set_SplitterDistance(30);
     this.splitContainer1.set_TabIndex(4);
     this.toolStrip2.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom);
     this.toolStrip2.set_AutoSize(false);
     this.toolStrip2.set_Dock(System.Windows.Forms.DockStyle.None);
     this.toolStrip2.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbSearch, this.toolStripSeparator1, this.tsbSave, this.tslSumm, this.tslDiffLabel, this.toolStripSeparator3, this.tsbPrepare });
     this.toolStrip2.set_Location(new System.Drawing.Point(0x21d, 4));
     this.toolStrip2.set_Name("toolStrip2");
     this.toolStrip2.set_Size(new System.Drawing.Size(0x1cf, 0x17));
     this.toolStrip2.set_TabIndex(0x12);
     this.toolStrip2.set_Text("toolStrip2");
     this.tsbSearch.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbSearch.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbSearch.set_Name("tsbSearch");
     this.tsbSearch.set_Size(new System.Drawing.Size(0x29, 20));
     this.tsbSearch.set_Text("Поиск");
     this.tsbSearch.add_Click(new System.EventHandler(this.tsbSearch_Click));
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x17));
     this.tsbSave.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbSave.set_Image((System.Drawing.Image) manager.GetObject("tsbSave.Image"));
     this.tsbSave.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbSave.set_Name("tsbSave");
     this.tsbSave.set_Size(new System.Drawing.Size(0x42, 20));
     this.tsbSave.set_Text("Сохранить");
     this.tsbSave.add_Click(new System.EventHandler(this.tsbSave_Click));
     this.tslSumm.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.tslSumm.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tslSumm.set_Font(new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold));
     this.tslSumm.set_Name("tslSumm");
     this.tslSumm.set_Size(new System.Drawing.Size(0x1f, 20));
     this.tslSumm.set_Text("0,00");
     this.tslSumm.set_TextAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.tslSumm.set_TextDirection(System.Windows.Forms.ToolStripTextDirection.Horizontal);
     this.tslDiffLabel.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.tslDiffLabel.set_Name("tslDiffLabel");
     this.tslDiffLabel.set_Size(new System.Drawing.Size(0x3a, 20));
     this.tslDiffLabel.set_Text("Разница:  ");
     this.toolStrip1.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom);
     this.toolStrip1.set_Dock(System.Windows.Forms.DockStyle.None);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel1, this.tsbShowIncluded, this.tsbShowAll });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 3));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x12d, 0x19));
     this.toolStrip1.set_TabIndex(0x11);
     this.toolStrip1.set_Text("toolStrip1");
     this.toolStripLabel1.set_Name("toolStripLabel1");
     this.toolStripLabel1.set_Size(new System.Drawing.Size(0x4b, 0x16));
     this.toolStripLabel1.set_Text("Отображать:");
     this.tsbShowIncluded.set_Checked(true);
     this.tsbShowIncluded.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbShowIncluded.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbShowIncluded.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbShowIncluded.set_Name("tsbShowIncluded");
     this.tsbShowIncluded.set_Size(new System.Drawing.Size(0x4c, 0x16));
     this.tsbShowIncluded.set_Text("включённые");
     this.tsbShowIncluded.add_Click(new System.EventHandler(this.tsbShowIncluded_Click));
     this.tsbShowAll.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbShowAll.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbShowAll.set_Name("tsbShowAll");
     this.tsbShowAll.set_Size(new System.Drawing.Size(0x8a, 0x16));
     this.tsbShowAll.set_Text("+ реестры без платежек");
     this.tsbShowAll.add_Click(new System.EventHandler(this.tsbShowAll_Click));
     this.filterDatePeriod.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom);
     this.filterDatePeriod.AttachToPeriod = false;
     this.filterDatePeriod.DateBeginReadonly = false;
     this.filterDatePeriod.DateEndReadonly = false;
     this.filterDatePeriod.set_Location(new System.Drawing.Point(0x131, 4));
     this.filterDatePeriod.set_Margin(new System.Windows.Forms.Padding(4));
     this.filterDatePeriod.set_Name("filterDatePeriod");
     this.filterDatePeriod.set_Size(new System.Drawing.Size(0xe9, 0x18));
     this.filterDatePeriod.set_TabIndex(2);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("Number");
     this.dataGridViewTextBoxColumn1.set_HeaderText("П/П");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_Width(0x42);
     this.dataGridViewTextBoxColumn2.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("Summ");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Сумма");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("Date");
     style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style4.set_Format("N2");
     style4.set_NullValue("0");
     this.dataGridViewTextBoxColumn3.set_DefaultCellStyle(style4);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Дата");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_Width(0x42);
     this.dataGridViewTextBoxColumn4.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("PaymentAgentName");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Агент");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("Period");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Период");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_Width(0x70);
     this.dataGridViewTextBoxColumn6.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("ReesterSum");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Сумма реестров");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("ReesterCount");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Кол-во реестров");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_Width(0x6a);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn8.set_HeaderText("Создано");
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_Width(0x4b);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn9.set_HeaderText("С");
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Width(0x27);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn10.set_HeaderText("По");
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn10.set_Width(0x2e);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("Number");
     this.dataGridViewTextBoxColumn11.set_HeaderText("Номер");
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn11.set_Width(0x42);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("Summ");
     style5.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style5.set_Format("N2");
     style5.set_NullValue("0");
     this.dataGridViewTextBoxColumn12.set_DefaultCellStyle(style5);
     this.dataGridViewTextBoxColumn12.set_HeaderText("Сумма");
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn12.set_Width(0x42);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("PaymentSystemName");
     this.dataGridViewTextBoxColumn13.set_HeaderText("Платёжная система");
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn13.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn13.set_Width(0x7c);
     this.dataGridViewTextBoxColumn14.set_DataPropertyName("OrganizationName");
     this.dataGridViewTextBoxColumn14.set_HeaderText("Платёжный агент");
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn14.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn14.set_Width(0x70);
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("ReeTypeName");
     this.dataGridViewTextBoxColumn15.set_HeaderText("Тип реестра");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn15.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn15.set_Width(0x58);
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("StatusName");
     this.dataGridViewTextBoxColumn16.set_HeaderText("Статус");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     this.dataGridViewTextBoxColumn16.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn16.set_Width(0x42);
     this.dataGridViewTextBoxColumn17.set_DataPropertyName("Records");
     this.dataGridViewTextBoxColumn17.set_HeaderText("Записей");
     this.dataGridViewTextBoxColumn17.set_Name("dataGridViewTextBoxColumn17");
     this.dataGridViewTextBoxColumn17.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn17.set_Width(0x4b);
     this.dataGridViewTextBoxColumn18.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn18.set_HeaderText("Создан");
     this.dataGridViewTextBoxColumn18.set_Name("dataGridViewTextBoxColumn18");
     this.dataGridViewTextBoxColumn18.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn18.set_Width(0x45);
     this.toolStripSeparator3.set_Name("toolStripSeparator3");
     this.toolStripSeparator3.set_Size(new System.Drawing.Size(6, 0x17));
     this.tsbPrepare.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbPrepare.set_Image((System.Drawing.Image) manager.GetObject("tsbPrepare.Image"));
     this.tsbPrepare.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbPrepare.set_Name("tsbPrepare");
     this.tsbPrepare.set_Size(new System.Drawing.Size(0x49, 20));
     this.tsbPrepare.set_Text("Обработать");
     this.tsbPrepare.add_Click(new System.EventHandler(this.tsbPrepare_Click));
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x3f4, 0x1f7));
     base.Controls.Add(this.splitContainer2);
     base.set_Name("PayPaymentOrdersForm");
     base.set_ShowIcon(false);
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("Платёжные поручения");
     base.set_WindowState(System.Windows.Forms.FormWindowState.Maximized);
     base.add_Load(new System.EventHandler(this.PayPaymentOrdersForm_Load));
     this.dgvIncludedReesters.EndInit();
     this.bsReesters.EndInit();
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel1.PerformLayout();
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.EndInit();
     this.splitContainer2.ResumeLayout(false);
     this.toolStrip3.ResumeLayout(false);
     this.toolStrip3.PerformLayout();
     this.dgvPaymentOrders.EndInit();
     this.bsPaymentOrders.EndInit();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.toolStrip2.ResumeLayout(false);
     this.toolStrip2.PerformLayout();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.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();
     System.Windows.Forms.DataGridViewCellStyle style4 = new System.Windows.Forms.DataGridViewCellStyle();
     this.dgvCounterCheckIntervals = new System.Windows.Forms.DataGridView();
     this.bsCounterCheckIntervals = new System.Windows.Forms.BindingSource(this.components);
     this.tsCounterCheckIntervals = new System.Windows.Forms.ToolStrip();
     this.tsbtnAdd = new System.Windows.Forms.ToolStripButton();
     this.tsbtnEdit = new System.Windows.Forms.ToolStripButton();
     this.tsbtnDelete = 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.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.FromIndicationValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ToIndicationValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.UserName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgvCounterCheckIntervals.BeginInit();
     this.bsCounterCheckIntervals.BeginInit();
     this.tsCounterCheckIntervals.SuspendLayout();
     base.SuspendLayout();
     this.dgvCounterCheckIntervals.set_AllowUserToAddRows(false);
     this.dgvCounterCheckIntervals.set_AllowUserToDeleteRows(false);
     this.dgvCounterCheckIntervals.set_AutoGenerateColumns(false);
     this.dgvCounterCheckIntervals.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvCounterCheckIntervals.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvCounterCheckIntervals.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.fromDateDataGridViewTextBoxColumn, this.FromIndicationValue, this.toDateDataGridViewTextBoxColumn, this.ToIndicationValue, this.UserName });
     this.dgvCounterCheckIntervals.set_DataSource(this.bsCounterCheckIntervals);
     this.dgvCounterCheckIntervals.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvCounterCheckIntervals.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvCounterCheckIntervals.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvCounterCheckIntervals.set_Name("dgvCounterCheckIntervals");
     this.dgvCounterCheckIntervals.set_ReadOnly(true);
     this.dgvCounterCheckIntervals.set_RowHeadersVisible(false);
     this.dgvCounterCheckIntervals.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvCounterCheckIntervals.set_Size(new System.Drawing.Size(0x219, 0x14b));
     this.dgvCounterCheckIntervals.set_TabIndex(0x13);
     this.dgvCounterCheckIntervals.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvCounterCheckIntervals_CellDoubleClick));
     this.bsCounterCheckIntervals.set_DataSource(typeof(ApartmentCounterCheckInterval));
     this.bsCounterCheckIntervals.set_Sort("");
     this.tsCounterCheckIntervals.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbtnAdd, this.tsbtnEdit, this.tsbtnDelete });
     this.tsCounterCheckIntervals.set_Location(new System.Drawing.Point(0, 0));
     this.tsCounterCheckIntervals.set_Name("tsCounterCheckIntervals");
     this.tsCounterCheckIntervals.set_Size(new System.Drawing.Size(0x219, 0x19));
     this.tsCounterCheckIntervals.set_TabIndex(0x12);
     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("&1");
     this.tsbtnAdd.set_TextImageRelation(System.Windows.Forms.TextImageRelation.TextBeforeImage);
     this.tsbtnAdd.set_ToolTipText("Добавить поверочный интервал");
     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("&2");
     this.tsbtnEdit.set_TextImageRelation(System.Windows.Forms.TextImageRelation.TextBeforeImage);
     this.tsbtnEdit.set_ToolTipText("Изменить поверочный интервал");
     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_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbtnDelete.set_Name("tsbtnDelete");
     this.tsbtnDelete.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbtnDelete.set_Text("&3");
     this.tsbtnDelete.set_TextImageRelation(System.Windows.Forms.TextImageRelation.TextBeforeImage);
     this.tsbtnDelete.set_ToolTipText("Удалить поверочный интервал");
     this.tsbtnDelete.add_Click(new System.EventHandler(this.tsbtnDelete_Click));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("FromDate");
     style.set_Format("D");
     style.set_NullValue(null);
     this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style);
     this.dataGridViewTextBoxColumn1.set_HeaderText("Дата начала");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(0x86);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("FromIndictionValue");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Показания на начало");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x85);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("ToDate");
     style2.set_Format("D");
     style2.set_NullValue(null);
     this.dataGridViewTextBoxColumn3.set_DefaultCellStyle(style2);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Дата конца");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(0x86);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("ToIndictionValue");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Показания на конец");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(0x85);
     this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     style3.set_NullValue(null);
     this.fromDateDataGridViewTextBoxColumn.set_DefaultCellStyle(style3);
     this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Дата начала");
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn.set_Width(0x60);
     this.FromIndicationValue.set_DataPropertyName("FromIndicationValue");
     this.FromIndicationValue.set_HeaderText("Предповерочные показания");
     this.FromIndicationValue.set_Name("FromIndicationValue");
     this.FromIndicationValue.set_ReadOnly(true);
     this.FromIndicationValue.set_Width(160);
     this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate");
     style4.set_NullValue("-");
     this.toDateDataGridViewTextBoxColumn.set_DefaultCellStyle(style4);
     this.toDateDataGridViewTextBoxColumn.set_HeaderText("Дата конца");
     this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn");
     this.toDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.toDateDataGridViewTextBoxColumn.set_Width(0x54);
     this.ToIndicationValue.set_DataPropertyName("ToIndicationValue");
     this.ToIndicationValue.set_HeaderText("Поверочные показания");
     this.ToIndicationValue.set_Name("ToIndicationValue");
     this.ToIndicationValue.set_ReadOnly(true);
     this.ToIndicationValue.set_Width(0x8b);
     this.UserName.set_DataPropertyName("UserName");
     this.UserName.set_HeaderText("Пользователь");
     this.UserName.set_Name("UserName");
     this.UserName.set_ReadOnly(true);
     this.UserName.set_Width(0x69);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.dgvCounterCheckIntervals);
     base.Controls.Add(this.tsCounterCheckIntervals);
     base.set_Name("ApartmentCounterCheckIntervalsView");
     base.set_Size(new System.Drawing.Size(0x219, 0x164));
     this.dgvCounterCheckIntervals.EndInit();
     this.bsCounterCheckIntervals.EndInit();
     this.tsCounterCheckIntervals.ResumeLayout(false);
     this.tsCounterCheckIntervals.PerformLayout();
     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();
     System.Windows.Forms.DataGridViewCellStyle style8 = new System.Windows.Forms.DataGridViewCellStyle();
     Area area = new Area();
     System.Windows.Forms.DataGridViewCellStyle style9 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style11 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style12 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style13 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style14 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style15 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style16 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style17 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style18 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style19 = new System.Windows.Forms.DataGridViewCellStyle();
     this.ttsCounterIndicationsUnsert = new System.Windows.Forms.ToolStrip();
     this.btnUpdate = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.btnSave = new System.Windows.Forms.ToolStripButton();
     this.dgvApartmentCounterIndicationsView = new System.Windows.Forms.DataGridView();
     this.City = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Street = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.House = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Flat = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.AccountNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcNewVal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.newValTypeName = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.newValDate = new DataGridViewDateColumn();
     this.isSaveDuplicateIndication = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.dgcVal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Consumption = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcValDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcCounterName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcServiceTypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcFromDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsApartmentCounterIndicationInputView = new System.Windows.Forms.BindingSource(this.components);
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.selectAddresses1 = new SelectAddresses();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.selectServiceTypes1 = new SelectServiceTypesByCounterContects();
     this.panel1 = new System.Windows.Forms.Panel();
     this.panel2 = new System.Windows.Forms.Panel();
     this.cbSaveDuplicateIndications = new System.Windows.Forms.CheckBox();
     this.label3 = new System.Windows.Forms.Label();
     this.dtpDateIndications = new System.Windows.Forms.DateTimePicker();
     this.btChangeDate = 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.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
     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.dataGridViewDateColumn1 = new DataGridViewDateColumn();
     this.dataGridViewDateColumn2 = new DataGridViewDateColumn();
     this.dataGridViewDateColumn3 = new DataGridViewDateColumn();
     this.ttsCounterIndicationsUnsert.SuspendLayout();
     this.dgvApartmentCounterIndicationsView.BeginInit();
     this.bsApartmentCounterIndicationInputView.BeginInit();
     this.groupBox1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     base.SuspendLayout();
     this.ttsCounterIndicationsUnsert.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnUpdate, this.toolStripSeparator1, this.btnSave });
     this.ttsCounterIndicationsUnsert.set_Location(new System.Drawing.Point(0, 0));
     this.ttsCounterIndicationsUnsert.set_Name("ttsCounterIndicationsUnsert");
     this.ttsCounterIndicationsUnsert.set_Size(new System.Drawing.Size(0x44d, 0x19));
     this.ttsCounterIndicationsUnsert.set_TabIndex(12);
     this.btnUpdate.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnUpdate.set_Image(Resources.UPDATE);
     this.btnUpdate.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnUpdate.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnUpdate.set_Name("btnUpdate");
     this.btnUpdate.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnUpdate.set_Text("Обновить");
     this.btnUpdate.add_Click(new System.EventHandler(this.btnUpdate_Click));
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.btnSave.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnSave.set_Image(Resources.APPLY2);
     this.btnSave.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnSave.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnSave.set_Name("btnSave");
     this.btnSave.set_Size(new System.Drawing.Size(0x17, 0x16));
     this.btnSave.set_Text("Сохранить изменения");
     this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.dgvApartmentCounterIndicationsView.set_AllowUserToAddRows(false);
     this.dgvApartmentCounterIndicationsView.set_AllowUserToDeleteRows(false);
     this.dgvApartmentCounterIndicationsView.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.dgvApartmentCounterIndicationsView.set_AutoGenerateColumns(false);
     this.dgvApartmentCounterIndicationsView.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvApartmentCounterIndicationsView.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.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.dgvApartmentCounterIndicationsView.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvApartmentCounterIndicationsView.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvApartmentCounterIndicationsView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.City, this.Street, this.House, this.Flat, this.AccountNumber, this.dgcNewVal, this.newValTypeName, this.newValDate, this.isSaveDuplicateIndication, this.dgcVal, this.Consumption, this.dgcValDate, this.dgcCounterName, this.dgcServiceTypeName, this.dgcFromDate });
     this.dgvApartmentCounterIndicationsView.set_DataSource(this.bsApartmentCounterIndicationInputView);
     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.dgvApartmentCounterIndicationsView.set_DefaultCellStyle(style2);
     this.dgvApartmentCounterIndicationsView.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvApartmentCounterIndicationsView.set_Location(new System.Drawing.Point(0, 0x1c));
     this.dgvApartmentCounterIndicationsView.set_MultiSelect(false);
     this.dgvApartmentCounterIndicationsView.set_Name("dgvApartmentCounterIndicationsView");
     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.dgvApartmentCounterIndicationsView.set_RowHeadersDefaultCellStyle(style3);
     this.dgvApartmentCounterIndicationsView.set_RowHeadersVisible(false);
     this.dgvApartmentCounterIndicationsView.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.CellSelect);
     this.dgvApartmentCounterIndicationsView.set_Size(new System.Drawing.Size(0x44d, 0x151));
     this.dgvApartmentCounterIndicationsView.set_TabIndex(13);
     this.dgvApartmentCounterIndicationsView.add_RowValidated(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvApartmentCounterIndicationsView_RowEnter));
     this.dgvApartmentCounterIndicationsView.add_Sorted(new System.EventHandler(this.dgvApartmentCounterIndicationsView_Sorted));
     this.City.set_DataPropertyName("City");
     this.City.set_HeaderText("Нас. пункт");
     this.City.set_MinimumWidth(0x4b);
     this.City.set_Name("City");
     this.City.set_ReadOnly(true);
     this.City.set_ToolTipText("Нас. пункт");
     this.City.set_Width(0x4b);
     this.Street.set_DataPropertyName("Street");
     this.Street.set_HeaderText("Улица");
     this.Street.set_MinimumWidth(0x4b);
     this.Street.set_Name("Street");
     this.Street.set_ReadOnly(true);
     this.Street.set_ToolTipText("Улица");
     this.Street.set_Width(0x4b);
     this.House.set_DataPropertyName("House");
     this.House.set_HeaderText("Дом");
     this.House.set_MinimumWidth(0x2d);
     this.House.set_Name("House");
     this.House.set_ReadOnly(true);
     this.House.set_ToolTipText("Дом");
     this.House.set_Width(0x2d);
     this.Flat.set_DataPropertyName("Flat");
     this.Flat.set_HeaderText("Кв.");
     this.Flat.set_MinimumWidth(0x2d);
     this.Flat.set_Name("Flat");
     this.Flat.set_ReadOnly(true);
     this.Flat.set_ToolTipText("Кв.");
     this.Flat.set_Width(0x2d);
     this.AccountNumber.set_DataPropertyName("AccountNumber");
     this.AccountNumber.set_HeaderText("Лицевой счёт");
     this.AccountNumber.set_MinimumWidth(50);
     this.AccountNumber.set_Name("AccountNumber");
     this.AccountNumber.set_ReadOnly(true);
     this.AccountNumber.set_Width(50);
     this.dgcNewVal.set_DataPropertyName("NewVal");
     style4.set_BackColor(System.Drawing.Color.LemonChiffon);
     this.dgcNewVal.set_DefaultCellStyle(style4);
     this.dgcNewVal.set_HeaderText("Новое значение");
     this.dgcNewVal.set_MinimumWidth(0x4b);
     this.dgcNewVal.set_Name("dgcNewVal");
     this.dgcNewVal.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcNewVal.set_ToolTipText("Новое значение");
     this.dgcNewVal.set_Width(0x4b);
     this.newValTypeName.set_DataPropertyName("NewValTypeName");
     this.newValTypeName.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox);
     this.newValTypeName.set_HeaderText("Тип показания");
     this.newValTypeName.set_MinimumWidth(150);
     this.newValTypeName.set_Name("newValTypeName");
     this.newValTypeName.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.newValTypeName.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.newValTypeName.set_ToolTipText("Тип нового показания");
     this.newValTypeName.set_Width(150);
     this.newValDate.set_DataPropertyName("NewValDate");
     style5.set_BackColor(System.Drawing.Color.LemonChiffon);
     this.newValDate.set_DefaultCellStyle(style5);
     this.newValDate.set_HeaderText("Дата показания");
     this.newValDate.set_MinimumWidth(0x55);
     this.newValDate.set_Name("newValDate");
     this.newValDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.newValDate.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.newValDate.set_ToolTipText("Дата показания нового показания");
     this.newValDate.set_Width(0x55);
     this.isSaveDuplicateIndication.set_DataPropertyName("IsSaveDuplicateIndication");
     this.isSaveDuplicateIndication.set_HeaderText("Учитывать показание с расходом 0");
     this.isSaveDuplicateIndication.set_MinimumWidth(90);
     this.isSaveDuplicateIndication.set_Name("isSaveDuplicateIndication");
     this.isSaveDuplicateIndication.set_Width(90);
     this.dgcVal.set_DataPropertyName("Val");
     style6.set_Format("N4");
     this.dgcVal.set_DefaultCellStyle(style6);
     this.dgcVal.set_HeaderText("Последнее показание");
     this.dgcVal.set_MinimumWidth(90);
     this.dgcVal.set_Name("dgcVal");
     this.dgcVal.set_ReadOnly(true);
     this.dgcVal.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcVal.set_ToolTipText("Последнее показание");
     this.dgcVal.set_Width(90);
     this.Consumption.set_DataPropertyName("Consumption");
     this.Consumption.set_HeaderText("Расход");
     this.Consumption.set_MinimumWidth(0x41);
     this.Consumption.set_Name("Consumption");
     this.Consumption.set_Width(0x41);
     this.dgcValDate.set_DataPropertyName("ValDate");
     style7.set_Format("d");
     this.dgcValDate.set_DefaultCellStyle(style7);
     this.dgcValDate.set_HeaderText("Дата последнего показаний");
     this.dgcValDate.set_MinimumWidth(0x4b);
     this.dgcValDate.set_Name("dgcValDate");
     this.dgcValDate.set_ReadOnly(true);
     this.dgcValDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcValDate.set_ToolTipText("Дата последнего показаний");
     this.dgcValDate.set_Width(0x4b);
     this.dgcCounterName.set_DataPropertyName("CounterName");
     this.dgcCounterName.set_HeaderText("Название");
     this.dgcCounterName.set_MinimumWidth(0x4b);
     this.dgcCounterName.set_Name("dgcCounterName");
     this.dgcCounterName.set_ReadOnly(true);
     this.dgcCounterName.set_Width(0x4b);
     this.dgcServiceTypeName.set_DataPropertyName("ServiceTypeName");
     this.dgcServiceTypeName.set_HeaderText("Тип услуги");
     this.dgcServiceTypeName.set_MinimumWidth(150);
     this.dgcServiceTypeName.set_Name("dgcServiceTypeName");
     this.dgcServiceTypeName.set_ReadOnly(true);
     this.dgcServiceTypeName.set_Width(150);
     this.dgcFromDate.set_DataPropertyName("CounterFromDate");
     style8.set_Format("dd.MM.yyyy");
     style8.set_NullValue(null);
     this.dgcFromDate.set_DefaultCellStyle(style8);
     this.dgcFromDate.set_HeaderText("Дата установки");
     this.dgcFromDate.set_MinimumWidth(0x4b);
     this.dgcFromDate.set_Name("dgcFromDate");
     this.dgcFromDate.set_ReadOnly(true);
     this.dgcFromDate.set_Width(0x4b);
     this.bsApartmentCounterIndicationInputView.set_DataSource(typeof(ApartmentCounterIndicationInputView));
     this.groupBox1.Controls.Add(this.selectAddresses1);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.selectServiceTypes1);
     this.groupBox1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox1.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(0x450, 0x51));
     this.groupBox1.set_TabIndex(14);
     this.groupBox1.set_TabStop(false);
     this.groupBox1.set_Text("Параметры поиска");
     this.selectAddresses1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectAddresses1.IsByUser = true;
     this.selectAddresses1.set_Location(new System.Drawing.Point(0x52, 0x17));
     this.selectAddresses1.set_Name("selectAddresses1");
     area.AreaGroupId = 0L;
     area.AreaGroupName = null;
     area.Id = 0L;
     area.IsDeleted = false;
     area.IsDirty = false;
     area.Name = "";
     area.ObjectWithIdType = null;
     area.StatusTemporary = 0;
     this.selectAddresses1.SelectedArea = area;
     this.selectAddresses1.set_Size(new System.Drawing.Size(0x3f8, 20));
     this.selectAddresses1.set_TabIndex(4);
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(6, 0x34));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x40, 13));
     this.label2.set_TabIndex(3);
     this.label2.set_Text("Типы услуг");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(6, 0x1b));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x2c, 13));
     this.label1.set_TabIndex(2);
     this.label1.set_Text("Адреса");
     this.selectServiceTypes1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectServiceTypes1.IsByUser = true;
     this.selectServiceTypes1.set_Location(new System.Drawing.Point(0x52, 0x31));
     this.selectServiceTypes1.set_Name("selectServiceTypes1");
     this.selectServiceTypes1.set_Size(new System.Drawing.Size(0x3f8, 20));
     this.selectServiceTypes1.set_TabIndex(1);
     this.panel1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.panel1.Controls.Add(this.ttsCounterIndicationsUnsert);
     this.panel1.Controls.Add(this.dgvApartmentCounterIndicationsView);
     this.panel1.set_Location(new System.Drawing.Point(0, 120));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x44d, 0x17e));
     this.panel1.set_TabIndex(15);
     this.panel2.Controls.Add(this.cbSaveDuplicateIndications);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.dtpDateIndications);
     this.panel2.Controls.Add(this.btChangeDate);
     this.panel2.set_Location(new System.Drawing.Point(0, 0x51));
     this.panel2.set_Name("panel2");
     this.panel2.set_Size(new System.Drawing.Size(0x447, 0x24));
     this.panel2.set_TabIndex(0x11);
     this.cbSaveDuplicateIndications.set_AutoSize(true);
     this.cbSaveDuplicateIndications.set_Location(new System.Drawing.Point(0x19d, 8));
     this.cbSaveDuplicateIndications.set_Name("cbSaveDuplicateIndications");
     this.cbSaveDuplicateIndications.set_Size(new System.Drawing.Size(0xe5, 0x11));
     this.cbSaveDuplicateIndications.set_TabIndex(3);
     this.cbSaveDuplicateIndications.set_Text("Учитывать все показания с расходом 0");
     this.cbSaveDuplicateIndications.set_UseVisualStyleBackColor(true);
     this.label3.set_Location(new System.Drawing.Point(3, 6));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x61, 0x17));
     this.label3.set_TabIndex(2);
     this.label3.set_Text("Дата показаний");
     this.dtpDateIndications.set_Location(new System.Drawing.Point(0x6a, 6));
     this.dtpDateIndications.set_Name("dtpDateIndications");
     this.dtpDateIndications.set_Size(new System.Drawing.Size(0x79, 20));
     this.dtpDateIndications.set_TabIndex(1);
     this.btChangeDate.set_Location(new System.Drawing.Point(0xe9, 4));
     this.btChangeDate.set_Name("btChangeDate");
     this.btChangeDate.set_Size(new System.Drawing.Size(0x97, 0x17));
     this.btChangeDate.set_TabIndex(0);
     this.btChangeDate.set_Text("Поменять дату показаний");
     this.btChangeDate.set_UseVisualStyleBackColor(true);
     this.btChangeDate.add_Click(new System.EventHandler(this.btChangeDate_Click));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("NewVal");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Новое значение");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn1.set_ToolTipText("Новое значение");
     this.dataGridViewTextBoxColumn1.set_Width(0x4b);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("Comment");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Комментарий");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_ToolTipText("Комментарий");
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("Val");
     style9.set_Format("N4");
     this.dataGridViewTextBoxColumn3.set_DefaultCellStyle(style9);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Последнее показание");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(90);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn3.set_ToolTipText("Последнее показание");
     this.dataGridViewTextBoxColumn3.set_Width(90);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("ValDate");
     style10.set_Format("d");
     this.dataGridViewTextBoxColumn4.set_DefaultCellStyle(style10);
     this.dataGridViewTextBoxColumn4.set_HeaderText("Дата последнего показаний");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn4.set_ToolTipText("Дата последнего показаний");
     this.dataGridViewTextBoxColumn4.set_Width(0x4b);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("CounterTypeName");
     style11.set_BackColor(System.Drawing.Color.LemonChiffon);
     this.dataGridViewTextBoxColumn5.set_DefaultCellStyle(style11);
     this.dataGridViewTextBoxColumn5.set_HeaderText("Тип прибора");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn5.set_ToolTipText("Новое значение");
     this.dataGridViewTextBoxColumn5.set_Width(0x4b);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("CounterName");
     style12.set_BackColor(System.Drawing.Color.LemonChiffon);
     this.dataGridViewTextBoxColumn6.set_DefaultCellStyle(style12);
     this.dataGridViewTextBoxColumn6.set_HeaderText("Название");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn6.set_ToolTipText("Дата показания нового показания");
     this.dataGridViewTextBoxColumn6.set_Width(0x4b);
     this.dataGridViewComboBoxColumn1.set_DataPropertyName("NewValTypeName");
     this.dataGridViewComboBoxColumn1.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox);
     this.dataGridViewComboBoxColumn1.set_HeaderText("Тип показания");
     this.dataGridViewComboBoxColumn1.set_MinimumWidth(150);
     this.dataGridViewComboBoxColumn1.set_Name("dataGridViewComboBoxColumn1");
     this.dataGridViewComboBoxColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewComboBoxColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewComboBoxColumn1.set_ToolTipText("Тип нового показания");
     this.dataGridViewComboBoxColumn1.set_Width(150);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("ServiceTypeName");
     style13.set_BackColor(System.Drawing.Color.LemonChiffon);
     this.dataGridViewTextBoxColumn7.set_DefaultCellStyle(style13);
     this.dataGridViewTextBoxColumn7.set_HeaderText("Тип услуги");
     this.dataGridViewTextBoxColumn7.set_MinimumWidth(150);
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_ToolTipText("Комментарий");
     this.dataGridViewTextBoxColumn7.set_Width(150);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("CounterFromDate");
     style14.set_Format("dd.MM.yyyy");
     style14.set_NullValue(null);
     this.dataGridViewTextBoxColumn8.set_DefaultCellStyle(style14);
     this.dataGridViewTextBoxColumn8.set_HeaderText("Дата установки");
     this.dataGridViewTextBoxColumn8.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn8.set_ToolTipText("Последнее показание");
     this.dataGridViewTextBoxColumn8.set_Width(0x4b);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("ValDate");
     style15.set_Format("d");
     this.dataGridViewTextBoxColumn9.set_DefaultCellStyle(style15);
     this.dataGridViewTextBoxColumn9.set_HeaderText("Дата последнего показаний");
     this.dataGridViewTextBoxColumn9.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn9.set_ToolTipText("Дата последнего показаний");
     this.dataGridViewTextBoxColumn9.set_Width(0x4b);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("CounterTypeName");
     this.dataGridViewTextBoxColumn10.set_HeaderText("Тип прибора");
     this.dataGridViewTextBoxColumn10.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn10.set_Width(0x4b);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("CounterName");
     this.dataGridViewTextBoxColumn11.set_HeaderText("Название");
     this.dataGridViewTextBoxColumn11.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn11.set_Width(0x4b);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("ServiceTypeName");
     this.dataGridViewTextBoxColumn12.set_HeaderText("Тип услуги");
     this.dataGridViewTextBoxColumn12.set_MinimumWidth(150);
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn12.set_Width(150);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("CounterFromDate");
     style16.set_Format("dd.MM.yyyy");
     style16.set_NullValue(null);
     this.dataGridViewTextBoxColumn13.set_DefaultCellStyle(style16);
     this.dataGridViewTextBoxColumn13.set_HeaderText("Дата установки");
     this.dataGridViewTextBoxColumn13.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn13.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn13.set_Width(0x4b);
     this.dataGridViewDateColumn1.set_DataPropertyName("NewValDate");
     style17.set_NullValue(null);
     this.dataGridViewDateColumn1.set_DefaultCellStyle(style17);
     this.dataGridViewDateColumn1.set_HeaderText("Дата показания");
     this.dataGridViewDateColumn1.set_MinimumWidth(0x4b);
     this.dataGridViewDateColumn1.set_Name("dataGridViewDateColumn1");
     this.dataGridViewDateColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewDateColumn1.set_ToolTipText("Дата показания нового показания");
     this.dataGridViewDateColumn1.set_Width(0x4b);
     this.dataGridViewDateColumn2.set_DataPropertyName("NewValDate");
     style18.set_NullValue(null);
     this.dataGridViewDateColumn2.set_DefaultCellStyle(style18);
     this.dataGridViewDateColumn2.set_HeaderText("Дата показания");
     this.dataGridViewDateColumn2.set_MinimumWidth(0x4b);
     this.dataGridViewDateColumn2.set_Name("dataGridViewDateColumn2");
     this.dataGridViewDateColumn2.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateColumn2.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewDateColumn2.set_ToolTipText("Дата показания нового показания");
     this.dataGridViewDateColumn2.set_Width(0x4b);
     this.dataGridViewDateColumn3.set_DataPropertyName("NewValDate");
     style19.set_NullValue(null);
     this.dataGridViewDateColumn3.set_DefaultCellStyle(style19);
     this.dataGridViewDateColumn3.set_HeaderText("Дата показания");
     this.dataGridViewDateColumn3.set_MinimumWidth(0x4b);
     this.dataGridViewDateColumn3.set_Name("dataGridViewDateColumn3");
     this.dataGridViewDateColumn3.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateColumn3.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewDateColumn3.set_ToolTipText("Дата показания нового показания");
     this.dataGridViewDateColumn3.set_Width(0x4b);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     this.set_AutoScroll(true);
     this.set_AutoSize(true);
     base.Controls.Add(this.panel2);
     base.Controls.Add(this.panel1);
     base.Controls.Add(this.groupBox1);
     this.set_DoubleBuffered(true);
     base.set_Name("GroupInputApartmentCountersView");
     base.set_Size(new System.Drawing.Size(0x450, 0x1f9));
     this.ttsCounterIndicationsUnsert.ResumeLayout(false);
     this.ttsCounterIndicationsUnsert.PerformLayout();
     this.dgvApartmentCounterIndicationsView.EndInit();
     this.bsApartmentCounterIndicationInputView.EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel2.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();
     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();
     this.label2 = new System.Windows.Forms.Label();
     this.cbServiceTypes = new System.Windows.Forms.ComboBox();
     this.bsServiceTypes = new System.Windows.Forms.BindingSource(this.components);
     this.label1 = new System.Windows.Forms.Label();
     this.lPU = new System.Windows.Forms.Label();
     this.dgTariffView = new System.Windows.Forms.DataGridView();
     this.bsServiceTariffs = new System.Windows.Forms.BindingSource(this.components);
     this.panel1 = new System.Windows.Forms.Panel();
     this.cbCanonicalService = new System.Windows.Forms.ComboBox();
     this.bsCanonicalService = new System.Windows.Forms.BindingSource(this.components);
     this.label6 = new System.Windows.Forms.Label();
     this.selectHouseHolder = new SelectOrganization();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.selectAddresses = new SelectAddresses();
     this.btnSave = new System.Windows.Forms.Button();
     this.btnFind = new System.Windows.Forms.Button();
     this.dateRate = new DateBox();
     this.label3 = new System.Windows.Forms.Label();
     this.selectOrg = new SelectOrganization();
     this.selectOrgDoc = new SelectOrgDocument();
     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.workerFind = new BackgroundWorker();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tsbOpenTariffType = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbCode = new System.Windows.Forms.ToolStripButton();
     this.tsbService = new System.Windows.Forms.ToolStripButton();
     this.tsbFromDate = new System.Windows.Forms.ToolStripButton();
     this.tsbRate = new System.Windows.Forms.ToolStripButton();
     this.tsbNewRate = new System.Windows.Forms.ToolStripButton();
     this.tsbProviderName = new System.Windows.Forms.ToolStripButton();
     this.tsbHouseHolderName = new System.Windows.Forms.ToolStripButton();
     this.tsbServiceTypeName = new System.Windows.Forms.ToolStripButton();
     this.tsbCanonicalName = new System.Windows.Forms.ToolStripButton();
     this.tsbAdrName = new System.Windows.Forms.ToolStripButton();
     this.ProviderName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ServiceTypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serviceCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serviceNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.HouseHolderName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.CanonicalName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.rateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NewRateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.AdrName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsServiceTypes.BeginInit();
     this.dgTariffView.BeginInit();
     this.bsServiceTariffs.BeginInit();
     this.panel1.SuspendLayout();
     this.bsCanonicalService.BeginInit();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(0, 0xac));
     this.label2.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x3a, 13));
     this.label2.set_TabIndex(8);
     this.label2.set_Text("Документ");
     this.cbServiceTypes.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.cbServiceTypes.set_DataSource(this.bsServiceTypes);
     this.cbServiceTypes.set_DisplayMember("ShortName");
     this.cbServiceTypes.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.cbServiceTypes.set_FormattingEnabled(true);
     this.cbServiceTypes.set_Location(new System.Drawing.Point(0x75, 0x85));
     this.cbServiceTypes.set_Margin(new System.Windows.Forms.Padding(2));
     this.cbServiceTypes.set_Name("cbServiceTypes");
     this.cbServiceTypes.set_Size(new System.Drawing.Size(0x23e, 0x15));
     this.cbServiceTypes.set_TabIndex(2);
     this.bsServiceTypes.set_DataSource(typeof(ServiceTypeOld));
     this.bsServiceTypes.set_Sort("ShortName");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(0, 0x88));
     this.label1.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x4e, 13));
     this.label1.set_TabIndex(4);
     this.label1.set_Text("Группа услуги");
     this.lPU.set_AutoSize(true);
     this.lPU.set_Location(new System.Drawing.Point(1, 7));
     this.lPU.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.lPU.set_Name("lPU");
     this.lPU.set_Size(new System.Drawing.Size(0x41, 13));
     this.lPU.set_TabIndex(2);
     this.lPU.set_Text("Поставщик");
     this.dgTariffView.set_AllowUserToAddRows(false);
     this.dgTariffView.set_AllowUserToDeleteRows(false);
     this.dgTariffView.set_AllowUserToOrderColumns(true);
     this.dgTariffView.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.dgTariffView.set_AutoGenerateColumns(false);
     this.dgTariffView.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgTariffView.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.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.False);
     this.dgTariffView.set_ColumnHeadersDefaultCellStyle(style);
     this.dgTariffView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.ProviderName, this.ServiceTypeName, this.serviceCodeDataGridViewTextBoxColumn, this.serviceNameDataGridViewTextBoxColumn, this.HouseHolderName, this.CanonicalName, this.fromDateDataGridViewTextBoxColumn, this.rateDataGridViewTextBoxColumn, this.NewRateDataGridViewTextBoxColumn, this.AdrName });
     this.dgTariffView.set_DataSource(this.bsServiceTariffs);
     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.dgTariffView.set_DefaultCellStyle(style2);
     this.dgTariffView.set_Location(new System.Drawing.Point(0, 0xdf));
     this.dgTariffView.set_Margin(new System.Windows.Forms.Padding(2));
     this.dgTariffView.set_Name("dgTariffView");
     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.dgTariffView.set_RowHeadersDefaultCellStyle(style3);
     this.dgTariffView.set_RowHeadersVisible(false);
     this.dgTariffView.set_Size(new System.Drawing.Size(0x318, 0x19b));
     this.dgTariffView.set_TabIndex(2);
     this.dgTariffView.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgTariffView_CellDoubleClick));
     this.dgTariffView.add_CellValidating(new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dgTariffView_CellValidating));
     this.bsServiceTariffs.set_DataSource(typeof(ServiceTariff));
     this.bsServiceTariffs.set_Sort("ServiceCode");
     this.panel1.Controls.Add(this.cbCanonicalService);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.selectHouseHolder);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.selectAddresses);
     this.panel1.Controls.Add(this.btnSave);
     this.panel1.Controls.Add(this.btnFind);
     this.panel1.Controls.Add(this.dateRate);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.selectOrg);
     this.panel1.Controls.Add(this.cbServiceTypes);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.selectOrgDoc);
     this.panel1.Controls.Add(this.lPU);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.panel1.set_Location(new System.Drawing.Point(0, 0));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x318, 0xc4));
     this.panel1.set_TabIndex(13);
     this.cbCanonicalService.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.cbCanonicalService.set_DataSource(this.bsCanonicalService);
     this.cbCanonicalService.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.cbCanonicalService.set_FormattingEnabled(true);
     this.cbCanonicalService.set_Location(new System.Drawing.Point(0x75, 0x43));
     this.cbCanonicalService.set_Margin(new System.Windows.Forms.Padding(2));
     this.cbCanonicalService.set_Name("cbCanonicalService");
     this.cbCanonicalService.set_Size(new System.Drawing.Size(0x2a0, 0x15));
     this.cbCanonicalService.set_TabIndex(0x16);
     this.bsCanonicalService.set_DataSource(typeof(CanonicalService));
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(2, 70));
     this.label6.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x73, 13));
     this.label6.set_TabIndex(0x15);
     this.label6.set_Text("Вид благоустройства");
     this.selectHouseHolder.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectHouseHolder.IsCashlessTransferrer = false;
     this.selectHouseHolder.IsHouseHolder = true;
     this.selectHouseHolder.IsPaymentAgent = false;
     this.selectHouseHolder.IsResourceProvider = false;
     this.selectHouseHolder.IsServiceProvider = false;
     this.selectHouseHolder.set_Location(new System.Drawing.Point(0x75, 0x22));
     this.selectHouseHolder.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectHouseHolder.set_Name("selectHouseHolder");
     this.selectHouseHolder.set_Size(new System.Drawing.Size(0x2a1, 0x17));
     this.selectHouseHolder.set_TabIndex(0x12);
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(1, 0x27));
     this.label5.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x3a, 13));
     this.label5.set_TabIndex(0x13);
     this.label5.set_Text("УК услуги");
     this.label4.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(0x1e9, 0xac));
     this.label4.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x6f, 13));
     this.label4.set_TabIndex(14);
     this.label4.set_Text("Дата нового тарифа");
     this.selectAddresses.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectAddresses.IsByUser = false;
     this.selectAddresses.set_Location(new System.Drawing.Point(0x75, 0x66));
     this.selectAddresses.set_Name("selectAddresses");
     this.selectAddresses.set_Size(new System.Drawing.Size(0x2a0, 20));
     this.selectAddresses.set_TabIndex(0x11);
     this.btnSave.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnSave.set_Location(new System.Drawing.Point(0x2b8, 0xa7));
     this.btnSave.set_Name("btnSave");
     this.btnSave.set_Size(new System.Drawing.Size(0x5d, 0x17));
     this.btnSave.set_TabIndex(0x10);
     this.btnSave.set_Text("Сохранить");
     this.btnSave.set_UseVisualStyleBackColor(true);
     this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.btnFind.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnFind.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.btnFind.set_Location(new System.Drawing.Point(0x2b8, 0x83));
     this.btnFind.set_Name("btnFind");
     this.btnFind.set_Size(new System.Drawing.Size(0x5d, 0x17));
     this.btnFind.set_TabIndex(15);
     this.btnFind.set_Text("Поиск");
     this.btnFind.set_UseVisualStyleBackColor(true);
     this.btnFind.add_Click(new System.EventHandler(this.btnFind_Click));
     this.dateRate.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.dateRate.AttachToPeriod = false;
     this.dateRate.AttachToPeriodEnd = false;
     this.dateRate.set_Location(new System.Drawing.Point(0x25c, 0xa9));
     this.dateRate.set_Margin(new System.Windows.Forms.Padding(2));
     this.dateRate.set_Mask("00/00/0000");
     this.dateRate.set_Name("dateRate");
     this.dateRate.set_Size(new System.Drawing.Size(0x57, 20));
     this.dateRate.set_TabIndex(4);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(2, 0x66));
     this.label3.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x26, 13));
     this.label3.set_TabIndex(13);
     this.label3.set_Text("Адрес");
     this.selectOrg.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectOrg.IsCashlessTransferrer = false;
     this.selectOrg.IsHouseHolder = false;
     this.selectOrg.IsPaymentAgent = false;
     this.selectOrg.IsResourceProvider = false;
     this.selectOrg.IsServiceProvider = true;
     this.selectOrg.set_Location(new System.Drawing.Point(0x75, 2));
     this.selectOrg.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectOrg.set_Name("selectOrg");
     this.selectOrg.set_Size(new System.Drawing.Size(0x2a1, 0x17));
     this.selectOrg.set_TabIndex(1);
     this.selectOrg.OnOrganizationSelected += new OrganizationHandler(this.selectOrg_OnOrganizationSelected);
     this.selectOrgDoc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectOrgDoc.set_Location(new System.Drawing.Point(0x75, 0xa8));
     this.selectOrgDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectOrgDoc.set_Name("selectOrgDoc");
     this.selectOrgDoc.set_Size(new System.Drawing.Size(0x170, 0x19));
     this.selectOrgDoc.set_TabIndex(3);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("AddressView");
     style4.set_NullValue(null);
     this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style4);
     this.dataGridViewTextBoxColumn1.set_HeaderText("Адрес");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(0x3f);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("ServiceView");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Услуга");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x44);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("TarifOldView");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Действующий тариф");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(0x7e);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("TarifNew");
     style5.set_Format("N4");
     this.dataGridViewTextBoxColumn4.set_DefaultCellStyle(style5);
     this.dataGridViewTextBoxColumn4.set_HeaderText("Новый тариф");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(0x5c);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("NewRate");
     style6.set_Format("N4");
     this.dataGridViewTextBoxColumn5.set_DefaultCellStyle(style6);
     this.dataGridViewTextBoxColumn5.set_HeaderText("Новый тариф");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_Width(0x77);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Dateb");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Dateb");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_Width(0x3d);
     this.workerFind.add_DoWork(new DoWorkEventHandler(this.workerFind_DoWork));
     this.workerFind.add_ProgressChanged(new ProgressChangedEventHandler(this.workerFind_ProgressChanged));
     this.workerFind.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.workerFind_RunWorkerCompleted));
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbOpenTariffType, this.toolStripSeparator1, this.tsbProviderName, this.tsbServiceTypeName, this.tsbCode, this.tsbService, this.tsbHouseHolderName, this.tsbCanonicalName, this.tsbFromDate, this.tsbRate, this.tsbNewRate, this.tsbAdrName });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0xc4));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x318, 0x19));
     this.toolStrip1.set_TabIndex(14);
     this.tsbOpenTariffType.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbOpenTariffType.set_Image(Resources.CHANGE);
     this.tsbOpenTariffType.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbOpenTariffType.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbOpenTariffType.set_Name("tsbOpenTariffType");
     this.tsbOpenTariffType.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbOpenTariffType.add_Click(new System.EventHandler(this.tsbOpenTariffType_Click));
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsbCode.set_Checked(true);
     this.tsbCode.set_CheckOnClick(true);
     this.tsbCode.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbCode.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbCode.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbCode.set_Name("tsbCode");
     this.tsbCode.set_Size(new System.Drawing.Size(0x1f, 0x16));
     this.tsbCode.set_Text("Код");
     this.tsbCode.add_CheckedChanged(new System.EventHandler(this.tsbCode_CheckedChanged));
     this.tsbService.set_Checked(true);
     this.tsbService.set_CheckOnClick(true);
     this.tsbService.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbService.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbService.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbService.set_Name("tsbService");
     this.tsbService.set_Size(new System.Drawing.Size(0x2e, 0x16));
     this.tsbService.set_Text("Услуга");
     this.tsbService.add_CheckedChanged(new System.EventHandler(this.tsbService_CheckedChanged));
     this.tsbFromDate.set_Checked(true);
     this.tsbFromDate.set_CheckOnClick(true);
     this.tsbFromDate.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbFromDate.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbFromDate.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbFromDate.set_Name("tsbFromDate");
     this.tsbFromDate.set_Size(new System.Drawing.Size(160, 0x16));
     this.tsbFromDate.set_Text("Дата начала старого тарифа");
     this.tsbFromDate.add_CheckedChanged(new System.EventHandler(this.tsbFromDate_CheckedChanged));
     this.tsbRate.set_Checked(true);
     this.tsbRate.set_CheckOnClick(true);
     this.tsbRate.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbRate.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbRate.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbRate.set_Name("tsbRate");
     this.tsbRate.set_Size(new System.Drawing.Size(0x55, 0x16));
     this.tsbRate.set_Text("Старый тариф");
     this.tsbRate.add_CheckedChanged(new System.EventHandler(this.tsbRate_CheckedChanged));
     this.tsbNewRate.set_Checked(true);
     this.tsbNewRate.set_CheckOnClick(true);
     this.tsbNewRate.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbNewRate.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbNewRate.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbNewRate.set_Name("tsbNewRate");
     this.tsbNewRate.set_Size(new System.Drawing.Size(0x4f, 0x11));
     this.tsbNewRate.set_Text("Новый тариф");
     this.tsbNewRate.add_CheckedChanged(new System.EventHandler(this.tsbNewRate_CheckedChanged));
     this.tsbProviderName.set_Checked(true);
     this.tsbProviderName.set_CheckOnClick(true);
     this.tsbProviderName.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbProviderName.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbProviderName.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbProviderName.set_Name("tsbProviderName");
     this.tsbProviderName.set_Size(new System.Drawing.Size(0x44, 0x16));
     this.tsbProviderName.set_Text("Поставщик");
     this.tsbProviderName.add_CheckedChanged(new System.EventHandler(this.tsbProviderName_CheckedChanged));
     this.tsbHouseHolderName.set_Checked(true);
     this.tsbHouseHolderName.set_CheckOnClick(true);
     this.tsbHouseHolderName.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbHouseHolderName.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbHouseHolderName.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbHouseHolderName.set_Name("tsbHouseHolderName");
     this.tsbHouseHolderName.set_Size(new System.Drawing.Size(0x3e, 0x16));
     this.tsbHouseHolderName.set_Text("УК услуги");
     this.tsbHouseHolderName.add_CheckedChanged(new System.EventHandler(this.tsbHouseHolderName_CheckedChanged));
     this.tsbServiceTypeName.set_Checked(true);
     this.tsbServiceTypeName.set_CheckOnClick(true);
     this.tsbServiceTypeName.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbServiceTypeName.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbServiceTypeName.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbServiceTypeName.set_Name("tsbServiceTypeName");
     this.tsbServiceTypeName.set_Size(new System.Drawing.Size(0x54, 0x16));
     this.tsbServiceTypeName.set_Text("Группа услуги");
     this.tsbServiceTypeName.add_CheckedChanged(new System.EventHandler(this.tsbServiceTypeName_CheckedChanged));
     this.tsbCanonicalName.set_Checked(true);
     this.tsbCanonicalName.set_CheckOnClick(true);
     this.tsbCanonicalName.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbCanonicalName.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbCanonicalName.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbCanonicalName.set_Name("tsbCanonicalName");
     this.tsbCanonicalName.set_Size(new System.Drawing.Size(120, 0x16));
     this.tsbCanonicalName.set_Text("Вид благоустройства");
     this.tsbCanonicalName.add_CheckedChanged(new System.EventHandler(this.tsbCanonicalName_CheckedChanged));
     this.tsbAdrName.set_Checked(true);
     this.tsbAdrName.set_CheckOnClick(true);
     this.tsbAdrName.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbAdrName.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbAdrName.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbAdrName.set_Name("tsbAdrName");
     this.tsbAdrName.set_Size(new System.Drawing.Size(0x4f, 0x11));
     this.tsbAdrName.set_Text("Адрес услуги");
     this.tsbAdrName.add_CheckedChanged(new System.EventHandler(this.tsbAdrName_CheckedChanged));
     this.ProviderName.set_DataPropertyName("ProviderName");
     this.ProviderName.set_HeaderText("Поставщик");
     this.ProviderName.set_Name("ProviderName");
     this.ProviderName.set_Width(90);
     this.ServiceTypeName.set_DataPropertyName("ServiceTypeName");
     this.ServiceTypeName.set_HeaderText("Группа услуги");
     this.ServiceTypeName.set_Name("ServiceTypeName");
     this.ServiceTypeName.set_Width(0x67);
     this.serviceCodeDataGridViewTextBoxColumn.set_DataPropertyName("ServiceCode");
     this.serviceCodeDataGridViewTextBoxColumn.set_HeaderText("Код");
     this.serviceCodeDataGridViewTextBoxColumn.set_Name("serviceCodeDataGridViewTextBoxColumn");
     this.serviceCodeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.serviceCodeDataGridViewTextBoxColumn.set_Width(0x33);
     this.serviceNameDataGridViewTextBoxColumn.set_DataPropertyName("ServiceName");
     this.serviceNameDataGridViewTextBoxColumn.set_HeaderText("Услуга");
     this.serviceNameDataGridViewTextBoxColumn.set_Name("serviceNameDataGridViewTextBoxColumn");
     this.serviceNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.serviceNameDataGridViewTextBoxColumn.set_Width(0x44);
     this.HouseHolderName.set_DataPropertyName("HouseHolderName");
     this.HouseHolderName.set_HeaderText("УК услуги");
     this.HouseHolderName.set_Name("HouseHolderName");
     this.HouseHolderName.set_Width(0x53);
     this.CanonicalName.set_DataPropertyName("CanonicalName");
     this.CanonicalName.set_HeaderText("Вид благоустройства");
     this.CanonicalName.set_Name("CanonicalName");
     this.CanonicalName.set_Width(140);
     this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Дата начала старого тарифа");
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn.set_Width(0xb3);
     this.rateDataGridViewTextBoxColumn.set_DataPropertyName("Rate");
     this.rateDataGridViewTextBoxColumn.set_HeaderText("Старый тариф");
     this.rateDataGridViewTextBoxColumn.set_Name("rateDataGridViewTextBoxColumn");
     this.rateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.rateDataGridViewTextBoxColumn.set_Width(0x68);
     this.NewRateDataGridViewTextBoxColumn.set_HeaderText("Новый тариф");
     this.NewRateDataGridViewTextBoxColumn.set_Name("NewRateDataGridViewTextBoxColumn");
     this.AdrName.set_DataPropertyName("AdrName");
     this.AdrName.set_HeaderText("Адрес услуги");
     this.AdrName.set_Name("AdrName");
     this.AdrName.set_Width(0x63);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x318, 0x27a));
     base.Controls.Add(this.toolStrip1);
     base.Controls.Add(this.dgTariffView);
     base.Controls.Add(this.panel1);
     base.set_Name("ServiceTariffGroupChangeForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("Групповая смена тарифа по услугам");
     base.add_Load(new System.EventHandler(this.Form_Load));
     this.bsServiceTypes.EndInit();
     this.dgTariffView.EndInit();
     this.bsServiceTariffs.EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.bsCanonicalService.EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Пример #6
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(ReportShedulerForm));
     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();
     System.Windows.Forms.DataGridViewCellStyle style8 = new System.Windows.Forms.DataGridViewCellStyle();
     this.panel1 = new System.Windows.Forms.Panel();
     this.btnApply = new System.Windows.Forms.Button();
     this.rbDay = new System.Windows.Forms.RadioButton();
     this.rbMonth = new System.Windows.Forms.RadioButton();
     this.byDayGroup = new System.Windows.Forms.GroupBox();
     this.cbDayFromBeginMonth = new System.Windows.Forms.CheckBox();
     this.label5 = new System.Windows.Forms.Label();
     this.dayUpDwn = new System.Windows.Forms.NumericUpDown();
     this.label6 = new System.Windows.Forms.Label();
     this.byMonthGroup = new System.Windows.Forms.GroupBox();
     this.label4 = new System.Windows.Forms.Label();
     this.monthUpDwn = new System.Windows.Forms.NumericUpDown();
     this.label3 = new System.Windows.Forms.Label();
     this.panel3 = new System.Windows.Forms.Panel();
     this.cbEnable = new System.Windows.Forms.CheckBox();
     this.templateName = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.nextTime = new DateTimePeriod();
     this.tsReports = new System.Windows.Forms.ToolStrip();
     this.tsbSelectAll = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbCleanAll = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbDeleteReport = new System.Windows.Forms.ToolStripButton();
     this.tsbDeleteReportsImage = new System.Windows.Forms.ToolStripLabel();
     this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
     this.tsbHorizontal = new System.Windows.Forms.ToolStripButton();
     this.tsbVertical = new System.Windows.Forms.ToolStripButton();
     this.scReport = new System.Windows.Forms.SplitContainer();
     this.dgvReports = new System.Windows.Forms.DataGridView();
     this.bsReportShedulers = new System.Windows.Forms.BindingSource(this.components);
     this.dgvReportParameters = new System.Windows.Forms.DataGridView();
     this.printNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.printValueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsReportShedulerParameters = new System.Windows.Forms.BindingSource(this.components);
     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.enableDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.CheckPrint = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.reportTemplateIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.nextTimeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.intervalDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.intervalValueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dayBeginAllowShiftDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.createdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.userNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.compleateCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel1.SuspendLayout();
     this.byDayGroup.SuspendLayout();
     this.dayUpDwn.BeginInit();
     this.byMonthGroup.SuspendLayout();
     this.monthUpDwn.BeginInit();
     this.panel3.SuspendLayout();
     this.tsReports.SuspendLayout();
     this.scReport.Panel1.SuspendLayout();
     this.scReport.Panel2.SuspendLayout();
     this.scReport.SuspendLayout();
     this.dgvReports.BeginInit();
     this.bsReportShedulers.BeginInit();
     this.dgvReportParameters.BeginInit();
     this.bsReportShedulerParameters.BeginInit();
     base.SuspendLayout();
     this.panel1.Controls.Add(this.btnApply);
     this.panel1.Controls.Add(this.rbDay);
     this.panel1.Controls.Add(this.rbMonth);
     this.panel1.Controls.Add(this.byDayGroup);
     this.panel1.Controls.Add(this.byMonthGroup);
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.templateName);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.nextTime);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.panel1.set_Location(new System.Drawing.Point(0, 0));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x2ed, 0xb7));
     this.panel1.set_TabIndex(0);
     this.btnApply.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnApply.set_Location(new System.Drawing.Point(0x24d, 0x74));
     this.btnApply.set_Name("btnApply");
     this.btnApply.set_Size(new System.Drawing.Size(0x94, 0x39));
     this.btnApply.set_TabIndex(11);
     this.btnApply.set_Text("Принять изменения");
     this.btnApply.set_UseVisualStyleBackColor(true);
     this.btnApply.add_Click(new System.EventHandler(this.btnApply_Click));
     this.rbDay.set_AutoSize(true);
     this.rbDay.set_Location(new System.Drawing.Point(0x15, 0x69));
     this.rbDay.set_Name("rbDay");
     this.rbDay.set_Size(new System.Drawing.Size(0x91, 0x11));
     this.rbDay.set_TabIndex(10);
     this.rbDay.set_Text("периодичность по дням");
     this.rbDay.set_UseVisualStyleBackColor(true);
     this.rbMonth.set_AutoSize(true);
     this.rbMonth.set_Checked(true);
     this.rbMonth.set_Location(new System.Drawing.Point(0x15, 0x39));
     this.rbMonth.set_Name("rbMonth");
     this.rbMonth.set_Size(new System.Drawing.Size(0xa5, 0x11));
     this.rbMonth.set_TabIndex(10);
     this.rbMonth.set_TabStop(true);
     this.rbMonth.set_Text("периодичность по месяцам");
     this.rbMonth.set_UseVisualStyleBackColor(true);
     this.rbMonth.add_CheckedChanged(new System.EventHandler(this.rbMonth_CheckedChanged));
     this.byDayGroup.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.byDayGroup.Controls.Add(this.cbDayFromBeginMonth);
     this.byDayGroup.Controls.Add(this.label5);
     this.byDayGroup.Controls.Add(this.dayUpDwn);
     this.byDayGroup.Controls.Add(this.label6);
     this.byDayGroup.set_Enabled(false);
     this.byDayGroup.set_Location(new System.Drawing.Point(12, 110));
     this.byDayGroup.set_Name("byDayGroup");
     this.byDayGroup.set_Size(new System.Drawing.Size(0x23b, 0x3f));
     this.byDayGroup.set_TabIndex(9);
     this.byDayGroup.set_TabStop(false);
     this.cbDayFromBeginMonth.set_AutoSize(true);
     this.cbDayFromBeginMonth.set_Checked(true);
     this.cbDayFromBeginMonth.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.cbDayFromBeginMonth.set_Location(new System.Drawing.Point(6, 40));
     this.cbDayFromBeginMonth.set_Name("cbDayFromBeginMonth");
     this.cbDayFromBeginMonth.set_Size(new System.Drawing.Size(0x8e, 0x11));
     this.cbDayFromBeginMonth.set_TabIndex(9);
     this.cbDayFromBeginMonth.set_Text("Даты с начала месяца");
     this.cbDayFromBeginMonth.set_UseVisualStyleBackColor(true);
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(0xa3, 0x10));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x1f, 13));
     this.label5.set_TabIndex(8);
     this.label5.set_Text("дней");
     this.dayUpDwn.set_Location(new System.Drawing.Point(0x76, 14));
     int[] numArray = new int[4];
     numArray[0] = 0x16e;
     this.dayUpDwn.set_Maximum(new decimal(numArray));
     int[] numArray2 = new int[4];
     numArray2[0] = 1;
     this.dayUpDwn.set_Minimum(new decimal(numArray2));
     this.dayUpDwn.set_Name("dayUpDwn");
     this.dayUpDwn.set_Size(new System.Drawing.Size(0x27, 20));
     this.dayUpDwn.set_TabIndex(7);
     int[] numArray3 = new int[4];
     numArray3[0] = 1;
     this.dayUpDwn.set_Value(new decimal(numArray3));
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(6, 0x10));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x6a, 13));
     this.label6.set_TabIndex(6);
     this.label6.set_Text("Выполнять каждые");
     this.byMonthGroup.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.byMonthGroup.Controls.Add(this.label4);
     this.byMonthGroup.Controls.Add(this.monthUpDwn);
     this.byMonthGroup.Controls.Add(this.label3);
     this.byMonthGroup.set_Location(new System.Drawing.Point(12, 0x3d));
     this.byMonthGroup.set_Name("byMonthGroup");
     this.byMonthGroup.set_Size(new System.Drawing.Size(0x2d5, 0x2b));
     this.byMonthGroup.set_TabIndex(9);
     this.byMonthGroup.set_TabStop(false);
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(0xa3, 0x10));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x33, 13));
     this.label4.set_TabIndex(8);
     this.label4.set_Text("месяцев");
     this.monthUpDwn.set_Location(new System.Drawing.Point(0x76, 14));
     int[] numArray4 = new int[4];
     numArray4[0] = 120;
     this.monthUpDwn.set_Maximum(new decimal(numArray4));
     int[] numArray5 = new int[4];
     numArray5[0] = 1;
     this.monthUpDwn.set_Minimum(new decimal(numArray5));
     this.monthUpDwn.set_Name("monthUpDwn");
     this.monthUpDwn.set_Size(new System.Drawing.Size(0x27, 20));
     this.monthUpDwn.set_TabIndex(7);
     int[] numArray6 = new int[4];
     numArray6[0] = 1;
     this.monthUpDwn.set_Value(new decimal(numArray6));
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(6, 0x10));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x6a, 13));
     this.label3.set_TabIndex(6);
     this.label3.set_Text("Выполнять каждые");
     this.panel3.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.panel3.set_AutoScroll(true);
     this.panel3.set_AutoScrollMinSize(new System.Drawing.Size(150, 0));
     this.panel3.Controls.Add(this.cbEnable);
     this.panel3.set_Location(new System.Drawing.Point(0x123, 0x1d));
     this.panel3.set_Name("panel3");
     this.panel3.set_Size(new System.Drawing.Size(0x1ca, 0x22));
     this.panel3.set_TabIndex(8);
     this.cbEnable.set_AutoSize(true);
     this.cbEnable.set_Location(new System.Drawing.Point(0x3b, 6));
     this.cbEnable.set_Name("cbEnable");
     this.cbEnable.set_Size(new System.Drawing.Size(0x4c, 0x11));
     this.cbEnable.set_TabIndex(10);
     this.cbEnable.set_Text("Активный");
     this.cbEnable.set_UseVisualStyleBackColor(true);
     this.cbEnable.add_CheckedChanged(new System.EventHandler(this.cbEnable_CheckedChanged));
     this.templateName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.templateName.set_Location(new System.Drawing.Point(0x40, 3));
     this.templateName.set_Name("templateName");
     this.templateName.set_ReadOnly(true);
     this.templateName.set_Size(new System.Drawing.Size(0x2a1, 20));
     this.templateName.set_TabIndex(6);
     this.label2.set_Location(new System.Drawing.Point(9, 0x24));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(160, 13));
     this.label2.set_TabIndex(5);
     this.label2.set_Text("Дата следующего запуска");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(12, 6));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x2e, 13));
     this.label1.set_TabIndex(4);
     this.label1.set_Text("Шаблон");
     this.nextTime.set_Location(new System.Drawing.Point(140, 30));
     this.nextTime.set_Margin(new System.Windows.Forms.Padding(4));
     this.nextTime.set_MaximumSize(new System.Drawing.Size(400, 0x1c));
     this.nextTime.set_MinimumSize(new System.Drawing.Size(0x144, 0x18));
     this.nextTime.set_Name("nextTime");
     this.nextTime.set_Size(new System.Drawing.Size(0x144, 0x18));
     this.nextTime.set_TabIndex(7);
     this.nextTime.TimeBeginReadOnly = false;
     this.nextTime.TimeEndReadonly = false;
     this.tsReports.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbSelectAll, this.toolStripSeparator5, this.tsbCleanAll, this.toolStripSeparator3, this.tsbDeleteReport, this.tsbDeleteReportsImage, this.toolStripLabel2, this.tsbHorizontal, this.tsbVertical });
     this.tsReports.set_Location(new System.Drawing.Point(0, 0xb7));
     this.tsReports.set_Name("tsReports");
     this.tsReports.set_Size(new System.Drawing.Size(0x2ed, 0x19));
     this.tsReports.set_TabIndex(0x10);
     this.tsReports.set_Text("toolStrip1");
     this.tsbSelectAll.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbSelectAll.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbSelectAll.set_Name("tsbSelectAll");
     this.tsbSelectAll.set_Size(new System.Drawing.Size(0x4f, 0x16));
     this.tsbSelectAll.set_Text("Выбрать все");
     this.tsbSelectAll.add_Click(new System.EventHandler(this.tsbSelectAll_Click));
     this.toolStripSeparator5.set_Name("toolStripSeparator5");
     this.toolStripSeparator5.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsbCleanAll.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbCleanAll.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbCleanAll.set_Name("tsbCleanAll");
     this.tsbCleanAll.set_Size(new System.Drawing.Size(70, 0x16));
     this.tsbCleanAll.set_Text("Убрать все");
     this.tsbCleanAll.add_Click(new System.EventHandler(this.tsbCleanAll_Click));
     this.toolStripSeparator3.set_Name("toolStripSeparator3");
     this.toolStripSeparator3.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsbDeleteReport.set_Image(Resources.DELETE);
     this.tsbDeleteReport.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbDeleteReport.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbDeleteReport.set_Name("tsbDeleteReport");
     this.tsbDeleteReport.set_Size(new System.Drawing.Size(0x92, 0x16));
     this.tsbDeleteReport.set_Text("Удалить выбранные");
     this.tsbDeleteReport.add_Click(new System.EventHandler(this.tsbDeleteReport_Click));
     this.tsbDeleteReportsImage.set_AutoSize(false);
     this.tsbDeleteReportsImage.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbDeleteReportsImage.set_Image(Resources.WAITING);
     this.tsbDeleteReportsImage.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.tsbDeleteReportsImage.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbDeleteReportsImage.set_ImageTransparentColor(System.Drawing.Color.White);
     this.tsbDeleteReportsImage.set_Name("tsbDeleteReportsImage");
     this.tsbDeleteReportsImage.set_Size(new System.Drawing.Size(0x11, 0x16));
     this.tsbDeleteReportsImage.set_Visible(false);
     this.toolStripLabel2.set_Name("toolStripLabel2");
     this.toolStripLabel2.set_Size(new System.Drawing.Size(140, 0x16));
     this.toolStripLabel2.set_Text("Показывать параметры:");
     this.tsbHorizontal.set_Checked(true);
     this.tsbHorizontal.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbHorizontal.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbHorizontal.set_Image((System.Drawing.Image) manager.GetObject("tsbHorizontal.Image"));
     this.tsbHorizontal.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbHorizontal.set_Name("tsbHorizontal");
     this.tsbHorizontal.set_Size(new System.Drawing.Size(0x5e, 0x16));
     this.tsbHorizontal.set_Text("горизонтально");
     this.tsbHorizontal.add_Click(new System.EventHandler(this.tsbHorizontal_Click));
     this.tsbVertical.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbVertical.set_Image((System.Drawing.Image) manager.GetObject("tsbVertical.Image"));
     this.tsbVertical.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbVertical.set_Name("tsbVertical");
     this.tsbVertical.set_Size(new System.Drawing.Size(0x51, 0x16));
     this.tsbVertical.set_Text("вертикально");
     this.tsbVertical.add_Click(new System.EventHandler(this.tsbVertical_Click));
     this.scReport.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.scReport.set_Location(new System.Drawing.Point(0, 0xd0));
     this.scReport.set_Name("scReport");
     this.scReport.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.scReport.Panel1.Controls.Add(this.dgvReports);
     this.scReport.Panel1.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.scReport.Panel2.Controls.Add(this.dgvReportParameters);
     this.scReport.Panel2.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.scReport.set_Size(new System.Drawing.Size(0x2ed, 0xea));
     this.scReport.set_SplitterDistance(0x93);
     this.scReport.set_TabIndex(20);
     this.dgvReports.set_AllowUserToAddRows(false);
     this.dgvReports.set_AllowUserToDeleteRows(false);
     this.dgvReports.set_AutoGenerateColumns(false);
     this.dgvReports.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvReports.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.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.dgvReports.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvReports.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvReports.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.enableDataGridViewCheckBoxColumn, this.CheckPrint, this.reportTemplateIdDataGridViewTextBoxColumn, this.nextTimeDataGridViewTextBoxColumn, this.intervalDataGridViewTextBoxColumn, this.intervalValueDataGridViewTextBoxColumn, this.dayBeginAllowShiftDataGridViewCheckBoxColumn, this.createdDataGridViewTextBoxColumn, this.userNameDataGridViewTextBoxColumn, this.compleateCountDataGridViewTextBoxColumn, this.idDataGridViewTextBoxColumn });
     this.dgvReports.set_DataSource(this.bsReportShedulers);
     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.dgvReports.set_DefaultCellStyle(style2);
     this.dgvReports.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvReports.set_Location(new System.Drawing.Point(0, 0));
     this.dgvReports.set_Name("dgvReports");
     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.dgvReports.set_RowHeadersDefaultCellStyle(style3);
     this.dgvReports.set_RowHeadersVisible(false);
     this.dgvReports.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvReports.set_Size(new System.Drawing.Size(0x2ed, 0x93));
     this.dgvReports.set_TabIndex(0x11);
     this.bsReportShedulers.set_DataSource(typeof(RepReportSheduler));
     this.bsReportShedulers.set_Sort("Created desc");
     this.bsReportShedulers.add_CurrentChanged(new System.EventHandler(this.bsReportShedulers_CurrentChanged));
     this.dgvReportParameters.set_AllowUserToAddRows(false);
     this.dgvReportParameters.set_AllowUserToDeleteRows(false);
     this.dgvReportParameters.set_AutoGenerateColumns(false);
     this.dgvReportParameters.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvReportParameters.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style4.set_BackColor(System.Drawing.SystemColors.Control);
     style4.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style4.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style4.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style4.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style4.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvReportParameters.set_ColumnHeadersDefaultCellStyle(style4);
     this.dgvReportParameters.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvReportParameters.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.printNameDataGridViewTextBoxColumn, this.printValueDataGridViewTextBoxColumn });
     this.dgvReportParameters.set_DataSource(this.bsReportShedulerParameters);
     style5.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style5.set_BackColor(System.Drawing.SystemColors.Window);
     style5.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style5.set_ForeColor(System.Drawing.SystemColors.ControlText);
     style5.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style5.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style5.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgvReportParameters.set_DefaultCellStyle(style5);
     this.dgvReportParameters.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvReportParameters.set_Location(new System.Drawing.Point(0, 0));
     this.dgvReportParameters.set_Name("dgvReportParameters");
     this.dgvReportParameters.set_ReadOnly(true);
     style6.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style6.set_BackColor(System.Drawing.SystemColors.Control);
     style6.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style6.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style6.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style6.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style6.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvReportParameters.set_RowHeadersDefaultCellStyle(style6);
     this.dgvReportParameters.set_RowHeadersVisible(false);
     this.dgvReportParameters.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvReportParameters.set_Size(new System.Drawing.Size(0x2ed, 0x53));
     this.dgvReportParameters.set_TabIndex(0x12);
     this.printNameDataGridViewTextBoxColumn.set_DataPropertyName("PrintName");
     this.printNameDataGridViewTextBoxColumn.set_HeaderText("Параметр");
     this.printNameDataGridViewTextBoxColumn.set_Name("printNameDataGridViewTextBoxColumn");
     this.printNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.printNameDataGridViewTextBoxColumn.set_Width(0x53);
     this.printValueDataGridViewTextBoxColumn.set_DataPropertyName("PrintValue");
     this.printValueDataGridViewTextBoxColumn.set_HeaderText("Значение");
     this.printValueDataGridViewTextBoxColumn.set_Name("printValueDataGridViewTextBoxColumn");
     this.printValueDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.printValueDataGridViewTextBoxColumn.set_Width(80);
     this.bsReportShedulerParameters.set_DataSource(typeof(RepReportShedulerParameter));
     this.dataGridViewTextBoxColumn1.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("StartTime");
     style7.set_Format("G");
     style7.set_NullValue(null);
     this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style7);
     this.dataGridViewTextBoxColumn1.set_HeaderText("Начато формирование");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("FinishTime");
     style8.set_Format("G");
     style8.set_NullValue(null);
     this.dataGridViewTextBoxColumn2.set_DefaultCellStyle(style8);
     this.dataGridViewTextBoxColumn2.set_HeaderText("Сформирован");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("Interval");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Периоди- чность");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ToolTipText("м - по месяцам;  д - по дням");
     this.dataGridViewTextBoxColumn3.set_Width(70);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("IntervalValue");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Интервал");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ToolTipText("количество месяцев/дней через которое повторяется выполнение отчёта");
     this.dataGridViewTextBoxColumn4.set_Width(70);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("UserId");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Пользователь");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ToolTipText("добавивший отчёт в планировщик");
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Дата создания");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ToolTipText("когда отчёт добавлен в планировщик");
     this.dataGridViewTextBoxColumn6.set_Width(80);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("CompleateCount");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Выполнено раз");
     this.dataGridViewTextBoxColumn7.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ToolTipText("счётчик выполнений отчёта в планировщике с момента его добавления");
     this.dataGridViewTextBoxColumn7.set_Width(80);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("ShiftDateBegin");
     this.dataGridViewTextBoxColumn8.set_HeaderText("ShiftDateBegin");
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_Visible(false);
     this.dataGridViewTextBoxColumn8.set_Width(5);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("ShiftDateEnd");
     this.dataGridViewTextBoxColumn9.set_HeaderText("ShiftDateEnd");
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Visible(false);
     this.dataGridViewTextBoxColumn9.set_Width(5);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("ShiftSecondDateBegin");
     this.dataGridViewTextBoxColumn10.set_HeaderText("ShiftSecondDateBegin");
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn10.set_Visible(false);
     this.dataGridViewTextBoxColumn10.set_Width(5);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("ShiftSecondDateEnd");
     this.dataGridViewTextBoxColumn11.set_HeaderText("ShiftSecondDateEnd");
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_Visible(false);
     this.dataGridViewTextBoxColumn11.set_Width(5);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("PrintName");
     this.dataGridViewTextBoxColumn12.set_HeaderText("Параметр");
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn12.set_Width(0x53);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("PrintValue");
     this.dataGridViewTextBoxColumn13.set_HeaderText("Значение");
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn13.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn13.set_Width(80);
     this.enableDataGridViewCheckBoxColumn.set_DataPropertyName("Enable");
     this.enableDataGridViewCheckBoxColumn.set_HeaderText("Активный");
     this.enableDataGridViewCheckBoxColumn.set_MinimumWidth(80);
     this.enableDataGridViewCheckBoxColumn.set_Name("enableDataGridViewCheckBoxColumn");
     this.enableDataGridViewCheckBoxColumn.set_ReadOnly(true);
     this.enableDataGridViewCheckBoxColumn.set_Width(80);
     this.CheckPrint.set_FillWeight((float) 10.43145f);
     this.CheckPrint.set_HeaderText("Выбор");
     this.CheckPrint.set_MinimumWidth(60);
     this.CheckPrint.set_Name("CheckPrint");
     this.CheckPrint.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.CheckPrint.set_Width(60);
     this.reportTemplateIdDataGridViewTextBoxColumn.set_DataPropertyName("ReportTemplateName");
     this.reportTemplateIdDataGridViewTextBoxColumn.set_HeaderText("Шаблон");
     this.reportTemplateIdDataGridViewTextBoxColumn.set_MinimumWidth(100);
     this.reportTemplateIdDataGridViewTextBoxColumn.set_Name("reportTemplateIdDataGridViewTextBoxColumn");
     this.nextTimeDataGridViewTextBoxColumn.set_DataPropertyName("NextTime");
     this.nextTimeDataGridViewTextBoxColumn.set_HeaderText("Следующий запуск");
     this.nextTimeDataGridViewTextBoxColumn.set_MinimumWidth(100);
     this.nextTimeDataGridViewTextBoxColumn.set_Name("nextTimeDataGridViewTextBoxColumn");
     this.intervalDataGridViewTextBoxColumn.set_DataPropertyName("Interval");
     this.intervalDataGridViewTextBoxColumn.set_HeaderText("Перио- дичность");
     this.intervalDataGridViewTextBoxColumn.set_MinimumWidth(70);
     this.intervalDataGridViewTextBoxColumn.set_Name("intervalDataGridViewTextBoxColumn");
     this.intervalDataGridViewTextBoxColumn.set_ToolTipText("м - по месяцам;  д - по дням");
     this.intervalDataGridViewTextBoxColumn.set_Width(70);
     this.intervalValueDataGridViewTextBoxColumn.set_DataPropertyName("IntervalValue");
     this.intervalValueDataGridViewTextBoxColumn.set_HeaderText("Период");
     this.intervalValueDataGridViewTextBoxColumn.set_MinimumWidth(70);
     this.intervalValueDataGridViewTextBoxColumn.set_Name("intervalValueDataGridViewTextBoxColumn");
     this.intervalValueDataGridViewTextBoxColumn.set_ToolTipText("количество месяцев/дней  через которое выполнение запроса будет повторятся");
     this.intervalValueDataGridViewTextBoxColumn.set_Width(70);
     this.dayBeginAllowShiftDataGridViewCheckBoxColumn.set_DataPropertyName("DayBeginAllowShift");
     this.dayBeginAllowShiftDataGridViewCheckBoxColumn.set_HeaderText("Даты с начала месяца");
     this.dayBeginAllowShiftDataGridViewCheckBoxColumn.set_MinimumWidth(70);
     this.dayBeginAllowShiftDataGridViewCheckBoxColumn.set_Name("dayBeginAllowShiftDataGridViewCheckBoxColumn");
     this.dayBeginAllowShiftDataGridViewCheckBoxColumn.set_ToolTipText("Если включено, диапазон дней всегда начинается с первого дня месяца");
     this.dayBeginAllowShiftDataGridViewCheckBoxColumn.set_Width(70);
     this.createdDataGridViewTextBoxColumn.set_DataPropertyName("Created");
     this.createdDataGridViewTextBoxColumn.set_HeaderText("Создан");
     this.createdDataGridViewTextBoxColumn.set_MinimumWidth(100);
     this.createdDataGridViewTextBoxColumn.set_Name("createdDataGridViewTextBoxColumn");
     this.createdDataGridViewTextBoxColumn.set_ToolTipText("Когда добавлен отчёт в планировщик");
     this.userNameDataGridViewTextBoxColumn.set_DataPropertyName("UserName");
     this.userNameDataGridViewTextBoxColumn.set_HeaderText("Пользователь");
     this.userNameDataGridViewTextBoxColumn.set_MinimumWidth(100);
     this.userNameDataGridViewTextBoxColumn.set_Name("userNameDataGridViewTextBoxColumn");
     this.userNameDataGridViewTextBoxColumn.set_ToolTipText("Кем добавлен отчёт в планировщик");
     this.compleateCountDataGridViewTextBoxColumn.set_DataPropertyName("CompleateCount");
     this.compleateCountDataGridViewTextBoxColumn.set_HeaderText("Количество выполненых отчётов");
     this.compleateCountDataGridViewTextBoxColumn.set_MinimumWidth(100);
     this.compleateCountDataGridViewTextBoxColumn.set_Name("compleateCountDataGridViewTextBoxColumn");
     this.compleateCountDataGridViewTextBoxColumn.set_ToolTipText("Сколько раз с момента добавления отчёт запускался в обработку");
     this.idDataGridViewTextBoxColumn.set_DataPropertyName("Id");
     this.idDataGridViewTextBoxColumn.set_HeaderText("Id");
     this.idDataGridViewTextBoxColumn.set_Name("idDataGridViewTextBoxColumn");
     this.idDataGridViewTextBoxColumn.set_Width(5);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x2ed, 0x1ba));
     base.Controls.Add(this.scReport);
     base.Controls.Add(this.tsReports);
     base.Controls.Add(this.panel1);
     this.set_MinimumSize(new System.Drawing.Size(480, 0x178));
     base.set_Name("ReportShedulerForm");
     this.set_Text("Планировщик отчётов");
     base.add_Load(new System.EventHandler(this.ReportShedulerForm_Load));
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.byDayGroup.ResumeLayout(false);
     this.byDayGroup.PerformLayout();
     this.dayUpDwn.EndInit();
     this.byMonthGroup.ResumeLayout(false);
     this.byMonthGroup.PerformLayout();
     this.monthUpDwn.EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.tsReports.ResumeLayout(false);
     this.tsReports.PerformLayout();
     this.scReport.Panel1.ResumeLayout(false);
     this.scReport.Panel2.ResumeLayout(false);
     this.scReport.ResumeLayout(false);
     this.dgvReports.EndInit();
     this.bsReportShedulers.EndInit();
     this.dgvReportParameters.EndInit();
     this.bsReportShedulerParameters.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Пример #7
0
 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();
     System.Windows.Forms.DataGridViewCellStyle style8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style9 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style11 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style12 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style13 = new System.Windows.Forms.DataGridViewCellStyle();
     this.m_ServicesGrid = new System.Windows.Forms.DataGridView();
     this.selectDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.isFixedDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.counterIndicationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.newCounterIndicationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.penaltyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.debtDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.debtToPayDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.paidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.m_ServicesSource = new System.Windows.Forms.BindingSource(this.components);
     this.label6 = new System.Windows.Forms.Label();
     this.m_DebtToPayBox = new System.Windows.Forms.TextBox();
     this.m_PaySummBox = new System.Windows.Forms.TextBox();
     this.m_TotalPaidBox = new System.Windows.Forms.TextBox();
     this.m_CommissionBox = new System.Windows.Forms.TextBox();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.m_RequestButton = new System.Windows.Forms.Button();
     this.m_PaymentButton = new System.Windows.Forms.Button();
     this.m_RequestWorker = new BackgroundWorker();
     this.m_OneSummPaymentCheckBox = new System.Windows.Forms.CheckBox();
     this.m_PeriodsBox = new System.Windows.Forms.ListBox();
     this.m_PeriodsSource = new System.Windows.Forms.BindingSource(this.components);
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.cbActions = new System.Windows.Forms.ComboBox();
     this.m_HouseHoldersSource = new System.Windows.Forms.BindingSource(this.components);
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.benefitNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.personsCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.m_RequestBenefitsSource = new System.Windows.Forms.BindingSource(this.components);
     this.m_BenefitBox = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.m_ActualChargeBox = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.m_DebtBox = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.m_DebtPenaltyBox = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.m_ChargeBox = new System.Windows.Forms.TextBox();
     this.m_DebtNotPaidBox = new System.Windows.Forms.TextBox();
     this.label10 = new System.Windows.Forms.Label();
     this.m_PenaltyBox = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.m_DebtToPayWithoutPenaltyBox = new System.Windows.Forms.TextBox();
     this.tpDatePayment = new System.Windows.Forms.TableLayoutPanel();
     this.label13 = new System.Windows.Forms.Label();
     this.dtpPaymentDate = new System.Windows.Forms.DateTimePicker();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.m_CommentsBox = new System.Windows.Forms.TextBox();
     this.groupBoxPayment = new CheckGroupBox();
     this.rbToDown = new System.Windows.Forms.RadioButton();
     this.rbNoAction = new System.Windows.Forms.RadioButton();
     this.rbToUp = new System.Windows.Forms.RadioButton();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.tab = new System.Windows.Forms.TabControl();
     this.tpServices = new System.Windows.Forms.TabPage();
     this.chbxUseAccountServiceBankrupts = new System.Windows.Forms.CheckBox();
     this.label12 = new System.Windows.Forms.Label();
     this.m_HouseHoldersBox = new System.Windows.Forms.ComboBox();
     this.tpCounters = new System.Windows.Forms.TabPage();
     this.m_CountersGrid = new System.Windows.Forms.DataGridView();
     this.newCounterIndicationDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterTypeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterFromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterToDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.m_PayRequestCounters = new System.Windows.Forms.BindingSource(this.components);
     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.m_ServicesGrid.BeginInit();
     this.m_ServicesSource.BeginInit();
     this.m_PeriodsSource.BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.m_HouseHoldersSource.BeginInit();
     this.dataGridView1.BeginInit();
     this.m_RequestBenefitsSource.BeginInit();
     this.tpDatePayment.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     this.groupBoxPayment.SuspendLayout();
     this.splitContainer1.BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.tab.SuspendLayout();
     this.tpServices.SuspendLayout();
     this.tpCounters.SuspendLayout();
     this.m_CountersGrid.BeginInit();
     this.m_PayRequestCounters.BeginInit();
     base.SuspendLayout();
     this.m_ServicesGrid.set_AllowUserToAddRows(false);
     this.m_ServicesGrid.set_AllowUserToDeleteRows(false);
     this.m_ServicesGrid.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.m_ServicesGrid.set_AutoGenerateColumns(false);
     this.m_ServicesGrid.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.m_ServicesGrid.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.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.m_ServicesGrid.set_ColumnHeadersDefaultCellStyle(style);
     this.m_ServicesGrid.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.m_ServicesGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.selectDataGridViewTextBoxColumn, this.nameDataGridViewTextBoxColumn, this.isFixedDataGridViewTextBoxColumn, this.counterIndicationDataGridViewTextBoxColumn, this.newCounterIndicationDataGridViewTextBoxColumn, this.penaltyDataGridViewTextBoxColumn, this.debtDataGridViewTextBoxColumn, this.debtToPayDataGridViewTextBoxColumn, this.paidDataGridViewTextBoxColumn });
     this.m_ServicesGrid.set_DataSource(this.m_ServicesSource);
     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.m_ServicesGrid.set_DefaultCellStyle(style2);
     this.m_ServicesGrid.set_EditMode(System.Windows.Forms.DataGridViewEditMode.EditOnKeystroke);
     this.m_ServicesGrid.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.m_ServicesGrid.set_Location(new System.Drawing.Point(3, 0x21));
     this.m_ServicesGrid.set_Name("m_ServicesGrid");
     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.m_ServicesGrid.set_RowHeadersDefaultCellStyle(style3);
     this.m_ServicesGrid.set_RowHeadersVisible(false);
     this.m_ServicesGrid.set_Size(new System.Drawing.Size(0x270, 0xea));
     this.m_ServicesGrid.set_TabIndex(0);
     this.m_ServicesGrid.add_CellBeginEdit(new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.m_ServicesGrid_CellBeginEdit));
     this.m_ServicesGrid.add_CellEndEdit(new System.Windows.Forms.DataGridViewCellEventHandler(this.m_ServicesGrid_CellEndEdit));
     this.m_ServicesGrid.add_CellFormatting(new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.m_ServicesGrid_CellFormatting));
     this.m_ServicesGrid.add_CellValueChanged(new System.Windows.Forms.DataGridViewCellEventHandler(this.m_ServicesGrid_CellValueChanged));
     this.m_ServicesGrid.add_DataError(new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.m_ServicesGrid_DataError));
     this.m_ServicesGrid.add_Sorted(new System.EventHandler(this.m_ServicesGrid_Sorted));
     this.selectDataGridViewTextBoxColumn.set_HeaderText("X");
     this.selectDataGridViewTextBoxColumn.set_Name("selectDataGridViewTextBoxColumn");
     this.selectDataGridViewTextBoxColumn.set_Width(20);
     this.nameDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill);
     this.nameDataGridViewTextBoxColumn.set_DataPropertyName("Name");
     this.nameDataGridViewTextBoxColumn.set_HeaderText("Услуга");
     this.nameDataGridViewTextBoxColumn.set_Name("nameDataGridViewTextBoxColumn");
     this.nameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.isFixedDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.isFixedDataGridViewTextBoxColumn.set_DataPropertyName("IsFixed");
     this.isFixedDataGridViewTextBoxColumn.set_HeaderText("Фиксир. оплата");
     this.isFixedDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.isFixedDataGridViewTextBoxColumn.set_Name("isFixedDataGridViewTextBoxColumn");
     this.isFixedDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.isFixedDataGridViewTextBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.isFixedDataGridViewTextBoxColumn.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.isFixedDataGridViewTextBoxColumn.set_Width(60);
     this.counterIndicationDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     this.counterIndicationDataGridViewTextBoxColumn.set_DataPropertyName("DisplayedCounterIndication");
     style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style4.set_Format("F3");
     style4.set_NullValue(null);
     this.counterIndicationDataGridViewTextBoxColumn.set_DefaultCellStyle(style4);
     this.counterIndicationDataGridViewTextBoxColumn.set_HeaderText("Старые показания");
     this.counterIndicationDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.counterIndicationDataGridViewTextBoxColumn.set_Name("counterIndicationDataGridViewTextBoxColumn");
     this.counterIndicationDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterIndicationDataGridViewTextBoxColumn.set_Width(0x56);
     this.newCounterIndicationDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     this.newCounterIndicationDataGridViewTextBoxColumn.set_DataPropertyName("DisplayedNewCounterIndication");
     style5.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style5.set_Format("F3");
     style5.set_NullValue(null);
     this.newCounterIndicationDataGridViewTextBoxColumn.set_DefaultCellStyle(style5);
     this.newCounterIndicationDataGridViewTextBoxColumn.set_HeaderText("Новые показания");
     this.newCounterIndicationDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.newCounterIndicationDataGridViewTextBoxColumn.set_Name("newCounterIndicationDataGridViewTextBoxColumn");
     this.newCounterIndicationDataGridViewTextBoxColumn.set_Width(0x52);
     this.penaltyDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.penaltyDataGridViewTextBoxColumn.set_DataPropertyName("Penalty");
     style6.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style6.set_Format("N2");
     style6.set_NullValue(null);
     this.penaltyDataGridViewTextBoxColumn.set_DefaultCellStyle(style6);
     this.penaltyDataGridViewTextBoxColumn.set_HeaderText("Пени");
     this.penaltyDataGridViewTextBoxColumn.set_Name("penaltyDataGridViewTextBoxColumn");
     this.penaltyDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.penaltyDataGridViewTextBoxColumn.set_Visible(false);
     this.debtDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.debtDataGridViewTextBoxColumn.set_DataPropertyName("TotalDebt");
     style7.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style7.set_Format("N2");
     style7.set_NullValue(null);
     this.debtDataGridViewTextBoxColumn.set_DefaultCellStyle(style7);
     this.debtDataGridViewTextBoxColumn.set_HeaderText("Долг+Нач.");
     this.debtDataGridViewTextBoxColumn.set_Name("debtDataGridViewTextBoxColumn");
     this.debtDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.debtDataGridViewTextBoxColumn.set_Width(0x56);
     this.debtToPayDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.debtToPayDataGridViewTextBoxColumn.set_DataPropertyName("DebtToPay");
     style8.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style8.set_Format("N2");
     style8.set_NullValue(null);
     this.debtToPayDataGridViewTextBoxColumn.set_DefaultCellStyle(style8);
     this.debtToPayDataGridViewTextBoxColumn.set_HeaderText("К оплате");
     this.debtToPayDataGridViewTextBoxColumn.set_Name("debtToPayDataGridViewTextBoxColumn");
     this.debtToPayDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.debtToPayDataGridViewTextBoxColumn.set_Width(0x47);
     this.paidDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.paidDataGridViewTextBoxColumn.set_DataPropertyName("Paid");
     style9.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style9.set_Format("F2");
     style9.set_NullValue(null);
     this.paidDataGridViewTextBoxColumn.set_DefaultCellStyle(style9);
     this.paidDataGridViewTextBoxColumn.set_HeaderText("Оплачивается");
     this.paidDataGridViewTextBoxColumn.set_MinimumWidth(70);
     this.paidDataGridViewTextBoxColumn.set_Name("paidDataGridViewTextBoxColumn");
     this.paidDataGridViewTextBoxColumn.set_Width(0x68);
     this.m_ServicesSource.set_DataSource(typeof(PayRequestService));
     this.m_ServicesSource.set_Sort("IsClosed, Name");
     this.label6.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(0x266, 40));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x57, 13));
     this.label6.set_TabIndex(0);
     this.label6.set_Text("К оплате всего:");
     this.m_DebtToPayBox.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.m_DebtToPayBox.set_Location(new System.Drawing.Point(0x2c3, 0x25));
     this.m_DebtToPayBox.set_Name("m_DebtToPayBox");
     this.m_DebtToPayBox.set_ReadOnly(true);
     this.m_DebtToPayBox.set_Size(new System.Drawing.Size(0x58, 20));
     this.m_DebtToPayBox.set_TabIndex(0);
     this.m_DebtToPayBox.set_TabStop(false);
     this.m_DebtToPayBox.set_Text("0.00");
     this.m_DebtToPayBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.m_PaySummBox.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.m_PaySummBox.set_Location(new System.Drawing.Point(0x2c3, 0x3f));
     this.m_PaySummBox.set_MaxLength(9);
     this.m_PaySummBox.set_Name("m_PaySummBox");
     this.m_PaySummBox.set_Size(new System.Drawing.Size(0x58, 20));
     this.m_PaySummBox.set_TabIndex(1);
     this.m_PaySummBox.set_Text("0.00");
     this.m_PaySummBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.m_PaySummBox.add_Click(new System.EventHandler(this.m_PaySummBox_Click));
     this.m_PaySummBox.add_MouseClick(new System.Windows.Forms.MouseEventHandler(this.m_PaySummBox_MouseClick));
     this.m_PaySummBox.add_TextChanged(new System.EventHandler(this.m_PaySummBox_TextChanged));
     this.m_PaySummBox.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_PaySummBox_KeyDown));
     this.m_PaySummBox.add_Leave(new System.EventHandler(this.m_PaySummBox_Leave));
     this.m_TotalPaidBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.m_TotalPaidBox.set_BackColor(System.Drawing.SystemColors.Control);
     this.m_TotalPaidBox.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.m_TotalPaidBox.set_ForeColor(System.Drawing.Color.Red);
     this.m_TotalPaidBox.set_Location(new System.Drawing.Point(0x1e6, 0x30));
     this.m_TotalPaidBox.set_Name("m_TotalPaidBox");
     this.m_TotalPaidBox.set_ReadOnly(true);
     this.m_TotalPaidBox.set_Size(new System.Drawing.Size(0x65, 0x1a));
     this.m_TotalPaidBox.set_TabIndex(0x87);
     this.m_TotalPaidBox.set_TabStop(false);
     this.m_TotalPaidBox.set_Text("0.00");
     this.m_TotalPaidBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.m_CommissionBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.m_CommissionBox.set_BackColor(System.Drawing.SystemColors.Control);
     this.m_CommissionBox.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 12f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.m_CommissionBox.set_ForeColor(System.Drawing.Color.Red);
     this.m_CommissionBox.set_Location(new System.Drawing.Point(0x1e6, 12));
     this.m_CommissionBox.set_Name("m_CommissionBox");
     this.m_CommissionBox.set_ReadOnly(true);
     this.m_CommissionBox.set_Size(new System.Drawing.Size(0x65, 0x1a));
     this.m_CommissionBox.set_TabIndex(0x85);
     this.m_CommissionBox.set_TabStop(false);
     this.m_CommissionBox.set_Text("0.00");
     this.m_CommissionBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.m_CommissionBox.set_Visible(false);
     this.label7.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label7.set_AutoSize(true);
     this.label7.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.label7.set_Location(new System.Drawing.Point(0x15c, 0x33));
     this.label7.set_Name("label7");
     this.label7.set_Size(new System.Drawing.Size(0x84, 20));
     this.label7.set_TabIndex(0x86);
     this.label7.set_Text("Сумма платежа:");
     this.label8.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label8.set_AutoSize(true);
     this.label8.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.label8.set_Location(new System.Drawing.Point(0x18a, 15));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(0x56, 20));
     this.label8.set_TabIndex(0x84);
     this.label8.set_Text("Комиссия:");
     this.label8.set_Visible(false);
     this.m_RequestButton.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.m_RequestButton.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_RequestButton.set_Location(new System.Drawing.Point(11, 11));
     this.m_RequestButton.set_Name("m_RequestButton");
     this.tableLayoutPanel2.SetRowSpan(this.m_RequestButton, 2);
     this.m_RequestButton.set_Size(new System.Drawing.Size(0x52, 0x41));
     this.m_RequestButton.set_TabIndex(4);
     this.m_RequestButton.set_Text("РАС&ЧЁТ");
     this.m_RequestButton.set_TextImageRelation(System.Windows.Forms.TextImageRelation.TextBeforeImage);
     this.m_RequestButton.set_UseVisualStyleBackColor(true);
     this.m_RequestButton.add_Click(new System.EventHandler(this.m_RequestButton_Click));
     this.m_PaymentButton.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.m_PaymentButton.set_Enabled(false);
     this.m_PaymentButton.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_PaymentButton.set_Location(new System.Drawing.Point(0x251, 11));
     this.m_PaymentButton.set_Name("m_PaymentButton");
     this.tableLayoutPanel2.SetRowSpan(this.m_PaymentButton, 2);
     this.m_PaymentButton.set_Size(new System.Drawing.Size(0xca, 0x41));
     this.m_PaymentButton.set_TabIndex(2);
     this.m_PaymentButton.set_Text("ПРИН&ЯТЬ ОПЛАТУ");
     this.m_PaymentButton.set_TextImageRelation(System.Windows.Forms.TextImageRelation.TextBeforeImage);
     this.m_PaymentButton.set_UseVisualStyleBackColor(true);
     this.m_PaymentButton.add_Click(new System.EventHandler(this.m_PaymentButton_Click));
     this.m_RequestWorker.add_DoWork(new DoWorkEventHandler(this.m_RequestWorker_DoWork));
     this.m_RequestWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_RequestWorker_RunWorkerCompleted));
     this.m_OneSummPaymentCheckBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.m_OneSummPaymentCheckBox.set_AutoSize(true);
     this.m_OneSummPaymentCheckBox.set_CheckAlign(System.Drawing.ContentAlignment.BottomRight);
     this.m_OneSummPaymentCheckBox.set_Checked(true);
     this.m_OneSummPaymentCheckBox.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.m_OneSummPaymentCheckBox.set_Location(new System.Drawing.Point(600, 0x40));
     this.m_OneSummPaymentCheckBox.set_Name("m_OneSummPaymentCheckBox");
     this.m_OneSummPaymentCheckBox.set_Size(new System.Drawing.Size(0x65, 0x11));
     this.m_OneSummPaymentCheckBox.set_TabIndex(0);
     this.m_OneSummPaymentCheckBox.set_Text("Оплачивается:");
     this.m_OneSummPaymentCheckBox.set_UseVisualStyleBackColor(true);
     this.m_OneSummPaymentCheckBox.add_CheckedChanged(new System.EventHandler(this.m_OneSummPaymentCheckBox_CheckedChanged));
     this.m_PeriodsBox.set_DataSource(this.m_PeriodsSource);
     this.m_PeriodsBox.set_DisplayMember("MonthNameAndYear");
     this.m_PeriodsBox.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.m_PeriodsBox.set_FormattingEnabled(true);
     this.m_PeriodsBox.set_IntegralHeight(false);
     this.m_PeriodsBox.set_Location(new System.Drawing.Point(0, 0));
     this.m_PeriodsBox.set_Name("m_PeriodsBox");
     this.m_PeriodsBox.set_Size(new System.Drawing.Size(0xa4, 0x137));
     this.m_PeriodsBox.set_TabIndex(0x79);
     this.m_PeriodsBox.add_SelectedIndexChanged(new System.EventHandler(this.m_PeriodsBox_SelectedIndexChanged));
     this.m_PeriodsBox.add_DoubleClick(new System.EventHandler(this.m_PeriodsBox_DoubleClick));
     this.m_PeriodsSource.set_DataSource(typeof(CalcPeriod));
     this.m_PeriodsSource.set_Sort("FromDate desc");
     this.m_PeriodsSource.add_CurrentChanged(new System.EventHandler(this.m_PeriodsSource_CurrentChanged));
     this.tableLayoutPanel1.set_ColumnCount(5);
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.Controls.Add(this.cbActions, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.m_BenefitBox, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.label5, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.label1, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.m_ActualChargeBox, 2, 2);
     this.tableLayoutPanel1.Controls.Add(this.label2, 1, 3);
     this.tableLayoutPanel1.Controls.Add(this.m_DebtBox, 2, 3);
     this.tableLayoutPanel1.Controls.Add(this.label4, 1, 4);
     this.tableLayoutPanel1.Controls.Add(this.m_DebtPenaltyBox, 2, 4);
     this.tableLayoutPanel1.Controls.Add(this.label9, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.m_ChargeBox, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.m_DebtNotPaidBox, 4, 4);
     this.tableLayoutPanel1.Controls.Add(this.label10, 3, 4);
     this.tableLayoutPanel1.Controls.Add(this.m_PenaltyBox, 4, 3);
     this.tableLayoutPanel1.Controls.Add(this.label3, 3, 3);
     this.tableLayoutPanel1.Controls.Add(this.m_OneSummPaymentCheckBox, 3, 2);
     this.tableLayoutPanel1.Controls.Add(this.m_PaySummBox, 4, 2);
     this.tableLayoutPanel1.Controls.Add(this.m_DebtToPayBox, 4, 1);
     this.tableLayoutPanel1.Controls.Add(this.label6, 3, 1);
     this.tableLayoutPanel1.Controls.Add(this.label11, 3, 0);
     this.tableLayoutPanel1.Controls.Add(this.m_DebtToPayWithoutPenaltyBox, 4, 0);
     this.tableLayoutPanel1.Controls.Add(this.tpDatePayment, 0, 4);
     this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0));
     this.tableLayoutPanel1.set_Name("tableLayoutPanel1");
     this.tableLayoutPanel1.set_Padding(new System.Windows.Forms.Padding(8));
     this.tableLayoutPanel1.set_RowCount(5);
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20f));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20f));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20f));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20f));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20f));
     this.tableLayoutPanel1.set_Size(new System.Drawing.Size(0x326, 0x95));
     this.tableLayoutPanel1.set_TabIndex(0x63);
     this.cbActions.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.cbActions.set_DataSource(this.m_HouseHoldersSource);
     this.cbActions.set_DisplayMember("ShortName");
     this.cbActions.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.cbActions.set_FormattingEnabled(true);
     this.cbActions.set_Location(new System.Drawing.Point(11, 0x59));
     this.cbActions.set_Name("cbActions");
     this.cbActions.set_Size(new System.Drawing.Size(0x199, 0x15));
     this.cbActions.set_TabIndex(0x7f);
     this.cbActions.add_SelectedIndexChanged(new System.EventHandler(this.cbActions_SelectedIndexChanged));
     this.m_HouseHoldersSource.set_DataSource(typeof(Organization));
     this.m_HouseHoldersSource.add_CurrentChanged(new System.EventHandler(this.m_HouseHoldersSource_CurrentChanged));
     this.dataGridView1.set_AllowUserToAddRows(false);
     this.dataGridView1.set_AllowUserToDeleteRows(false);
     this.dataGridView1.set_AllowUserToOrderColumns(true);
     this.dataGridView1.set_AutoGenerateColumns(false);
     this.dataGridView1.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dataGridView1.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dataGridView1.set_ClipboardCopyMode(System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText);
     style10.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style10.set_BackColor(System.Drawing.SystemColors.Control);
     style10.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style10.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style10.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style10.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style10.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dataGridView1.set_ColumnHeadersDefaultCellStyle(style10);
     this.dataGridView1.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.benefitNameDataGridViewTextBoxColumn, this.personsCountDataGridViewTextBoxColumn });
     this.dataGridView1.set_DataSource(this.m_RequestBenefitsSource);
     style11.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style11.set_BackColor(System.Drawing.SystemColors.Window);
     style11.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style11.set_ForeColor(System.Drawing.SystemColors.ControlText);
     style11.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style11.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style11.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dataGridView1.set_DefaultCellStyle(style11);
     this.dataGridView1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dataGridView1.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dataGridView1.set_Location(new System.Drawing.Point(11, 11));
     this.dataGridView1.set_MultiSelect(false);
     this.dataGridView1.set_Name("dataGridView1");
     this.dataGridView1.set_ReadOnly(true);
     this.dataGridView1.set_RowHeadersVisible(false);
     this.tableLayoutPanel1.SetRowSpan(this.dataGridView1, 3);
     this.dataGridView1.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dataGridView1.set_Size(new System.Drawing.Size(0x199, 0x48));
     this.dataGridView1.set_TabIndex(0);
     this.benefitNameDataGridViewTextBoxColumn.set_DataPropertyName("BenefitName");
     this.benefitNameDataGridViewTextBoxColumn.set_HeaderText("Льгота");
     this.benefitNameDataGridViewTextBoxColumn.set_Name("benefitNameDataGridViewTextBoxColumn");
     this.benefitNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.benefitNameDataGridViewTextBoxColumn.set_Width(0x44);
     this.personsCountDataGridViewTextBoxColumn.set_DataPropertyName("PersonsCount");
     this.personsCountDataGridViewTextBoxColumn.set_HeaderText("Количество льготников");
     this.personsCountDataGridViewTextBoxColumn.set_Name("personsCountDataGridViewTextBoxColumn");
     this.personsCountDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.personsCountDataGridViewTextBoxColumn.set_Width(0x98);
     this.m_RequestBenefitsSource.set_DataSource(typeof(PayRequestBenefit));
     this.m_BenefitBox.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.m_BenefitBox.set_Location(new System.Drawing.Point(0x1f9, 0x25));
     this.m_BenefitBox.set_Name("m_BenefitBox");
     this.m_BenefitBox.set_ReadOnly(true);
     this.m_BenefitBox.set_Size(new System.Drawing.Size(0x57, 20));
     this.m_BenefitBox.set_TabIndex(0);
     this.m_BenefitBox.set_Text("0.00");
     this.m_BenefitBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.label5.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(0x1c3, 40));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x30, 13));
     this.label5.set_TabIndex(0);
     this.label5.set_Text("Льготы:");
     this.label1.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(0x1aa, 0x42));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x49, 13));
     this.label1.set_TabIndex(0);
     this.label1.set_Text("Фактически:");
     this.m_ActualChargeBox.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.m_ActualChargeBox.set_Location(new System.Drawing.Point(0x1f9, 0x3f));
     this.m_ActualChargeBox.set_Name("m_ActualChargeBox");
     this.m_ActualChargeBox.set_ReadOnly(true);
     this.m_ActualChargeBox.set_Size(new System.Drawing.Size(0x57, 20));
     this.m_ActualChargeBox.set_TabIndex(0);
     this.m_ActualChargeBox.set_Text("0.00");
     this.m_ActualChargeBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.label2.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(0x1cf, 0x5c));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x24, 13));
     this.label2.set_TabIndex(0);
     this.label2.set_Text("Долг:");
     this.m_DebtBox.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.m_DebtBox.set_Location(new System.Drawing.Point(0x1f9, 0x59));
     this.m_DebtBox.set_Name("m_DebtBox");
     this.m_DebtBox.set_ReadOnly(true);
     this.m_DebtBox.set_Size(new System.Drawing.Size(0x57, 20));
     this.m_DebtBox.set_TabIndex(0);
     this.m_DebtBox.set_Text("0.00");
     this.m_DebtBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.label4.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(0x1cf, 120));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x24, 13));
     this.label4.set_TabIndex(0);
     this.label4.set_Text("Пени:");
     this.m_DebtPenaltyBox.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.m_DebtPenaltyBox.set_Location(new System.Drawing.Point(0x1f9, 0x74));
     this.m_DebtPenaltyBox.set_Name("m_DebtPenaltyBox");
     this.m_DebtPenaltyBox.set_ReadOnly(true);
     this.m_DebtPenaltyBox.set_Size(new System.Drawing.Size(0x57, 20));
     this.m_DebtPenaltyBox.set_TabIndex(0);
     this.m_DebtPenaltyBox.set_Text("0.00");
     this.m_DebtPenaltyBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.label9.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label9.set_AutoSize(true);
     this.label9.set_Location(new System.Drawing.Point(0x1b2, 14));
     this.label9.set_Name("label9");
     this.label9.set_Size(new System.Drawing.Size(0x41, 13));
     this.label9.set_TabIndex(0);
     this.label9.set_Text("Начислено:");
     this.m_ChargeBox.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.m_ChargeBox.set_Location(new System.Drawing.Point(0x1f9, 11));
     this.m_ChargeBox.set_Name("m_ChargeBox");
     this.m_ChargeBox.set_ReadOnly(true);
     this.m_ChargeBox.set_Size(new System.Drawing.Size(0x57, 20));
     this.m_ChargeBox.set_TabIndex(0);
     this.m_ChargeBox.set_Text("0.00");
     this.m_ChargeBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.m_DebtNotPaidBox.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.m_DebtNotPaidBox.set_Location(new System.Drawing.Point(0x2c3, 0x74));
     this.m_DebtNotPaidBox.set_Name("m_DebtNotPaidBox");
     this.m_DebtNotPaidBox.set_ReadOnly(true);
     this.m_DebtNotPaidBox.set_Size(new System.Drawing.Size(0x57, 20));
     this.m_DebtNotPaidBox.set_TabIndex(0);
     this.m_DebtNotPaidBox.set_Text("0.00");
     this.m_DebtNotPaidBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.label10.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label10.set_AutoSize(true);
     this.label10.set_Location(new System.Drawing.Point(0x25a, 120));
     this.label10.set_Name("label10");
     this.label10.set_Size(new System.Drawing.Size(0x63, 13));
     this.label10.set_TabIndex(0);
     this.label10.set_Text("Оставшийся долг:");
     this.m_PenaltyBox.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.m_PenaltyBox.set_Location(new System.Drawing.Point(0x2c3, 0x59));
     this.m_PenaltyBox.set_Name("m_PenaltyBox");
     this.m_PenaltyBox.set_ReadOnly(true);
     this.m_PenaltyBox.set_Size(new System.Drawing.Size(0x57, 20));
     this.m_PenaltyBox.set_TabIndex(0);
     this.m_PenaltyBox.set_Text("0.00");
     this.m_PenaltyBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.label3.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(0x27e, 0x5c));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x3f, 13));
     this.label3.set_TabIndex(0);
     this.label3.set_Text("В т.ч. пени:");
     this.label11.set_Anchor(System.Windows.Forms.AnchorStyles.Right);
     this.label11.set_AutoSize(true);
     this.label11.set_Location(new System.Drawing.Point(0x256, 14));
     this.label11.set_Name("label11");
     this.label11.set_Size(new System.Drawing.Size(0x67, 13));
     this.label11.set_TabIndex(0);
     this.label11.set_Text("К оплате без пени:");
     this.m_DebtToPayWithoutPenaltyBox.set_Anchor(System.Windows.Forms.AnchorStyles.Left);
     this.m_DebtToPayWithoutPenaltyBox.set_Location(new System.Drawing.Point(0x2c3, 11));
     this.m_DebtToPayWithoutPenaltyBox.set_Name("m_DebtToPayWithoutPenaltyBox");
     this.m_DebtToPayWithoutPenaltyBox.set_ReadOnly(true);
     this.m_DebtToPayWithoutPenaltyBox.set_Size(new System.Drawing.Size(0x58, 20));
     this.m_DebtToPayWithoutPenaltyBox.set_TabIndex(0);
     this.m_DebtToPayWithoutPenaltyBox.set_TabStop(false);
     this.m_DebtToPayWithoutPenaltyBox.set_Text("0.00");
     this.m_DebtToPayWithoutPenaltyBox.set_TextAlign(System.Windows.Forms.HorizontalAlignment.Right);
     this.tpDatePayment.set_ColumnCount(2);
     this.tpDatePayment.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120f));
     this.tpDatePayment.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100f));
     this.tpDatePayment.Controls.Add(this.label13, 0, 0);
     this.tpDatePayment.Controls.Add(this.dtpPaymentDate, 1, 0);
     this.tpDatePayment.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tpDatePayment.set_Location(new System.Drawing.Point(11, 0x73));
     this.tpDatePayment.set_Name("tpDatePayment");
     this.tpDatePayment.set_RowCount(1);
     this.tpDatePayment.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f));
     this.tpDatePayment.set_Size(new System.Drawing.Size(0x199, 0x17));
     this.tpDatePayment.set_TabIndex(0x7f);
     this.label13.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.label13.set_Location(new System.Drawing.Point(3, 0));
     this.label13.set_Name("label13");
     this.label13.set_Size(new System.Drawing.Size(0x72, 0x17));
     this.label13.set_TabIndex(0);
     this.label13.set_Text("Дата оплаты");
     this.dtpPaymentDate.set_Dock(System.Windows.Forms.DockStyle.Left);
     this.dtpPaymentDate.set_Format(System.Windows.Forms.DateTimePickerFormat.Short);
     this.dtpPaymentDate.set_Location(new System.Drawing.Point(0x7b, 0));
     this.dtpPaymentDate.set_Margin(new System.Windows.Forms.Padding(3, 0, 3, 0));
     this.dtpPaymentDate.set_Name("dtpPaymentDate");
     this.dtpPaymentDate.set_Size(new System.Drawing.Size(0x6b, 20));
     this.dtpPaymentDate.set_TabIndex(1);
     this.dtpPaymentDate.add_ValueChanged(new System.EventHandler(this.dtpPaymentDate_ValueChanged));
     this.tableLayoutPanel2.set_ColumnCount(7);
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 60.20067f));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 39.79933f));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.Controls.Add(this.m_RequestButton, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.m_PaymentButton, 6, 0);
     this.tableLayoutPanel2.Controls.Add(this.m_CommissionBox, 5, 0);
     this.tableLayoutPanel2.Controls.Add(this.m_TotalPaidBox, 5, 1);
     this.tableLayoutPanel2.Controls.Add(this.label7, 4, 1);
     this.tableLayoutPanel2.Controls.Add(this.label8, 4, 0);
     this.tableLayoutPanel2.Controls.Add(this.m_CommentsBox, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.groupBoxPayment, 2, 0);
     this.tableLayoutPanel2.set_Dock(System.Windows.Forms.DockStyle.Bottom);
     this.tableLayoutPanel2.set_Location(new System.Drawing.Point(0, 460));
     this.tableLayoutPanel2.set_Name("tableLayoutPanel2");
     this.tableLayoutPanel2.set_Padding(new System.Windows.Forms.Padding(8));
     this.tableLayoutPanel2.set_RowCount(2);
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f));
     this.tableLayoutPanel2.set_Size(new System.Drawing.Size(0x326, 0x57));
     this.tableLayoutPanel2.set_TabIndex(0);
     this.m_CommentsBox.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.m_CommentsBox.set_Location(new System.Drawing.Point(0x63, 11));
     this.m_CommentsBox.set_Multiline(true);
     this.m_CommentsBox.set_Name("m_CommentsBox");
     this.m_CommentsBox.set_ReadOnly(true);
     this.tableLayoutPanel2.SetRowSpan(this.m_CommentsBox, 2);
     this.m_CommentsBox.set_ScrollBars(System.Windows.Forms.ScrollBars.Both);
     this.m_CommentsBox.set_Size(new System.Drawing.Size(0x90, 0x41));
     this.m_CommentsBox.set_TabIndex(5);
     this.groupBoxPayment.CheckBoxText = "К оплате";
     this.groupBoxPayment.Checked = true;
     this.groupBoxPayment.Controls.Add(this.rbToDown);
     this.groupBoxPayment.Controls.Add(this.rbNoAction);
     this.groupBoxPayment.Controls.Add(this.rbToUp);
     this.groupBoxPayment.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.groupBoxPayment.set_Location(new System.Drawing.Point(0xf9, 11));
     this.groupBoxPayment.set_Name("groupBoxPayment");
     this.tableLayoutPanel2.SetRowSpan(this.groupBoxPayment, 2);
     this.groupBoxPayment.set_Size(new System.Drawing.Size(0x5d, 0x41));
     this.groupBoxPayment.set_TabIndex(0x80);
     this.groupBoxPayment.set_TabStop(false);
     this.rbToDown.set_AutoSize(true);
     this.rbToDown.set_Location(new System.Drawing.Point(6, 0x2d));
     this.rbToDown.set_Name("rbToDown");
     this.rbToDown.set_Size(new System.Drawing.Size(0x61, 0x11));
     this.rbToDown.set_TabIndex(0x83);
     this.rbToDown.set_Text("Вниз до рубля");
     this.rbToDown.set_UseVisualStyleBackColor(true);
     this.rbNoAction.set_AutoSize(true);
     this.rbNoAction.set_Checked(true);
     this.rbNoAction.set_Location(new System.Drawing.Point(6, 13));
     this.rbNoAction.set_Name("rbNoAction");
     this.rbNoAction.set_Size(new System.Drawing.Size(0x5d, 0x11));
     this.rbNoAction.set_TabIndex(0x81);
     this.rbNoAction.set_TabStop(true);
     this.rbNoAction.set_Text("Не округлять");
     this.rbNoAction.set_UseVisualStyleBackColor(true);
     this.rbToUp.set_AutoSize(true);
     this.rbToUp.set_Location(new System.Drawing.Point(6, 0x1d));
     this.rbToUp.set_Name("rbToUp");
     this.rbToUp.set_Size(new System.Drawing.Size(0x66, 0x11));
     this.rbToUp.set_TabIndex(130);
     this.rbToUp.set_Text("Вверх до рубля");
     this.rbToUp.set_UseVisualStyleBackColor(true);
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer1.set_FixedPanel(System.Windows.Forms.FixedPanel.Panel1);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0x95));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.Panel1.Controls.Add(this.m_PeriodsBox);
     this.splitContainer1.Panel2.Controls.Add(this.tab);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x326, 0x137));
     this.splitContainer1.set_SplitterDistance(0xa4);
     this.splitContainer1.set_TabIndex(0x17);
     this.tab.Controls.Add(this.tpServices);
     this.tab.Controls.Add(this.tpCounters);
     this.tab.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tab.set_Location(new System.Drawing.Point(0, 0));
     this.tab.set_Name("tab");
     this.tab.set_SelectedIndex(0);
     this.tab.set_Size(new System.Drawing.Size(0x27e, 0x137));
     this.tab.set_TabIndex(0x7a);
     this.tpServices.Controls.Add(this.chbxUseAccountServiceBankrupts);
     this.tpServices.Controls.Add(this.label12);
     this.tpServices.Controls.Add(this.m_HouseHoldersBox);
     this.tpServices.Controls.Add(this.m_ServicesGrid);
     this.tpServices.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpServices.set_Name("tpServices");
     this.tpServices.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpServices.set_Size(new System.Drawing.Size(630, 0x11d));
     this.tpServices.set_TabIndex(0);
     this.tpServices.set_Text("Услуги");
     this.tpServices.set_UseVisualStyleBackColor(true);
     this.chbxUseAccountServiceBankrupts.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom);
     this.chbxUseAccountServiceBankrupts.set_AutoSize(true);
     this.chbxUseAccountServiceBankrupts.set_Checked(true);
     this.chbxUseAccountServiceBankrupts.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.chbxUseAccountServiceBankrupts.set_Location(new System.Drawing.Point(3, 0x10d));
     this.chbxUseAccountServiceBankrupts.set_Name("chbxUseAccountServiceBankrupts");
     this.chbxUseAccountServiceBankrupts.set_Size(new System.Drawing.Size(0xc0, 0x11));
     this.chbxUseAccountServiceBankrupts.set_TabIndex(0x7e);
     this.chbxUseAccountServiceBankrupts.set_Text("Учитывать не возвратные долги");
     this.chbxUseAccountServiceBankrupts.set_UseVisualStyleBackColor(true);
     this.chbxUseAccountServiceBankrupts.add_CheckedChanged(new System.EventHandler(this.chbxUseAccountServiceBankrupts_CheckedChanged));
     this.label12.set_AutoSize(true);
     this.label12.set_Location(new System.Drawing.Point(6, 9));
     this.label12.set_Name("label12");
     this.label12.set_Size(new System.Drawing.Size(0xac, 13));
     this.label12.set_TabIndex(0x7c);
     this.label12.set_Text("Услуги управляющей компании:");
     this.m_HouseHoldersBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_HouseHoldersBox.set_DataSource(this.m_HouseHoldersSource);
     this.m_HouseHoldersBox.set_DisplayMember("ShortName");
     this.m_HouseHoldersBox.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.m_HouseHoldersBox.set_FormattingEnabled(true);
     this.m_HouseHoldersBox.set_Location(new System.Drawing.Point(0xb8, 6));
     this.m_HouseHoldersBox.set_Name("m_HouseHoldersBox");
     this.m_HouseHoldersBox.set_Size(new System.Drawing.Size(0x1b6, 0x15));
     this.m_HouseHoldersBox.set_TabIndex(0x7d);
     this.tpCounters.Controls.Add(this.m_CountersGrid);
     this.tpCounters.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpCounters.set_Name("tpCounters");
     this.tpCounters.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpCounters.set_Size(new System.Drawing.Size(630, 0x11d));
     this.tpCounters.set_TabIndex(1);
     this.tpCounters.set_Text("Показания счетчиков");
     this.tpCounters.set_UseVisualStyleBackColor(true);
     this.m_CountersGrid.set_AllowUserToAddRows(false);
     this.m_CountersGrid.set_AllowUserToDeleteRows(false);
     this.m_CountersGrid.set_AutoGenerateColumns(false);
     this.m_CountersGrid.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.m_CountersGrid.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style12.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style12.set_BackColor(System.Drawing.SystemColors.Control);
     style12.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style12.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style12.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style12.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style12.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.m_CountersGrid.set_ColumnHeadersDefaultCellStyle(style12);
     this.m_CountersGrid.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.m_CountersGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.newCounterIndicationDataGridViewTextBoxColumn1, this.counterTypeNameDataGridViewTextBoxColumn, this.counterNumberDataGridViewTextBoxColumn, this.counterNameDataGridViewTextBoxColumn, this.counterFromDateDataGridViewTextBoxColumn, this.counterToDateDataGridViewTextBoxColumn });
     this.m_CountersGrid.set_DataSource(this.m_PayRequestCounters);
     style13.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style13.set_BackColor(System.Drawing.SystemColors.Window);
     style13.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style13.set_ForeColor(System.Drawing.SystemColors.ControlText);
     style13.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style13.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style13.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.m_CountersGrid.set_DefaultCellStyle(style13);
     this.m_CountersGrid.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.m_CountersGrid.set_Location(new System.Drawing.Point(3, 3));
     this.m_CountersGrid.set_Name("m_CountersGrid");
     this.m_CountersGrid.set_RowHeadersVisible(false);
     this.m_CountersGrid.set_Size(new System.Drawing.Size(0x270, 0x117));
     this.m_CountersGrid.set_TabIndex(0x7b);
     this.m_CountersGrid.add_DataError(new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.m_CountersGrid_DataError));
     this.newCounterIndicationDataGridViewTextBoxColumn1.set_DataPropertyName("NewCounterIndication");
     this.newCounterIndicationDataGridViewTextBoxColumn1.set_HeaderText("Новые показания");
     this.newCounterIndicationDataGridViewTextBoxColumn1.set_Name("newCounterIndicationDataGridViewTextBoxColumn1");
     this.newCounterIndicationDataGridViewTextBoxColumn1.set_Width(0x71);
     this.counterTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("CounterTypeName");
     this.counterTypeNameDataGridViewTextBoxColumn.set_HeaderText("Тип счетчика");
     this.counterTypeNameDataGridViewTextBoxColumn.set_Name("counterTypeNameDataGridViewTextBoxColumn");
     this.counterTypeNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterTypeNameDataGridViewTextBoxColumn.set_Width(0x5b);
     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.counterNameDataGridViewTextBoxColumn.set_DataPropertyName("CounterName");
     this.counterNameDataGridViewTextBoxColumn.set_HeaderText("Наименование");
     this.counterNameDataGridViewTextBoxColumn.set_Name("counterNameDataGridViewTextBoxColumn");
     this.counterNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterNameDataGridViewTextBoxColumn.set_Width(0x6c);
     this.counterFromDateDataGridViewTextBoxColumn.set_DataPropertyName("CounterFromDate");
     this.counterFromDateDataGridViewTextBoxColumn.set_HeaderText("Дата установки");
     this.counterFromDateDataGridViewTextBoxColumn.set_Name("counterFromDateDataGridViewTextBoxColumn");
     this.counterFromDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterFromDateDataGridViewTextBoxColumn.set_Width(0x68);
     this.counterToDateDataGridViewTextBoxColumn.set_DataPropertyName("CounterToDate");
     this.counterToDateDataGridViewTextBoxColumn.set_HeaderText("Дата ликвидации");
     this.counterToDateDataGridViewTextBoxColumn.set_Name("counterToDateDataGridViewTextBoxColumn");
     this.counterToDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterToDateDataGridViewTextBoxColumn.set_Width(0x6f);
     this.m_PayRequestCounters.set_DataSource(typeof(PayRequestCounter));
     this.m_PayRequestCounters.set_Sort("");
     this.dataGridViewTextBoxColumn1.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("Name");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Услуга");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("OldVal");
     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("Val");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Новые показания");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("KOpl");
     this.dataGridViewTextBoxColumn4.set_HeaderText("К оплате");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("Opl");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Оплата");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.splitContainer1);
     base.Controls.Add(this.tableLayoutPanel2);
     base.Controls.Add(this.tableLayoutPanel1);
     base.set_Name("ProcessPaymentView");
     base.set_Size(new System.Drawing.Size(0x326, 0x223));
     base.add_Load(new System.EventHandler(this.CashPaymentForm_Load));
     base.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.CashPaymentForm_KeyDown));
     this.m_ServicesGrid.EndInit();
     this.m_ServicesSource.EndInit();
     this.m_PeriodsSource.EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.m_HouseHoldersSource.EndInit();
     this.dataGridView1.EndInit();
     this.m_RequestBenefitsSource.EndInit();
     this.tpDatePayment.ResumeLayout(false);
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     this.groupBoxPayment.ResumeLayout(false);
     this.groupBoxPayment.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.tab.ResumeLayout(false);
     this.tpServices.ResumeLayout(false);
     this.tpServices.PerformLayout();
     this.tpCounters.ResumeLayout(false);
     this.m_CountersGrid.EndInit();
     this.m_PayRequestCounters.EndInit();
     base.ResumeLayout(false);
 }
Пример #8
0
 private void InitializeComponent()
 {
     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();
     System.Windows.Forms.DataGridViewCellStyle style8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style9 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style10 = new System.Windows.Forms.DataGridViewCellStyle();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnAccept = new System.Windows.Forms.Button();
     this.gbSubqualityParameters = new System.Windows.Forms.GroupBox();
     this.subqualityPropertiesView = new SubqualityPropertiesView();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewDateTimeColumn1 = new DataGridViewDateTimeColumn();
     this.dataGridViewDateTimeColumn2 = new DataGridViewDateTimeColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel1 = new System.Windows.Forms.Panel();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.btnAddSubquality = new System.Windows.Forms.ToolStripButton();
     this.btnDeleteSubquality = new System.Windows.Forms.ToolStripButton();
     this.btnCopySubquality = new System.Windows.Forms.ToolStripButton();
     this.btnHelp = new System.Windows.Forms.ToolStripButton();
     this.dgvSubqualities = new System.Windows.Forms.DataGridView();
     this.Number = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.City = new DataGridViewSmartComboColumn();
     this.Street = new DataGridViewSmartComboColumn();
     this.House = new DataGridViewSmartComboColumn();
     this.Flat = new DataGridViewSmartComboColumn();
     this.FromDate = new DataGridViewDateTimeColumn();
     this.ToDate = new DataGridViewDateTimeColumn();
     this.Hours = new DataGridViewNumericColumn();
     this.DayTemperature = new DataGridViewNumericColumn();
     this.NightTemperature = new DataGridViewNumericColumn();
     this.Square = new DataGridViewNumericColumn();
     this.cbRecalc = new System.Windows.Forms.CheckBox();
     this.gbSubqualityParameters.SuspendLayout();
     this.panel1.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.dgvSubqualities.BeginInit();
     base.SuspendLayout();
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_Location(new System.Drawing.Point(0x2b9, 0x211));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnCancel.set_TabIndex(60);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.btnAccept.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnAccept.set_Location(new System.Drawing.Point(0x268, 0x211));
     this.btnAccept.set_Name("btnAccept");
     this.btnAccept.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnAccept.set_TabIndex(50);
     this.btnAccept.set_Text("Принять");
     this.btnAccept.set_UseVisualStyleBackColor(true);
     this.btnAccept.add_Click(new System.EventHandler(this.btnAccept_Click));
     this.gbSubqualityParameters.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbSubqualityParameters.Controls.Add(this.subqualityPropertiesView);
     this.gbSubqualityParameters.set_Location(new System.Drawing.Point(12, 12));
     this.gbSubqualityParameters.set_Name("gbSubqualityParameters");
     this.gbSubqualityParameters.set_Size(new System.Drawing.Size(760, 0xde));
     this.gbSubqualityParameters.set_TabIndex(5);
     this.gbSubqualityParameters.set_TabStop(false);
     this.gbSubqualityParameters.set_Text("Параметры недопоставок:");
     this.subqualityPropertiesView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.subqualityPropertiesView.set_Location(new System.Drawing.Point(3, 0x10));
     this.subqualityPropertiesView.set_Name("subqualityPropertiesView");
     this.subqualityPropertiesView.ObjectWithId = null;
     this.subqualityPropertiesView.set_Size(new System.Drawing.Size(0x2f2, 0xcb));
     this.subqualityPropertiesView.set_TabIndex(10);
     this.subqualityPropertiesView.SuspensionTypeSelected += new SubqualityPropertiesViewSuspensionTypeSelected(this.subqualityPropertiesView_SuspensionTypeSelected);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style.set_BackColor(System.Drawing.Color.FromArgb(0xe0, 0xe0, 0xe0));
     style.set_Format("N0");
     style.set_NullValue(null);
     this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style);
     this.dataGridViewTextBoxColumn1.set_HeaderText("№ п.п.");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(30);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     style2.set_Format("g");
     style2.set_NullValue(null);
     this.dataGridViewDateTimeColumn1.set_DefaultCellStyle(style2);
     this.dataGridViewDateTimeColumn1.set_HeaderText("Дата начала");
     this.dataGridViewDateTimeColumn1.set_Name("dataGridViewDateTimeColumn1");
     this.dataGridViewDateTimeColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateTimeColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     style3.set_Format("g");
     this.dataGridViewDateTimeColumn2.set_DefaultCellStyle(style3);
     this.dataGridViewDateTimeColumn2.set_HeaderText("Дата окончания");
     this.dataGridViewDateTimeColumn2.set_Name("dataGridViewDateTimeColumn2");
     this.dataGridViewDateTimeColumn2.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateTimeColumn2.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     style4.set_Format("g");
     style4.set_NullValue(null);
     this.dataGridViewTextBoxColumn2.set_DefaultCellStyle(style4);
     this.dataGridViewTextBoxColumn2.set_HeaderText("Дата начала");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_Width(50);
     style5.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     style5.set_Format("g");
     style5.set_NullValue(null);
     this.dataGridViewTextBoxColumn3.set_DefaultCellStyle(style5);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Дата окончания");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     style6.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     style6.set_Format("t");
     style6.set_NullValue(null);
     this.dataGridViewTextBoxColumn4.set_DefaultCellStyle(style6);
     this.dataGridViewTextBoxColumn4.set_HeaderText("Кол-во часов");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_Width(50);
     this.panel1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.panel1.Controls.Add(this.toolStrip1);
     this.panel1.Controls.Add(this.dgvSubqualities);
     this.panel1.set_Location(new System.Drawing.Point(12, 240));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(760, 0x11b));
     this.panel1.set_TabIndex(0x1f);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel1, this.btnAddSubquality, this.btnDeleteSubquality, this.btnCopySubquality, this.btnHelp });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(760, 0x19));
     this.toolStrip1.set_TabIndex(30);
     this.toolStrip1.set_Text("toolStrip1");
     this.toolStripLabel1.set_Name("toolStripLabel1");
     this.toolStripLabel1.set_Size(new System.Drawing.Size(130, 0x16));
     this.toolStripLabel1.set_Text("Список недопоставок:");
     this.btnAddSubquality.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnAddSubquality.set_Image(Resources.ADD);
     this.btnAddSubquality.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnAddSubquality.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnAddSubquality.set_Name("btnAddSubquality");
     this.btnAddSubquality.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.btnAddSubquality.set_ToolTipText("Добавить запись о недопоставке (Insert, \"+\")");
     this.btnAddSubquality.add_Click(new System.EventHandler(this.btnAddRow_Click));
     this.btnDeleteSubquality.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnDeleteSubquality.set_Image(Resources.DELETE);
     this.btnDeleteSubquality.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnDeleteSubquality.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnDeleteSubquality.set_Name("btnDeleteSubquality");
     this.btnDeleteSubquality.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnDeleteSubquality.set_Text("toolStripButton1");
     this.btnDeleteSubquality.set_ToolTipText("Удалить запись о недопоставке (Delete, \"-\")");
     this.btnDeleteSubquality.add_Click(new System.EventHandler(this.btnDeleteSubquality_Click));
     this.btnCopySubquality.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnCopySubquality.set_Image(Resources.COPY);
     this.btnCopySubquality.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnCopySubquality.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnCopySubquality.set_Name("btnCopySubquality");
     this.btnCopySubquality.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.btnCopySubquality.set_Text("Дублировать запись о недопоставке");
     this.btnCopySubquality.set_ToolTipText("Дублировать запись о недопоставке (Ctrl+\"+\")");
     this.btnCopySubquality.add_Click(new System.EventHandler(this.btnCopySubquality_Click));
     this.btnHelp.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnHelp.set_Image(Resources.QUESTION);
     this.btnHelp.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnHelp.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnHelp.set_Name("btnHelp");
     this.btnHelp.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.btnHelp.set_Text("Справка");
     this.btnHelp.add_Click(new System.EventHandler(this.btnHelp_Click));
     this.dgvSubqualities.set_AllowUserToAddRows(false);
     this.dgvSubqualities.set_AllowUserToOrderColumns(true);
     this.dgvSubqualities.set_AllowUserToResizeRows(false);
     this.dgvSubqualities.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.dgvSubqualities.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvSubqualities.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Number, this.City, this.Street, this.House, this.Flat, this.FromDate, this.ToDate, this.Hours, this.DayTemperature, this.NightTemperature, this.Square });
     this.dgvSubqualities.set_EditMode(System.Windows.Forms.DataGridViewEditMode.EditOnEnter);
     this.dgvSubqualities.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvSubqualities.set_MultiSelect(false);
     this.dgvSubqualities.set_Name("dgvSubqualities");
     this.dgvSubqualities.set_RowHeadersVisible(false);
     this.dgvSubqualities.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.CellSelect);
     this.dgvSubqualities.set_Size(new System.Drawing.Size(760, 0x102));
     this.dgvSubqualities.set_TabIndex(40);
     this.dgvSubqualities.add_CellValueChanged(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSubqualities_CellValueChanged));
     this.dgvSubqualities.add_RowsAdded(new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvSubqualities_RowsAdded));
     this.dgvSubqualities.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.dgvSubqualities_KeyDown));
     style7.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style7.set_BackColor(System.Drawing.Color.FromArgb(0xe0, 0xe0, 0xe0));
     style7.set_Format("N0");
     style7.set_NullValue(null);
     this.Number.set_DefaultCellStyle(style7);
     this.Number.set_HeaderText("№ п.п.");
     this.Number.set_Name("Number");
     this.Number.set_ReadOnly(true);
     this.Number.set_Width(30);
     this.City.set_HeaderText("Нас. пункт");
     this.City.set_Name("City");
     this.City.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.City.set_Width(120);
     this.Street.set_HeaderText("Улица");
     this.Street.set_Name("Street");
     this.Street.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.Street.set_Width(120);
     this.House.set_HeaderText("Дом");
     this.House.set_Name("House");
     this.House.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.House.set_Width(50);
     this.Flat.set_HeaderText("Квартира");
     this.Flat.set_Name("Flat");
     this.Flat.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.Flat.set_Width(50);
     style8.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     style8.set_Format("g");
     style8.set_NullValue(null);
     this.FromDate.set_DefaultCellStyle(style8);
     this.FromDate.set_HeaderText("Дата начала");
     this.FromDate.set_Name("FromDate");
     this.FromDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.FromDate.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     style9.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     style9.set_Format("g");
     this.ToDate.set_DefaultCellStyle(style9);
     this.ToDate.set_HeaderText("Дата окончания");
     this.ToDate.set_Name("ToDate");
     this.ToDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.ToDate.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.Hours.DecimalPlaces = 0;
     style10.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     style10.set_Format("N2");
     style10.set_NullValue(null);
     this.Hours.set_DefaultCellStyle(style10);
     int[] numArray = new int[4];
     this.Hours.DefaultValue = new decimal(numArray);
     this.Hours.set_HeaderText("Кол-во часов");
     int[] numArray2 = new int[4];
     numArray2[0] = 100;
     this.Hours.Maximum = new decimal(numArray2);
     int[] numArray3 = new int[4];
     this.Hours.Minimum = new decimal(numArray3);
     this.Hours.set_Name("Hours");
     this.Hours.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.Hours.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.Hours.set_Width(50);
     this.DayTemperature.DecimalPlaces = 0;
     int[] numArray4 = new int[4];
     this.DayTemperature.DefaultValue = new decimal(numArray4);
     this.DayTemperature.set_HeaderText("Дневная температура");
     int[] numArray5 = new int[4];
     numArray5[0] = 100;
     this.DayTemperature.Maximum = new decimal(numArray5);
     int[] numArray6 = new int[4];
     this.DayTemperature.Minimum = new decimal(numArray6);
     this.DayTemperature.set_Name("DayTemperature");
     this.DayTemperature.set_Visible(false);
     this.DayTemperature.set_Width(50);
     this.NightTemperature.DecimalPlaces = 0;
     int[] numArray7 = new int[4];
     this.NightTemperature.DefaultValue = new decimal(numArray7);
     this.NightTemperature.set_HeaderText("Ночная температура");
     int[] numArray8 = new int[4];
     numArray8[0] = 100;
     this.NightTemperature.Maximum = new decimal(numArray8);
     int[] numArray9 = new int[4];
     this.NightTemperature.Minimum = new decimal(numArray9);
     this.NightTemperature.set_Name("NightTemperature");
     this.NightTemperature.set_Visible(false);
     this.NightTemperature.set_Width(50);
     this.Square.DecimalPlaces = 0;
     int[] numArray10 = new int[4];
     this.Square.DefaultValue = new decimal(numArray10);
     this.Square.set_HeaderText("Жилая площадь");
     int[] numArray11 = new int[4];
     numArray11[0] = 100;
     this.Square.Maximum = new decimal(numArray11);
     int[] numArray12 = new int[4];
     this.Square.Minimum = new decimal(numArray12);
     this.Square.set_Name("Square");
     this.Square.set_Width(50);
     this.cbRecalc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.cbRecalc.set_AutoSize(true);
     this.cbRecalc.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.cbRecalc.set_Location(new System.Drawing.Point(0x1cd, 0x215));
     this.cbRecalc.set_Name("cbRecalc");
     this.cbRecalc.set_Size(new System.Drawing.Size(0x95, 0x11));
     this.cbRecalc.set_TabIndex(0x3d);
     this.cbRecalc.set_Text("Выполнить перерасчёт?");
     this.cbRecalc.set_UseVisualStyleBackColor(true);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x310, 0x234));
     base.Controls.Add(this.cbRecalc);
     base.Controls.Add(this.panel1);
     base.Controls.Add(this.gbSubqualityParameters);
     base.Controls.Add(this.btnAccept);
     base.Controls.Add(this.btnCancel);
     this.set_MinimumSize(new System.Drawing.Size(500, 500));
     base.set_Name("GroupSubqualtyForm");
     this.set_Text("Недопоставки");
     base.add_Load(new System.EventHandler(this.GroupSubqualtyForm_Load));
     this.gbSubqualityParameters.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.dgvSubqualities.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();
     System.Windows.Forms.DataGridViewCellStyle style8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style9 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style11 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style12 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style13 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style14 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style15 = new System.Windows.Forms.DataGridViewCellStyle();
     this.dgvAccountService = new System.Windows.Forms.DataGridView();
     this.bsAccountServices = new System.Windows.Forms.BindingSource(this.components);
     this.panel1 = new System.Windows.Forms.Panel();
     this.datePeriod = new DatePeriodSelector();
     this.tbxTotalSumm = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.btnSave = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.dataGridViewNumericColumn1 = new DataGridViewNumericColumn();
     this.dataGridViewNumericColumn2 = new DataGridViewNumericColumn();
     this.dataGridViewNumericColumn3 = new DataGridViewNumericColumn();
     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.PaymentDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.BalanceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ChargeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serviceCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serviceTypeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ServiceCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serviceShortNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.orgCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.orgNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.houseHolderCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.HouseHolderLongName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Банкрот = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.IsFixedPayment = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.dgvAccountService.BeginInit();
     this.bsAccountServices.BeginInit();
     this.panel1.SuspendLayout();
     base.SuspendLayout();
     this.dgvAccountService.set_AllowUserToAddRows(false);
     this.dgvAccountService.set_AllowUserToDeleteRows(false);
     this.dgvAccountService.set_AutoGenerateColumns(false);
     this.dgvAccountService.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvAccountService.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvAccountService.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvAccountService.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.PaymentDataGridViewTextBoxColumn, this.BalanceDataGridViewTextBoxColumn, this.ChargeDataGridViewTextBoxColumn, this.serviceCodeDataGridViewTextBoxColumn, this.serviceTypeNameDataGridViewTextBoxColumn, this.ServiceCode, this.serviceShortNameDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn, this.orgCodeDataGridViewTextBoxColumn, this.orgNameDataGridViewTextBoxColumn, this.houseHolderCodeDataGridViewTextBoxColumn, this.HouseHolderLongName, this.Банкрот, this.IsFixedPayment });
     this.dgvAccountService.set_DataSource(this.bsAccountServices);
     this.dgvAccountService.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvAccountService.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvAccountService.set_Location(new System.Drawing.Point(0, 0x1c));
     this.dgvAccountService.set_Name("dgvAccountService");
     this.dgvAccountService.set_RowHeadersVisible(false);
     this.dgvAccountService.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvAccountService.set_Size(new System.Drawing.Size(0x232, 0x160));
     this.dgvAccountService.set_TabIndex(3);
     this.dgvAccountService.add_CellEndEdit(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAccountService_CellEndEdit));
     this.dgvAccountService.add_CellValidating(new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dgvAccountService_Validating));
     this.dgvAccountService.add_Sorted(new System.EventHandler(this.dgvAccountService_Sorted));
     this.bsAccountServices.set_DataSource(typeof(AccountService));
     this.bsAccountServices.set_Sort("ToDate desc, FromDate desc, Created desc");
     this.panel1.Controls.Add(this.datePeriod);
     this.panel1.Controls.Add(this.tbxTotalSumm);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.btnSave);
     this.panel1.Controls.Add(this.label1);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.panel1.set_Location(new System.Drawing.Point(0, 0));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x232, 0x1c));
     this.panel1.set_TabIndex(4);
     this.datePeriod.set_Location(new System.Drawing.Point(0x3b, 2));
     this.datePeriod.set_Name("datePeriod");
     this.datePeriod.set_Size(new System.Drawing.Size(0x62, 0x15));
     this.datePeriod.set_TabIndex(5);
     this.datePeriod.OnChangedDatePeriodSelector += new OnChangedDatePeriodSelector(this.datePeriod_OnChangedDatePeriodSelector);
     this.tbxTotalSumm.set_Location(new System.Drawing.Point(0x119, 3));
     this.tbxTotalSumm.set_Name("tbxTotalSumm");
     this.tbxTotalSumm.set_ReadOnly(true);
     this.tbxTotalSumm.set_Size(new System.Drawing.Size(0x7c, 20));
     this.tbxTotalSumm.set_TabIndex(6);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(0xac, 6));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x67, 13));
     this.label3.set_TabIndex(5);
     this.label3.set_Text("Сумма отклонений");
     this.btnSave.set_Enabled(false);
     this.btnSave.set_Location(new System.Drawing.Point(0x199, 1));
     this.btnSave.set_Name("btnSave");
     this.btnSave.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnSave.set_TabIndex(4);
     this.btnSave.set_Text("Сохранить");
     this.btnSave.set_UseVisualStyleBackColor(true);
     this.btnSave.set_Visible(false);
     this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(8, 6));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x2d, 13));
     this.label1.set_TabIndex(1);
     this.label1.set_Text("Период");
     this.dataGridViewNumericColumn1.DecimalPlaces = 0;
     int[] numArray = new int[4];
     this.dataGridViewNumericColumn1.DefaultValue = new decimal(numArray);
     this.dataGridViewNumericColumn1.set_HeaderText("Оплата");
     int[] numArray2 = new int[4];
     numArray2[0] = 100;
     this.dataGridViewNumericColumn1.Maximum = new decimal(numArray2);
     int[] numArray3 = new int[4];
     this.dataGridViewNumericColumn1.Minimum = new decimal(numArray3);
     this.dataGridViewNumericColumn1.set_MinimumWidth(60);
     this.dataGridViewNumericColumn1.set_Name("dataGridViewNumericColumn1");
     this.dataGridViewNumericColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewNumericColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewNumericColumn1.set_Width(60);
     this.dataGridViewNumericColumn2.DecimalPlaces = 0;
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewNumericColumn2.set_DefaultCellStyle(style);
     int[] numArray4 = new int[4];
     this.dataGridViewNumericColumn2.DefaultValue = new decimal(numArray4);
     this.dataGridViewNumericColumn2.set_HeaderText("К оплате");
     int[] numArray5 = new int[4];
     numArray5[0] = 100;
     this.dataGridViewNumericColumn2.Maximum = new decimal(numArray5);
     int[] numArray6 = new int[4];
     this.dataGridViewNumericColumn2.Minimum = new decimal(numArray6);
     this.dataGridViewNumericColumn2.set_MinimumWidth(60);
     this.dataGridViewNumericColumn2.set_Name("dataGridViewNumericColumn2");
     this.dataGridViewNumericColumn2.set_ReadOnly(true);
     this.dataGridViewNumericColumn2.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewNumericColumn2.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewNumericColumn2.set_Width(60);
     this.dataGridViewNumericColumn3.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     this.dataGridViewNumericColumn3.DecimalPlaces = 0;
     int[] numArray7 = new int[4];
     this.dataGridViewNumericColumn3.DefaultValue = new decimal(numArray7);
     this.dataGridViewNumericColumn3.set_HeaderText("Начислено");
     int[] numArray8 = new int[4];
     numArray8[0] = 100;
     this.dataGridViewNumericColumn3.Maximum = new decimal(numArray8);
     int[] numArray9 = new int[4];
     this.dataGridViewNumericColumn3.Minimum = new decimal(numArray9);
     this.dataGridViewNumericColumn3.set_MinimumWidth(0x41);
     this.dataGridViewNumericColumn3.set_Name("dataGridViewNumericColumn3");
     this.dataGridViewNumericColumn3.set_ReadOnly(true);
     this.dataGridViewNumericColumn3.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewNumericColumn3.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewNumericColumn3.set_Width(0x41);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("ServiceTypeCode");
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style2);
     this.dataGridViewTextBoxColumn1.set_HeaderText("Оплата");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(60);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(60);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("Balance");
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn2.set_DefaultCellStyle(style3);
     this.dataGridViewTextBoxColumn2.set_HeaderText("Сальдо");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(60);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(60);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("ServiceCode");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Начислено");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(60);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(60);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("FromDate");
     style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn4.set_DefaultCellStyle(style4);
     this.dataGridViewTextBoxColumn4.set_HeaderText("Дата открытия");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(80);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Дата закрытия");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Width(80);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("ServiceCode");
     style5.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn6.set_DefaultCellStyle(style5);
     this.dataGridViewTextBoxColumn6.set_HeaderText("Код");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(0x23);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Width(0x23);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("ServiceTypeName");
     style6.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn7.set_DefaultCellStyle(style6);
     this.dataGridViewTextBoxColumn7.set_HeaderText("Тип услуги");
     this.dataGridViewTextBoxColumn7.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Width(80);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("ServiceCode");
     this.dataGridViewTextBoxColumn8.set_HeaderText("Код услуги");
     this.dataGridViewTextBoxColumn8.set_MinimumWidth(40);
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Width(40);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("ServiceShortName");
     style7.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn9.set_DefaultCellStyle(style7);
     this.dataGridViewTextBoxColumn9.set_HeaderText("Услуга");
     this.dataGridViewTextBoxColumn9.set_MinimumWidth(50);
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Width(50);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("OrgCode");
     style8.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn10.set_DefaultCellStyle(style8);
     this.dataGridViewTextBoxColumn10.set_HeaderText("Код ПУ");
     this.dataGridViewTextBoxColumn10.set_MinimumWidth(0x23);
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn10.set_Width(0x23);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("OrgName");
     this.dataGridViewTextBoxColumn11.set_HeaderText("Поставщик");
     this.dataGridViewTextBoxColumn11.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn11.set_Width(80);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("HouseHolderCode");
     style9.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn12.set_DefaultCellStyle(style9);
     this.dataGridViewTextBoxColumn12.set_HeaderText("Код УК");
     this.dataGridViewTextBoxColumn12.set_MinimumWidth(0x23);
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn12.set_Width(0x23);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("HouseHolderLongName");
     this.dataGridViewTextBoxColumn13.set_HeaderText("Управл.компания");
     this.dataGridViewTextBoxColumn13.set_MinimumWidth(60);
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn13.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn13.set_Width(60);
     style10.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style10.set_Format("N2");
     style10.set_NullValue("0");
     this.PaymentDataGridViewTextBoxColumn.set_DefaultCellStyle(style10);
     this.PaymentDataGridViewTextBoxColumn.set_HeaderText("Оплата");
     this.PaymentDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.PaymentDataGridViewTextBoxColumn.set_Name("PaymentDataGridViewTextBoxColumn");
     this.PaymentDataGridViewTextBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.PaymentDataGridViewTextBoxColumn.set_Width(60);
     style11.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style11.set_Format("N2");
     style11.set_NullValue("0");
     this.BalanceDataGridViewTextBoxColumn.set_DefaultCellStyle(style11);
     this.BalanceDataGridViewTextBoxColumn.set_HeaderText("К оплате");
     this.BalanceDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.BalanceDataGridViewTextBoxColumn.set_Name("BalanceDataGridViewTextBoxColumn");
     this.BalanceDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.BalanceDataGridViewTextBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.BalanceDataGridViewTextBoxColumn.set_Width(60);
     this.ChargeDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     style12.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style12.set_Format("N2");
     style12.set_NullValue("0");
     this.ChargeDataGridViewTextBoxColumn.set_DefaultCellStyle(style12);
     this.ChargeDataGridViewTextBoxColumn.set_HeaderText("Начислено");
     this.ChargeDataGridViewTextBoxColumn.set_MinimumWidth(0x41);
     this.ChargeDataGridViewTextBoxColumn.set_Name("ChargeDataGridViewTextBoxColumn");
     this.ChargeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.ChargeDataGridViewTextBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.ChargeDataGridViewTextBoxColumn.set_Width(0x41);
     this.serviceCodeDataGridViewTextBoxColumn.set_DataPropertyName("ServiceTypeCode");
     style13.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.serviceCodeDataGridViewTextBoxColumn.set_DefaultCellStyle(style13);
     this.serviceCodeDataGridViewTextBoxColumn.set_HeaderText("Код");
     this.serviceCodeDataGridViewTextBoxColumn.set_MinimumWidth(0x23);
     this.serviceCodeDataGridViewTextBoxColumn.set_Name("serviceCodeDataGridViewTextBoxColumn");
     this.serviceCodeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.serviceCodeDataGridViewTextBoxColumn.set_Width(0x23);
     this.serviceTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("ServiceTypeName");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_HeaderText("Тип услуги");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.serviceTypeNameDataGridViewTextBoxColumn.set_Name("serviceTypeNameDataGridViewTextBoxColumn");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.serviceTypeNameDataGridViewTextBoxColumn.set_Width(80);
     this.ServiceCode.set_DataPropertyName("ServiceCode");
     this.ServiceCode.set_HeaderText("Код услуги");
     this.ServiceCode.set_MinimumWidth(40);
     this.ServiceCode.set_Name("ServiceCode");
     this.ServiceCode.set_ReadOnly(true);
     this.ServiceCode.set_Width(40);
     this.serviceShortNameDataGridViewTextBoxColumn.set_DataPropertyName("ServiceShortName");
     this.serviceShortNameDataGridViewTextBoxColumn.set_HeaderText("Услуга");
     this.serviceShortNameDataGridViewTextBoxColumn.set_MinimumWidth(50);
     this.serviceShortNameDataGridViewTextBoxColumn.set_Name("serviceShortNameDataGridViewTextBoxColumn");
     this.serviceShortNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.serviceShortNameDataGridViewTextBoxColumn.set_Width(50);
     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_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.orgCodeDataGridViewTextBoxColumn.set_DataPropertyName("OrgCode");
     style14.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.orgCodeDataGridViewTextBoxColumn.set_DefaultCellStyle(style14);
     this.orgCodeDataGridViewTextBoxColumn.set_HeaderText("Код ПУ");
     this.orgCodeDataGridViewTextBoxColumn.set_MinimumWidth(0x23);
     this.orgCodeDataGridViewTextBoxColumn.set_Name("orgCodeDataGridViewTextBoxColumn");
     this.orgCodeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.orgCodeDataGridViewTextBoxColumn.set_Width(0x23);
     this.orgNameDataGridViewTextBoxColumn.set_DataPropertyName("OrgName");
     this.orgNameDataGridViewTextBoxColumn.set_HeaderText("Поставщик");
     this.orgNameDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.orgNameDataGridViewTextBoxColumn.set_Name("orgNameDataGridViewTextBoxColumn");
     this.orgNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.orgNameDataGridViewTextBoxColumn.set_Width(80);
     this.houseHolderCodeDataGridViewTextBoxColumn.set_DataPropertyName("HouseHolderCode");
     style15.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.houseHolderCodeDataGridViewTextBoxColumn.set_DefaultCellStyle(style15);
     this.houseHolderCodeDataGridViewTextBoxColumn.set_HeaderText("Код УК");
     this.houseHolderCodeDataGridViewTextBoxColumn.set_MinimumWidth(0x23);
     this.houseHolderCodeDataGridViewTextBoxColumn.set_Name("houseHolderCodeDataGridViewTextBoxColumn");
     this.houseHolderCodeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.houseHolderCodeDataGridViewTextBoxColumn.set_Width(0x23);
     this.HouseHolderLongName.set_DataPropertyName("HouseHolderLongName");
     this.HouseHolderLongName.set_HeaderText("Управл.компания");
     this.HouseHolderLongName.set_MinimumWidth(60);
     this.HouseHolderLongName.set_Name("HouseHolderLongName");
     this.HouseHolderLongName.set_ReadOnly(true);
     this.HouseHolderLongName.set_Width(60);
     this.Банкрот.set_DataPropertyName("IsBankrupt");
     this.Банкрот.set_HeaderText("Банкрот");
     this.Банкрот.set_MinimumWidth(60);
     this.Банкрот.set_Name("Банкрот");
     this.Банкрот.set_ReadOnly(true);
     this.Банкрот.set_Width(60);
     this.IsFixedPayment.set_DataPropertyName("IsFixedPayment");
     this.IsFixedPayment.set_HeaderText("Фикс. оплата");
     this.IsFixedPayment.set_MinimumWidth(60);
     this.IsFixedPayment.set_Name("IsFixedPayment");
     this.IsFixedPayment.set_ReadOnly(true);
     this.IsFixedPayment.set_Width(60);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.dgvAccountService);
     base.Controls.Add(this.panel1);
     base.set_Name("AccountServicesDecomposeView");
     base.set_Size(new System.Drawing.Size(0x232, 380));
     this.dgvAccountService.EndInit();
     this.bsAccountServices.EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.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();
     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();
     System.Windows.Forms.DataGridViewCellStyle style8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style9 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style11 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style12 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style13 = new System.Windows.Forms.DataGridViewCellStyle();
     this.dataGridViewDateColumn1 = new DataGridViewDateColumn();
     this.dgvApartmentCounterIndicationsView = new System.Windows.Forms.DataGridView();
     this.dgcNewVal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.newValTypeName = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.newValDate = new DataGridViewDateColumn();
     this.Comment = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcVal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcValDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcCounterType = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcCounterName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcServiceTypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcFromDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsApartmentCounterIndicationInputView = new System.Windows.Forms.BindingSource(this.components);
     this.dbGlobalIndicationDate = new DateBox();
     this.dataGridViewDateColumn2 = new DataGridViewDateColumn();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewDateColumn3 = new DataGridViewDateColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.nudPackNumber = new System.Windows.Forms.NumericUpDown();
     this.lbPackNumber = new System.Windows.Forms.Label();
     this.cbIndicationType = new System.Windows.Forms.ComboBox();
     this.btnUpdate = new System.Windows.Forms.ToolStripButton();
     this.btnSave = new System.Windows.Forms.ToolStripButton();
     this.lbGlobalIndicationDate = new System.Windows.Forms.ToolStripLabel();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.label1 = new System.Windows.Forms.Label();
     this.ttsCounterIndicationsUnsert = new System.Windows.Forms.ToolStrip();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgvApartmentCounterIndicationsView.BeginInit();
     this.bsApartmentCounterIndicationInputView.BeginInit();
     this.nudPackNumber.BeginInit();
     this.ttsCounterIndicationsUnsert.SuspendLayout();
     base.SuspendLayout();
     this.dataGridViewDateColumn1.set_DataPropertyName("NewValDate");
     style.set_NullValue(null);
     this.dataGridViewDateColumn1.set_DefaultCellStyle(style);
     this.dataGridViewDateColumn1.set_HeaderText("Дата показания");
     this.dataGridViewDateColumn1.set_MinimumWidth(0x4b);
     this.dataGridViewDateColumn1.set_Name("dataGridViewDateColumn1");
     this.dataGridViewDateColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewDateColumn1.set_ToolTipText("Дата показания нового показания");
     this.dataGridViewDateColumn1.set_Width(0x4b);
     this.dgvApartmentCounterIndicationsView.set_AllowUserToAddRows(false);
     this.dgvApartmentCounterIndicationsView.set_AllowUserToDeleteRows(false);
     this.dgvApartmentCounterIndicationsView.set_AutoGenerateColumns(false);
     this.dgvApartmentCounterIndicationsView.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvApartmentCounterIndicationsView.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style2.set_BackColor(System.Drawing.SystemColors.Control);
     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.WindowText);
     style2.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvApartmentCounterIndicationsView.set_ColumnHeadersDefaultCellStyle(style2);
     this.dgvApartmentCounterIndicationsView.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvApartmentCounterIndicationsView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dgcNewVal, this.newValTypeName, this.newValDate, this.Comment, this.dgcVal, this.dgcValDate, this.dgcCounterType, this.dgcCounterName, this.dgcServiceTypeName, this.dgcFromDate });
     this.dgvApartmentCounterIndicationsView.set_DataSource(this.bsApartmentCounterIndicationInputView);
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style3.set_BackColor(System.Drawing.SystemColors.Window);
     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.ControlText);
     style3.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgvApartmentCounterIndicationsView.set_DefaultCellStyle(style3);
     this.dgvApartmentCounterIndicationsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvApartmentCounterIndicationsView.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvApartmentCounterIndicationsView.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvApartmentCounterIndicationsView.set_MultiSelect(false);
     this.dgvApartmentCounterIndicationsView.set_Name("dgvApartmentCounterIndicationsView");
     style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style4.set_BackColor(System.Drawing.SystemColors.Control);
     style4.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style4.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style4.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style4.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style4.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvApartmentCounterIndicationsView.set_RowHeadersDefaultCellStyle(style4);
     this.dgvApartmentCounterIndicationsView.set_RowHeadersVisible(false);
     this.dgvApartmentCounterIndicationsView.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvApartmentCounterIndicationsView.set_Size(new System.Drawing.Size(0x33b, 0x1c3));
     this.dgvApartmentCounterIndicationsView.set_TabIndex(0x15);
     this.dgcNewVal.set_DataPropertyName("NewVal");
     this.dgcNewVal.set_HeaderText("Новое значение");
     this.dgcNewVal.set_MinimumWidth(0x4b);
     this.dgcNewVal.set_Name("dgcNewVal");
     this.dgcNewVal.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcNewVal.set_ToolTipText("Новое значение");
     this.dgcNewVal.set_Width(0x4b);
     this.newValTypeName.set_DataPropertyName("NewValTypeName");
     this.newValTypeName.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox);
     this.newValTypeName.set_HeaderText("Тип показания");
     this.newValTypeName.set_MinimumWidth(150);
     this.newValTypeName.set_Name("newValTypeName");
     this.newValTypeName.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.newValTypeName.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.newValTypeName.set_ToolTipText("Тип нового показания");
     this.newValTypeName.set_Width(150);
     this.newValDate.set_DataPropertyName("NewValDate");
     style5.set_NullValue(null);
     this.newValDate.set_DefaultCellStyle(style5);
     this.newValDate.set_HeaderText("Дата показания");
     this.newValDate.set_MinimumWidth(0x4b);
     this.newValDate.set_Name("newValDate");
     this.newValDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.newValDate.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.newValDate.set_ToolTipText("Дата показания нового показания");
     this.newValDate.set_Width(0x4b);
     this.Comment.set_DataPropertyName("Comment");
     this.Comment.set_HeaderText("Комментарий");
     this.Comment.set_MinimumWidth(100);
     this.Comment.set_Name("Comment");
     this.Comment.set_ToolTipText("Комментарий");
     this.dgcVal.set_DataPropertyName("Val");
     style6.set_Format("N4");
     this.dgcVal.set_DefaultCellStyle(style6);
     this.dgcVal.set_HeaderText("Последнее показание");
     this.dgcVal.set_MinimumWidth(90);
     this.dgcVal.set_Name("dgcVal");
     this.dgcVal.set_ReadOnly(true);
     this.dgcVal.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcVal.set_ToolTipText("Последнее показание");
     this.dgcVal.set_Width(90);
     this.dgcValDate.set_DataPropertyName("ValDate");
     style7.set_Format("d");
     this.dgcValDate.set_DefaultCellStyle(style7);
     this.dgcValDate.set_HeaderText("Дата последнего показаний");
     this.dgcValDate.set_MinimumWidth(0x4b);
     this.dgcValDate.set_Name("dgcValDate");
     this.dgcValDate.set_ReadOnly(true);
     this.dgcValDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcValDate.set_ToolTipText("Дата последнего показаний");
     this.dgcValDate.set_Width(0x4b);
     this.dgcCounterType.set_DataPropertyName("CounterTypeName");
     this.dgcCounterType.set_HeaderText("Тип прибора");
     this.dgcCounterType.set_MinimumWidth(0x4b);
     this.dgcCounterType.set_Name("dgcCounterType");
     this.dgcCounterType.set_ReadOnly(true);
     this.dgcCounterType.set_Width(0x4b);
     this.dgcCounterName.set_DataPropertyName("CounterName");
     this.dgcCounterName.set_HeaderText("Название");
     this.dgcCounterName.set_MinimumWidth(0x4b);
     this.dgcCounterName.set_Name("dgcCounterName");
     this.dgcCounterName.set_ReadOnly(true);
     this.dgcCounterName.set_Width(0x4b);
     this.dgcServiceTypeName.set_DataPropertyName("ServiceTypeName");
     this.dgcServiceTypeName.set_HeaderText("Тип услуги");
     this.dgcServiceTypeName.set_MinimumWidth(150);
     this.dgcServiceTypeName.set_Name("dgcServiceTypeName");
     this.dgcServiceTypeName.set_ReadOnly(true);
     this.dgcServiceTypeName.set_Width(150);
     this.dgcFromDate.set_DataPropertyName("CounterFromDate");
     style8.set_Format("dd.MM.yyyy");
     style8.set_NullValue(null);
     this.dgcFromDate.set_DefaultCellStyle(style8);
     this.dgcFromDate.set_HeaderText("Дата установки");
     this.dgcFromDate.set_MinimumWidth(0x4b);
     this.dgcFromDate.set_Name("dgcFromDate");
     this.dgcFromDate.set_ReadOnly(true);
     this.dgcFromDate.set_Width(0x4b);
     this.bsApartmentCounterIndicationInputView.set_DataSource(typeof(ApartmentCounterIndicationInputView));
     this.dbGlobalIndicationDate.AttachToPeriod = false;
     this.dbGlobalIndicationDate.AttachToPeriodEnd = false;
     this.dbGlobalIndicationDate.set_Location(new System.Drawing.Point(0xcc, 0));
     this.dbGlobalIndicationDate.set_Mask("00/00/0000");
     this.dbGlobalIndicationDate.set_Name("dbGlobalIndicationDate");
     this.dbGlobalIndicationDate.set_Size(new System.Drawing.Size(100, 20));
     this.dbGlobalIndicationDate.set_TabIndex(0x16);
     this.dbGlobalIndicationDate.DateChanged += new DateChangedHandler(this.dbGlobalIndicationDate_DateChanged);
     this.dataGridViewDateColumn2.set_DataPropertyName("NewValDate");
     style9.set_NullValue(null);
     this.dataGridViewDateColumn2.set_DefaultCellStyle(style9);
     this.dataGridViewDateColumn2.set_HeaderText("Дата показания");
     this.dataGridViewDateColumn2.set_MinimumWidth(0x4b);
     this.dataGridViewDateColumn2.set_Name("dataGridViewDateColumn2");
     this.dataGridViewDateColumn2.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateColumn2.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewDateColumn2.set_ToolTipText("Дата показания нового показания");
     this.dataGridViewDateColumn2.set_Width(0x4b);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("NewVal");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Новое значение");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn1.set_ToolTipText("Новое значение");
     this.dataGridViewTextBoxColumn1.set_Width(0x4b);
     this.dataGridViewComboBoxColumn1.set_DataPropertyName("NewValTypeName");
     this.dataGridViewComboBoxColumn1.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox);
     this.dataGridViewComboBoxColumn1.set_HeaderText("Тип показания");
     this.dataGridViewComboBoxColumn1.set_MinimumWidth(150);
     this.dataGridViewComboBoxColumn1.set_Name("dataGridViewComboBoxColumn1");
     this.dataGridViewComboBoxColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewComboBoxColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewComboBoxColumn1.set_ToolTipText("Тип нового показания");
     this.dataGridViewComboBoxColumn1.set_Width(150);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("CounterName");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Название");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Width(0x4b);
     this.dataGridViewDateColumn3.set_DataPropertyName("NewValDate");
     style10.set_NullValue(null);
     this.dataGridViewDateColumn3.set_DefaultCellStyle(style10);
     this.dataGridViewDateColumn3.set_HeaderText("Дата показания");
     this.dataGridViewDateColumn3.set_MinimumWidth(0x4b);
     this.dataGridViewDateColumn3.set_Name("dataGridViewDateColumn3");
     this.dataGridViewDateColumn3.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateColumn3.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewDateColumn3.set_ToolTipText("Дата показания нового показания");
     this.dataGridViewDateColumn3.set_Width(0x4b);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("CounterTypeName");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Тип прибора");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Width(0x4b);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("ServiceTypeName");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Тип услуги");
     this.dataGridViewTextBoxColumn7.set_MinimumWidth(150);
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Width(150);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("Comment");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Комментарий");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ToolTipText("Комментарий");
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("ValDate");
     style11.set_Format("d");
     this.dataGridViewTextBoxColumn4.set_DefaultCellStyle(style11);
     this.dataGridViewTextBoxColumn4.set_HeaderText("Дата последнего показаний");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn4.set_ToolTipText("Дата последнего показаний");
     this.dataGridViewTextBoxColumn4.set_Width(0x4b);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("Val");
     style12.set_Format("N4");
     this.dataGridViewTextBoxColumn3.set_DefaultCellStyle(style12);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Последнее показание");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(90);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn3.set_ToolTipText("Последнее показание");
     this.dataGridViewTextBoxColumn3.set_Width(90);
     this.nudPackNumber.set_Location(new System.Drawing.Point(0x278, 0));
     int[] numArray = new int[4];
     numArray[0] = 0x5f5e0ff;
     this.nudPackNumber.set_Maximum(new decimal(numArray));
     int[] numArray2 = new int[4];
     numArray2[0] = 1;
     this.nudPackNumber.set_Minimum(new decimal(numArray2));
     this.nudPackNumber.set_Name("nudPackNumber");
     this.nudPackNumber.set_Size(new System.Drawing.Size(0x40, 20));
     this.nudPackNumber.set_TabIndex(0x1a);
     int[] numArray3 = new int[4];
     numArray3[0] = 1;
     this.nudPackNumber.set_Value(new decimal(numArray3));
     this.nudPackNumber.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.nudPackNumber_KeyDown));
     this.lbPackNumber.set_AutoSize(true);
     this.lbPackNumber.set_Location(new System.Drawing.Point(0x229, 2));
     this.lbPackNumber.set_Name("lbPackNumber");
     this.lbPackNumber.set_Size(new System.Drawing.Size(0x49, 13));
     this.lbPackNumber.set_TabIndex(0x19);
     this.lbPackNumber.set_Text("Номер пачки");
     this.cbIndicationType.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.cbIndicationType.set_FormattingEnabled(true);
     this.cbIndicationType.set_Location(new System.Drawing.Point(0x18f, 0));
     this.cbIndicationType.set_Name("cbIndicationType");
     this.cbIndicationType.set_Size(new System.Drawing.Size(0x94, 0x15));
     this.cbIndicationType.set_TabIndex(0x18);
     this.btnUpdate.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnUpdate.set_Image(Resources.UPDATE);
     this.btnUpdate.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnUpdate.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnUpdate.set_Name("btnUpdate");
     this.btnUpdate.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnUpdate.set_Text("Обновить");
     this.btnUpdate.add_Click(new System.EventHandler(this.btnUpdate_Click));
     this.btnSave.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnSave.set_Image(Resources.APPLY2);
     this.btnSave.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnSave.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnSave.set_Name("btnSave");
     this.btnSave.set_Size(new System.Drawing.Size(0x17, 0x16));
     this.btnSave.set_Text("Сохранить изменения (Ctrl+S)");
     this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.lbGlobalIndicationDate.set_Name("lbGlobalIndicationDate");
     this.lbGlobalIndicationDate.set_Size(new System.Drawing.Size(0x5d, 0x16));
     this.lbGlobalIndicationDate.set_Text("Дата показаний");
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(310, 3));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x53, 13));
     this.label1.set_TabIndex(0x17);
     this.label1.set_Text("Тип показаний");
     this.ttsCounterIndicationsUnsert.set_GripMargin(new System.Windows.Forms.Padding(0));
     this.ttsCounterIndicationsUnsert.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnUpdate, this.toolStripSeparator1, this.btnSave, this.toolStripSeparator3, this.lbGlobalIndicationDate });
     this.ttsCounterIndicationsUnsert.set_Location(new System.Drawing.Point(0, 0));
     this.ttsCounterIndicationsUnsert.set_Name("ttsCounterIndicationsUnsert");
     this.ttsCounterIndicationsUnsert.set_Size(new System.Drawing.Size(0x33b, 0x19));
     this.ttsCounterIndicationsUnsert.set_Stretch(true);
     this.ttsCounterIndicationsUnsert.set_TabIndex(20);
     this.toolStripSeparator3.set_Name("toolStripSeparator3");
     this.toolStripSeparator3.set_Size(new System.Drawing.Size(6, 0x19));
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("CounterFromDate");
     style13.set_Format("dd.MM.yyyy");
     style13.set_NullValue(null);
     this.dataGridViewTextBoxColumn8.set_DefaultCellStyle(style13);
     this.dataGridViewTextBoxColumn8.set_HeaderText("Дата установки");
     this.dataGridViewTextBoxColumn8.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Width(0x4b);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.dgvApartmentCounterIndicationsView);
     base.Controls.Add(this.dbGlobalIndicationDate);
     base.Controls.Add(this.nudPackNumber);
     base.Controls.Add(this.lbPackNumber);
     base.Controls.Add(this.cbIndicationType);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.ttsCounterIndicationsUnsert);
     base.set_Name("ApartmentCounterIndicationInputUIView");
     base.set_Size(new System.Drawing.Size(0x33b, 0x1dc));
     base.add_Load(new System.EventHandler(this.ApartmentCounterIndicationInputUIView_Load));
     base.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.ApartmentCounterIndicationInputUIView_KeyDown));
     this.dgvApartmentCounterIndicationsView.EndInit();
     this.bsApartmentCounterIndicationInputView.EndInit();
     this.nudPackNumber.EndInit();
     this.ttsCounterIndicationsUnsert.ResumeLayout(false);
     this.ttsCounterIndicationsUnsert.PerformLayout();
     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();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(MassApartmentCounterIndicationInputView));
     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();
     System.Windows.Forms.DataGridViewCellStyle style8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style9 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style11 = new System.Windows.Forms.DataGridViewCellStyle();
     this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.tsmiNew = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmiSave = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmiClear = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmiReplace = new System.Windows.Forms.ToolStripMenuItem();
     this.bsApartmentCounterIndicationInputView = new System.Windows.Forms.BindingSource(this.components);
     this.dgvApartmentCounterIndicationsView = new System.Windows.Forms.DataGridView();
     this.tsTop = new System.Windows.Forms.ToolStrip();
     this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel();
     this.tbBarcode = new System.Windows.Forms.ToolStripTextBox();
     this.tsbSearch = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
     this.tbAccountNumber = new System.Windows.Forms.ToolStripTextBox();
     this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
     this.tbOwner = new System.Windows.Forms.ToolStripTextBox();
     this.toolStripLabel8 = new System.Windows.Forms.ToolStripLabel();
     this.tbAddress = new System.Windows.Forms.ToolStripTextBox();
     this.tsBottom = new System.Windows.Forms.ToolStrip();
     this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
     this.tbPackNumber = new System.Windows.Forms.ToolStripTextBox();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.btnSave = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbCancel = new System.Windows.Forms.ToolStripButton();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton();
     this.tsmiShowAdditionalColumns = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmiConfirmSaving = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripDropDownButton2 = new System.Windows.Forms.ToolStripDropDownButton();
     this.tsmiStatsReport = new System.Windows.Forms.ToolStripMenuItem();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.dataGridViewDateColumn1 = new DataGridViewDateColumn();
     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.CounterNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcCounterName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcCounterType = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.newValTypeName = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.Val = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcNewVal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterConsumption = new DataGridViewNumericColumn();
     this.NewValDate = new DataGridViewDateColumn();
     this.dgcFromDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcVal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcValDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcServiceTypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.InvoiceNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Comment = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.newValueTemp = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.contextMenu.SuspendLayout();
     this.bsApartmentCounterIndicationInputView.BeginInit();
     this.dgvApartmentCounterIndicationsView.BeginInit();
     this.tsTop.SuspendLayout();
     this.tsBottom.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     this.contextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmiNew, this.tsmiSave, this.tsmiClear, this.tsmiReplace });
     this.contextMenu.set_Name("contextMenu");
     this.contextMenu.set_Size(new System.Drawing.Size(250, 0x5c));
     this.tsmiNew.set_Name("tsmiNew");
     this.tsmiNew.set_ShortcutKeys(System.Windows.Forms.Keys.F11);
     this.tsmiNew.set_Size(new System.Drawing.Size(0xf9, 0x16));
     this.tsmiNew.set_Text("Новый поиск");
     this.tsmiNew.add_Click(new System.EventHandler(this.tsmiNew_Click));
     this.tsmiSave.set_Name("tsmiSave");
     this.tsmiSave.set_ShortcutKeys(System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.F12);
     this.tsmiSave.set_Size(new System.Drawing.Size(0xf9, 0x16));
     this.tsmiSave.set_Text("Сохранить показания");
     this.tsmiSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.tsmiClear.set_Name("tsmiClear");
     this.tsmiClear.set_ShortcutKeys(System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.O);
     this.tsmiClear.set_Size(new System.Drawing.Size(0xf9, 0x16));
     this.tsmiClear.set_Text("Очистить");
     this.tsmiClear.add_Click(new System.EventHandler(this.tsbCancel_Click));
     this.tsmiReplace.set_Name("tsmiReplace");
     this.tsmiReplace.set_ShortcutKeys(System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.P);
     this.tsmiReplace.set_Size(new System.Drawing.Size(0xf9, 0x16));
     this.tsmiReplace.set_Text("Повтор");
     this.tsmiReplace.add_Click(new System.EventHandler(this.tsmiReplace_Click));
     this.bsApartmentCounterIndicationInputView.set_DataSource(typeof(ApartmentCounterIndicationInputView));
     this.dgvApartmentCounterIndicationsView.set_AllowUserToAddRows(false);
     this.dgvApartmentCounterIndicationsView.set_AllowUserToDeleteRows(false);
     this.dgvApartmentCounterIndicationsView.set_AutoGenerateColumns(false);
     this.dgvApartmentCounterIndicationsView.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvApartmentCounterIndicationsView.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.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.dgvApartmentCounterIndicationsView.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvApartmentCounterIndicationsView.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvApartmentCounterIndicationsView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.CounterNumber, this.dgcCounterName, this.dgcCounterType, this.newValTypeName, this.Val, this.dgcNewVal, this.counterConsumption, this.NewValDate, this.dgcFromDate, this.dgcVal, this.dgcValDate, this.dgcServiceTypeName, this.InvoiceNumber, this.Comment, this.newValueTemp, this.Id });
     this.dgvApartmentCounterIndicationsView.set_ContextMenuStrip(this.contextMenu);
     this.dgvApartmentCounterIndicationsView.set_DataSource(this.bsApartmentCounterIndicationInputView);
     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.dgvApartmentCounterIndicationsView.set_DefaultCellStyle(style2);
     this.dgvApartmentCounterIndicationsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvApartmentCounterIndicationsView.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvApartmentCounterIndicationsView.set_Location(new System.Drawing.Point(0, 0x35));
     this.dgvApartmentCounterIndicationsView.set_MultiSelect(false);
     this.dgvApartmentCounterIndicationsView.set_Name("dgvApartmentCounterIndicationsView");
     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.dgvApartmentCounterIndicationsView.set_RowHeadersDefaultCellStyle(style3);
     this.dgvApartmentCounterIndicationsView.set_RowHeadersVisible(false);
     this.dgvApartmentCounterIndicationsView.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.CellSelect);
     this.dgvApartmentCounterIndicationsView.set_Size(new System.Drawing.Size(0x38a, 250));
     this.dgvApartmentCounterIndicationsView.set_TabIndex(14);
     this.dgvApartmentCounterIndicationsView.add_CellEndEdit(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvApartmentCounterIndicationsView_CellEndEdit));
     this.dgvApartmentCounterIndicationsView.add_RowValidating(new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvApartmentCounterIndicationsView_RowValidating));
     this.dgvApartmentCounterIndicationsView.add_Sorted(new System.EventHandler(this.dgvApartmentCounterIndicationsView_Sorted));
     this.dgvApartmentCounterIndicationsView.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.dgvApartmentCounterIndicationsView_KeyDown));
     this.tsTop.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.tsTop.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel4, this.tbBarcode, this.tsbSearch, this.toolStripSeparator1, this.toolStripLabel2, this.tbAccountNumber, this.toolStripLabel3, this.tbOwner, this.toolStripLabel8, this.tbAddress });
     this.tsTop.set_Location(new System.Drawing.Point(0, 0));
     this.tsTop.set_Name("tsTop");
     this.tsTop.set_Size(new System.Drawing.Size(0x38a, 0x19));
     this.tsTop.set_TabIndex(9);
     this.tsTop.set_Text("toolStrip1");
     this.toolStripLabel4.set_Name("toolStripLabel4");
     this.toolStripLabel4.set_Size(new System.Drawing.Size(0x42, 0x16));
     this.toolStripLabel4.set_Text("Штрих-код");
     this.tbBarcode.set_Margin(new System.Windows.Forms.Padding(20, 0, 1, 0));
     this.tbBarcode.set_Name("tbBarcode");
     this.tbBarcode.set_Size(new System.Drawing.Size(100, 0x19));
     this.tbBarcode.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.tstbBarcode_KeyDown));
     this.tsbSearch.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbSearch.set_Image(Resources.SEARCH);
     this.tsbSearch.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbSearch.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbSearch.set_Name("tsbSearch");
     this.tsbSearch.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbSearch.set_Text("Поиск");
     this.tsbSearch.add_Click(new System.EventHandler(this.tsbSearch_Click));
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.toolStripLabel2.set_Name("toolStripLabel2");
     this.toolStripLabel2.set_Size(new System.Drawing.Size(0x40, 0x16));
     this.toolStripLabel2.set_Text("Номер ЛС");
     this.tbAccountNumber.set_Name("tbAccountNumber");
     this.tbAccountNumber.set_ReadOnly(true);
     this.tbAccountNumber.set_Size(new System.Drawing.Size(100, 0x19));
     this.toolStripLabel3.set_Name("toolStripLabel3");
     this.toolStripLabel3.set_Size(new System.Drawing.Size(0x3b, 0x16));
     this.toolStripLabel3.set_Text("Владелец");
     this.tbOwner.set_Name("tbOwner");
     this.tbOwner.set_ReadOnly(true);
     this.tbOwner.set_Size(new System.Drawing.Size(200, 0x19));
     this.toolStripLabel8.set_Name("toolStripLabel8");
     this.toolStripLabel8.set_Size(new System.Drawing.Size(40, 0x16));
     this.toolStripLabel8.set_Text("Адрес");
     this.tbAddress.set_Name("tbAddress");
     this.tbAddress.set_ReadOnly(true);
     this.tbAddress.set_Size(new System.Drawing.Size(250, 0x17));
     this.tsBottom.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tsBottom.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.tsBottom.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel5, this.tbPackNumber, this.toolStripSeparator2, this.btnSave, this.toolStripSeparator3, this.tsbCancel });
     this.tsBottom.set_Location(new System.Drawing.Point(0, 0));
     this.tsBottom.set_Name("tsBottom");
     this.tsBottom.set_RightToLeft(System.Windows.Forms.RightToLeft.Yes);
     this.tsBottom.set_Size(new System.Drawing.Size(0x24c, 0x1c));
     this.tsBottom.set_TabIndex(15);
     this.tsBottom.set_Text("toolStrip2");
     this.toolStripLabel5.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.toolStripLabel5.set_Name("toolStripLabel5");
     this.toolStripLabel5.set_Size(new System.Drawing.Size(0x51, 0x19));
     this.toolStripLabel5.set_Text("Номер пачки");
     this.tbPackNumber.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.tbPackNumber.set_Margin(new System.Windows.Forms.Padding(5, 0, 1, 0));
     this.tbPackNumber.set_Name("tbPackNumber");
     this.tbPackNumber.set_Size(new System.Drawing.Size(100, 0x1c));
     this.tbPackNumber.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.tbPackNumber_KeyDown));
     this.toolStripSeparator2.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.toolStripSeparator2.set_Margin(new System.Windows.Forms.Padding(100, 0, 0, 0));
     this.toolStripSeparator2.set_Name("toolStripSeparator2");
     this.toolStripSeparator2.set_Size(new System.Drawing.Size(6, 0x1c));
     this.btnSave.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.btnSave.set_BackgroundImageLayout(System.Windows.Forms.ImageLayout.None);
     this.btnSave.set_Font(new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.btnSave.set_Image(Resources.APPLY2);
     this.btnSave.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnSave.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnSave.set_Margin(new System.Windows.Forms.Padding(1, 1, 0, 2));
     this.btnSave.set_Name("btnSave");
     this.btnSave.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.btnSave.set_Size(new System.Drawing.Size(0x93, 0x19));
     this.btnSave.set_Text("Сохранить показания");
     this.btnSave.set_ToolTipText("Сохранить показания (Shift+F12)");
     this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.toolStripSeparator3.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.toolStripSeparator3.set_Name("toolStripSeparator3");
     this.toolStripSeparator3.set_Size(new System.Drawing.Size(6, 0x1c));
     this.tsbCancel.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.tsbCancel.set_Font(new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.tsbCancel.set_Image(Resources.CANCEL);
     this.tsbCancel.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbCancel.set_Margin(new System.Windows.Forms.Padding(10, 1, 0, 2));
     this.tsbCancel.set_Name("tsbCancel");
     this.tsbCancel.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.tsbCancel.set_Size(new System.Drawing.Size(0x4f, 0x19));
     this.tsbCancel.set_Text("Очистить");
     this.tsbCancel.set_ToolTipText("Очистить (Alt+L)");
     this.tsbCancel.add_Click(new System.EventHandler(this.tsbCancel_Click));
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.splitContainer1.set_FixedPanel(System.Windows.Forms.FixedPanel.Panel2);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0x19));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.Panel1.Controls.Add(this.tsBottom);
     this.splitContainer1.Panel2.Controls.Add(this.toolStrip1);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x38a, 0x1c));
     this.splitContainer1.set_SplitterDistance(0x24c);
     this.splitContainer1.set_TabIndex(0x10);
     this.toolStrip1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.toolStrip1.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripDropDownButton1, this.toolStripDropDownButton2 });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x13a, 0x1c));
     this.toolStrip1.set_TabIndex(0);
     this.toolStrip1.set_Text("toolStrip1");
     this.toolStripDropDownButton1.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmiShowAdditionalColumns, this.tsmiConfirmSaving });
     this.toolStripDropDownButton1.set_Image((System.Drawing.Image) manager.GetObject("toolStripDropDownButton1.Image"));
     this.toolStripDropDownButton1.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.toolStripDropDownButton1.set_Name("toolStripDropDownButton1");
     this.toolStripDropDownButton1.set_Size(new System.Drawing.Size(40, 0x19));
     this.toolStripDropDownButton1.set_Text("Вид");
     this.tsmiShowAdditionalColumns.set_CheckOnClick(true);
     this.tsmiShowAdditionalColumns.set_Name("tsmiShowAdditionalColumns");
     this.tsmiShowAdditionalColumns.set_Size(new System.Drawing.Size(0x127, 0x16));
     this.tsmiShowAdditionalColumns.set_Text("Отображать допольнительные столбцы");
     this.tsmiShowAdditionalColumns.add_CheckedChanged(new System.EventHandler(this.cbShowAdditionalColumns_CheckedChanged));
     this.tsmiConfirmSaving.set_Checked(true);
     this.tsmiConfirmSaving.set_CheckOnClick(true);
     this.tsmiConfirmSaving.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsmiConfirmSaving.set_Name("tsmiConfirmSaving");
     this.tsmiConfirmSaving.set_Size(new System.Drawing.Size(0x127, 0x16));
     this.tsmiConfirmSaving.set_Text("Подверждать сохранение");
     this.toolStripDropDownButton2.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.toolStripDropDownButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmiStatsReport });
     this.toolStripDropDownButton2.set_Image((System.Drawing.Image) manager.GetObject("toolStripDropDownButton2.Image"));
     this.toolStripDropDownButton2.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.toolStripDropDownButton2.set_Name("toolStripDropDownButton2");
     this.toolStripDropDownButton2.set_Size(new System.Drawing.Size(0x3d, 0x19));
     this.toolStripDropDownButton2.set_Text("Отчёты");
     this.tsmiStatsReport.set_Name("tsmiStatsReport");
     this.tsmiStatsReport.set_Size(new System.Drawing.Size(160, 0x16));
     this.tsmiStatsReport.set_Text("По операторам");
     this.tsmiStatsReport.add_Click(new System.EventHandler(this.tsmiStatsReport_Click));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("NewVal");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Новое значение");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn1.set_ToolTipText("Новое значение");
     this.dataGridViewTextBoxColumn1.set_Width(0x4b);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("Comment");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Комментарий");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_ToolTipText("Комментарий");
     this.dataGridViewTextBoxColumn2.set_Width(150);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("Val");
     style4.set_Format("N4");
     this.dataGridViewTextBoxColumn3.set_DefaultCellStyle(style4);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Последнее показание");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(90);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn3.set_ToolTipText("Последнее показание");
     this.dataGridViewTextBoxColumn3.set_Width(90);
     this.dataGridViewComboBoxColumn1.set_DataPropertyName("NewValTypeName");
     this.dataGridViewComboBoxColumn1.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox);
     this.dataGridViewComboBoxColumn1.set_HeaderText("Тип показания");
     this.dataGridViewComboBoxColumn1.set_MinimumWidth(150);
     this.dataGridViewComboBoxColumn1.set_Name("dataGridViewComboBoxColumn1");
     this.dataGridViewComboBoxColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewComboBoxColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewComboBoxColumn1.set_ToolTipText("Тип нового показания");
     this.dataGridViewComboBoxColumn1.set_Width(150);
     this.dataGridViewDateColumn1.set_DataPropertyName("NewValDate");
     style5.set_NullValue(null);
     this.dataGridViewDateColumn1.set_DefaultCellStyle(style5);
     this.dataGridViewDateColumn1.set_HeaderText("Дата показания");
     this.dataGridViewDateColumn1.set_MinimumWidth(0x4b);
     this.dataGridViewDateColumn1.set_Name("dataGridViewDateColumn1");
     this.dataGridViewDateColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewDateColumn1.set_ToolTipText("Дата показания нового показания");
     this.dataGridViewDateColumn1.set_Width(0x4b);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("NewVal");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Новое значение");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn4.set_ToolTipText("Новое значение");
     this.dataGridViewTextBoxColumn4.set_Width(0x4b);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("CounterFromDate");
     style6.set_Format("dd.MM.yyyy");
     style6.set_NullValue(null);
     this.dataGridViewTextBoxColumn5.set_DefaultCellStyle(style6);
     this.dataGridViewTextBoxColumn5.set_HeaderText("Дата установки");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Visible(false);
     this.dataGridViewTextBoxColumn5.set_Width(0x4b);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Val");
     style7.set_Format("N4");
     this.dataGridViewTextBoxColumn6.set_DefaultCellStyle(style7);
     this.dataGridViewTextBoxColumn6.set_HeaderText("Последнее показание");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(90);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn6.set_ToolTipText("Последнее показание");
     this.dataGridViewTextBoxColumn6.set_Visible(false);
     this.dataGridViewTextBoxColumn6.set_Width(90);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("ValDate");
     style8.set_Format("d");
     this.dataGridViewTextBoxColumn7.set_DefaultCellStyle(style8);
     this.dataGridViewTextBoxColumn7.set_HeaderText("Дата последнего показания");
     this.dataGridViewTextBoxColumn7.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn7.set_ToolTipText("Дата последнего показания");
     this.dataGridViewTextBoxColumn7.set_Visible(false);
     this.dataGridViewTextBoxColumn7.set_Width(0x4b);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("ServiceTypeName");
     this.dataGridViewTextBoxColumn8.set_HeaderText("Тип услуги");
     this.dataGridViewTextBoxColumn8.set_MinimumWidth(150);
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Visible(false);
     this.dataGridViewTextBoxColumn8.set_Width(150);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("InvoiceNumber");
     this.dataGridViewTextBoxColumn9.set_HeaderText("Номер квитанции");
     this.dataGridViewTextBoxColumn9.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_Visible(false);
     this.dataGridViewTextBoxColumn9.set_Width(80);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("Comment");
     this.dataGridViewTextBoxColumn10.set_HeaderText("Комментарий");
     this.dataGridViewTextBoxColumn10.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_ToolTipText("Комментарий");
     this.dataGridViewTextBoxColumn10.set_Visible(false);
     this.CounterNumber.set_DataPropertyName("CounterNumber");
     this.CounterNumber.set_HeaderText("Номер прибора");
     this.CounterNumber.set_MinimumWidth(60);
     this.CounterNumber.set_Name("CounterNumber");
     this.CounterNumber.set_ReadOnly(true);
     this.CounterNumber.set_ToolTipText("Номер прибора");
     this.CounterNumber.set_Width(60);
     this.dgcCounterName.set_DataPropertyName("CounterName");
     this.dgcCounterName.set_HeaderText("Название прибора");
     this.dgcCounterName.set_MinimumWidth(0x4b);
     this.dgcCounterName.set_Name("dgcCounterName");
     this.dgcCounterName.set_ReadOnly(true);
     this.dgcCounterName.set_Width(0x4b);
     this.dgcCounterType.set_DataPropertyName("CounterTypeName");
     this.dgcCounterType.set_HeaderText("Тип прибора");
     this.dgcCounterType.set_MinimumWidth(0x4b);
     this.dgcCounterType.set_Name("dgcCounterType");
     this.dgcCounterType.set_ReadOnly(true);
     this.dgcCounterType.set_Visible(false);
     this.dgcCounterType.set_Width(0x4b);
     this.newValTypeName.set_DataPropertyName("NewValTypeName");
     this.newValTypeName.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox);
     this.newValTypeName.set_HeaderText("Тип показания");
     this.newValTypeName.set_MinimumWidth(150);
     this.newValTypeName.set_Name("newValTypeName");
     this.newValTypeName.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.newValTypeName.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.newValTypeName.set_ToolTipText("Тип нового показания");
     this.newValTypeName.set_Visible(false);
     this.newValTypeName.set_Width(150);
     this.Val.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     this.Val.set_DataPropertyName("Val");
     this.Val.set_HeaderText("Старое значение");
     this.Val.set_MinimumWidth(100);
     this.Val.set_Name("Val");
     this.Val.set_ReadOnly(true);
     this.dgcNewVal.set_HeaderText("Новое значение");
     this.dgcNewVal.set_MinimumWidth(0x4b);
     this.dgcNewVal.set_Name("dgcNewVal");
     this.dgcNewVal.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcNewVal.set_ToolTipText("Новое значение");
     this.dgcNewVal.set_Width(0x4b);
     this.counterConsumption.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.counterConsumption.DecimalPlaces = 0;
     int[] numArray = new int[4];
     this.counterConsumption.DefaultValue = new decimal(numArray);
     this.counterConsumption.set_HeaderText("Расход");
     int[] numArray2 = new int[4];
     numArray2[0] = 100;
     this.counterConsumption.Maximum = new decimal(numArray2);
     int[] numArray3 = new int[4];
     this.counterConsumption.Minimum = new decimal(numArray3);
     this.counterConsumption.set_MinimumWidth(60);
     this.counterConsumption.set_Name("counterConsumption");
     this.counterConsumption.set_ReadOnly(true);
     this.counterConsumption.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.counterConsumption.set_Width(60);
     this.NewValDate.set_DataPropertyName("NewValDate");
     this.NewValDate.set_HeaderText("Дата показания");
     this.NewValDate.set_MinimumWidth(100);
     this.NewValDate.set_Name("NewValDate");
     this.NewValDate.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dgcFromDate.set_DataPropertyName("CounterFromDate");
     style9.set_Format("dd.MM.yyyy");
     style9.set_NullValue(null);
     this.dgcFromDate.set_DefaultCellStyle(style9);
     this.dgcFromDate.set_HeaderText("Дата установки");
     this.dgcFromDate.set_MinimumWidth(0x4b);
     this.dgcFromDate.set_Name("dgcFromDate");
     this.dgcFromDate.set_ReadOnly(true);
     this.dgcFromDate.set_Visible(false);
     this.dgcFromDate.set_Width(0x4b);
     this.dgcVal.set_DataPropertyName("Val");
     style10.set_Format("N4");
     this.dgcVal.set_DefaultCellStyle(style10);
     this.dgcVal.set_HeaderText("Последнее показание");
     this.dgcVal.set_MinimumWidth(90);
     this.dgcVal.set_Name("dgcVal");
     this.dgcVal.set_ReadOnly(true);
     this.dgcVal.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcVal.set_ToolTipText("Последнее показание");
     this.dgcVal.set_Visible(false);
     this.dgcVal.set_Width(90);
     this.dgcValDate.set_DataPropertyName("ValDate");
     style11.set_Format("d");
     this.dgcValDate.set_DefaultCellStyle(style11);
     this.dgcValDate.set_HeaderText("Дата последнего показания");
     this.dgcValDate.set_MinimumWidth(0x4b);
     this.dgcValDate.set_Name("dgcValDate");
     this.dgcValDate.set_ReadOnly(true);
     this.dgcValDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcValDate.set_ToolTipText("Дата последнего показания");
     this.dgcValDate.set_Visible(false);
     this.dgcValDate.set_Width(0x4b);
     this.dgcServiceTypeName.set_DataPropertyName("ServiceTypeName");
     this.dgcServiceTypeName.set_HeaderText("Тип услуги");
     this.dgcServiceTypeName.set_MinimumWidth(150);
     this.dgcServiceTypeName.set_Name("dgcServiceTypeName");
     this.dgcServiceTypeName.set_ReadOnly(true);
     this.dgcServiceTypeName.set_Visible(false);
     this.dgcServiceTypeName.set_Width(150);
     this.InvoiceNumber.set_DataPropertyName("InvoiceNumber");
     this.InvoiceNumber.set_HeaderText("Номер квитанции");
     this.InvoiceNumber.set_MinimumWidth(80);
     this.InvoiceNumber.set_Name("InvoiceNumber");
     this.InvoiceNumber.set_Visible(false);
     this.InvoiceNumber.set_Width(80);
     this.Comment.set_DataPropertyName("Comment");
     this.Comment.set_HeaderText("Комментарий");
     this.Comment.set_MinimumWidth(100);
     this.Comment.set_Name("Comment");
     this.Comment.set_ToolTipText("Комментарий");
     this.Comment.set_Visible(false);
     this.newValueTemp.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     this.newValueTemp.set_DataPropertyName("NewVal");
     this.newValueTemp.set_HeaderText("Новое значение");
     this.newValueTemp.set_MinimumWidth(100);
     this.newValueTemp.set_Name("newValueTemp");
     this.newValueTemp.set_Visible(false);
     this.Id.set_DataPropertyName("Id");
     this.Id.set_HeaderText("Id");
     this.Id.set_Name("Id");
     this.Id.set_Visible(false);
     this.Id.set_Width(5);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.dgvApartmentCounterIndicationsView);
     base.Controls.Add(this.splitContainer1);
     base.Controls.Add(this.tsTop);
     base.set_Name("MassApartmentCounterIndicationInputView");
     base.set_Size(new System.Drawing.Size(0x38a, 0x12f));
     base.add_Load(new System.EventHandler(this.MassApartmentCounterIndicationInputView_Load));
     base.add_Enter(new System.EventHandler(this.MassApartmentCounterIndicationInputView_Enter));
     this.contextMenu.ResumeLayout(false);
     this.bsApartmentCounterIndicationInputView.EndInit();
     this.dgvApartmentCounterIndicationsView.EndInit();
     this.tsTop.ResumeLayout(false);
     this.tsTop.PerformLayout();
     this.tsBottom.ResumeLayout(false);
     this.tsBottom.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     this.splitContainer1.ResumeLayout(false);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Пример #12
0
 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();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tsbChangetsbAddPersonBenefitOut = new System.Windows.Forms.ToolStripButton();
     this.tsbAddPersonBenefitOut = new System.Windows.Forms.ToolStripButton();
     this.tsbDeletetsbAddPersonBenefitOut = new System.Windows.Forms.ToolStripButton();
     this.dgvPersonBenefitOuts = new System.Windows.Forms.DataGridView();
     this.IsDelete = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.periodDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ByPeriod = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.benefitCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.benefitNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.accountNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.summDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Comment = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsPersonBenefitOuts = new System.Windows.Forms.BindingSource(this.components);
     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.toolStrip1.SuspendLayout();
     this.dgvPersonBenefitOuts.BeginInit();
     this.bsPersonBenefitOuts.BeginInit();
     base.SuspendLayout();
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbAddPersonBenefitOut, this.tsbChangetsbAddPersonBenefitOut, this.tsbDeletetsbAddPersonBenefitOut });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x26f, 0x19));
     this.toolStrip1.set_TabIndex(0);
     this.toolStrip1.set_Text("toolStrip1");
     this.tsbChangetsbAddPersonBenefitOut.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbChangetsbAddPersonBenefitOut.set_Image(Resources.CHANGE);
     this.tsbChangetsbAddPersonBenefitOut.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.tsbChangetsbAddPersonBenefitOut.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbChangetsbAddPersonBenefitOut.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbChangetsbAddPersonBenefitOut.set_Name("tsbChangetsbAddPersonBenefitOut");
     this.tsbChangetsbAddPersonBenefitOut.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbChangetsbAddPersonBenefitOut.set_Text("Редактировать");
     this.tsbChangetsbAddPersonBenefitOut.add_Click(new System.EventHandler(this.tsbChangetsbAddPersonBenefitOut_Click));
     this.tsbAddPersonBenefitOut.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbAddPersonBenefitOut.set_Image(Resources.ADD);
     this.tsbAddPersonBenefitOut.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbAddPersonBenefitOut.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbAddPersonBenefitOut.set_Name("tsbAddPersonBenefitOut");
     this.tsbAddPersonBenefitOut.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.tsbAddPersonBenefitOut.set_Text("tsbAddPersonBenefitOut");
     this.tsbAddPersonBenefitOut.add_Click(new System.EventHandler(this.tsbAddPersonBenefitOut_Click));
     this.tsbDeletetsbAddPersonBenefitOut.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbDeletetsbAddPersonBenefitOut.set_Image(Resources.DELETE);
     this.tsbDeletetsbAddPersonBenefitOut.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbDeletetsbAddPersonBenefitOut.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbDeletetsbAddPersonBenefitOut.set_Name("tsbDeletetsbAddPersonBenefitOut");
     this.tsbDeletetsbAddPersonBenefitOut.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbDeletetsbAddPersonBenefitOut.set_Text("Удалить");
     this.tsbDeletetsbAddPersonBenefitOut.add_Click(new System.EventHandler(this.tsbDeletetsbAddPersonBenefitOut_Click));
     this.dgvPersonBenefitOuts.set_AllowUserToAddRows(false);
     this.dgvPersonBenefitOuts.set_AllowUserToDeleteRows(false);
     this.dgvPersonBenefitOuts.set_AllowUserToResizeRows(false);
     this.dgvPersonBenefitOuts.set_AutoGenerateColumns(false);
     this.dgvPersonBenefitOuts.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvPersonBenefitOuts.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvPersonBenefitOuts.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvPersonBenefitOuts.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.periodDataGridViewTextBoxColumn, this.ByPeriod, this.benefitCodeDataGridViewTextBoxColumn, this.benefitNameDataGridViewTextBoxColumn, this.accountNumberDataGridViewTextBoxColumn, this.summDataGridViewTextBoxColumn, this.createdDataGridViewTextBoxColumn, this.Comment, this.IsDelete });
     this.dgvPersonBenefitOuts.set_DataSource(this.bsPersonBenefitOuts);
     this.dgvPersonBenefitOuts.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvPersonBenefitOuts.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvPersonBenefitOuts.set_Name("dgvPersonBenefitOuts");
     this.dgvPersonBenefitOuts.set_ReadOnly(true);
     this.dgvPersonBenefitOuts.set_RowHeadersVisible(false);
     this.dgvPersonBenefitOuts.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvPersonBenefitOuts.set_Size(new System.Drawing.Size(0x26f, 0xef));
     this.dgvPersonBenefitOuts.set_TabIndex(1);
     this.dgvPersonBenefitOuts.add_Sorted(new System.EventHandler(this.dgvPersonBenefitOuts_Sorted));
     this.IsDelete.set_DataPropertyName("IsDelete");
     this.IsDelete.set_HeaderText("В архиве");
     this.IsDelete.set_MinimumWidth(80);
     this.IsDelete.set_Name("IsDelete");
     this.IsDelete.set_ReadOnly(true);
     this.IsDelete.set_Width(80);
     this.periodDataGridViewTextBoxColumn.set_DataPropertyName("Period");
     this.periodDataGridViewTextBoxColumn.set_HeaderText("Период");
     this.periodDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.periodDataGridViewTextBoxColumn.set_Name("periodDataGridViewTextBoxColumn");
     this.periodDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.periodDataGridViewTextBoxColumn.set_Width(80);
     this.ByPeriod.set_DataPropertyName("ByPeriod");
     this.ByPeriod.set_HeaderText("За период");
     this.ByPeriod.set_MinimumWidth(100);
     this.ByPeriod.set_Name("ByPeriod");
     this.ByPeriod.set_ReadOnly(true);
     this.benefitCodeDataGridViewTextBoxColumn.set_DataPropertyName("BenefitCode");
     this.benefitCodeDataGridViewTextBoxColumn.set_HeaderText("Код льготы");
     this.benefitCodeDataGridViewTextBoxColumn.set_MinimumWidth(90);
     this.benefitCodeDataGridViewTextBoxColumn.set_Name("benefitCodeDataGridViewTextBoxColumn");
     this.benefitCodeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.benefitCodeDataGridViewTextBoxColumn.set_Width(90);
     this.benefitNameDataGridViewTextBoxColumn.set_DataPropertyName("BenefitName");
     this.benefitNameDataGridViewTextBoxColumn.set_HeaderText("Наименование льготы");
     this.benefitNameDataGridViewTextBoxColumn.set_MinimumWidth(250);
     this.benefitNameDataGridViewTextBoxColumn.set_Name("benefitNameDataGridViewTextBoxColumn");
     this.benefitNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.benefitNameDataGridViewTextBoxColumn.set_Width(250);
     this.accountNumberDataGridViewTextBoxColumn.set_DataPropertyName("AccountNumber");
     this.accountNumberDataGridViewTextBoxColumn.set_HeaderText("Номер ЛС");
     this.accountNumberDataGridViewTextBoxColumn.set_MinimumWidth(100);
     this.accountNumberDataGridViewTextBoxColumn.set_Name("accountNumberDataGridViewTextBoxColumn");
     this.accountNumberDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.summDataGridViewTextBoxColumn.set_DataPropertyName("Summ");
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style.set_NullValue(null);
     this.summDataGridViewTextBoxColumn.set_DefaultCellStyle(style);
     this.summDataGridViewTextBoxColumn.set_HeaderText("Сумма");
     this.summDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.summDataGridViewTextBoxColumn.set_Name("summDataGridViewTextBoxColumn");
     this.summDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.summDataGridViewTextBoxColumn.set_Width(80);
     this.createdDataGridViewTextBoxColumn.set_DataPropertyName("Created");
     this.createdDataGridViewTextBoxColumn.set_HeaderText("Дата создания");
     this.createdDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.createdDataGridViewTextBoxColumn.set_Name("createdDataGridViewTextBoxColumn");
     this.createdDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.createdDataGridViewTextBoxColumn.set_Width(80);
     this.Comment.set_DataPropertyName("Comment");
     this.Comment.set_HeaderText("Комментарий");
     this.Comment.set_MinimumWidth(120);
     this.Comment.set_Name("Comment");
     this.Comment.set_ReadOnly(true);
     this.Comment.set_Width(120);
     this.bsPersonBenefitOuts.set_DataSource(typeof(PersonBenefitOut));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("Period");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Период");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(80);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("BenefitCode");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Код льготы");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(70);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("BenefitName");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Наименование льготы");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(150);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(150);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("AccountNumber");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Номер ЛС");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(250);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("Summ");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Сумма");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Width(80);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Created");
     style2.set_Format("C2");
     style2.set_NullValue(null);
     this.dataGridViewTextBoxColumn6.set_DefaultCellStyle(style2);
     this.dataGridViewTextBoxColumn6.set_HeaderText("Дата создания");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Width(80);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Дата создания");
     this.dataGridViewTextBoxColumn7.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Width(80);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("Comment");
     this.dataGridViewTextBoxColumn8.set_HeaderText("Комментарий");
     this.dataGridViewTextBoxColumn8.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Width(80);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.dgvPersonBenefitOuts);
     base.Controls.Add(this.toolStrip1);
     base.set_Name("PersonBenefitOutView");
     base.set_Size(new System.Drawing.Size(0x26f, 0x108));
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.dgvPersonBenefitOuts.EndInit();
     this.bsPersonBenefitOuts.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     Area area = new Area();
     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();
     this.label1 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.selectAddresses1 = new SelectAddresses();
     this.dgvAccountServiceCounter = new System.Windows.Forms.DataGridView();
     this.isArchiveDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.isNewDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.isDirtyDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.isDeletedDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.dgvcbSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.AdrName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.accountNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgvtbShare = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.FromDate = new DataGridViewDateColumn();
     this.ToDate = new DataGridViewDateColumn();
     this.Code = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serviceNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serviceTypeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ServiceProvider = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.accountServiceIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.accountIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serviceIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.serviceCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.orgCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.orgNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterSizeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterFactorDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterTypeIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterTypeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.maddleTypeIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.maddleTypeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterFromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterToDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.counterCreatedDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.shareDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.accountServiceFromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.accountServiceToDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.datecDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.datebDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dateeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.orgDocumentIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.orgDocumentViewDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.orgDocumentDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.objectWithIdTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsAccountServiceCounter = new System.Windows.Forms.BindingSource(this.components);
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tsbAllocation = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbAddLinkage = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewDateColumn1 = new DataGridViewDateColumn();
     this.dataGridViewDateColumn2 = new DataGridViewDateColumn();
     this.dataGridViewNumericColumn1 = new DataGridViewNumericColumn();
     this.dataGridViewNumericColumn2 = new DataGridViewNumericColumn();
     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.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn33 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn34 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn35 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn36 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn37 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn38 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn39 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn40 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel1.SuspendLayout();
     this.dgvAccountServiceCounter.BeginInit();
     this.bsAccountServiceCounter.BeginInit();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(3, 5));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x2c, 13));
     this.label1.set_TabIndex(1);
     this.label1.set_Text("Адреса");
     this.panel1.Controls.Add(this.selectAddresses1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.panel1.set_Location(new System.Drawing.Point(0, 0));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x2aa, 0x20));
     this.panel1.set_TabIndex(0x11);
     this.selectAddresses1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectAddresses1.IsByUser = false;
     this.selectAddresses1.set_Location(new System.Drawing.Point(0x35, 5));
     this.selectAddresses1.set_Name("selectAddresses1");
     area.AreaGroupId = 0L;
     area.AreaGroupName = null;
     area.Id = 0L;
     area.IsDeleted = false;
     area.IsDirty = false;
     area.Name = "";
     area.ObjectWithIdType = null;
     area.StatusTemporary = 0;
     this.selectAddresses1.SelectedArea = area;
     this.selectAddresses1.set_Size(new System.Drawing.Size(0x269, 20));
     this.selectAddresses1.set_TabIndex(60);
     this.dgvAccountServiceCounter.set_AllowUserToAddRows(false);
     this.dgvAccountServiceCounter.set_AllowUserToDeleteRows(false);
     this.dgvAccountServiceCounter.set_AutoGenerateColumns(false);
     this.dgvAccountServiceCounter.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvAccountServiceCounter.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvAccountServiceCounter.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.isArchiveDataGridViewCheckBoxColumn, this.isNewDataGridViewCheckBoxColumn, this.isDirtyDataGridViewCheckBoxColumn, this.isDeletedDataGridViewCheckBoxColumn, this.dgvcbSelected, this.AdrName, this.accountNumber, this.dgvtbShare, this.FromDate, this.ToDate, this.Code, this.serviceNameDataGridViewTextBoxColumn, this.serviceTypeNameDataGridViewTextBoxColumn, this.ServiceProvider, this.accountServiceIdDataGridViewTextBoxColumn, this.accountIdDataGridViewTextBoxColumn,
         this.serviceIdDataGridViewTextBoxColumn, this.serviceCodeDataGridViewTextBoxColumn, this.orgCodeDataGridViewTextBoxColumn, this.orgNameDataGridViewTextBoxColumn, this.counterIdDataGridViewTextBoxColumn, this.counterNameDataGridViewTextBoxColumn, this.counterNumberDataGridViewTextBoxColumn, this.counterSizeDataGridViewTextBoxColumn, this.counterFactorDataGridViewTextBoxColumn, this.counterTypeIdDataGridViewTextBoxColumn, this.counterTypeNameDataGridViewTextBoxColumn, this.maddleTypeIdDataGridViewTextBoxColumn, this.maddleTypeNameDataGridViewTextBoxColumn, this.counterFromDateDataGridViewTextBoxColumn, this.counterToDateDataGridViewTextBoxColumn, this.counterCreatedDataGridViewTextBoxColumn,
         this.shareDataGridViewTextBoxColumn, this.accountServiceFromDateDataGridViewTextBoxColumn, this.accountServiceToDateDataGridViewTextBoxColumn, this.datecDataGridViewTextBoxColumn, this.datebDataGridViewTextBoxColumn, this.dateeDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn, this.createdDataGridViewTextBoxColumn, this.orgDocumentIdDataGridViewTextBoxColumn, this.orgDocumentViewDataGridViewTextBoxColumn, this.orgDocumentDataGridViewTextBoxColumn, this.objectWithIdTypeDataGridViewTextBoxColumn, this.idDataGridViewTextBoxColumn
      });
     this.dgvAccountServiceCounter.set_DataSource(this.bsAccountServiceCounter);
     this.dgvAccountServiceCounter.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvAccountServiceCounter.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvAccountServiceCounter.set_Location(new System.Drawing.Point(0, 0x39));
     this.dgvAccountServiceCounter.set_Name("dgvAccountServiceCounter");
     this.dgvAccountServiceCounter.set_RowHeadersVisible(false);
     this.dgvAccountServiceCounter.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.CellSelect);
     this.dgvAccountServiceCounter.set_Size(new System.Drawing.Size(0x2aa, 0x119));
     this.dgvAccountServiceCounter.set_TabIndex(0x13);
     this.isArchiveDataGridViewCheckBoxColumn.set_DataPropertyName("IsArchive");
     this.isArchiveDataGridViewCheckBoxColumn.set_HeaderText("IsArchive");
     this.isArchiveDataGridViewCheckBoxColumn.set_Name("isArchiveDataGridViewCheckBoxColumn");
     this.isArchiveDataGridViewCheckBoxColumn.set_ReadOnly(true);
     this.isArchiveDataGridViewCheckBoxColumn.set_Visible(false);
     this.isArchiveDataGridViewCheckBoxColumn.set_Width(0x39);
     this.isNewDataGridViewCheckBoxColumn.set_DataPropertyName("IsNew");
     this.isNewDataGridViewCheckBoxColumn.set_HeaderText("IsNew");
     this.isNewDataGridViewCheckBoxColumn.set_Name("isNewDataGridViewCheckBoxColumn");
     this.isNewDataGridViewCheckBoxColumn.set_ReadOnly(true);
     this.isNewDataGridViewCheckBoxColumn.set_Visible(false);
     this.isNewDataGridViewCheckBoxColumn.set_Width(0x2b);
     this.isDirtyDataGridViewCheckBoxColumn.set_DataPropertyName("IsDirty");
     this.isDirtyDataGridViewCheckBoxColumn.set_HeaderText("IsDirty");
     this.isDirtyDataGridViewCheckBoxColumn.set_Name("isDirtyDataGridViewCheckBoxColumn");
     this.isDirtyDataGridViewCheckBoxColumn.set_Visible(false);
     this.isDirtyDataGridViewCheckBoxColumn.set_Width(0x2a);
     this.isDeletedDataGridViewCheckBoxColumn.set_DataPropertyName("IsDeleted");
     this.isDeletedDataGridViewCheckBoxColumn.set_HeaderText("IsDeleted");
     this.isDeletedDataGridViewCheckBoxColumn.set_Name("isDeletedDataGridViewCheckBoxColumn");
     this.isDeletedDataGridViewCheckBoxColumn.set_Visible(false);
     this.isDeletedDataGridViewCheckBoxColumn.set_Width(0x3a);
     this.dgvcbSelected.set_HeaderText("");
     this.dgvcbSelected.set_Name("dgvcbSelected");
     this.dgvcbSelected.set_Width(20);
     this.AdrName.set_DataPropertyName("AccountAddressName");
     this.AdrName.set_HeaderText("Адрес");
     this.AdrName.set_Name("AdrName");
     this.AdrName.set_ReadOnly(true);
     this.AdrName.set_Width(150);
     this.accountNumber.set_DataPropertyName("AccountNumber");
     this.accountNumber.set_HeaderText("Номер лицевого счета");
     this.accountNumber.set_Name("accountNumber");
     this.accountNumber.set_ReadOnly(true);
     this.accountNumber.set_Width(120);
     this.dgvtbShare.set_DataPropertyName("Share");
     style.set_BackColor(System.Drawing.Color.LemonChiffon);
     this.dgvtbShare.set_DefaultCellStyle(style);
     this.dgvtbShare.set_HeaderText("Доля");
     this.dgvtbShare.set_Name("dgvtbShare");
     this.dgvtbShare.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvtbShare.set_Width(60);
     style2.set_BackColor(System.Drawing.Color.LemonChiffon);
     style2.set_Format("d");
     style2.set_NullValue(null);
     this.FromDate.set_DefaultCellStyle(style2);
     this.FromDate.set_HeaderText("Начало привязки");
     this.FromDate.set_Name("FromDate");
     this.FromDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.FromDate.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.FromDate.set_ToolTipText("Начало привязки услуги");
     this.FromDate.set_Width(0x55);
     style3.set_BackColor(System.Drawing.Color.LemonChiffon);
     style3.set_Format("d");
     this.ToDate.set_DefaultCellStyle(style3);
     this.ToDate.set_HeaderText("Окончание привязки");
     this.ToDate.set_Name("ToDate");
     this.ToDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.ToDate.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.ToDate.set_ToolTipText("Окончание привязки услуги");
     this.ToDate.set_Width(0x55);
     this.Code.set_DataPropertyName("serviceCode");
     this.Code.set_HeaderText("Код услуги");
     this.Code.set_Name("Code");
     this.Code.set_ReadOnly(true);
     this.Code.set_Width(50);
     this.serviceNameDataGridViewTextBoxColumn.set_DataPropertyName("ServiceName");
     this.serviceNameDataGridViewTextBoxColumn.set_HeaderText("Услуга");
     this.serviceNameDataGridViewTextBoxColumn.set_Name("serviceNameDataGridViewTextBoxColumn");
     this.serviceNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.serviceTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("ServiceTypeName");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_HeaderText("Тип услуги");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_Name("serviceTypeNameDataGridViewTextBoxColumn");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.serviceTypeNameDataGridViewTextBoxColumn.set_Width(120);
     this.ServiceProvider.set_DataPropertyName("OrgName");
     this.ServiceProvider.set_HeaderText("Поставщик");
     this.ServiceProvider.set_Name("ServiceProvider");
     this.ServiceProvider.set_ReadOnly(true);
     this.ServiceProvider.set_Width(90);
     this.accountServiceIdDataGridViewTextBoxColumn.set_DataPropertyName("AccountServiceId");
     this.accountServiceIdDataGridViewTextBoxColumn.set_HeaderText("AccountServiceId");
     this.accountServiceIdDataGridViewTextBoxColumn.set_Name("accountServiceIdDataGridViewTextBoxColumn");
     this.accountServiceIdDataGridViewTextBoxColumn.set_Visible(false);
     this.accountServiceIdDataGridViewTextBoxColumn.set_Width(0x75);
     this.accountIdDataGridViewTextBoxColumn.set_DataPropertyName("AccountId");
     this.accountIdDataGridViewTextBoxColumn.set_HeaderText("AccountId");
     this.accountIdDataGridViewTextBoxColumn.set_Name("accountIdDataGridViewTextBoxColumn");
     this.accountIdDataGridViewTextBoxColumn.set_Visible(false);
     this.accountIdDataGridViewTextBoxColumn.set_Width(0x51);
     this.serviceIdDataGridViewTextBoxColumn.set_DataPropertyName("ServiceId");
     this.serviceIdDataGridViewTextBoxColumn.set_HeaderText("ServiceId");
     this.serviceIdDataGridViewTextBoxColumn.set_Name("serviceIdDataGridViewTextBoxColumn");
     this.serviceIdDataGridViewTextBoxColumn.set_Visible(false);
     this.serviceIdDataGridViewTextBoxColumn.set_Width(0x4d);
     this.serviceCodeDataGridViewTextBoxColumn.set_DataPropertyName("ServiceCode");
     this.serviceCodeDataGridViewTextBoxColumn.set_HeaderText("ServiceCode");
     this.serviceCodeDataGridViewTextBoxColumn.set_Name("serviceCodeDataGridViewTextBoxColumn");
     this.serviceCodeDataGridViewTextBoxColumn.set_Visible(false);
     this.serviceCodeDataGridViewTextBoxColumn.set_Width(0x5d);
     this.orgCodeDataGridViewTextBoxColumn.set_DataPropertyName("OrgCode");
     this.orgCodeDataGridViewTextBoxColumn.set_HeaderText("OrgCode");
     this.orgCodeDataGridViewTextBoxColumn.set_Name("orgCodeDataGridViewTextBoxColumn");
     this.orgCodeDataGridViewTextBoxColumn.set_Visible(false);
     this.orgCodeDataGridViewTextBoxColumn.set_Width(0x4a);
     this.orgNameDataGridViewTextBoxColumn.set_DataPropertyName("OrgName");
     this.orgNameDataGridViewTextBoxColumn.set_HeaderText("OrgName");
     this.orgNameDataGridViewTextBoxColumn.set_Name("orgNameDataGridViewTextBoxColumn");
     this.orgNameDataGridViewTextBoxColumn.set_Visible(false);
     this.orgNameDataGridViewTextBoxColumn.set_Width(0x4d);
     this.counterIdDataGridViewTextBoxColumn.set_DataPropertyName("CounterId");
     this.counterIdDataGridViewTextBoxColumn.set_HeaderText("CounterId");
     this.counterIdDataGridViewTextBoxColumn.set_Name("counterIdDataGridViewTextBoxColumn");
     this.counterIdDataGridViewTextBoxColumn.set_Visible(false);
     this.counterIdDataGridViewTextBoxColumn.set_Width(0x4e);
     this.counterNameDataGridViewTextBoxColumn.set_DataPropertyName("CounterName");
     this.counterNameDataGridViewTextBoxColumn.set_HeaderText("CounterName");
     this.counterNameDataGridViewTextBoxColumn.set_Name("counterNameDataGridViewTextBoxColumn");
     this.counterNameDataGridViewTextBoxColumn.set_Visible(false);
     this.counterNameDataGridViewTextBoxColumn.set_Width(0x61);
     this.counterNumberDataGridViewTextBoxColumn.set_DataPropertyName("CounterNumber");
     this.counterNumberDataGridViewTextBoxColumn.set_HeaderText("CounterNumber");
     this.counterNumberDataGridViewTextBoxColumn.set_Name("counterNumberDataGridViewTextBoxColumn");
     this.counterNumberDataGridViewTextBoxColumn.set_Visible(false);
     this.counterNumberDataGridViewTextBoxColumn.set_Width(0x6a);
     this.counterSizeDataGridViewTextBoxColumn.set_DataPropertyName("CounterSize");
     this.counterSizeDataGridViewTextBoxColumn.set_HeaderText("CounterSize");
     this.counterSizeDataGridViewTextBoxColumn.set_Name("counterSizeDataGridViewTextBoxColumn");
     this.counterSizeDataGridViewTextBoxColumn.set_Visible(false);
     this.counterSizeDataGridViewTextBoxColumn.set_Width(0x59);
     this.counterFactorDataGridViewTextBoxColumn.set_DataPropertyName("CounterFactor");
     this.counterFactorDataGridViewTextBoxColumn.set_HeaderText("CounterFactor");
     this.counterFactorDataGridViewTextBoxColumn.set_Name("counterFactorDataGridViewTextBoxColumn");
     this.counterFactorDataGridViewTextBoxColumn.set_Visible(false);
     this.counterFactorDataGridViewTextBoxColumn.set_Width(0x63);
     this.counterTypeIdDataGridViewTextBoxColumn.set_DataPropertyName("CounterTypeId");
     this.counterTypeIdDataGridViewTextBoxColumn.set_HeaderText("CounterTypeId");
     this.counterTypeIdDataGridViewTextBoxColumn.set_Name("counterTypeIdDataGridViewTextBoxColumn");
     this.counterTypeIdDataGridViewTextBoxColumn.set_Visible(false);
     this.counterTypeIdDataGridViewTextBoxColumn.set_Width(0x66);
     this.counterTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("CounterTypeName");
     this.counterTypeNameDataGridViewTextBoxColumn.set_HeaderText("CounterTypeName");
     this.counterTypeNameDataGridViewTextBoxColumn.set_Name("counterTypeNameDataGridViewTextBoxColumn");
     this.counterTypeNameDataGridViewTextBoxColumn.set_Visible(false);
     this.counterTypeNameDataGridViewTextBoxColumn.set_Width(0x79);
     this.maddleTypeIdDataGridViewTextBoxColumn.set_DataPropertyName("MaddleTypeId");
     this.maddleTypeIdDataGridViewTextBoxColumn.set_HeaderText("MaddleTypeId");
     this.maddleTypeIdDataGridViewTextBoxColumn.set_Name("maddleTypeIdDataGridViewTextBoxColumn");
     this.maddleTypeIdDataGridViewTextBoxColumn.set_Visible(false);
     this.maddleTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("MaddleTypeName");
     this.maddleTypeNameDataGridViewTextBoxColumn.set_HeaderText("MaddleTypeName");
     this.maddleTypeNameDataGridViewTextBoxColumn.set_Name("maddleTypeNameDataGridViewTextBoxColumn");
     this.maddleTypeNameDataGridViewTextBoxColumn.set_Visible(false);
     this.maddleTypeNameDataGridViewTextBoxColumn.set_Width(0x77);
     this.counterFromDateDataGridViewTextBoxColumn.set_DataPropertyName("CounterFromDate");
     this.counterFromDateDataGridViewTextBoxColumn.set_HeaderText("CounterFromDate");
     this.counterFromDateDataGridViewTextBoxColumn.set_Name("counterFromDateDataGridViewTextBoxColumn");
     this.counterFromDateDataGridViewTextBoxColumn.set_Visible(false);
     this.counterFromDateDataGridViewTextBoxColumn.set_Width(0x73);
     this.counterToDateDataGridViewTextBoxColumn.set_DataPropertyName("CounterToDate");
     this.counterToDateDataGridViewTextBoxColumn.set_HeaderText("CounterToDate");
     this.counterToDateDataGridViewTextBoxColumn.set_Name("counterToDateDataGridViewTextBoxColumn");
     this.counterToDateDataGridViewTextBoxColumn.set_Visible(false);
     this.counterToDateDataGridViewTextBoxColumn.set_Width(0x69);
     this.counterCreatedDataGridViewTextBoxColumn.set_DataPropertyName("CounterCreated");
     this.counterCreatedDataGridViewTextBoxColumn.set_HeaderText("CounterCreated");
     this.counterCreatedDataGridViewTextBoxColumn.set_Name("counterCreatedDataGridViewTextBoxColumn");
     this.counterCreatedDataGridViewTextBoxColumn.set_Visible(false);
     this.counterCreatedDataGridViewTextBoxColumn.set_Width(0x6a);
     this.shareDataGridViewTextBoxColumn.set_DataPropertyName("Share");
     this.shareDataGridViewTextBoxColumn.set_HeaderText("Share");
     this.shareDataGridViewTextBoxColumn.set_Name("shareDataGridViewTextBoxColumn");
     this.shareDataGridViewTextBoxColumn.set_Visible(false);
     this.shareDataGridViewTextBoxColumn.set_Width(60);
     this.accountServiceFromDateDataGridViewTextBoxColumn.set_DataPropertyName("AccountServiceFromDate");
     this.accountServiceFromDateDataGridViewTextBoxColumn.set_HeaderText("AccountServiceFromDate");
     this.accountServiceFromDateDataGridViewTextBoxColumn.set_Name("accountServiceFromDateDataGridViewTextBoxColumn");
     this.accountServiceFromDateDataGridViewTextBoxColumn.set_Visible(false);
     this.accountServiceFromDateDataGridViewTextBoxColumn.set_Width(0x9a);
     this.accountServiceToDateDataGridViewTextBoxColumn.set_DataPropertyName("AccountServiceToDate");
     this.accountServiceToDateDataGridViewTextBoxColumn.set_HeaderText("AccountServiceToDate");
     this.accountServiceToDateDataGridViewTextBoxColumn.set_Name("accountServiceToDateDataGridViewTextBoxColumn");
     this.accountServiceToDateDataGridViewTextBoxColumn.set_Visible(false);
     this.accountServiceToDateDataGridViewTextBoxColumn.set_Width(0x90);
     this.datecDataGridViewTextBoxColumn.set_DataPropertyName("Datec");
     this.datecDataGridViewTextBoxColumn.set_HeaderText("Datec");
     this.datecDataGridViewTextBoxColumn.set_Name("datecDataGridViewTextBoxColumn");
     this.datecDataGridViewTextBoxColumn.set_Visible(false);
     this.datecDataGridViewTextBoxColumn.set_Width(0x3d);
     this.datebDataGridViewTextBoxColumn.set_DataPropertyName("Dateb");
     this.datebDataGridViewTextBoxColumn.set_HeaderText("Dateb");
     this.datebDataGridViewTextBoxColumn.set_Name("datebDataGridViewTextBoxColumn");
     this.datebDataGridViewTextBoxColumn.set_Visible(false);
     this.datebDataGridViewTextBoxColumn.set_Width(0x3d);
     this.dateeDataGridViewTextBoxColumn.set_DataPropertyName("Datee");
     this.dateeDataGridViewTextBoxColumn.set_HeaderText("Datee");
     this.dateeDataGridViewTextBoxColumn.set_Name("dateeDataGridViewTextBoxColumn");
     this.dateeDataGridViewTextBoxColumn.set_Visible(false);
     this.dateeDataGridViewTextBoxColumn.set_Width(0x3d);
     this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn.set_HeaderText("FromDate");
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_Visible(false);
     this.fromDateDataGridViewTextBoxColumn.set_Width(0x4e);
     this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate");
     this.toDateDataGridViewTextBoxColumn.set_HeaderText("ToDate");
     this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn");
     this.toDateDataGridViewTextBoxColumn.set_Visible(false);
     this.toDateDataGridViewTextBoxColumn.set_Width(0x44);
     this.createdDataGridViewTextBoxColumn.set_DataPropertyName("Created");
     this.createdDataGridViewTextBoxColumn.set_HeaderText("Created");
     this.createdDataGridViewTextBoxColumn.set_Name("createdDataGridViewTextBoxColumn");
     this.createdDataGridViewTextBoxColumn.set_Visible(false);
     this.createdDataGridViewTextBoxColumn.set_Width(0x45);
     this.orgDocumentIdDataGridViewTextBoxColumn.set_DataPropertyName("OrgDocumentId");
     this.orgDocumentIdDataGridViewTextBoxColumn.set_HeaderText("OrgDocumentId");
     this.orgDocumentIdDataGridViewTextBoxColumn.set_Name("orgDocumentIdDataGridViewTextBoxColumn");
     this.orgDocumentIdDataGridViewTextBoxColumn.set_Visible(false);
     this.orgDocumentIdDataGridViewTextBoxColumn.set_Width(0x6b);
     this.orgDocumentViewDataGridViewTextBoxColumn.set_DataPropertyName("OrgDocumentView");
     this.orgDocumentViewDataGridViewTextBoxColumn.set_HeaderText("OrgDocumentView");
     this.orgDocumentViewDataGridViewTextBoxColumn.set_Name("orgDocumentViewDataGridViewTextBoxColumn");
     this.orgDocumentViewDataGridViewTextBoxColumn.set_Visible(false);
     this.orgDocumentViewDataGridViewTextBoxColumn.set_Width(0x79);
     this.orgDocumentDataGridViewTextBoxColumn.set_DataPropertyName("OrgDocument");
     this.orgDocumentDataGridViewTextBoxColumn.set_HeaderText("OrgDocument");
     this.orgDocumentDataGridViewTextBoxColumn.set_Name("orgDocumentDataGridViewTextBoxColumn");
     this.orgDocumentDataGridViewTextBoxColumn.set_Visible(false);
     this.orgDocumentDataGridViewTextBoxColumn.set_Width(0x62);
     this.objectWithIdTypeDataGridViewTextBoxColumn.set_DataPropertyName("ObjectWithIdType");
     this.objectWithIdTypeDataGridViewTextBoxColumn.set_HeaderText("ObjectWithIdType");
     this.objectWithIdTypeDataGridViewTextBoxColumn.set_Name("objectWithIdTypeDataGridViewTextBoxColumn");
     this.objectWithIdTypeDataGridViewTextBoxColumn.set_Visible(false);
     this.objectWithIdTypeDataGridViewTextBoxColumn.set_Width(0x76);
     this.idDataGridViewTextBoxColumn.set_DataPropertyName("Id");
     this.idDataGridViewTextBoxColumn.set_HeaderText("Id");
     this.idDataGridViewTextBoxColumn.set_Name("idDataGridViewTextBoxColumn");
     this.idDataGridViewTextBoxColumn.set_Visible(false);
     this.idDataGridViewTextBoxColumn.set_Width(0x29);
     this.bsAccountServiceCounter.set_DataSource(typeof(AccountServiceCounter));
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbAllocation, this.toolStripSeparator1, this.tsbAddLinkage, this.toolStripSeparator3 });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0x20));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x2aa, 0x19));
     this.toolStrip1.set_TabIndex(20);
     this.toolStrip1.set_Text("toolStrip1");
     this.tsbAllocation.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbAllocation.set_Image(Resources.ENABLED);
     this.tsbAllocation.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbAllocation.set_Name("tsbAllocation");
     this.tsbAllocation.set_Size(new System.Drawing.Size(0x17, 0x16));
     this.tsbAllocation.set_Text("Выделить все");
     this.tsbAllocation.add_Click(new System.EventHandler(this.tsbAllocation_Click));
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsbAddLinkage.set_Image(Resources.ADD);
     this.tsbAddLinkage.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbAddLinkage.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbAddLinkage.set_Name("tsbAddLinkage");
     this.tsbAddLinkage.set_Size(new System.Drawing.Size(0x55, 0x16));
     this.tsbAddLinkage.set_Text("Привязать");
     this.tsbAddLinkage.add_Click(new System.EventHandler(this.bAddLinking_Click));
     this.toolStripSeparator3.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.toolStripSeparator3.set_Name("toolStripSeparator3");
     this.toolStripSeparator3.set_Size(new System.Drawing.Size(6, 0x19));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("serviceCode");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Код");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(0x33);
     this.dataGridViewTextBoxColumn2.set_HeaderText("Адрес");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x3f);
     style4.set_BackColor(System.Drawing.Color.LemonChiffon);
     style4.set_Format("d");
     style4.set_NullValue(null);
     this.dataGridViewDateColumn1.set_DefaultCellStyle(style4);
     this.dataGridViewDateColumn1.set_HeaderText("Начало привязки");
     this.dataGridViewDateColumn1.set_Name("dataGridViewDateColumn1");
     this.dataGridViewDateColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewDateColumn1.set_ToolTipText("Начало привязки услуги");
     this.dataGridViewDateColumn1.set_Width(0x55);
     style5.set_BackColor(System.Drawing.Color.LemonChiffon);
     style5.set_Format("d");
     this.dataGridViewDateColumn2.set_DefaultCellStyle(style5);
     this.dataGridViewDateColumn2.set_HeaderText("Окончание привязки");
     this.dataGridViewDateColumn2.set_Name("dataGridViewDateColumn2");
     this.dataGridViewDateColumn2.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateColumn2.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewDateColumn2.set_ToolTipText("Окончание привязки услуги");
     this.dataGridViewDateColumn2.set_Width(0x55);
     this.dataGridViewNumericColumn1.set_DataPropertyName("Share");
     this.dataGridViewNumericColumn1.DecimalPlaces = 0;
     int[] numArray = new int[4];
     this.dataGridViewNumericColumn1.DefaultValue = new decimal(numArray);
     this.dataGridViewNumericColumn1.set_HeaderText("Доля");
     int[] numArray2 = new int[4];
     numArray2[0] = 100;
     this.dataGridViewNumericColumn1.Maximum = new decimal(numArray2);
     int[] numArray3 = new int[4];
     this.dataGridViewNumericColumn1.Minimum = new decimal(numArray3);
     this.dataGridViewNumericColumn1.set_Name("dataGridViewNumericColumn1");
     this.dataGridViewNumericColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewNumericColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewNumericColumn1.set_Width(0x3b);
     this.dataGridViewNumericColumn2.set_DataPropertyName("Share");
     this.dataGridViewNumericColumn2.DecimalPlaces = 0;
     int[] numArray4 = new int[4];
     this.dataGridViewNumericColumn2.DefaultValue = new decimal(numArray4);
     this.dataGridViewNumericColumn2.set_HeaderText("Доля");
     int[] numArray5 = new int[4];
     numArray5[0] = 100;
     this.dataGridViewNumericColumn2.Maximum = new decimal(numArray5);
     int[] numArray6 = new int[4];
     this.dataGridViewNumericColumn2.Minimum = new decimal(numArray6);
     this.dataGridViewNumericColumn2.set_Name("dataGridViewNumericColumn2");
     this.dataGridViewNumericColumn2.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewNumericColumn2.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewNumericColumn2.set_Width(0x3b);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Номер лицевого счета");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_Width(0x86);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("ServiceName");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Услуга");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_Width(0x44);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("ServiceTypeName");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Тип услуги");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_Width(80);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("OrgName");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Поставщик");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_Width(90);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("AccountServiceId");
     this.dataGridViewTextBoxColumn7.set_HeaderText("AccountServiceId");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_Width(0x75);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("AccountId");
     this.dataGridViewTextBoxColumn8.set_HeaderText("AccountId");
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_Width(0x51);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("ServiceId");
     this.dataGridViewTextBoxColumn9.set_HeaderText("ServiceId");
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_Width(0x4d);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("ServiceCode");
     this.dataGridViewTextBoxColumn10.set_HeaderText("ServiceCode");
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_Width(0x5d);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("ServiceName");
     this.dataGridViewTextBoxColumn11.set_HeaderText("ServiceName");
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_Width(0x60);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("ServiceTypeName");
     this.dataGridViewTextBoxColumn12.set_HeaderText("ServiceTypeName");
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_Width(120);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("OrgCode");
     this.dataGridViewTextBoxColumn13.set_HeaderText("OrgCode");
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn13.set_Width(0x4a);
     this.dataGridViewTextBoxColumn14.set_DataPropertyName("OrgName");
     this.dataGridViewTextBoxColumn14.set_HeaderText("OrgName");
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn14.set_Width(0x4d);
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("CounterId");
     this.dataGridViewTextBoxColumn15.set_HeaderText("CounterId");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn15.set_Width(0x4e);
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("CounterName");
     this.dataGridViewTextBoxColumn16.set_HeaderText("CounterName");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     this.dataGridViewTextBoxColumn16.set_Width(0x61);
     this.dataGridViewTextBoxColumn17.set_DataPropertyName("CounterNumber");
     this.dataGridViewTextBoxColumn17.set_HeaderText("CounterNumber");
     this.dataGridViewTextBoxColumn17.set_Name("dataGridViewTextBoxColumn17");
     this.dataGridViewTextBoxColumn17.set_Width(0x6a);
     this.dataGridViewTextBoxColumn18.set_DataPropertyName("CounterSize");
     this.dataGridViewTextBoxColumn18.set_HeaderText("CounterSize");
     this.dataGridViewTextBoxColumn18.set_Name("dataGridViewTextBoxColumn18");
     this.dataGridViewTextBoxColumn18.set_Width(0x59);
     this.dataGridViewTextBoxColumn19.set_DataPropertyName("CounterFactor");
     this.dataGridViewTextBoxColumn19.set_HeaderText("CounterFactor");
     this.dataGridViewTextBoxColumn19.set_Name("dataGridViewTextBoxColumn19");
     this.dataGridViewTextBoxColumn19.set_Width(0x63);
     this.dataGridViewTextBoxColumn20.set_DataPropertyName("CounterTypeId");
     this.dataGridViewTextBoxColumn20.set_HeaderText("CounterTypeId");
     this.dataGridViewTextBoxColumn20.set_Name("dataGridViewTextBoxColumn20");
     this.dataGridViewTextBoxColumn20.set_Width(0x66);
     this.dataGridViewTextBoxColumn21.set_DataPropertyName("CounterTypeName");
     this.dataGridViewTextBoxColumn21.set_HeaderText("CounterTypeName");
     this.dataGridViewTextBoxColumn21.set_Name("dataGridViewTextBoxColumn21");
     this.dataGridViewTextBoxColumn21.set_Width(0x79);
     this.dataGridViewTextBoxColumn22.set_DataPropertyName("MaddleTypeId");
     this.dataGridViewTextBoxColumn22.set_HeaderText("MaddleTypeId");
     this.dataGridViewTextBoxColumn22.set_Name("dataGridViewTextBoxColumn22");
     this.dataGridViewTextBoxColumn23.set_DataPropertyName("MaddleTypeName");
     this.dataGridViewTextBoxColumn23.set_HeaderText("MaddleTypeName");
     this.dataGridViewTextBoxColumn23.set_Name("dataGridViewTextBoxColumn23");
     this.dataGridViewTextBoxColumn23.set_Width(0x77);
     this.dataGridViewTextBoxColumn24.set_DataPropertyName("CounterFromDate");
     this.dataGridViewTextBoxColumn24.set_HeaderText("CounterFromDate");
     this.dataGridViewTextBoxColumn24.set_Name("dataGridViewTextBoxColumn24");
     this.dataGridViewTextBoxColumn24.set_Width(0x73);
     this.dataGridViewTextBoxColumn25.set_DataPropertyName("CounterToDate");
     this.dataGridViewTextBoxColumn25.set_HeaderText("CounterToDate");
     this.dataGridViewTextBoxColumn25.set_Name("dataGridViewTextBoxColumn25");
     this.dataGridViewTextBoxColumn25.set_Width(0x69);
     this.dataGridViewTextBoxColumn26.set_DataPropertyName("CounterCreated");
     this.dataGridViewTextBoxColumn26.set_HeaderText("CounterCreated");
     this.dataGridViewTextBoxColumn26.set_Name("dataGridViewTextBoxColumn26");
     this.dataGridViewTextBoxColumn26.set_Width(0x6a);
     this.dataGridViewTextBoxColumn27.set_DataPropertyName("Share");
     this.dataGridViewTextBoxColumn27.set_HeaderText("Share");
     this.dataGridViewTextBoxColumn27.set_Name("dataGridViewTextBoxColumn27");
     this.dataGridViewTextBoxColumn27.set_Width(60);
     this.dataGridViewTextBoxColumn28.set_DataPropertyName("AccountServiceFromDate");
     this.dataGridViewTextBoxColumn28.set_HeaderText("AccountServiceFromDate");
     this.dataGridViewTextBoxColumn28.set_Name("dataGridViewTextBoxColumn28");
     this.dataGridViewTextBoxColumn28.set_Width(0x9a);
     this.dataGridViewTextBoxColumn29.set_DataPropertyName("AccountServiceToDate");
     this.dataGridViewTextBoxColumn29.set_HeaderText("AccountServiceToDate");
     this.dataGridViewTextBoxColumn29.set_Name("dataGridViewTextBoxColumn29");
     this.dataGridViewTextBoxColumn29.set_Width(0x90);
     this.dataGridViewTextBoxColumn30.set_DataPropertyName("Datec");
     this.dataGridViewTextBoxColumn30.set_HeaderText("Datec");
     this.dataGridViewTextBoxColumn30.set_Name("dataGridViewTextBoxColumn30");
     this.dataGridViewTextBoxColumn30.set_Width(0x3d);
     this.dataGridViewTextBoxColumn31.set_DataPropertyName("Dateb");
     this.dataGridViewTextBoxColumn31.set_HeaderText("Dateb");
     this.dataGridViewTextBoxColumn31.set_Name("dataGridViewTextBoxColumn31");
     this.dataGridViewTextBoxColumn31.set_Width(0x3d);
     this.dataGridViewTextBoxColumn32.set_DataPropertyName("Datee");
     this.dataGridViewTextBoxColumn32.set_HeaderText("Datee");
     this.dataGridViewTextBoxColumn32.set_Name("dataGridViewTextBoxColumn32");
     this.dataGridViewTextBoxColumn32.set_Width(0x3d);
     this.dataGridViewTextBoxColumn33.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn33.set_HeaderText("FromDate");
     this.dataGridViewTextBoxColumn33.set_Name("dataGridViewTextBoxColumn33");
     this.dataGridViewTextBoxColumn33.set_Width(0x4e);
     this.dataGridViewTextBoxColumn34.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn34.set_HeaderText("ToDate");
     this.dataGridViewTextBoxColumn34.set_Name("dataGridViewTextBoxColumn34");
     this.dataGridViewTextBoxColumn34.set_Width(0x44);
     this.dataGridViewTextBoxColumn35.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn35.set_HeaderText("Created");
     this.dataGridViewTextBoxColumn35.set_Name("dataGridViewTextBoxColumn35");
     this.dataGridViewTextBoxColumn35.set_Width(0x45);
     this.dataGridViewTextBoxColumn36.set_DataPropertyName("OrgDocumentId");
     this.dataGridViewTextBoxColumn36.set_HeaderText("OrgDocumentId");
     this.dataGridViewTextBoxColumn36.set_Name("dataGridViewTextBoxColumn36");
     this.dataGridViewTextBoxColumn36.set_Width(0x6b);
     this.dataGridViewTextBoxColumn37.set_DataPropertyName("OrgDocumentView");
     this.dataGridViewTextBoxColumn37.set_HeaderText("OrgDocumentView");
     this.dataGridViewTextBoxColumn37.set_Name("dataGridViewTextBoxColumn37");
     this.dataGridViewTextBoxColumn37.set_Width(0x79);
     this.dataGridViewTextBoxColumn38.set_DataPropertyName("OrgDocument");
     this.dataGridViewTextBoxColumn38.set_HeaderText("OrgDocument");
     this.dataGridViewTextBoxColumn38.set_Name("dataGridViewTextBoxColumn38");
     this.dataGridViewTextBoxColumn38.set_Width(0x62);
     this.dataGridViewTextBoxColumn39.set_DataPropertyName("ObjectWithIdType");
     this.dataGridViewTextBoxColumn39.set_HeaderText("ObjectWithIdType");
     this.dataGridViewTextBoxColumn39.set_Name("dataGridViewTextBoxColumn39");
     this.dataGridViewTextBoxColumn39.set_Width(0x76);
     this.dataGridViewTextBoxColumn40.set_DataPropertyName("Id");
     this.dataGridViewTextBoxColumn40.set_HeaderText("Id");
     this.dataGridViewTextBoxColumn40.set_Name("dataGridViewTextBoxColumn40");
     this.dataGridViewTextBoxColumn40.set_Width(0x29);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x2aa, 0x152));
     base.Controls.Add(this.dgvAccountServiceCounter);
     base.Controls.Add(this.toolStrip1);
     base.Controls.Add(this.panel1);
     base.set_MaximizeBox(false);
     base.set_MinimizeBox(false);
     base.set_Name("ApartmentCounterAddLinkingForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("Добавление ссылки на  счетчик");
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.dgvAccountServiceCounter.EndInit();
     this.bsAccountServiceCounter.EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Пример #14
0
 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);
 }
Пример #15
0
 private void InitializeComponent()
 {
     this.components = new Container();
     System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle();
     this.label6 = new System.Windows.Forms.Label();
     this.btnSave = new System.Windows.Forms.Button();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.tbxShortName = new System.Windows.Forms.TextBox();
     this.tbxCode = new System.Windows.Forms.TextBox();
     this.tbxLongName = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.dgvLaw = new System.Windows.Forms.DataGridView();
     this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Dateb = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.BudgetFasetName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.OrgName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsLaw = new System.Windows.Forms.BindingSource(this.components);
     this.label3 = new System.Windows.Forms.Label();
     this.btnCancel = new System.Windows.Forms.Button();
     this.tbxExternalCode = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.selectCalcFeature = new SelectFasetData();
     this.dateBoxMonetization = new DateBox();
     this.label5 = new System.Windows.Forms.Label();
     this.bsOrganizations = new System.Windows.Forms.BindingSource(this.components);
     this.dgvLaw.BeginInit();
     this.bsLaw.BeginInit();
     this.bsOrganizations.BeginInit();
     base.SuspendLayout();
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(3, 0x7f));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x5d, 13));
     this.label6.set_TabIndex(0x25);
     this.label6.set_Text("Выберите закон:");
     this.btnSave.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnSave.set_Location(new System.Drawing.Point(0x153, 0x129));
     this.btnSave.set_Name("btnSave");
     this.btnSave.set_Size(new System.Drawing.Size(0x55, 0x19));
     this.btnSave.set_TabIndex(10);
     this.btnSave.set_Text("Сохранить");
     this.btnSave.set_UseVisualStyleBackColor(true);
     this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.label7.set_AutoSize(true);
     this.label7.set_Location(new System.Drawing.Point(3, 0x29));
     this.label7.set_Name("label7");
     this.label7.set_Size(new System.Drawing.Size(0x84, 13));
     this.label7.set_TabIndex(40);
     this.label7.set_Text("Короткое наименование");
     this.label8.set_AutoSize(true);
     this.label8.set_Location(new System.Drawing.Point(3, 15));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(0x41, 13));
     this.label8.set_TabIndex(0x29);
     this.label8.set_Text("Код льготы");
     this.tbxShortName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbxShortName.set_Location(new System.Drawing.Point(0x89, 0x26));
     this.tbxShortName.set_Name("tbxShortName");
     this.tbxShortName.set_Size(new System.Drawing.Size(0x17a, 20));
     this.tbxShortName.set_TabIndex(5);
     this.tbxCode.set_Location(new System.Drawing.Point(0x89, 12));
     this.tbxCode.set_Name("tbxCode");
     this.tbxCode.set_Size(new System.Drawing.Size(0x7f, 20));
     this.tbxCode.set_TabIndex(3);
     this.tbxLongName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbxLongName.set_Location(new System.Drawing.Point(0x89, 0x40));
     this.tbxLongName.set_Name("tbxLongName");
     this.tbxLongName.set_Size(new System.Drawing.Size(0x17a, 20));
     this.tbxLongName.set_TabIndex(6);
     this.label9.set_AutoSize(true);
     this.label9.set_Location(new System.Drawing.Point(3, 0x43));
     this.label9.set_Name("label9");
     this.label9.set_Size(new System.Drawing.Size(0x7a, 13));
     this.label9.set_TabIndex(0x2c);
     this.label9.set_Text("Полное наименование");
     this.dgvLaw.set_AllowUserToAddRows(false);
     this.dgvLaw.set_AllowUserToDeleteRows(false);
     this.dgvLaw.set_AllowUserToOrderColumns(true);
     this.dgvLaw.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.dgvLaw.set_AutoGenerateColumns(false);
     this.dgvLaw.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvLaw.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvLaw.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvLaw.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.nameDataGridViewTextBoxColumn, this.Dateb, this.BudgetFasetName, this.OrgName, this.Id });
     this.dgvLaw.set_DataSource(this.bsLaw);
     this.dgvLaw.set_Location(new System.Drawing.Point(6, 0x8f));
     this.dgvLaw.set_MultiSelect(false);
     this.dgvLaw.set_Name("dgvLaw");
     this.dgvLaw.set_ReadOnly(true);
     this.dgvLaw.set_RowHeadersVisible(false);
     this.dgvLaw.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvLaw.set_Size(new System.Drawing.Size(0x1fd, 0x94));
     this.dgvLaw.set_TabIndex(9);
     this.nameDataGridViewTextBoxColumn.set_DataPropertyName("Name");
     this.nameDataGridViewTextBoxColumn.set_HeaderText("Название");
     this.nameDataGridViewTextBoxColumn.set_Name("nameDataGridViewTextBoxColumn");
     this.nameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.nameDataGridViewTextBoxColumn.set_Width(0x52);
     this.Dateb.set_DataPropertyName("FromDate");
     style.set_Format("D");
     style.set_NullValue(null);
     this.Dateb.set_DefaultCellStyle(style);
     this.Dateb.set_HeaderText("Дата начала");
     this.Dateb.set_Name("Dateb");
     this.Dateb.set_ReadOnly(true);
     this.Dateb.set_Width(0x60);
     this.BudgetFasetName.set_DataPropertyName("BudgetFasetName");
     this.BudgetFasetName.set_HeaderText("Вид бюджета");
     this.BudgetFasetName.set_Name("BudgetFasetName");
     this.BudgetFasetName.set_ReadOnly(true);
     this.BudgetFasetName.set_Width(0x63);
     this.OrgName.set_DataPropertyName("OrgName");
     this.OrgName.set_HeaderText("Бюджетодержатель");
     this.OrgName.set_Name("OrgName");
     this.OrgName.set_ReadOnly(true);
     this.OrgName.set_Width(0x85);
     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.bsLaw.set_DataSource(typeof(Law));
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(3, 0x5d));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x41, 13));
     this.label3.set_TabIndex(0x30);
     this.label3.set_Text("Тип льготы");
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_Location(new System.Drawing.Point(430, 0x129));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x55, 0x19));
     this.btnCancel.set_TabIndex(11);
     this.btnCancel.set_Text("Отменить");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.tbxExternalCode.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbxExternalCode.set_Location(new System.Drawing.Point(0x156, 12));
     this.tbxExternalCode.set_Name("tbxExternalCode");
     this.tbxExternalCode.set_Size(new System.Drawing.Size(0xad, 20));
     this.tbxExternalCode.set_TabIndex(4);
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(0x116, 15));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x3a, 13));
     this.label4.set_TabIndex(50);
     this.label4.set_Text("Код КСЗН");
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("Name");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Название");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(300);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("Dateb");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Дата начала");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x52);
     this.selectCalcFeature.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectCalcFeature.set_FormattingEnabled(true);
     this.selectCalcFeature.set_Location(new System.Drawing.Point(0x89, 90));
     this.selectCalcFeature.set_Name("selectCalcFeature");
     this.selectCalcFeature.set_Size(new System.Drawing.Size(0x17a, 0x15));
     this.selectCalcFeature.set_Sorted(true);
     this.selectCalcFeature.set_TabIndex(7);
     this.dateBoxMonetization.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.dateBoxMonetization.AttachToPeriod = false;
     this.dateBoxMonetization.AttachToPeriodEnd = false;
     this.dateBoxMonetization.set_Location(new System.Drawing.Point(0x1ad, 0x75));
     this.dateBoxMonetization.set_Mask("00/00/0000");
     this.dateBoxMonetization.set_Name("dateBoxMonetization");
     this.dateBoxMonetization.set_Size(new System.Drawing.Size(0x56, 20));
     this.dateBoxMonetization.set_TabIndex(8);
     this.label5.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(280, 120));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x90, 13));
     this.label5.set_TabIndex(0x35);
     this.label5.set_Text("Дата начала монетизации:");
     this.label5.set_TextAlign(System.Drawing.ContentAlignment.TopRight);
     this.bsOrganizations.set_DataSource(typeof(Organization));
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x20c, 0x144));
     base.Controls.Add(this.label5);
     base.Controls.Add(this.dateBoxMonetization);
     base.Controls.Add(this.tbxExternalCode);
     base.Controls.Add(this.label4);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.selectCalcFeature);
     base.Controls.Add(this.dgvLaw);
     base.Controls.Add(this.tbxLongName);
     base.Controls.Add(this.label9);
     base.Controls.Add(this.tbxCode);
     base.Controls.Add(this.tbxShortName);
     base.Controls.Add(this.label8);
     base.Controls.Add(this.label7);
     base.Controls.Add(this.btnSave);
     base.Controls.Add(this.label6);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_MaximizeBox(false);
     base.set_MinimizeBox(false);
     this.set_MinimumSize(new System.Drawing.Size(500, 300));
     base.set_Name("AddBenefitForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("AddBenefitForm");
     base.add_Load(new System.EventHandler(this.AddBenefitForm_Load));
     this.dgvLaw.EndInit();
     this.bsLaw.EndInit();
     this.bsOrganizations.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }