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(); this.dgvDefects = new System.Windows.Forms.DataGridView(); this.bsFasetItems = new System.Windows.Forms.BindingSource(this.components); this.bsDefects = new System.Windows.Forms.BindingSource(this.components); this.label1 = new System.Windows.Forms.Label(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn(); 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.dataGridViewDateColumn1 = new DataGridViewDateColumn(); this.DefectName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Comment = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.takeAction = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.PartElementName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.defectCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Measure = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.unitCostDefectDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.defectCostDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.defectCountCoordinationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.eleminationDateDataGridViewTextBoxColumn = new DataGridViewDateTimeInputColumn(); this.defectCostCoordinationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dgvDefects.BeginInit(); this.bsFasetItems.BeginInit(); this.bsDefects.BeginInit(); this.tableLayoutPanel1.SuspendLayout(); base.SuspendLayout(); this.dgvDefects.set_AllowUserToAddRows(false); this.dgvDefects.set_AllowUserToDeleteRows(false); this.dgvDefects.set_AllowUserToResizeRows(false); this.dgvDefects.set_AutoGenerateColumns(false); this.dgvDefects.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells); this.dgvDefects.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvDefects.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.DefectName, this.Comment, this.takeAction, this.PartElementName, this.defectCountDataGridViewTextBoxColumn, this.Measure, this.unitCostDefectDataGridViewTextBoxColumn, this.defectCostDataGridViewTextBoxColumn, this.defectCountCoordinationDataGridViewTextBoxColumn, this.eleminationDateDataGridViewTextBoxColumn, this.defectCostCoordinationDataGridViewTextBoxColumn }); this.dgvDefects.set_DataSource(this.bsDefects); this.dgvDefects.set_Dock(System.Windows.Forms.DockStyle.Fill); this.dgvDefects.set_EditMode(System.Windows.Forms.DataGridViewEditMode.EditOnEnter); this.dgvDefects.set_Location(new System.Drawing.Point(3, 0x17)); this.dgvDefects.set_MultiSelect(false); this.dgvDefects.set_Name("dgvDefects"); this.dgvDefects.set_RowHeadersVisible(false); this.dgvDefects.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.CellSelect); this.dgvDefects.set_Size(new System.Drawing.Size(0x194, 0x17b)); this.dgvDefects.set_TabIndex(0); this.dgvDefects.add_CellEndEdit(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDefects_CellEndEdit)); this.dgvDefects.add_DataError(new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDefects_DataError)); this.dgvDefects.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.dgvDefects_KeyDown)); this.bsFasetItems.set_DataSource(typeof(FasetItem)); this.bsDefects.set_DataSource(typeof(UjfApartmentHouseDefect)); this.label1.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(3, 7)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0x37, 13)); this.label1.set_TabIndex(1); this.label1.set_Text("Дефекты"); this.tableLayoutPanel1.set_ColumnCount(1); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100f)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f)); this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0); this.tableLayoutPanel1.Controls.Add(this.dgvDefects, 0, 1); this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Fill); this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0)); this.tableLayoutPanel1.set_Name("tableLayoutPanel1"); this.tableLayoutPanel1.set_RowCount(2); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20f)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f)); this.tableLayoutPanel1.set_Size(new System.Drawing.Size(410, 0x195)); this.tableLayoutPanel1.set_TabIndex(2); this.dataGridViewTextBoxColumn1.set_DataPropertyName("Name"); style.set_BackColor(System.Drawing.Color.Silver); style.set_ForeColor(System.Drawing.Color.Red); this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style); this.dataGridViewTextBoxColumn1.set_HeaderText("Дефект"); this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1"); this.dataGridViewTextBoxColumn1.set_ReadOnly(true); this.dataGridViewTextBoxColumn1.set_Width(0x48); this.dataGridViewComboBoxColumn1.set_DataPropertyName("TakeActionName"); this.dataGridViewComboBoxColumn1.set_DataSource(this.bsFasetItems); this.dataGridViewComboBoxColumn1.set_DisplayMember("Name"); this.dataGridViewComboBoxColumn1.set_HeaderText("Решение о принятии мер"); 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_ValueMember("Id"); this.dataGridViewComboBoxColumn1.set_Width(0x7f); this.dataGridViewTextBoxColumn2.set_DataPropertyName("DefectCount"); this.dataGridViewTextBoxColumn2.set_HeaderText("Количество"); this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2"); this.dataGridViewTextBoxColumn2.set_ReadOnly(true); this.dataGridViewTextBoxColumn2.set_Width(0x5b); this.dataGridViewTextBoxColumn3.set_DataPropertyName("UnitCostDefect"); this.dataGridViewTextBoxColumn3.set_HeaderText("Единица измерения"); this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3"); this.dataGridViewTextBoxColumn3.set_ReadOnly(true); this.dataGridViewTextBoxColumn3.set_Width(0x7b); this.dataGridViewTextBoxColumn4.set_DataPropertyName("DefectCost"); this.dataGridViewTextBoxColumn4.set_HeaderText("Стоимость"); this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4"); this.dataGridViewTextBoxColumn4.set_ReadOnly(true); this.dataGridViewTextBoxColumn4.set_Width(0x57); this.dataGridViewTextBoxColumn5.set_DataPropertyName("EleminationDefectYear"); this.dataGridViewTextBoxColumn5.set_HeaderText("Год устранения"); this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5"); this.dataGridViewTextBoxColumn5.set_ReadOnly(true); this.dataGridViewTextBoxColumn5.set_Width(0x66); this.dataGridViewTextBoxColumn6.set_DataPropertyName("UnitCostDefect"); this.dataGridViewTextBoxColumn6.set_HeaderText("Стоимость за единицу"); this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6"); this.dataGridViewTextBoxColumn6.set_ReadOnly(true); this.dataGridViewTextBoxColumn6.set_Width(0x60); this.dataGridViewTextBoxColumn7.set_DataPropertyName("DefectCost"); this.dataGridViewTextBoxColumn7.set_HeaderText("Общая стоимость"); this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7"); this.dataGridViewTextBoxColumn7.set_ReadOnly(true); this.dataGridViewTextBoxColumn7.set_Width(0x72); this.dataGridViewTextBoxColumn8.set_DataPropertyName("DefectCostCoordination"); this.dataGridViewTextBoxColumn8.set_HeaderText("Общая стоимость (Согласовано)"); this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8"); this.dataGridViewTextBoxColumn8.set_ReadOnly(true); this.dataGridViewTextBoxColumn8.set_Width(0xb5); this.dataGridViewTextBoxColumn9.set_DataPropertyName("DefectCountCoordination"); this.dataGridViewTextBoxColumn9.set_HeaderText("Количество (Согласовано)"); this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9"); this.dataGridViewTextBoxColumn9.set_ReadOnly(true); this.dataGridViewTextBoxColumn9.set_Width(0x97); this.dataGridViewTextBoxColumn10.set_DataPropertyName("DefectCostCoordination"); this.dataGridViewTextBoxColumn10.set_HeaderText("Общая стоимость (Согласовано)"); this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10"); this.dataGridViewTextBoxColumn10.set_ReadOnly(true); this.dataGridViewTextBoxColumn10.set_Width(0xb5); this.dataGridViewDateColumn1.set_DataPropertyName("EleminationDefectMonth"); this.dataGridViewDateColumn1.set_HeaderText("Дата устранения"); this.dataGridViewDateColumn1.set_Name("dataGridViewDateColumn1"); this.dataGridViewDateColumn1.set_ReadOnly(true); this.dataGridViewDateColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True); this.dataGridViewDateColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic); this.dataGridViewDateColumn1.set_Width(0x6d); this.DefectName.set_DataPropertyName("DefectName"); this.DefectName.set_HeaderText("Описание"); this.DefectName.set_Name("DefectName"); this.DefectName.set_ReadOnly(true); this.DefectName.set_Width(0x52); this.Comment.set_DataPropertyName("Comment"); this.Comment.set_HeaderText("Примечание"); this.Comment.set_Name("Comment"); this.Comment.set_Width(0x5f); this.takeAction.set_DataPropertyName("TakeActionId"); this.takeAction.set_DataSource(this.bsFasetItems); this.takeAction.set_DisplayMember("Name"); this.takeAction.set_HeaderText("Решение о принятии мер"); this.takeAction.set_Name("takeAction"); this.takeAction.set_ValueMember("Id"); this.takeAction.set_Width(0x6c); this.PartElementName.set_DataPropertyName("PartElementName"); this.PartElementName.set_HeaderText("Элемент"); this.PartElementName.set_Name("PartElementName"); this.PartElementName.set_ReadOnly(true); this.PartElementName.set_Width(0x4c); this.defectCountDataGridViewTextBoxColumn.set_DataPropertyName("DefectCount"); this.defectCountDataGridViewTextBoxColumn.set_HeaderText("Количество"); this.defectCountDataGridViewTextBoxColumn.set_Name("defectCountDataGridViewTextBoxColumn"); this.defectCountDataGridViewTextBoxColumn.set_ReadOnly(true); this.defectCountDataGridViewTextBoxColumn.set_Width(0x5b); this.Measure.set_DataPropertyName("Measure"); this.Measure.set_HeaderText("Единица измерения"); this.Measure.set_Name("Measure"); this.Measure.set_ReadOnly(true); this.Measure.set_Width(0x7b); this.unitCostDefectDataGridViewTextBoxColumn.set_DataPropertyName("UnitCostDefect"); this.unitCostDefectDataGridViewTextBoxColumn.set_HeaderText("Цена за единицу"); this.unitCostDefectDataGridViewTextBoxColumn.set_Name("unitCostDefectDataGridViewTextBoxColumn"); this.unitCostDefectDataGridViewTextBoxColumn.set_ReadOnly(true); this.unitCostDefectDataGridViewTextBoxColumn.set_Width(0x6b); this.defectCostDataGridViewTextBoxColumn.set_DataPropertyName("DefectCost"); this.defectCostDataGridViewTextBoxColumn.set_HeaderText("Общая стоимость"); this.defectCostDataGridViewTextBoxColumn.set_Name("defectCostDataGridViewTextBoxColumn"); this.defectCostDataGridViewTextBoxColumn.set_ReadOnly(true); this.defectCostDataGridViewTextBoxColumn.set_Width(0x72); this.defectCountCoordinationDataGridViewTextBoxColumn.set_DataPropertyName("DefectCountCoordination"); this.defectCountCoordinationDataGridViewTextBoxColumn.set_HeaderText("Количество (Согласовано)"); this.defectCountCoordinationDataGridViewTextBoxColumn.set_Name("defectCountCoordinationDataGridViewTextBoxColumn"); this.defectCountCoordinationDataGridViewTextBoxColumn.set_ReadOnly(true); this.defectCountCoordinationDataGridViewTextBoxColumn.set_Width(0x97); this.eleminationDateDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.eleminationDateDataGridViewTextBoxColumn.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; this.eleminationDateDataGridViewTextBoxColumn.BackgroundStyle.CornerType = eCornerType.Square; this.eleminationDateDataGridViewTextBoxColumn.set_DataPropertyName("EleminationDate"); this.eleminationDateDataGridViewTextBoxColumn.set_HeaderText("Дата устранения"); this.eleminationDateDataGridViewTextBoxColumn.InputHorizontalAlignment = eHorizontalAlignment.Left; this.eleminationDateDataGridViewTextBoxColumn.MaxDate = (System.DateTime) new System.DateTime(0x834, 12, 0x1f, 0, 0, 0, 0); this.eleminationDateDataGridViewTextBoxColumn.MonthCalendar.AnnuallyMarkedDates = new System.DateTime[0]; this.eleminationDateDataGridViewTextBoxColumn.MonthCalendar.BackgroundStyle.CornerType = eCornerType.Square; this.eleminationDateDataGridViewTextBoxColumn.MonthCalendar.CalendarDimensions = (System.Drawing.Size) new System.Drawing.Size(1, 1); this.eleminationDateDataGridViewTextBoxColumn.MonthCalendar.CommandsBackgroundStyle.CornerType = eCornerType.Square; this.eleminationDateDataGridViewTextBoxColumn.MonthCalendar.DisplayMonth = (System.DateTime) new System.DateTime(0x7dd, 9, 1, 0, 0, 0, 0); this.eleminationDateDataGridViewTextBoxColumn.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; this.eleminationDateDataGridViewTextBoxColumn.MonthCalendar.MarkedDates = new System.DateTime[0]; this.eleminationDateDataGridViewTextBoxColumn.MonthCalendar.MonthlyMarkedDates = new System.DateTime[0]; this.eleminationDateDataGridViewTextBoxColumn.MonthCalendar.NavigationBackgroundStyle.CornerType = eCornerType.Square; this.eleminationDateDataGridViewTextBoxColumn.MonthCalendar.WeeklyMarkedDays = new System.DayOfWeek[0]; this.eleminationDateDataGridViewTextBoxColumn.set_Name("eleminationDateDataGridViewTextBoxColumn"); this.eleminationDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.eleminationDateDataGridViewTextBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.False); this.eleminationDateDataGridViewTextBoxColumn.set_Width(0x6d); this.defectCostCoordinationDataGridViewTextBoxColumn.set_DataPropertyName("DefectCostCoordination"); this.defectCostCoordinationDataGridViewTextBoxColumn.set_HeaderText("Общая стоимость (Согласовано)"); this.defectCostCoordinationDataGridViewTextBoxColumn.set_Name("defectCostCoordinationDataGridViewTextBoxColumn"); this.defectCostCoordinationDataGridViewTextBoxColumn.set_ReadOnly(true); this.defectCostCoordinationDataGridViewTextBoxColumn.set_Width(0xb5); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.Controls.Add(this.tableLayoutPanel1); base.set_Name("UjfApartmentHouseDefectView"); base.set_Size(new System.Drawing.Size(410, 0x195)); this.dgvDefects.EndInit(); this.bsFasetItems.EndInit(); this.bsDefects.EndInit(); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.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(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(UjfOrdersForm)); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dbxDate = new DateBox(); this.tbNumber = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.dgvOrders = new System.Windows.Forms.DataGridView(); this.numberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dateDataGridViewTextBoxColumn = new DataGridViewDateColumn(); this.shortNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.directorDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.objectWithIdTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.isNewDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.isDirtyDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.isDeletedDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.bsOrders = new System.Windows.Forms.BindingSource(this.components); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.tsBtnAdd = new System.Windows.Forms.ToolStripButton(); this.tsBtnChange = new System.Windows.Forms.ToolStripButton(); this.tsBtnDelete = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.tsBtnSearch = new System.Windows.Forms.ToolStripButton(); this.tsBtnDropFilter = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton(); this.отчетПоОсмотрамToolStripMenuItem = 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.dataGridViewDateColumn1 = new DataGridViewDateColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dvgNumberColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dgvDateColumn = new DataGridViewDateColumn(); this.groupBox1.SuspendLayout(); this.dgvOrders.BeginInit(); this.bsOrders.BeginInit(); this.toolStrip1.SuspendLayout(); base.SuspendLayout(); this.groupBox1.Controls.Add(this.dbxDate); this.groupBox1.Controls.Add(this.tbNumber); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); 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(0x1e4, 0x4c)); this.groupBox1.set_TabIndex(6); this.groupBox1.set_TabStop(false); this.groupBox1.set_Text("Фильтр"); this.dbxDate.AttachToPeriod = false; this.dbxDate.AttachToPeriodEnd = false; this.dbxDate.set_Location(new System.Drawing.Point(0x68, 0x2d)); this.dbxDate.set_Mask("00/00/0000"); this.dbxDate.set_Name("dbxDate"); this.dbxDate.set_Size(new System.Drawing.Size(100, 20)); this.dbxDate.set_TabIndex(11); this.tbNumber.set_Location(new System.Drawing.Point(0x68, 0x13)); this.tbNumber.set_Name("tbNumber"); this.tbNumber.set_Size(new System.Drawing.Size(100, 20)); this.tbNumber.set_TabIndex(2); this.label2.set_AutoSize(true); this.label2.set_Location(new System.Drawing.Point(12, 0x30)); this.label2.set_Name("label2"); this.label2.set_Size(new System.Drawing.Size(0x4e, 13)); this.label2.set_TabIndex(1); this.label2.set_Text("Дата приказа"); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(12, 0x16)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0x56, 13)); this.label1.set_TabIndex(0); this.label1.set_Text("Номер приказа"); this.dgvOrders.set_AllowUserToAddRows(false); this.dgvOrders.set_AllowUserToDeleteRows(false); this.dgvOrders.set_AutoGenerateColumns(false); this.dgvOrders.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader); this.dgvOrders.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells); this.dgvOrders.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvOrders.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.numberDataGridViewTextBoxColumn, this.dateDataGridViewTextBoxColumn, this.shortNameDataGridViewTextBoxColumn, this.directorDataGridViewTextBoxColumn, this.objectWithIdTypeDataGridViewTextBoxColumn, this.idDataGridViewTextBoxColumn, this.isNewDataGridViewCheckBoxColumn, this.isDirtyDataGridViewCheckBoxColumn, this.isDeletedDataGridViewCheckBoxColumn }); this.dgvOrders.set_DataSource(this.bsOrders); this.dgvOrders.set_Dock(System.Windows.Forms.DockStyle.Fill); this.dgvOrders.set_Location(new System.Drawing.Point(0, 0x65)); this.dgvOrders.set_Name("dgvOrders"); this.dgvOrders.set_ReadOnly(true); this.dgvOrders.set_RowHeadersVisible(false); this.dgvOrders.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect); this.dgvOrders.set_Size(new System.Drawing.Size(0x1e4, 200)); this.dgvOrders.set_TabIndex(7); this.dgvOrders.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvOrders_CellDoubleClick)); this.numberDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.numberDataGridViewTextBoxColumn.set_DataPropertyName("Number"); this.numberDataGridViewTextBoxColumn.set_HeaderText("Номер приказа"); this.numberDataGridViewTextBoxColumn.set_MinimumWidth(100); this.numberDataGridViewTextBoxColumn.set_Name("numberDataGridViewTextBoxColumn"); this.numberDataGridViewTextBoxColumn.set_ReadOnly(true); this.numberDataGridViewTextBoxColumn.set_Width(0x66); this.dateDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.dateDataGridViewTextBoxColumn.set_DataPropertyName("Date"); this.dateDataGridViewTextBoxColumn.set_HeaderText("Дата приказа"); this.dateDataGridViewTextBoxColumn.set_MinimumWidth(100); this.dateDataGridViewTextBoxColumn.set_Name("dateDataGridViewTextBoxColumn"); this.dateDataGridViewTextBoxColumn.set_ReadOnly(true); this.dateDataGridViewTextBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.True); this.dateDataGridViewTextBoxColumn.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic); this.shortNameDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells); this.shortNameDataGridViewTextBoxColumn.set_DataPropertyName("ShortName"); this.shortNameDataGridViewTextBoxColumn.set_HeaderText("Заголовок"); this.shortNameDataGridViewTextBoxColumn.set_MinimumWidth(0x159); this.shortNameDataGridViewTextBoxColumn.set_Name("shortNameDataGridViewTextBoxColumn"); this.shortNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.shortNameDataGridViewTextBoxColumn.set_Width(0x159); this.directorDataGridViewTextBoxColumn.set_DataPropertyName("Director"); this.directorDataGridViewTextBoxColumn.set_HeaderText("Директор"); this.directorDataGridViewTextBoxColumn.set_Name("directorDataGridViewTextBoxColumn"); this.directorDataGridViewTextBoxColumn.set_ReadOnly(true); this.directorDataGridViewTextBoxColumn.set_Visible(false); this.directorDataGridViewTextBoxColumn.set_Width(5); this.objectWithIdTypeDataGridViewTextBoxColumn.set_DataPropertyName("ObjectWithIdType"); this.objectWithIdTypeDataGridViewTextBoxColumn.set_HeaderText("ObjectWithIdType"); this.objectWithIdTypeDataGridViewTextBoxColumn.set_Name("objectWithIdTypeDataGridViewTextBoxColumn"); this.objectWithIdTypeDataGridViewTextBoxColumn.set_ReadOnly(true); this.objectWithIdTypeDataGridViewTextBoxColumn.set_Visible(false); this.objectWithIdTypeDataGridViewTextBoxColumn.set_Width(5); 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); this.idDataGridViewTextBoxColumn.set_Width(5); 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(5); this.isDirtyDataGridViewCheckBoxColumn.set_DataPropertyName("IsDirty"); this.isDirtyDataGridViewCheckBoxColumn.set_HeaderText("IsDirty"); this.isDirtyDataGridViewCheckBoxColumn.set_Name("isDirtyDataGridViewCheckBoxColumn"); this.isDirtyDataGridViewCheckBoxColumn.set_ReadOnly(true); this.isDirtyDataGridViewCheckBoxColumn.set_Visible(false); this.isDirtyDataGridViewCheckBoxColumn.set_Width(5); this.isDeletedDataGridViewCheckBoxColumn.set_DataPropertyName("IsDeleted"); this.isDeletedDataGridViewCheckBoxColumn.set_HeaderText("IsDeleted"); this.isDeletedDataGridViewCheckBoxColumn.set_Name("isDeletedDataGridViewCheckBoxColumn"); this.isDeletedDataGridViewCheckBoxColumn.set_ReadOnly(true); this.isDeletedDataGridViewCheckBoxColumn.set_Visible(false); this.isDeletedDataGridViewCheckBoxColumn.set_Width(5); this.bsOrders.set_DataSource(typeof(UjfOrders)); this.toolStrip1.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsBtnAdd, this.tsBtnChange, this.tsBtnDelete, this.toolStripSeparator2, this.tsBtnSearch, this.tsBtnDropFilter, this.toolStripSeparator3, this.toolStripDropDownButton1 }); this.toolStrip1.set_Location(new System.Drawing.Point(0, 0x4c)); this.toolStrip1.set_Name("toolStrip1"); this.toolStrip1.set_Size(new System.Drawing.Size(0x1e4, 0x19)); this.toolStrip1.set_TabIndex(11); this.toolStrip1.set_Text("toolStrip1"); this.tsBtnAdd.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnAdd.set_Image(Resources.ADD); this.tsBtnAdd.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnAdd.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnAdd.set_Name("tsBtnAdd"); this.tsBtnAdd.set_Size(new System.Drawing.Size(0x18, 0x16)); this.tsBtnAdd.set_Text("Добавить"); this.tsBtnAdd.add_Click(new System.EventHandler(this.tsBtnAdd_Click)); this.tsBtnChange.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnChange.set_Image(Resources.CHANGE); this.tsBtnChange.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnChange.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnChange.set_Name("tsBtnChange"); this.tsBtnChange.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsBtnChange.set_Text("Изменить"); this.tsBtnChange.add_Click(new System.EventHandler(this.tsBtnChange_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("Удалить"); this.tsBtnDelete.add_Click(new System.EventHandler(this.tsBtnDelete_Click)); this.toolStripSeparator2.set_Name("toolStripSeparator2"); this.toolStripSeparator2.set_Size(new System.Drawing.Size(6, 0x19)); this.tsBtnSearch.set_Image(Resources.SEARCH); this.tsBtnSearch.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnSearch.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnSearch.set_Name("tsBtnSearch"); this.tsBtnSearch.set_Size(new System.Drawing.Size(70, 0x16)); this.tsBtnSearch.set_Text("Поиск"); this.tsBtnSearch.add_Click(new System.EventHandler(this.tsBtnSearch_Click)); this.tsBtnDropFilter.set_Image(Resources.ERASE); this.tsBtnDropFilter.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnDropFilter.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnDropFilter.set_Name("tsBtnDropFilter"); this.tsBtnDropFilter.set_Size(new System.Drawing.Size(120, 0x16)); this.tsBtnDropFilter.set_Text("Сброс фильтра"); this.tsBtnDropFilter.add_Click(new System.EventHandler(this.tsBtnDropFilter_Click)); this.toolStripSeparator3.set_Name("toolStripSeparator3"); this.toolStripSeparator3.set_Size(new System.Drawing.Size(6, 0x19)); this.toolStripDropDownButton1.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text); this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.отчетПоОсмотрамToolStripMenuItem }); 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(0x3d, 0x16)); this.toolStripDropDownButton1.set_Text("Отчеты"); this.отчетПоОсмотрамToolStripMenuItem.set_Name("отчетПоОсмотрамToolStripMenuItem"); this.отчетПоОсмотрамToolStripMenuItem.set_Size(new System.Drawing.Size(0x164, 0x16)); this.отчетПоОсмотрамToolStripMenuItem.set_Text("График проведения общего технического осмотра"); this.отчетПоОсмотрамToolStripMenuItem.add_Click(new System.EventHandler(this.отчетПоОсмотрамToolStripMenuItem_Click)); this.dataGridViewTextBoxColumn1.set_DataPropertyName("Id"); this.dataGridViewTextBoxColumn1.set_HeaderText("Id"); this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1"); this.dataGridViewTextBoxColumn1.set_Visible(false); this.dataGridViewTextBoxColumn2.set_DataPropertyName("Number"); this.dataGridViewTextBoxColumn2.set_HeaderText("Номер приказа"); this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2"); this.dataGridViewTextBoxColumn3.set_DataPropertyName("ShortName"); this.dataGridViewTextBoxColumn3.set_HeaderText("Заголовок приказа"); this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3"); this.dataGridViewTextBoxColumn3.set_ReadOnly(true); this.dataGridViewDateColumn1.set_DataPropertyName("Date"); this.dataGridViewDateColumn1.set_HeaderText("Дата приказа"); this.dataGridViewDateColumn1.set_Name("dataGridViewDateColumn1"); this.dataGridViewDateColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic); this.dataGridViewTextBoxColumn4.set_DataPropertyName("Director"); this.dataGridViewTextBoxColumn4.set_HeaderText("Директор"); this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4"); this.dvgNumberColumn.set_DataPropertyName("Number"); this.dvgNumberColumn.set_HeaderText("Номер приказа"); this.dvgNumberColumn.set_Name("dvgNumberColumn"); this.dgvDateColumn.set_DataPropertyName("Date"); this.dgvDateColumn.set_HeaderText("Дата приказа"); this.dgvDateColumn.set_Name("dgvDateColumn"); this.dgvDateColumn.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(0x1e4, 0x12d)); base.Controls.Add(this.dgvOrders); base.Controls.Add(this.toolStrip1); base.Controls.Add(this.groupBox1); this.set_MinimumSize(new System.Drawing.Size(0x1ec, 0x114)); base.set_Name("UjfOrdersForm"); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen); this.set_Text("Приказы"); base.add_Load(new System.EventHandler(this.UjfOrdersForm_Load)); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.dgvOrders.EndInit(); this.bsOrders.EndInit(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); 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(); }
private void InitializeComponent() { this.components = new Container(); this.serviceNormBenefitBindingSource = new System.Windows.Forms.BindingSource(this.components); this.dgvNormBenefits = new System.Windows.Forms.DataGridView(); this.toolStrip = new System.Windows.Forms.ToolStrip(); this.addToolStripButton = new System.Windows.Forms.ToolStripButton(); this.changeToolStripButton = new System.Windows.Forms.ToolStripButton(); this.delToolStripButton = new System.Windows.Forms.ToolStripButton(); this.updToolStripButton = new System.Windows.Forms.ToolStripButton(); this.ServiceId = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BenefitId = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ShortName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Rate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.FromDate = new DataGridViewDateColumn(); this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.serviceNormBenefitBindingSource.BeginInit(); this.dgvNormBenefits.BeginInit(); this.toolStrip.SuspendLayout(); base.SuspendLayout(); this.serviceNormBenefitBindingSource.set_DataSource(typeof(ServiceNormBenefit)); this.serviceNormBenefitBindingSource.set_Sort("Dateb desc"); this.dgvNormBenefits.set_AllowUserToAddRows(false); this.dgvNormBenefits.set_AllowUserToDeleteRows(false); this.dgvNormBenefits.set_AutoGenerateColumns(false); this.dgvNormBenefits.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells); this.dgvNormBenefits.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells); this.dgvNormBenefits.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvNormBenefits.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.ServiceId, this.BenefitId, this.ShortName, this.Rate, this.FromDate, this.Id }); this.dgvNormBenefits.set_DataSource(this.serviceNormBenefitBindingSource); this.dgvNormBenefits.set_Dock(System.Windows.Forms.DockStyle.Fill); this.dgvNormBenefits.set_Location(new System.Drawing.Point(0, 0x19)); this.dgvNormBenefits.set_Margin(new System.Windows.Forms.Padding(5)); this.dgvNormBenefits.set_Name("dgvNormBenefits"); this.dgvNormBenefits.set_RowHeadersVisible(false); this.dgvNormBenefits.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect); this.dgvNormBenefits.set_Size(new System.Drawing.Size(0x42b, 0x2fb)); this.dgvNormBenefits.set_TabIndex(6); this.dgvNormBenefits.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvNormBenefits_CellDoubleClick)); this.dgvNormBenefits.add_CellEndEdit(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvNormBenefits_CellEndEdit)); this.dgvNormBenefits.add_CellValueChanged(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvNormBenefits_CellValueChanged)); this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addToolStripButton, this.changeToolStripButton, this.delToolStripButton, this.updToolStripButton }); this.toolStrip.set_Location(new System.Drawing.Point(0, 0)); this.toolStrip.set_Name("toolStrip"); this.toolStrip.set_Size(new System.Drawing.Size(0x42b, 0x19)); this.toolStrip.set_TabIndex(5); this.toolStrip.set_Text("toolStrip1"); this.addToolStripButton.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.addToolStripButton.set_Image(Resources.ADD); this.addToolStripButton.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.addToolStripButton.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.addToolStripButton.set_Name("addToolStripButton"); this.addToolStripButton.set_Size(new System.Drawing.Size(0x18, 0x16)); this.addToolStripButton.set_Text("Добавить"); this.addToolStripButton.add_Click(new System.EventHandler(this.addToolStripButton_Click)); this.changeToolStripButton.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.changeToolStripButton.set_Image(Resources.CHANGE); this.changeToolStripButton.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.changeToolStripButton.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.changeToolStripButton.set_Name("changeToolStripButton"); this.changeToolStripButton.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.changeToolStripButton.set_Text("Изменить"); this.changeToolStripButton.add_Click(new System.EventHandler(this.changeToolStripButton_Click)); this.delToolStripButton.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.delToolStripButton.set_Image(Resources.DELETE); this.delToolStripButton.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.delToolStripButton.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.delToolStripButton.set_Name("delToolStripButton"); this.delToolStripButton.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.delToolStripButton.set_Text("Удалить"); this.delToolStripButton.add_Click(new System.EventHandler(this.delToolStripButton_Click)); this.updToolStripButton.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.updToolStripButton.set_Image(Resources.UPDATE); this.updToolStripButton.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.updToolStripButton.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.updToolStripButton.set_Name("updToolStripButton"); this.updToolStripButton.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.updToolStripButton.set_Text("Обновить"); this.updToolStripButton.add_Click(new System.EventHandler(this.updToolStripButton_Click)); this.ServiceId.set_DataPropertyName("ServiceId"); this.ServiceId.set_HeaderText("ServiceId"); this.ServiceId.set_Name("ServiceId"); this.ServiceId.set_Visible(false); this.ServiceId.set_Width(0x47); this.BenefitId.set_DataPropertyName("BenefitId"); this.BenefitId.set_HeaderText("BenefitId"); this.BenefitId.set_Name("BenefitId"); this.BenefitId.set_Visible(false); this.BenefitId.set_Width(0x42); this.ShortName.set_DataPropertyName("ShortName"); this.ShortName.set_HeaderText("Льгота"); this.ShortName.set_Name("ShortName"); this.ShortName.set_ReadOnly(true); this.ShortName.set_Width(0x4e); this.Rate.set_DataPropertyName("Rate"); this.Rate.set_HeaderText("Норматив"); this.Rate.set_Name("Rate"); this.Rate.set_Width(0x63); this.FromDate.set_DataPropertyName("FromDate"); 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_Width(0xae); this.Id.set_DataPropertyName("Id"); this.Id.set_HeaderText("Id"); this.Id.set_Name("Id"); this.Id.set_Visible(false); this.Id.set_Width(0x2c); base.set_AutoScaleDimensions(new System.Drawing.SizeF(8f, 16f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.Controls.Add(this.dgvNormBenefits); base.Controls.Add(this.toolStrip); this.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 9.75f)); base.set_Margin(new System.Windows.Forms.Padding(4)); base.set_Name("ServiceNormBenefitCollectionView"); base.set_Size(new System.Drawing.Size(0x42b, 0x314)); this.serviceNormBenefitBindingSource.EndInit(); this.dgvNormBenefits.EndInit(); this.toolStrip.ResumeLayout(false); this.toolStrip.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(HousesBindingServicesView)); 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.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.dgvBindingServices = new System.Windows.Forms.DataGridView(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.tsMenu = new System.Windows.Forms.ToolStrip(); this.tslServices = new System.Windows.Forms.ToolStripLabel(); this.tscbServices = new System.Windows.Forms.ToolStripComboBox(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.tslCounters = new System.Windows.Forms.ToolStripLabel(); this.tscbCounters = new System.Windows.Forms.ToolStripComboBox(); this.tslTypeService = new System.Windows.Forms.ToolStripLabel(); this.tscbTypeServices = new System.Windows.Forms.ToolStripComboBox(); this.bUnbinding = new System.Windows.Forms.Button(); this.bBinding = new System.Windows.Forms.Button(); this.backgroundWorker1 = new BackgroundWorker(); this.bwLoadAddressesAndCounters = new BackgroundWorker(); this.isSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.bsApartmentCounters = new System.Windows.Forms.BindingSource(this.components); this.tsbSelectAll = new System.Windows.Forms.ToolStripButton(); this.tsbCancelAll = new System.Windows.Forms.ToolStripButton(); this.tsbCurrentCounters = new System.Windows.Forms.ToolStripButton(); this.tsbAllCounters = new System.Windows.Forms.ToolStripButton(); this.tsbSearchAllServices = new System.Windows.Forms.ToolStripButton(); this.tsbSelectBidning = new System.Windows.Forms.ToolStripButton(); this.tsbSelectNotBinding = new System.Windows.Forms.ToolStripButton(); this.btnWaiting = new System.Windows.Forms.ToolStripButton(); this.bsServices = 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.addressName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.counterName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.counterTypeName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ApartmentId = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.FromDateApartmentCounter = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ToDateApartmentCounter = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewDateColumn1 = new DataGridViewDateColumn(); this.dataGridViewDateColumn2 = new DataGridViewDateColumn(); this.dataGridViewDateColumn3 = new DataGridViewDateColumn(); this.dataGridViewDateColumn4 = new DataGridViewDateColumn(); this.dataGridViewDateColumn5 = new DataGridViewDateColumn(); this.dataGridViewDateColumn6 = new DataGridViewDateColumn(); this.dataGridViewDateTimeColumn1 = new DataGridViewDateTimeColumn(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.dgvBindingServices.BeginInit(); this.toolStrip1.SuspendLayout(); this.tsMenu.SuspendLayout(); this.bsApartmentCounters.BeginInit(); this.bsServices.BeginInit(); base.SuspendLayout(); this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill); 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.dgvBindingServices); this.splitContainer1.Panel1.Controls.Add(this.toolStrip1); this.splitContainer1.Panel1.Controls.Add(this.tsMenu); this.splitContainer1.Panel2.Controls.Add(this.bUnbinding); this.splitContainer1.Panel2.Controls.Add(this.bBinding); this.splitContainer1.set_Size(new System.Drawing.Size(0x390, 0x15b)); this.splitContainer1.set_SplitterDistance(0x13a); this.splitContainer1.set_TabIndex(0); this.dgvBindingServices.set_AllowUserToAddRows(false); this.dgvBindingServices.set_AllowUserToDeleteRows(false); this.dgvBindingServices.set_AutoGenerateColumns(false); 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.dgvBindingServices.set_ColumnHeadersDefaultCellStyle(style); this.dgvBindingServices.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvBindingServices.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.isSelected, this.addressName, this.counterName, this.counterTypeName, this.Id, this.ApartmentId, this.FromDateApartmentCounter, this.ToDateApartmentCounter }); this.dgvBindingServices.set_DataSource(this.bsApartmentCounters); 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.dgvBindingServices.set_DefaultCellStyle(style2); this.dgvBindingServices.set_Dock(System.Windows.Forms.DockStyle.Fill); this.dgvBindingServices.set_Location(new System.Drawing.Point(0, 50)); this.dgvBindingServices.set_Name("dgvBindingServices"); 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.dgvBindingServices.set_RowHeadersDefaultCellStyle(style3); this.dgvBindingServices.set_RowHeadersVisible(false); this.dgvBindingServices.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect); this.dgvBindingServices.set_Size(new System.Drawing.Size(0x390, 0x108)); this.dgvBindingServices.set_TabIndex(0x12); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbSelectAll, this.tsbCancelAll, this.toolStripSeparator7, this.tsbCurrentCounters, this.tsbAllCounters, this.toolStripSeparator8, this.tsbSearchAllServices, this.tsbSelectBidning, this.tsbSelectNotBinding }); this.toolStrip1.set_Location(new System.Drawing.Point(0, 0x19)); this.toolStrip1.set_Name("toolStrip1"); this.toolStrip1.set_Size(new System.Drawing.Size(0x390, 0x19)); this.toolStrip1.set_TabIndex(0x13); this.toolStrip1.set_Text("<не выбрано>"); this.toolStripSeparator7.set_Name("toolStripSeparator7"); this.toolStripSeparator7.set_Size(new System.Drawing.Size(6, 0x19)); this.toolStripSeparator8.set_Name("toolStripSeparator8"); this.toolStripSeparator8.set_Size(new System.Drawing.Size(6, 0x19)); this.tsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tslServices, this.tscbServices, this.btnWaiting, this.toolStripSeparator3, this.tslCounters, this.tscbCounters, this.tslTypeService, this.tscbTypeServices }); this.tsMenu.set_Location(new System.Drawing.Point(0, 0)); this.tsMenu.set_Name("tsMenu"); this.tsMenu.set_Size(new System.Drawing.Size(0x390, 0x19)); this.tsMenu.set_TabIndex(1); this.tslServices.set_Name("tslServices"); this.tslServices.set_Size(new System.Drawing.Size(0x2c, 0x16)); this.tslServices.set_Text("Услуга"); this.tscbServices.set_DropDownWidth(200); this.tscbServices.set_Name("tscbServices"); this.tscbServices.set_Size(new System.Drawing.Size(170, 0x19)); this.tscbServices.set_Text("<не выбрано>"); this.tscbServices.add_SelectedIndexChanged(new System.EventHandler(this.tscbServices_SelectedIndexChanged)); this.toolStripSeparator3.set_Name("toolStripSeparator3"); this.toolStripSeparator3.set_Size(new System.Drawing.Size(6, 0x19)); this.tslCounters.set_Enabled(false); this.tslCounters.set_Name("tslCounters"); this.tslCounters.set_Size(new System.Drawing.Size(0x35, 0x16)); this.tslCounters.set_Text("Счетчик"); this.tscbCounters.set_Enabled(false); this.tscbCounters.set_Name("tscbCounters"); this.tscbCounters.set_Size(new System.Drawing.Size(150, 0x19)); this.tscbCounters.set_Text("<не выбрано>"); this.tslTypeService.set_Enabled(false); this.tslTypeService.set_Name("tslTypeService"); this.tslTypeService.set_Size(new System.Drawing.Size(0x44, 0x16)); this.tslTypeService.set_Text("Тип услуги"); this.tscbTypeServices.set_Enabled(false); this.tscbTypeServices.set_Name("tscbTypeServices"); this.tscbTypeServices.set_Size(new System.Drawing.Size(170, 0x19)); this.tscbTypeServices.set_Text("<не выбрано>"); this.bUnbinding.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.bUnbinding.set_Location(new System.Drawing.Point(830, 0)); this.bUnbinding.set_Name("bUnbinding"); this.bUnbinding.set_Size(new System.Drawing.Size(0x4f, 0x1d)); this.bUnbinding.set_TabIndex(1); this.bUnbinding.set_Text("Отвязать"); this.bUnbinding.set_UseVisualStyleBackColor(true); this.bUnbinding.add_Click(new System.EventHandler(this.bUnbinding_Click)); this.bBinding.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.bBinding.set_Location(new System.Drawing.Point(0x2e9, 0)); this.bBinding.set_Name("bBinding"); this.bBinding.set_Size(new System.Drawing.Size(0x4f, 0x1d)); this.bBinding.set_TabIndex(0); this.bBinding.set_Text("Привязать"); this.bBinding.set_UseVisualStyleBackColor(true); this.bBinding.add_Click(new System.EventHandler(this.bBinding_Click)); this.bwLoadAddressesAndCounters.add_DoWork(new DoWorkEventHandler(this.bwLoadAddressesAndCounters_DoWork)); this.bwLoadAddressesAndCounters.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.bwLoadAddressesAndCounters_RunWorkerCompleted)); this.isSelected.set_HeaderText("Выбрано"); this.isSelected.set_Name("isSelected"); this.isSelected.set_Width(50); this.bsApartmentCounters.set_DataSource(typeof(ApartmentCounter)); this.tsbSelectAll.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsbSelectAll.set_Image(Resources.APPLY2); this.tsbSelectAll.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsbSelectAll.set_Name("tsbSelectAll"); this.tsbSelectAll.set_Size(new System.Drawing.Size(0x17, 0x16)); this.tsbSelectAll.set_Text("Выделить все"); this.tsbSelectAll.add_Click(new System.EventHandler(this.tsbSelectAll_Click)); this.tsbCancelAll.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsbCancelAll.set_Image(Resources.CANCEL); this.tsbCancelAll.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsbCancelAll.set_Name("tsbCancelAll"); this.tsbCancelAll.set_Size(new System.Drawing.Size(0x17, 0x16)); this.tsbCancelAll.set_Text("Отменить все"); this.tsbCancelAll.add_Click(new System.EventHandler(this.tsbCancelAll_Click)); this.tsbCurrentCounters.set_Checked(true); this.tsbCurrentCounters.set_CheckState(System.Windows.Forms.CheckState.Checked); this.tsbCurrentCounters.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text); this.tsbCurrentCounters.set_Image((System.Drawing.Image) manager.GetObject("tsbCurrentCounters.Image")); this.tsbCurrentCounters.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsbCurrentCounters.set_Name("tsbCurrentCounters"); this.tsbCurrentCounters.set_Size(new System.Drawing.Size(0x59, 0x16)); this.tsbCurrentCounters.set_Text("Действующие"); this.tsbCurrentCounters.add_Click(new System.EventHandler(this.tsbCurrentCounters_Click)); this.tsbAllCounters.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text); this.tsbAllCounters.set_Image((System.Drawing.Image) manager.GetObject("tsbAllCounters.Image")); this.tsbAllCounters.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsbAllCounters.set_Name("tsbAllCounters"); this.tsbAllCounters.set_Size(new System.Drawing.Size(30, 0x16)); this.tsbAllCounters.set_Text("Все"); this.tsbAllCounters.add_Click(new System.EventHandler(this.tsbAllCounters_Click)); this.tsbSearchAllServices.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text); this.tsbSearchAllServices.set_Image((System.Drawing.Image) manager.GetObject("tsbSearchAllServices.Image")); this.tsbSearchAllServices.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsbSearchAllServices.set_Name("tsbSearchAllServices"); this.tsbSearchAllServices.set_Size(new System.Drawing.Size(0x42, 0x16)); this.tsbSearchAllServices.set_Text("Найти все"); this.tsbSearchAllServices.add_Click(new System.EventHandler(this.tsbSearchAllServices_Click)); this.tsbSelectBidning.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text); this.tsbSelectBidning.set_Image((System.Drawing.Image) manager.GetObject("tsbSelectBidning.Image")); this.tsbSelectBidning.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsbSelectBidning.set_Name("tsbSelectBidning"); this.tsbSelectBidning.set_Size(new System.Drawing.Size(0x79, 0x16)); this.tsbSelectBidning.set_Text("Найти привязанные"); this.tsbSelectBidning.add_Click(new System.EventHandler(this.tsbSelectBidning_Click)); this.tsbSelectNotBinding.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text); this.tsbSelectNotBinding.set_Image((System.Drawing.Image) manager.GetObject("tsbSelectNotBinding.Image")); this.tsbSelectNotBinding.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsbSelectNotBinding.set_Name("tsbSelectNotBinding"); this.tsbSelectNotBinding.set_Size(new System.Drawing.Size(0x86, 0x16)); this.tsbSelectNotBinding.set_Text("Найти непривязанные"); this.tsbSelectNotBinding.add_Click(new System.EventHandler(this.tsbSelectNotBinding_Click)); this.btnWaiting.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.btnWaiting.set_Image(Resources.LOADING); this.btnWaiting.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.btnWaiting.set_Name("btnWaiting"); this.btnWaiting.set_Size(new System.Drawing.Size(0x17, 0x16)); this.btnWaiting.set_Text("toolStripButton1"); this.btnWaiting.set_Visible(false); this.bsServices.set_DataSource(typeof(AccountService)); this.dataGridViewTextBoxColumn1.set_DataPropertyName("ApartmentAddrName"); this.dataGridViewTextBoxColumn1.set_HeaderText("Адрес"); this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1"); this.dataGridViewTextBoxColumn1.set_ReadOnly(true); this.dataGridViewTextBoxColumn1.set_Width(250); this.dataGridViewTextBoxColumn2.set_DataPropertyName("CounterName"); this.dataGridViewTextBoxColumn2.set_HeaderText("Наименование счетчика"); this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2"); this.dataGridViewTextBoxColumn2.set_ReadOnly(true); this.dataGridViewTextBoxColumn2.set_Width(200); this.dataGridViewTextBoxColumn3.set_DataPropertyName("CounterTypeName"); this.dataGridViewTextBoxColumn3.set_HeaderText("Тип счетчика"); this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3"); this.dataGridViewTextBoxColumn3.set_ReadOnly(true); this.dataGridViewTextBoxColumn3.set_Width(200); this.dataGridViewTextBoxColumn4.set_DataPropertyName("Id"); this.dataGridViewTextBoxColumn4.set_HeaderText("Дата окончания"); this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4"); this.dataGridViewTextBoxColumn4.set_ReadOnly(true); this.dataGridViewTextBoxColumn4.set_Resizable(System.Windows.Forms.DataGridViewTriState.True); this.dataGridViewTextBoxColumn4.set_Visible(false); this.dataGridViewTextBoxColumn4.set_Width(150); this.dataGridViewTextBoxColumn5.set_DataPropertyName("ApartmentId"); this.dataGridViewTextBoxColumn5.set_HeaderText("accountServiceId"); this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5"); this.dataGridViewTextBoxColumn5.set_ReadOnly(true); this.dataGridViewTextBoxColumn5.set_Visible(false); this.dataGridViewTextBoxColumn6.set_DataPropertyName("FromDate"); style4.set_BackColor(System.Drawing.Color.FromArgb(0x80, 0xff, 0x80)); this.dataGridViewTextBoxColumn6.set_DefaultCellStyle(style4); this.dataGridViewTextBoxColumn6.set_HeaderText("counterId"); this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6"); this.dataGridViewTextBoxColumn6.set_ReadOnly(true); this.dataGridViewTextBoxColumn6.set_Visible(false); this.dataGridViewTextBoxColumn7.set_DataPropertyName("ToDate"); this.dataGridViewTextBoxColumn7.set_HeaderText("counterId"); this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7"); this.dataGridViewTextBoxColumn7.set_ReadOnly(true); this.dataGridViewTextBoxColumn7.set_Visible(false); this.addressName.set_DataPropertyName("AddressName"); this.addressName.set_HeaderText("Адрес"); this.addressName.set_Name("addressName"); this.addressName.set_ReadOnly(true); this.addressName.set_Width(200); this.counterName.set_DataPropertyName("CounterName"); this.counterName.set_HeaderText("Наименование счетчика"); this.counterName.set_Name("counterName"); this.counterName.set_ReadOnly(true); this.counterName.set_Width(150); this.counterTypeName.set_DataPropertyName("CounterTypeName"); this.counterTypeName.set_HeaderText("Тип счетчика"); this.counterTypeName.set_Name("counterTypeName"); this.counterTypeName.set_ReadOnly(true); this.counterTypeName.set_Width(150); 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.ApartmentId.set_DataPropertyName("ApartmentId"); this.ApartmentId.set_HeaderText("ApartmentId"); this.ApartmentId.set_Name("ApartmentId"); this.ApartmentId.set_ReadOnly(true); this.ApartmentId.set_Visible(false); this.FromDateApartmentCounter.set_DataPropertyName("FromDate"); this.FromDateApartmentCounter.set_HeaderText("FromDate"); this.FromDateApartmentCounter.set_Name("FromDateApartmentCounter"); this.FromDateApartmentCounter.set_Visible(false); this.ToDateApartmentCounter.set_DataPropertyName("ToDate"); this.ToDateApartmentCounter.set_HeaderText("ToDate"); this.ToDateApartmentCounter.set_Name("ToDateApartmentCounter"); this.ToDateApartmentCounter.set_Visible(false); this.dataGridViewDateColumn1.set_DataPropertyName("FromDate"); style5.set_BackColor(System.Drawing.Color.FromArgb(0xc0, 0xff, 0xc0)); this.dataGridViewDateColumn1.set_DefaultCellStyle(style5); 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_Width(120); this.dataGridViewDateColumn2.set_DataPropertyName("ToDate"); style6.set_BackColor(System.Drawing.Color.FromArgb(0xc0, 0xff, 0xc0)); this.dataGridViewDateColumn2.set_DefaultCellStyle(style6); 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_Width(120); this.dataGridViewDateColumn3.set_DataPropertyName("FromDate"); style7.set_BackColor(System.Drawing.Color.FromArgb(0xc0, 0xff, 0xc0)); this.dataGridViewDateColumn3.set_DefaultCellStyle(style7); this.dataGridViewDateColumn3.set_HeaderText("Дата начала"); 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_Width(120); this.dataGridViewDateColumn4.set_DataPropertyName("ToDate"); style8.set_BackColor(System.Drawing.Color.FromArgb(0xc0, 0xff, 0xc0)); this.dataGridViewDateColumn4.set_DefaultCellStyle(style8); this.dataGridViewDateColumn4.set_HeaderText("Дата окончания"); this.dataGridViewDateColumn4.set_Name("dataGridViewDateColumn4"); this.dataGridViewDateColumn4.set_Resizable(System.Windows.Forms.DataGridViewTriState.True); this.dataGridViewDateColumn4.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic); this.dataGridViewDateColumn4.set_Width(120); this.dataGridViewDateColumn5.set_DataPropertyName("FromDate"); style9.set_BackColor(System.Drawing.Color.FromArgb(0xc0, 0xff, 0xc0)); this.dataGridViewDateColumn5.set_DefaultCellStyle(style9); this.dataGridViewDateColumn5.set_HeaderText("Дата начала"); this.dataGridViewDateColumn5.set_Name("dataGridViewDateColumn5"); this.dataGridViewDateColumn5.set_Resizable(System.Windows.Forms.DataGridViewTriState.True); this.dataGridViewDateColumn5.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic); this.dataGridViewDateColumn5.set_Width(120); this.dataGridViewDateColumn6.set_DataPropertyName("ToDate"); style10.set_BackColor(System.Drawing.Color.FromArgb(0xc0, 0xff, 0xc0)); this.dataGridViewDateColumn6.set_DefaultCellStyle(style10); this.dataGridViewDateColumn6.set_HeaderText("Дата окончания"); this.dataGridViewDateColumn6.set_Name("dataGridViewDateColumn6"); this.dataGridViewDateColumn6.set_Resizable(System.Windows.Forms.DataGridViewTriState.True); this.dataGridViewDateColumn6.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic); this.dataGridViewDateColumn6.set_Width(120); this.dataGridViewDateTimeColumn1.set_HeaderText("Дата начала"); this.dataGridViewDateTimeColumn1.set_Name("dataGridViewDateTimeColumn1"); this.dataGridViewDateTimeColumn1.set_ReadOnly(true); this.dataGridViewDateTimeColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True); this.dataGridViewDateTimeColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.Controls.Add(this.splitContainer1); base.set_Name("HousesBindingServicesView"); base.set_Size(new System.Drawing.Size(0x390, 0x15b)); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel1.PerformLayout(); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.dgvBindingServices.EndInit(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.tsMenu.ResumeLayout(false); this.tsMenu.PerformLayout(); this.bsApartmentCounters.EndInit(); this.bsServices.EndInit(); base.ResumeLayout(false); }