private void InitializeComponent() { this.components = new Container(); AccountHouseHolder holder = new AccountHouseHolder(); ComponentResourceManager manager = new ComponentResourceManager(typeof(SplitApartmentForm)); this.tcSteps = new System.Windows.Forms.TabControl(); this.tpZero = new System.Windows.Forms.TabPage(); this.gbAccountInfo = new System.Windows.Forms.GroupBox(); this.tbOldAccountFromDate = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.tbOldAccountOwnerName = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.tbOldAccountNumber = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.gbSplitSettings = new System.Windows.Forms.GroupBox(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.label11 = new System.Windows.Forms.Label(); this.lblTotalShare = new System.Windows.Forms.Label(); this.lblTotalSquare = new System.Windows.Forms.Label(); this.lblLivingSquare = new System.Windows.Forms.Label(); this.lblHeatingSquare = new System.Windows.Forms.Label(); this.lblBalconySquare = new System.Windows.Forms.Label(); this.dtpSplitDate = new DateBox(); this.btnShareToSquare = new System.Windows.Forms.Button(); this.btnSquareToShare = new System.Windows.Forms.Button(); this.dgvAccounts = new System.Windows.Forms.DataGridView(); this.clmnLine = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.clmnFlatName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.clmnShare = new DataGridViewNumericColumn(); this.clmnTotalSquare = new DataGridViewNumericColumn(); this.clmnLivingSquare = new DataGridViewNumericColumn(); this.clmnHeatingSquare = new DataGridViewNumericColumn(); this.clmnBalconySquare = new DataGridViewNumericColumn(); this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bsNewAccounts = new System.Windows.Forms.BindingSource(this.components); this.label1 = new System.Windows.Forms.Label(); this.numApartmentCount = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.gbApartmentInfo = new System.Windows.Forms.GroupBox(); this.tbOldApartmentFromDate = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.tbOldApartmentAddress = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.tbOldApartmentNumber = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.tpFirst = new System.Windows.Forms.TabPage(); this.cbCashlessAccounts = new System.Windows.Forms.ComboBox(); this.label10 = new System.Windows.Forms.Label(); this.dgvAccountsFirstPage = new System.Windows.Forms.DataGridView(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.vwAccountSettings = new AccountView(); this.tpSecond = new System.Windows.Forms.TabPage(); this.gbApartmentOwners = new System.Windows.Forms.GroupBox(); this.dgvApartmentOwners = new System.Windows.Forms.DataGridView(); this.FromDate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ToDate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.PrintName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BirthDate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Age = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Share = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.TypeOwnerFasetName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Doc = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.DateDoc = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bsNewApartmentOwners = new System.Windows.Forms.BindingSource(this.components); this.tsApartmentOwners = new System.Windows.Forms.ToolStrip(); this.tsbAddApartmentOwner = new System.Windows.Forms.ToolStripButton(); this.tsbChangeApartmentOwner = new System.Windows.Forms.ToolStripButton(); this.tsbDeleteApartmentOwner = new System.Windows.Forms.ToolStripButton(); this.dgvApartmentsSecondPage = new System.Windows.Forms.DataGridView(); this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.idDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bsNewApartments = new System.Windows.Forms.BindingSource(this.components); this.tpThird = new System.Windows.Forms.TabPage(); this.dgvNewApartmentResidents = new System.Windows.Forms.DataGridView(); this.clmnNumberAprtment = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.personNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.birthDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.relativeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.typeResidentNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bsNewApartmentResidents = new System.Windows.Forms.BindingSource(this.components); this.tsApartmentResidents = new System.Windows.Forms.ToolStrip(); this.tsBtnAddResident = new System.Windows.Forms.ToolStripButton(); this.tsBtnEditResident = new System.Windows.Forms.ToolStripButton(); this.tsBtnDeleteResident = new System.Windows.Forms.ToolStripButton(); this.tpFourth = new System.Windows.Forms.TabPage(); this.dgvNewApartmentEquipment = new System.Windows.Forms.DataGridView(); this.clmnApartmentNumberEq = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.typeEquipmentNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.infoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fromDateDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.toDateDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bsNewApartmentEquipment = new System.Windows.Forms.BindingSource(this.components); this.tsApartmentEquipment = new System.Windows.Forms.ToolStrip(); this.tsBtnAddApartmentEquipment = new System.Windows.Forms.ToolStripButton(); this.tsBtnEditApartmentEquipment = new System.Windows.Forms.ToolStripButton(); this.tsBtnDeleteApartmentEquipment = new System.Windows.Forms.ToolStripButton(); this.tpLast = new System.Windows.Forms.TabPage(); this.lblWarnings = new System.Windows.Forms.Label(); this.tbWarnings = new System.Windows.Forms.TextBox(); this.lblErrors = new System.Windows.Forms.Label(); this.tbErrors = new System.Windows.Forms.TextBox(); this.btnForward = new System.Windows.Forms.Button(); this.btnBack = new System.Windows.Forms.Button(); this.BtnApply = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewNumericColumn1 = new DataGridViewNumericColumn(); this.dataGridViewTextBoxColumn2 = 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.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn(); 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.dataGridViewNumericColumn2 = new DataGridViewNumericColumn(); this.dataGridViewNumericColumn3 = new DataGridViewNumericColumn(); this.dataGridViewNumericColumn4 = new DataGridViewNumericColumn(); this.toolTipMain = new System.Windows.Forms.ToolTip(this.components); this.bckWrkrProcessSpliting = new BackgroundWorker(); this.tcSteps.SuspendLayout(); this.tpZero.SuspendLayout(); this.gbAccountInfo.SuspendLayout(); this.gbSplitSettings.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.dgvAccounts.BeginInit(); this.bsNewAccounts.BeginInit(); this.numApartmentCount.BeginInit(); this.gbApartmentInfo.SuspendLayout(); this.tpFirst.SuspendLayout(); this.dgvAccountsFirstPage.BeginInit(); this.tpSecond.SuspendLayout(); this.gbApartmentOwners.SuspendLayout(); this.dgvApartmentOwners.BeginInit(); this.bsNewApartmentOwners.BeginInit(); this.tsApartmentOwners.SuspendLayout(); this.dgvApartmentsSecondPage.BeginInit(); this.bsNewApartments.BeginInit(); this.tpThird.SuspendLayout(); this.dgvNewApartmentResidents.BeginInit(); this.bsNewApartmentResidents.BeginInit(); this.tsApartmentResidents.SuspendLayout(); this.tpFourth.SuspendLayout(); this.dgvNewApartmentEquipment.BeginInit(); this.bsNewApartmentEquipment.BeginInit(); this.tsApartmentEquipment.SuspendLayout(); this.tpLast.SuspendLayout(); base.SuspendLayout(); this.tcSteps.Controls.Add(this.tpZero); this.tcSteps.Controls.Add(this.tpFirst); this.tcSteps.Controls.Add(this.tpSecond); this.tcSteps.Controls.Add(this.tpThird); this.tcSteps.Controls.Add(this.tpFourth); this.tcSteps.Controls.Add(this.tpLast); this.tcSteps.set_Dock(System.Windows.Forms.DockStyle.Top); this.tcSteps.set_Location(new System.Drawing.Point(0, 0)); this.tcSteps.set_Name("tcSteps"); this.tcSteps.set_SelectedIndex(0); this.tcSteps.set_Size(new System.Drawing.Size(0x215, 390)); this.tcSteps.set_TabIndex(0); this.tpZero.set_BackColor(System.Drawing.SystemColors.Control); this.tpZero.Controls.Add(this.gbAccountInfo); this.tpZero.Controls.Add(this.gbSplitSettings); this.tpZero.Controls.Add(this.gbApartmentInfo); this.tpZero.set_Location(new System.Drawing.Point(4, 0x16)); this.tpZero.set_Name("tpZero"); this.tpZero.set_Padding(new System.Windows.Forms.Padding(3)); this.tpZero.set_Size(new System.Drawing.Size(0x20d, 0x16c)); this.tpZero.set_TabIndex(5); this.tpZero.set_Text("0.Начало"); this.tpZero.add_Enter(new System.EventHandler(this.tpZero_Enter)); this.gbAccountInfo.Controls.Add(this.tbOldAccountFromDate); this.gbAccountInfo.Controls.Add(this.label8); this.gbAccountInfo.Controls.Add(this.tbOldAccountOwnerName); this.gbAccountInfo.Controls.Add(this.label6); this.gbAccountInfo.Controls.Add(this.tbOldAccountNumber); this.gbAccountInfo.Controls.Add(this.label7); this.gbAccountInfo.set_Location(new System.Drawing.Point(0x10a, 6)); this.gbAccountInfo.set_Name("gbAccountInfo"); this.gbAccountInfo.set_Size(new System.Drawing.Size(0xfd, 0x61)); this.gbAccountInfo.set_TabIndex(0x10); this.gbAccountInfo.set_TabStop(false); this.gbAccountInfo.set_Text("Лицевой счёт, подлежащий разделению:"); this.tbOldAccountFromDate.set_Location(new System.Drawing.Point(0x63, 0x47)); this.tbOldAccountFromDate.set_Name("tbOldAccountFromDate"); this.tbOldAccountFromDate.set_ReadOnly(true); this.tbOldAccountFromDate.set_Size(new System.Drawing.Size(0x93, 20)); this.tbOldAccountFromDate.set_TabIndex(30); this.label8.set_AutoSize(true); this.label8.set_Location(new System.Drawing.Point(6, 0x4a)); this.label8.set_Name("label8"); this.label8.set_Size(new System.Drawing.Size(0x57, 13)); this.label8.set_TabIndex(0x1d); this.label8.set_Text("Дата открытия:"); this.tbOldAccountOwnerName.set_Location(new System.Drawing.Point(0x63, 0x2d)); this.tbOldAccountOwnerName.set_Name("tbOldAccountOwnerName"); this.tbOldAccountOwnerName.set_ReadOnly(true); this.tbOldAccountOwnerName.set_Size(new System.Drawing.Size(0x93, 20)); this.tbOldAccountOwnerName.set_TabIndex(0x1c); this.label6.set_AutoSize(true); this.label6.set_Location(new System.Drawing.Point(0x22, 0x30)); this.label6.set_Name("label6"); this.label6.set_Size(new System.Drawing.Size(0x3b, 13)); this.label6.set_TabIndex(0x1b); this.label6.set_Text("Владелец:"); this.tbOldAccountNumber.set_Location(new System.Drawing.Point(0x63, 0x13)); this.tbOldAccountNumber.set_Name("tbOldAccountNumber"); this.tbOldAccountNumber.set_ReadOnly(true); this.tbOldAccountNumber.set_Size(new System.Drawing.Size(0x93, 20)); this.tbOldAccountNumber.set_TabIndex(0x1a); this.label7.set_AutoSize(true); this.label7.set_Location(new System.Drawing.Point(0x31, 0x16)); this.label7.set_Name("label7"); this.label7.set_Size(new System.Drawing.Size(0x2c, 13)); this.label7.set_TabIndex(0x19); this.label7.set_Text("Номер:"); this.gbSplitSettings.Controls.Add(this.tableLayoutPanel1); this.gbSplitSettings.Controls.Add(this.dtpSplitDate); this.gbSplitSettings.Controls.Add(this.btnShareToSquare); this.gbSplitSettings.Controls.Add(this.btnSquareToShare); this.gbSplitSettings.Controls.Add(this.dgvAccounts); this.gbSplitSettings.Controls.Add(this.label1); this.gbSplitSettings.Controls.Add(this.numApartmentCount); this.gbSplitSettings.Controls.Add(this.label2); this.gbSplitSettings.set_Location(new System.Drawing.Point(8, 0x6d)); this.gbSplitSettings.set_Name("gbSplitSettings"); this.gbSplitSettings.set_Size(new System.Drawing.Size(0x1ff, 0xf9)); this.gbSplitSettings.set_TabIndex(0x10); this.gbSplitSettings.set_TabStop(false); this.gbSplitSettings.set_Text("Настройки разделения:"); this.tableLayoutPanel1.set_ColumnCount(7); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50f)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667f)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667f)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667f)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667f)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667f)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667f)); this.tableLayoutPanel1.Controls.Add(this.label11, 1, 0); this.tableLayoutPanel1.Controls.Add(this.lblTotalShare, 2, 0); this.tableLayoutPanel1.Controls.Add(this.lblTotalSquare, 3, 0); this.tableLayoutPanel1.Controls.Add(this.lblLivingSquare, 4, 0); this.tableLayoutPanel1.Controls.Add(this.lblHeatingSquare, 5, 0); this.tableLayoutPanel1.Controls.Add(this.lblBalconySquare, 6, 0); this.tableLayoutPanel1.set_Location(new System.Drawing.Point(6, 230)); this.tableLayoutPanel1.set_Name("tableLayoutPanel1"); this.tableLayoutPanel1.set_RowCount(1); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f)); this.tableLayoutPanel1.set_Size(new System.Drawing.Size(0x1f2, 13)); this.tableLayoutPanel1.set_TabIndex(30); this.label11.set_AutoSize(true); this.label11.set_Dock(System.Windows.Forms.DockStyle.Right); this.label11.set_Location(new System.Drawing.Point(0x51, 0)); this.label11.set_Name("label11"); this.label11.set_Size(new System.Drawing.Size(40, 13)); this.label11.set_TabIndex(0x1b); this.label11.set_Text("Итого:"); this.lblTotalShare.set_AutoSize(true); this.lblTotalShare.set_Dock(System.Windows.Forms.DockStyle.Left); this.lblTotalShare.set_Location(new System.Drawing.Point(0x7f, 0)); this.lblTotalShare.set_Name("lblTotalShare"); this.lblTotalShare.set_Size(new System.Drawing.Size(0x1f, 13)); this.lblTotalShare.set_TabIndex(0x1c); this.lblTotalShare.set_Text("доля"); this.lblTotalShare.set_TextAlign(System.Drawing.ContentAlignment.MiddleCenter); this.lblTotalSquare.set_AutoSize(true); this.lblTotalSquare.set_Dock(System.Windows.Forms.DockStyle.Left); this.lblTotalSquare.set_Location(new System.Drawing.Point(0xc9, 0)); this.lblTotalSquare.set_Name("lblTotalSquare"); this.lblTotalSquare.set_Size(new System.Drawing.Size(0x34, 13)); this.lblTotalSquare.set_TabIndex(0x1d); this.lblTotalSquare.set_Text("площадь"); this.lblTotalSquare.set_TextAlign(System.Drawing.ContentAlignment.MiddleCenter); this.lblLivingSquare.set_AutoSize(true); this.lblLivingSquare.set_Dock(System.Windows.Forms.DockStyle.Left); this.lblLivingSquare.set_Location(new System.Drawing.Point(0x113, 0)); this.lblLivingSquare.set_Name("lblLivingSquare"); this.lblLivingSquare.set_Size(new System.Drawing.Size(0x34, 13)); this.lblLivingSquare.set_TabIndex(30); this.lblLivingSquare.set_Text("площадь"); this.lblLivingSquare.set_TextAlign(System.Drawing.ContentAlignment.MiddleCenter); this.lblHeatingSquare.set_AutoSize(true); this.lblHeatingSquare.set_Dock(System.Windows.Forms.DockStyle.Left); this.lblHeatingSquare.set_Location(new System.Drawing.Point(0x15d, 0)); this.lblHeatingSquare.set_Name("lblHeatingSquare"); this.lblHeatingSquare.set_Size(new System.Drawing.Size(0x34, 13)); this.lblHeatingSquare.set_TabIndex(0x1f); this.lblHeatingSquare.set_Text("площадь"); this.lblHeatingSquare.set_TextAlign(System.Drawing.ContentAlignment.MiddleCenter); this.lblBalconySquare.set_AutoSize(true); this.lblBalconySquare.set_Dock(System.Windows.Forms.DockStyle.Left); this.lblBalconySquare.set_Location(new System.Drawing.Point(0x1a7, 0)); this.lblBalconySquare.set_Name("lblBalconySquare"); this.lblBalconySquare.set_Size(new System.Drawing.Size(0x34, 13)); this.lblBalconySquare.set_TabIndex(0x20); this.lblBalconySquare.set_Text("площадь"); this.lblBalconySquare.set_TextAlign(System.Drawing.ContentAlignment.MiddleCenter); this.dtpSplitDate.AttachToPeriod = false; this.dtpSplitDate.AttachToPeriodEnd = false; this.dtpSplitDate.set_Location(new System.Drawing.Point(0x6f, 0x13)); this.dtpSplitDate.set_Mask("00/00/0000"); this.dtpSplitDate.set_Name("dtpSplitDate"); this.dtpSplitDate.set_Size(new System.Drawing.Size(0x3f, 20)); this.dtpSplitDate.set_TabIndex(1); this.dtpSplitDate.add_Leave(new System.EventHandler(this.dtpSplitDate_Leave)); this.btnShareToSquare.set_FlatStyle(System.Windows.Forms.FlatStyle.Popup); this.btnShareToSquare.set_Image(Resources.RIGHT); this.btnShareToSquare.set_Location(new System.Drawing.Point(180, 0x15)); this.btnShareToSquare.set_Name("btnShareToSquare"); this.btnShareToSquare.set_Size(new System.Drawing.Size(20, 0x12)); this.btnShareToSquare.set_TabIndex(0x1a); this.toolTipMain.SetToolTip(this.btnShareToSquare, "Высчитать площадь на основании значений доли"); this.btnShareToSquare.set_UseVisualStyleBackColor(true); this.btnShareToSquare.add_Click(new System.EventHandler(this.btnShareToSquare_Click)); this.btnSquareToShare.set_FlatStyle(System.Windows.Forms.FlatStyle.Popup); this.btnSquareToShare.set_Image(Resources.LEFT); this.btnSquareToShare.set_Location(new System.Drawing.Point(0xce, 0x15)); this.btnSquareToShare.set_Name("btnSquareToShare"); this.btnSquareToShare.set_Size(new System.Drawing.Size(20, 0x12)); this.btnSquareToShare.set_TabIndex(0x19); this.toolTipMain.SetToolTip(this.btnSquareToShare, "Высчитать доли на основании значений площади"); this.btnSquareToShare.set_UseVisualStyleBackColor(true); this.btnSquareToShare.add_Click(new System.EventHandler(this.btnSquareToShare_Click)); this.dgvAccounts.set_AllowUserToAddRows(false); this.dgvAccounts.set_AllowUserToDeleteRows(false); this.dgvAccounts.set_AllowUserToResizeRows(false); this.dgvAccounts.set_AutoGenerateColumns(false); this.dgvAccounts.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill); this.dgvAccounts.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvAccounts.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.clmnLine, this.clmnFlatName, this.clmnShare, this.clmnTotalSquare, this.clmnLivingSquare, this.clmnHeatingSquare, this.clmnBalconySquare, this.idDataGridViewTextBoxColumn }); this.dgvAccounts.set_DataSource(this.bsNewAccounts); this.dgvAccounts.set_EditMode(System.Windows.Forms.DataGridViewEditMode.EditOnEnter); this.dgvAccounts.set_Location(new System.Drawing.Point(6, 0x2d)); this.dgvAccounts.set_Name("dgvAccounts"); this.dgvAccounts.set_RowHeadersVisible(false); this.dgvAccounts.set_Size(new System.Drawing.Size(0x1f3, 0xb3)); this.dgvAccounts.set_TabIndex(0x17); this.dgvAccounts.add_RowsAdded(new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvAccounts_RowsAdded)); this.dgvAccounts.add_CellEndEdit(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAccounts_CellEndEdit)); this.dgvAccounts.add_RowsRemoved(new System.Windows.Forms.DataGridViewRowsRemovedEventHandler(this.dgvAccounts_RowsRemoved)); this.clmnLine.set_FillWeight((float) 65.88163f); this.clmnLine.set_HeaderText("№"); this.clmnLine.set_Name("clmnLine"); this.clmnLine.set_ReadOnly(true); this.clmnFlatName.set_FillWeight((float) 97.1754f); this.clmnFlatName.set_HeaderText("Новый № квартиры"); this.clmnFlatName.set_Name("clmnFlatName"); this.clmnShare.DecimalPlaces = 0; int[] numArray = new int[4]; this.clmnShare.DefaultValue = new decimal(numArray); this.clmnShare.set_FillWeight((float) 97.1754f); this.clmnShare.set_HeaderText("Доля"); int[] numArray2 = new int[4]; numArray2[0] = 100; this.clmnShare.Maximum = new decimal(numArray2); int[] numArray3 = new int[4]; this.clmnShare.Minimum = new decimal(numArray3); this.clmnShare.set_Name("clmnShare"); this.clmnTotalSquare.DecimalPlaces = 0; int[] numArray4 = new int[4]; this.clmnTotalSquare.DefaultValue = new decimal(numArray4); this.clmnTotalSquare.set_FillWeight((float) 97.1754f); this.clmnTotalSquare.set_HeaderText("Общая площадь"); int[] numArray5 = new int[4]; numArray5[0] = 100; this.clmnTotalSquare.Maximum = new decimal(numArray5); int[] numArray6 = new int[4]; this.clmnTotalSquare.Minimum = new decimal(numArray6); this.clmnTotalSquare.set_Name("clmnTotalSquare"); this.clmnLivingSquare.DecimalPlaces = 0; int[] numArray7 = new int[4]; this.clmnLivingSquare.DefaultValue = new decimal(numArray7); this.clmnLivingSquare.set_FillWeight((float) 97.1754f); this.clmnLivingSquare.set_HeaderText("Жилая площадь"); int[] numArray8 = new int[4]; numArray8[0] = 100; this.clmnLivingSquare.Maximum = new decimal(numArray8); int[] numArray9 = new int[4]; this.clmnLivingSquare.Minimum = new decimal(numArray9); this.clmnLivingSquare.set_Name("clmnLivingSquare"); this.clmnHeatingSquare.DecimalPlaces = 0; int[] numArray10 = new int[4]; this.clmnHeatingSquare.DefaultValue = new decimal(numArray10); this.clmnHeatingSquare.set_FillWeight((float) 97.1754f); this.clmnHeatingSquare.set_HeaderText("Отапл. площадь"); int[] numArray11 = new int[4]; numArray11[0] = 100; this.clmnHeatingSquare.Maximum = new decimal(numArray11); int[] numArray12 = new int[4]; this.clmnHeatingSquare.Minimum = new decimal(numArray12); this.clmnHeatingSquare.set_Name("clmnHeatingSquare"); this.clmnBalconySquare.DecimalPlaces = 0; int[] numArray13 = new int[4]; this.clmnBalconySquare.DefaultValue = new decimal(numArray13); this.clmnBalconySquare.set_FillWeight((float) 97.1754f); this.clmnBalconySquare.set_HeaderText("Площадь балконов"); int[] numArray14 = new int[4]; numArray14[0] = 100; this.clmnBalconySquare.Maximum = new decimal(numArray14); int[] numArray15 = new int[4]; this.clmnBalconySquare.Minimum = new decimal(numArray15); this.clmnBalconySquare.set_Name("clmnBalconySquare"); this.idDataGridViewTextBoxColumn.set_DataPropertyName("Id"); this.idDataGridViewTextBoxColumn.set_HeaderText("Id"); this.idDataGridViewTextBoxColumn.set_Name("idDataGridViewTextBoxColumn"); this.idDataGridViewTextBoxColumn.set_Visible(false); this.bsNewAccounts.set_DataSource(typeof(Account)); this.bsNewAccounts.add_CurrentChanged(new System.EventHandler(this.bsNewAccounts_CurrentChanged)); this.label1.set_AutoSize(true); this.label1.set_Location(new System.Drawing.Point(0x108, 0x15)); this.label1.set_Name("label1"); this.label1.set_Size(new System.Drawing.Size(0xc2, 13)); this.label1.set_TabIndex(20); this.label1.set_Text("Количество новых паспортов жилья:"); this.numApartmentCount.set_Location(new System.Drawing.Point(0x1cf, 0x13)); int[] numArray16 = new int[4]; numArray16[0] = 10; this.numApartmentCount.set_Maximum(new decimal(numArray16)); int[] numArray17 = new int[4]; numArray17[0] = 2; this.numApartmentCount.set_Minimum(new decimal(numArray17)); this.numApartmentCount.set_Name("numApartmentCount"); this.numApartmentCount.set_Size(new System.Drawing.Size(0x29, 20)); this.numApartmentCount.set_TabIndex(0x13); int[] numArray18 = new int[4]; numArray18[0] = 2; this.numApartmentCount.set_Value(new decimal(numArray18)); this.numApartmentCount.add_ValueChanged(new System.EventHandler(this.numApartmentCount_ValueChanged)); this.label2.set_AutoSize(true); this.label2.set_Location(new System.Drawing.Point(6, 0x16)); this.label2.set_Name("label2"); this.label2.set_Size(new System.Drawing.Size(0x63, 13)); this.label2.set_TabIndex(0x16); this.label2.set_Text("Дата разделения:"); this.gbApartmentInfo.Controls.Add(this.tbOldApartmentFromDate); this.gbApartmentInfo.Controls.Add(this.label5); this.gbApartmentInfo.Controls.Add(this.tbOldApartmentAddress); this.gbApartmentInfo.Controls.Add(this.label4); this.gbApartmentInfo.Controls.Add(this.tbOldApartmentNumber); this.gbApartmentInfo.Controls.Add(this.label3); this.gbApartmentInfo.set_Location(new System.Drawing.Point(8, 6)); this.gbApartmentInfo.set_Name("gbApartmentInfo"); this.gbApartmentInfo.set_Size(new System.Drawing.Size(0xfc, 0x61)); this.gbApartmentInfo.set_TabIndex(15); this.gbApartmentInfo.set_TabStop(false); this.gbApartmentInfo.set_Text("Паспорт жилья, подлежащий разделению:"); this.tbOldApartmentFromDate.set_Location(new System.Drawing.Point(0x63, 0x47)); this.tbOldApartmentFromDate.set_Name("tbOldApartmentFromDate"); this.tbOldApartmentFromDate.set_ReadOnly(true); this.tbOldApartmentFromDate.set_Size(new System.Drawing.Size(0x93, 20)); this.tbOldApartmentFromDate.set_TabIndex(0x1a); this.label5.set_AutoSize(true); this.label5.set_Location(new System.Drawing.Point(6, 0x47)); this.label5.set_Name("label5"); this.label5.set_Size(new System.Drawing.Size(0x57, 13)); this.label5.set_TabIndex(0x19); this.label5.set_Text("Дата открытия:"); this.tbOldApartmentAddress.set_Location(new System.Drawing.Point(0x63, 0x2d)); this.tbOldApartmentAddress.set_Name("tbOldApartmentAddress"); this.tbOldApartmentAddress.set_ReadOnly(true); this.tbOldApartmentAddress.set_Size(new System.Drawing.Size(0x93, 20)); this.tbOldApartmentAddress.set_TabIndex(0x18); this.label4.set_AutoSize(true); this.label4.set_Location(new System.Drawing.Point(0x34, 0x2d)); this.label4.set_Name("label4"); this.label4.set_Size(new System.Drawing.Size(0x29, 13)); this.label4.set_TabIndex(0x17); this.label4.set_Text("Адрес:"); this.tbOldApartmentNumber.set_Location(new System.Drawing.Point(0x63, 0x13)); this.tbOldApartmentNumber.set_Name("tbOldApartmentNumber"); this.tbOldApartmentNumber.set_ReadOnly(true); this.tbOldApartmentNumber.set_Size(new System.Drawing.Size(0x93, 20)); this.tbOldApartmentNumber.set_TabIndex(0x16); this.label3.set_AutoSize(true); this.label3.set_Location(new System.Drawing.Point(0x31, 0x13)); this.label3.set_Name("label3"); this.label3.set_Size(new System.Drawing.Size(0x2c, 13)); this.label3.set_TabIndex(0x15); this.label3.set_Text("Номер:"); this.tpFirst.set_BackColor(System.Drawing.SystemColors.Control); this.tpFirst.Controls.Add(this.cbCashlessAccounts); this.tpFirst.Controls.Add(this.label10); this.tpFirst.Controls.Add(this.dgvAccountsFirstPage); this.tpFirst.Controls.Add(this.vwAccountSettings); this.tpFirst.set_Location(new System.Drawing.Point(4, 0x16)); this.tpFirst.set_Name("tpFirst"); this.tpFirst.set_Padding(new System.Windows.Forms.Padding(3)); this.tpFirst.set_Size(new System.Drawing.Size(0x20d, 0x16c)); this.tpFirst.set_TabIndex(0); this.tpFirst.set_Text("1.Лицевые счета"); this.tpFirst.add_Enter(new System.EventHandler(this.tpZero_Enter)); this.cbCashlessAccounts.set_Enabled(false); this.cbCashlessAccounts.set_FormattingEnabled(true); this.cbCashlessAccounts.set_Location(new System.Drawing.Point(6, 0x151)); this.cbCashlessAccounts.set_Name("cbCashlessAccounts"); this.cbCashlessAccounts.set_Size(new System.Drawing.Size(0x3d, 0x15)); this.cbCashlessAccounts.set_TabIndex(0x10); this.toolTipMain.SetToolTip(this.cbCashlessAccounts, "Если у разделяемого Лицевого счёта есть настройки безналичной оплаты, то вы можете выбрать на какой новый лицевой счёт перенести эти настройки"); this.label10.set_AutoSize(true); this.label10.set_Location(new System.Drawing.Point(3, 0x141)); this.label10.set_Name("label10"); this.label10.set_Size(new System.Drawing.Size(50, 13)); this.label10.set_TabIndex(0x10); this.label10.set_Text("Безнал.:"); this.toolTipMain.SetToolTip(this.label10, "Если у разделяемого Лицевого счёта есть настройки безналичной оплаты, то вы можете выбрать на какой новый лицевой счёт перенести эти настройки"); this.dgvAccountsFirstPage.set_AllowUserToAddRows(false); this.dgvAccountsFirstPage.set_AllowUserToDeleteRows(false); this.dgvAccountsFirstPage.set_AllowUserToOrderColumns(true); this.dgvAccountsFirstPage.set_AllowUserToResizeRows(false); this.dgvAccountsFirstPage.set_AutoGenerateColumns(false); this.dgvAccountsFirstPage.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill); this.dgvAccountsFirstPage.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvAccountsFirstPage.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn3, this.dataGridViewTextBoxColumn4 }); this.dgvAccountsFirstPage.set_DataSource(this.bsNewAccounts); this.dgvAccountsFirstPage.set_EditMode(System.Windows.Forms.DataGridViewEditMode.EditOnEnter); this.dgvAccountsFirstPage.set_Location(new System.Drawing.Point(6, 6)); this.dgvAccountsFirstPage.set_Name("dgvAccountsFirstPage"); this.dgvAccountsFirstPage.set_RowHeadersVisible(false); this.dgvAccountsFirstPage.set_Size(new System.Drawing.Size(0x3d, 0x138)); this.dgvAccountsFirstPage.set_TabIndex(0x18); this.dgvAccountsFirstPage.add_RowsAdded(new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvAccounts_RowsAdded)); this.dataGridViewTextBoxColumn3.set_HeaderText("№"); this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3"); this.dataGridViewTextBoxColumn3.set_ReadOnly(true); this.dataGridViewTextBoxColumn4.set_DataPropertyName("Id"); this.dataGridViewTextBoxColumn4.set_HeaderText("Id"); this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4"); this.dataGridViewTextBoxColumn4.set_ReadOnly(true); this.dataGridViewTextBoxColumn4.set_Visible(false); holder.AccountId = 0L; holder.Code = 0; holder.FromDate = new System.DateTime(0L); holder.Id = 0L; holder.IsDeleted = false; holder.IsDirty = true; holder.ObjectWithIdType = null; holder.OrgId = 0L; holder.ShortName = null; this.vwAccountSettings.AccountHouseHolder = holder; this.vwAccountSettings.AllowOwnerNameChanging = true; this.vwAccountSettings.AllowOwnerSelectionChanging = true; this.vwAccountSettings.set_Dock(System.Windows.Forms.DockStyle.Right); this.vwAccountSettings.IsNewApartment = true; this.vwAccountSettings.set_Location(new System.Drawing.Point(0x49, 3)); this.vwAccountSettings.set_MinimumSize(new System.Drawing.Size(0x125, 0x86)); this.vwAccountSettings.set_Name("vwAccountSettings"); this.vwAccountSettings.set_Size(new System.Drawing.Size(0x1c1, 0x166)); this.vwAccountSettings.set_TabIndex(13); this.vwAccountSettings.ToDateVisible = false; this.vwAccountSettings.onAccountHouseHolderSelected += new AccountHouseHolderHandler(this.vwAccountSettings_onAccountHouseHolderSelected); this.tpSecond.set_BackColor(System.Drawing.SystemColors.Control); this.tpSecond.Controls.Add(this.gbApartmentOwners); this.tpSecond.Controls.Add(this.dgvApartmentsSecondPage); this.tpSecond.set_Location(new System.Drawing.Point(4, 0x16)); this.tpSecond.set_Name("tpSecond"); this.tpSecond.set_Padding(new System.Windows.Forms.Padding(3)); this.tpSecond.set_Size(new System.Drawing.Size(0x20d, 0x16c)); this.tpSecond.set_TabIndex(1); this.tpSecond.set_Text("2.Владельцы ПЖ"); this.tpSecond.add_Enter(new System.EventHandler(this.tpZero_Enter)); this.gbApartmentOwners.Controls.Add(this.dgvApartmentOwners); this.gbApartmentOwners.Controls.Add(this.tsApartmentOwners); this.gbApartmentOwners.set_Location(new System.Drawing.Point(0x49, 6)); this.gbApartmentOwners.set_Name("gbApartmentOwners"); this.gbApartmentOwners.set_Size(new System.Drawing.Size(0x1bc, 0x160)); this.gbApartmentOwners.set_TabIndex(0x1a); this.gbApartmentOwners.set_TabStop(false); this.gbApartmentOwners.set_Text("Права собственности:"); this.dgvApartmentOwners.set_AllowUserToAddRows(false); this.dgvApartmentOwners.set_AllowUserToDeleteRows(false); this.dgvApartmentOwners.set_AutoGenerateColumns(false); this.dgvApartmentOwners.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader); this.dgvApartmentOwners.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells); this.dgvApartmentOwners.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvApartmentOwners.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.FromDate, this.ToDate, this.PrintName, this.BirthDate, this.Age, this.Share, this.TypeOwnerFasetName, this.Doc, this.DateDoc }); this.dgvApartmentOwners.set_DataSource(this.bsNewApartmentOwners); this.dgvApartmentOwners.set_Dock(System.Windows.Forms.DockStyle.Fill); this.dgvApartmentOwners.set_GridColor(System.Drawing.SystemColors.ControlLight); this.dgvApartmentOwners.set_Location(new System.Drawing.Point(3, 0x29)); this.dgvApartmentOwners.set_MultiSelect(false); this.dgvApartmentOwners.set_Name("dgvApartmentOwners"); this.dgvApartmentOwners.set_ReadOnly(true); this.dgvApartmentOwners.set_RowHeadersVisible(false); this.dgvApartmentOwners.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect); this.dgvApartmentOwners.set_Size(new System.Drawing.Size(0x1b6, 0x134)); this.dgvApartmentOwners.set_TabIndex(3); this.dgvApartmentOwners.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvApartmentOwners_CellDoubleClick)); this.FromDate.set_DataPropertyName("FromDate"); this.FromDate.set_HeaderText("Дата начала"); this.FromDate.set_MinimumWidth(50); this.FromDate.set_Name("FromDate"); this.FromDate.set_ReadOnly(true); this.FromDate.set_Width(50); this.ToDate.set_DataPropertyName("ToDate"); this.ToDate.set_HeaderText("Дата окончания"); this.ToDate.set_MinimumWidth(70); this.ToDate.set_Name("ToDate"); this.ToDate.set_ReadOnly(true); this.ToDate.set_Width(70); this.PrintName.set_DataPropertyName("PrintName"); this.PrintName.set_HeaderText("Владелец"); this.PrintName.set_MinimumWidth(70); this.PrintName.set_Name("PrintName"); this.PrintName.set_ReadOnly(true); this.PrintName.set_Width(70); this.BirthDate.set_DataPropertyName("BirthDate"); this.BirthDate.set_HeaderText("Дата рождения"); this.BirthDate.set_MinimumWidth(60); this.BirthDate.set_Name("BirthDate"); this.BirthDate.set_ReadOnly(true); this.BirthDate.set_Width(60); this.Age.set_DataPropertyName("Age"); this.Age.set_HeaderText("Возраст"); this.Age.set_MinimumWidth(60); this.Age.set_Name("Age"); this.Age.set_ReadOnly(true); this.Age.set_Width(60); this.Share.set_DataPropertyName("Share"); this.Share.set_HeaderText("Доля"); this.Share.set_MinimumWidth(50); this.Share.set_Name("Share"); this.Share.set_ReadOnly(true); this.Share.set_Width(50); this.TypeOwnerFasetName.set_DataPropertyName("TypeOwnerFasetName"); this.TypeOwnerFasetName.set_HeaderText("Тип владения собственностью"); this.TypeOwnerFasetName.set_MinimumWidth(110); this.TypeOwnerFasetName.set_Name("TypeOwnerFasetName"); this.TypeOwnerFasetName.set_ReadOnly(true); this.TypeOwnerFasetName.set_Width(110); this.Doc.set_DataPropertyName("Doc"); this.Doc.set_HeaderText("Документ"); this.Doc.set_MinimumWidth(70); this.Doc.set_Name("Doc"); this.Doc.set_ReadOnly(true); this.Doc.set_Width(70); this.DateDoc.set_DataPropertyName("DateDoc"); this.DateDoc.set_HeaderText("Дата документа"); this.DateDoc.set_MinimumWidth(70); this.DateDoc.set_Name("DateDoc"); this.DateDoc.set_ReadOnly(true); this.DateDoc.set_Width(70); this.bsNewApartmentOwners.set_DataSource(typeof(ApartmentOwner)); this.bsNewApartmentOwners.set_Sort("ToDate desc,FromDate desc"); this.tsApartmentOwners.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbAddApartmentOwner, this.tsbChangeApartmentOwner, this.tsbDeleteApartmentOwner }); this.tsApartmentOwners.set_Location(new System.Drawing.Point(3, 0x10)); this.tsApartmentOwners.set_Name("tsApartmentOwners"); this.tsApartmentOwners.set_Size(new System.Drawing.Size(0x1b6, 0x19)); this.tsApartmentOwners.set_TabIndex(4); this.tsApartmentOwners.set_Text("toolStrip1"); this.tsbAddApartmentOwner.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsbAddApartmentOwner.set_Image(Resources.ADD); this.tsbAddApartmentOwner.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsbAddApartmentOwner.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsbAddApartmentOwner.set_Name("tsbAddApartmentOwner"); this.tsbAddApartmentOwner.set_Size(new System.Drawing.Size(0x18, 0x16)); this.tsbAddApartmentOwner.set_Text("Добавить"); this.tsbAddApartmentOwner.add_Click(new System.EventHandler(this.tsbAddApartmentOwner_Click)); this.tsbChangeApartmentOwner.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsbChangeApartmentOwner.set_Image(Resources.CHANGE); this.tsbChangeApartmentOwner.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsbChangeApartmentOwner.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsbChangeApartmentOwner.set_Name("tsbChangeApartmentOwner"); this.tsbChangeApartmentOwner.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsbChangeApartmentOwner.set_Text("Изменить"); this.tsbChangeApartmentOwner.add_Click(new System.EventHandler(this.tsbChangeApartmentOwner_Click)); this.tsbDeleteApartmentOwner.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsbDeleteApartmentOwner.set_Image(Resources.DELETE); this.tsbDeleteApartmentOwner.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsbDeleteApartmentOwner.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsbDeleteApartmentOwner.set_Name("tsbDeleteApartmentOwner"); this.tsbDeleteApartmentOwner.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsbDeleteApartmentOwner.set_Text("Удалить"); this.tsbDeleteApartmentOwner.add_Click(new System.EventHandler(this.tsbDeleteApartmentOwner_Click)); this.dgvApartmentsSecondPage.set_AllowUserToAddRows(false); this.dgvApartmentsSecondPage.set_AllowUserToDeleteRows(false); this.dgvApartmentsSecondPage.set_AllowUserToResizeRows(false); this.dgvApartmentsSecondPage.set_AutoGenerateColumns(false); this.dgvApartmentsSecondPage.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill); this.dgvApartmentsSecondPage.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvApartmentsSecondPage.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn5, this.idDataGridViewTextBoxColumn1 }); this.dgvApartmentsSecondPage.set_DataSource(this.bsNewApartments); this.dgvApartmentsSecondPage.set_EditMode(System.Windows.Forms.DataGridViewEditMode.EditOnEnter); this.dgvApartmentsSecondPage.set_Location(new System.Drawing.Point(6, 6)); this.dgvApartmentsSecondPage.set_Name("dgvApartmentsSecondPage"); this.dgvApartmentsSecondPage.set_ReadOnly(true); this.dgvApartmentsSecondPage.set_RowHeadersVisible(false); this.dgvApartmentsSecondPage.set_Size(new System.Drawing.Size(0x3d, 0x15d)); this.dgvApartmentsSecondPage.set_TabIndex(0x19); this.dgvApartmentsSecondPage.add_RowsAdded(new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvAccounts_RowsAdded)); this.dataGridViewTextBoxColumn5.set_HeaderText("№"); this.dataGridViewTextBoxColumn5.set_MinimumWidth(50); this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5"); this.dataGridViewTextBoxColumn5.set_ReadOnly(true); this.idDataGridViewTextBoxColumn1.set_DataPropertyName("Id"); this.idDataGridViewTextBoxColumn1.set_HeaderText("Id"); this.idDataGridViewTextBoxColumn1.set_Name("idDataGridViewTextBoxColumn1"); this.idDataGridViewTextBoxColumn1.set_ReadOnly(true); this.idDataGridViewTextBoxColumn1.set_Visible(false); this.bsNewApartments.set_DataSource(typeof(Apartment)); this.bsNewApartments.add_CurrentChanged(new System.EventHandler(this.bsNewApartments_CurrentChanged)); this.tpThird.set_BackColor(System.Drawing.SystemColors.Control); this.tpThird.Controls.Add(this.dgvNewApartmentResidents); this.tpThird.Controls.Add(this.tsApartmentResidents); this.tpThird.set_Location(new System.Drawing.Point(4, 0x16)); this.tpThird.set_Name("tpThird"); this.tpThird.set_Size(new System.Drawing.Size(0x20d, 0x16c)); this.tpThird.set_TabIndex(2); this.tpThird.set_Text("3.Проживающие"); this.tpThird.add_Enter(new System.EventHandler(this.tpZero_Enter)); this.dgvNewApartmentResidents.set_AllowUserToAddRows(false); this.dgvNewApartmentResidents.set_AllowUserToDeleteRows(false); this.dgvNewApartmentResidents.set_AllowUserToOrderColumns(true); this.dgvNewApartmentResidents.set_AllowUserToResizeRows(false); this.dgvNewApartmentResidents.set_AutoGenerateColumns(false); this.dgvNewApartmentResidents.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells); this.dgvNewApartmentResidents.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvNewApartmentResidents.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.clmnNumberAprtment, this.personNameDataGridViewTextBoxColumn, this.birthDateDataGridViewTextBoxColumn, this.dataGridViewTextBoxColumn23, this.relativeNameDataGridViewTextBoxColumn, this.typeResidentNameDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn }); this.dgvNewApartmentResidents.set_DataSource(this.bsNewApartmentResidents); this.dgvNewApartmentResidents.set_Dock(System.Windows.Forms.DockStyle.Fill); this.dgvNewApartmentResidents.set_Location(new System.Drawing.Point(0, 0x19)); this.dgvNewApartmentResidents.set_Name("dgvNewApartmentResidents"); this.dgvNewApartmentResidents.set_RowHeadersVisible(false); this.dgvNewApartmentResidents.set_Size(new System.Drawing.Size(0x20d, 0x153)); this.dgvNewApartmentResidents.set_TabIndex(0); this.dgvNewApartmentResidents.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvNewApartmentResidents_CellDoubleClick)); this.dgvNewApartmentResidents.add_RowsAdded(new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvApartmentResidents_RowsAdded)); this.clmnNumberAprtment.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox); this.clmnNumberAprtment.set_HeaderText("Номер ПЖ"); this.clmnNumberAprtment.set_Name("clmnNumberAprtment"); this.clmnNumberAprtment.set_Width(0x3e); this.personNameDataGridViewTextBoxColumn.set_DataPropertyName("PersonName"); this.personNameDataGridViewTextBoxColumn.set_HeaderText("Имя"); this.personNameDataGridViewTextBoxColumn.set_Name("personNameDataGridViewTextBoxColumn"); this.personNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.personNameDataGridViewTextBoxColumn.set_Width(0x36); this.birthDateDataGridViewTextBoxColumn.set_DataPropertyName("BirthDate"); this.birthDateDataGridViewTextBoxColumn.set_HeaderText("Дата рождения"); this.birthDateDataGridViewTextBoxColumn.set_Name("birthDateDataGridViewTextBoxColumn"); this.birthDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.birthDateDataGridViewTextBoxColumn.set_Width(0x66); this.dataGridViewTextBoxColumn23.set_DataPropertyName("Age"); this.dataGridViewTextBoxColumn23.set_HeaderText("Возраст"); this.dataGridViewTextBoxColumn23.set_Name("dataGridViewTextBoxColumn23"); this.dataGridViewTextBoxColumn23.set_ReadOnly(true); this.dataGridViewTextBoxColumn23.set_Width(0x4a); this.relativeNameDataGridViewTextBoxColumn.set_DataPropertyName("RelativeName"); this.relativeNameDataGridViewTextBoxColumn.set_HeaderText("Родство"); this.relativeNameDataGridViewTextBoxColumn.set_Name("relativeNameDataGridViewTextBoxColumn"); this.relativeNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.relativeNameDataGridViewTextBoxColumn.set_Width(0x4a); this.typeResidentNameDataGridViewTextBoxColumn.set_DataPropertyName("TypeResidentName"); this.typeResidentNameDataGridViewTextBoxColumn.set_HeaderText("Тип проживания"); this.typeResidentNameDataGridViewTextBoxColumn.set_Name("typeResidentNameDataGridViewTextBoxColumn"); this.typeResidentNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.typeResidentNameDataGridViewTextBoxColumn.set_Width(0x6a); this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate"); this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Прописан"); this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn"); this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.fromDateDataGridViewTextBoxColumn.set_Width(0x52); this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate"); this.toDateDataGridViewTextBoxColumn.set_HeaderText("Выписан"); this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn"); this.toDateDataGridViewTextBoxColumn.set_ReadOnly(true); this.toDateDataGridViewTextBoxColumn.set_Width(0x4d); this.bsNewApartmentResidents.set_DataSource(typeof(ApartmentResident)); this.tsApartmentResidents.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsBtnAddResident, this.tsBtnEditResident, this.tsBtnDeleteResident }); this.tsApartmentResidents.set_Location(new System.Drawing.Point(0, 0)); this.tsApartmentResidents.set_Name("tsApartmentResidents"); this.tsApartmentResidents.set_Size(new System.Drawing.Size(0x20d, 0x19)); this.tsApartmentResidents.set_TabIndex(1); this.tsBtnAddResident.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnAddResident.set_Image(Resources.ADD); this.tsBtnAddResident.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnAddResident.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnAddResident.set_Name("tsBtnAddResident"); this.tsBtnAddResident.set_Size(new System.Drawing.Size(0x18, 0x16)); this.tsBtnAddResident.set_Text("Добавить"); this.tsBtnAddResident.add_Click(new System.EventHandler(this.tsBtnAddResident_Click)); this.tsBtnEditResident.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnEditResident.set_Image(Resources.CHANGE); this.tsBtnEditResident.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnEditResident.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnEditResident.set_Name("tsBtnEditResident"); this.tsBtnEditResident.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsBtnEditResident.set_Text("Изменить"); this.tsBtnEditResident.add_Click(new System.EventHandler(this.tsBtnEditResident_Click)); this.tsBtnDeleteResident.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnDeleteResident.set_Image(Resources.DELETE); this.tsBtnDeleteResident.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnDeleteResident.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnDeleteResident.set_Name("tsBtnDeleteResident"); this.tsBtnDeleteResident.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsBtnDeleteResident.set_Text("Удалить"); this.tsBtnDeleteResident.add_Click(new System.EventHandler(this.tsBtnDeleteResident_Click)); this.tpFourth.set_BackColor(System.Drawing.SystemColors.Control); this.tpFourth.Controls.Add(this.dgvNewApartmentEquipment); this.tpFourth.Controls.Add(this.tsApartmentEquipment); this.tpFourth.set_Location(new System.Drawing.Point(4, 0x16)); this.tpFourth.set_Name("tpFourth"); this.tpFourth.set_Size(new System.Drawing.Size(0x20d, 0x16c)); this.tpFourth.set_TabIndex(3); this.tpFourth.set_Text("4.Оборудование"); this.tpFourth.add_Enter(new System.EventHandler(this.tpZero_Enter)); this.dgvNewApartmentEquipment.set_AllowUserToAddRows(false); this.dgvNewApartmentEquipment.set_AllowUserToDeleteRows(false); this.dgvNewApartmentEquipment.set_AllowUserToOrderColumns(true); this.dgvNewApartmentEquipment.set_AllowUserToResizeRows(false); this.dgvNewApartmentEquipment.set_AutoGenerateColumns(false); this.dgvNewApartmentEquipment.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill); this.dgvNewApartmentEquipment.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize); this.dgvNewApartmentEquipment.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.clmnApartmentNumberEq, this.typeEquipmentNameDataGridViewTextBoxColumn, this.infoDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn1, this.toDateDataGridViewTextBoxColumn1 }); this.dgvNewApartmentEquipment.set_DataSource(this.bsNewApartmentEquipment); this.dgvNewApartmentEquipment.set_Dock(System.Windows.Forms.DockStyle.Fill); this.dgvNewApartmentEquipment.set_Location(new System.Drawing.Point(0, 0x19)); this.dgvNewApartmentEquipment.set_Name("dgvNewApartmentEquipment"); this.dgvNewApartmentEquipment.set_RowHeadersVisible(false); this.dgvNewApartmentEquipment.set_Size(new System.Drawing.Size(0x20d, 0x153)); this.dgvNewApartmentEquipment.set_TabIndex(2); this.dgvNewApartmentEquipment.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvNewApartmentEquipment_CellDoubleClick)); this.dgvNewApartmentEquipment.add_RowsAdded(new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvApartmentEquipment_RowsAdded)); this.clmnApartmentNumberEq.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox); this.clmnApartmentNumberEq.set_HeaderText("Номер ПЖ"); this.clmnApartmentNumberEq.set_Name("clmnApartmentNumberEq"); this.typeEquipmentNameDataGridViewTextBoxColumn.set_DataPropertyName("TypeEquipmentName"); this.typeEquipmentNameDataGridViewTextBoxColumn.set_HeaderText("Тип"); this.typeEquipmentNameDataGridViewTextBoxColumn.set_Name("typeEquipmentNameDataGridViewTextBoxColumn"); this.typeEquipmentNameDataGridViewTextBoxColumn.set_ReadOnly(true); this.infoDataGridViewTextBoxColumn.set_DataPropertyName("Info"); this.infoDataGridViewTextBoxColumn.set_HeaderText("Инфо"); this.infoDataGridViewTextBoxColumn.set_Name("infoDataGridViewTextBoxColumn"); this.infoDataGridViewTextBoxColumn.set_ReadOnly(true); this.fromDateDataGridViewTextBoxColumn1.set_DataPropertyName("Dateb"); this.fromDateDataGridViewTextBoxColumn1.set_HeaderText("Дата установки"); this.fromDateDataGridViewTextBoxColumn1.set_Name("fromDateDataGridViewTextBoxColumn1"); this.fromDateDataGridViewTextBoxColumn1.set_ReadOnly(true); this.toDateDataGridViewTextBoxColumn1.set_DataPropertyName("Datee"); this.toDateDataGridViewTextBoxColumn1.set_HeaderText("Дата ликвидации"); this.toDateDataGridViewTextBoxColumn1.set_Name("toDateDataGridViewTextBoxColumn1"); this.toDateDataGridViewTextBoxColumn1.set_ReadOnly(true); this.bsNewApartmentEquipment.set_DataSource(typeof(ApartmentEquipment)); this.tsApartmentEquipment.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsBtnAddApartmentEquipment, this.tsBtnEditApartmentEquipment, this.tsBtnDeleteApartmentEquipment }); this.tsApartmentEquipment.set_Location(new System.Drawing.Point(0, 0)); this.tsApartmentEquipment.set_Name("tsApartmentEquipment"); this.tsApartmentEquipment.set_Size(new System.Drawing.Size(0x20d, 0x19)); this.tsApartmentEquipment.set_TabIndex(3); this.tsBtnAddApartmentEquipment.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnAddApartmentEquipment.set_Image(Resources.ADD); this.tsBtnAddApartmentEquipment.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnAddApartmentEquipment.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnAddApartmentEquipment.set_Name("tsBtnAddApartmentEquipment"); this.tsBtnAddApartmentEquipment.set_Size(new System.Drawing.Size(0x18, 0x16)); this.tsBtnAddApartmentEquipment.set_Text("Добавить"); this.tsBtnAddApartmentEquipment.add_Click(new System.EventHandler(this.tsBtnAddApartmentEquipment_Click)); this.tsBtnEditApartmentEquipment.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnEditApartmentEquipment.set_Image(Resources.CHANGE); this.tsBtnEditApartmentEquipment.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnEditApartmentEquipment.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnEditApartmentEquipment.set_Name("tsBtnEditApartmentEquipment"); this.tsBtnEditApartmentEquipment.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsBtnEditApartmentEquipment.set_Text("Изменить"); this.tsBtnEditApartmentEquipment.add_Click(new System.EventHandler(this.tsBtnEditApartmentEquipment_Click)); this.tsBtnDeleteApartmentEquipment.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image); this.tsBtnDeleteApartmentEquipment.set_Image(Resources.DELETE); this.tsBtnDeleteApartmentEquipment.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None); this.tsBtnDeleteApartmentEquipment.set_ImageTransparentColor(System.Drawing.Color.Magenta); this.tsBtnDeleteApartmentEquipment.set_Name("tsBtnDeleteApartmentEquipment"); this.tsBtnDeleteApartmentEquipment.set_Size(new System.Drawing.Size(0x1c, 0x16)); this.tsBtnDeleteApartmentEquipment.set_Text("Удалить"); this.tsBtnDeleteApartmentEquipment.add_Click(new System.EventHandler(this.tsBtnDeleteApartmentEquipment_Click)); this.tpLast.set_BackColor(System.Drawing.SystemColors.Control); this.tpLast.Controls.Add(this.lblWarnings); this.tpLast.Controls.Add(this.tbWarnings); this.tpLast.Controls.Add(this.lblErrors); this.tpLast.Controls.Add(this.tbErrors); this.tpLast.set_Location(new System.Drawing.Point(4, 0x16)); this.tpLast.set_Name("tpLast"); this.tpLast.set_Size(new System.Drawing.Size(0x20d, 0x16c)); this.tpLast.set_TabIndex(4); this.tpLast.set_Text("5.Завершение"); this.tpLast.add_Enter(new System.EventHandler(this.tpLast_Enter)); this.lblWarnings.set_AutoSize(true); this.lblWarnings.set_Location(new System.Drawing.Point(8, 190)); this.lblWarnings.set_Name("lblWarnings"); this.lblWarnings.set_Size(new System.Drawing.Size(0x87, 13)); this.lblWarnings.set_TabIndex(3); this.lblWarnings.set_Text("Список предупреждений:"); this.tbWarnings.set_ForeColor(System.Drawing.Color.DarkOrange); this.tbWarnings.set_Location(new System.Drawing.Point(8, 0xce)); this.tbWarnings.set_Multiline(true); this.tbWarnings.set_Name("tbWarnings"); this.tbWarnings.set_ReadOnly(true); this.tbWarnings.set_Size(new System.Drawing.Size(0x1fd, 0x9b)); this.tbWarnings.set_TabIndex(2); this.tbWarnings.set_TabStop(false); this.lblErrors.set_AutoSize(true); this.lblErrors.set_Location(new System.Drawing.Point(8, 9)); this.lblErrors.set_Name("lblErrors"); this.lblErrors.set_Size(new System.Drawing.Size(0x58, 13)); this.lblErrors.set_TabIndex(1); this.lblErrors.set_Text("Список ошибок:"); this.tbErrors.set_ForeColor(System.Drawing.Color.Maroon); this.tbErrors.set_Location(new System.Drawing.Point(8, 0x19)); this.tbErrors.set_Multiline(true); this.tbErrors.set_Name("tbErrors"); this.tbErrors.set_ReadOnly(true); this.tbErrors.set_Size(new System.Drawing.Size(0x1fd, 0x9b)); this.tbErrors.set_TabIndex(0); this.tbErrors.set_TabStop(false); this.btnForward.set_Image(Resources.ARROW_RIGHT_16); this.btnForward.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight); this.btnForward.set_Location(new System.Drawing.Point(0x131, 0x18c)); this.btnForward.set_Name("btnForward"); this.btnForward.set_Size(new System.Drawing.Size(0x3e, 0x1a)); this.btnForward.set_TabIndex(12); this.btnForward.set_Text("Далее"); this.btnForward.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft); this.btnForward.set_UseVisualStyleBackColor(true); this.btnForward.add_Click(new System.EventHandler(this.btnForward_Click)); this.btnBack.set_Enabled(false); this.btnBack.set_Image(Resources.ARROW_LEFT_16); this.btnBack.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft); this.btnBack.set_Location(new System.Drawing.Point(0xed, 0x18c)); this.btnBack.set_Name("btnBack"); this.btnBack.set_Size(new System.Drawing.Size(0x3e, 0x1a)); this.btnBack.set_TabIndex(13); this.btnBack.set_Text("Назад"); this.btnBack.set_TextAlign(System.Drawing.ContentAlignment.MiddleRight); this.btnBack.set_UseVisualStyleBackColor(true); this.btnBack.add_Click(new System.EventHandler(this.btnBack_Click)); this.BtnApply.set_Enabled(false); this.BtnApply.set_Image(Resources.APPLY2); this.BtnApply.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight); this.BtnApply.set_Location(new System.Drawing.Point(0x175, 0x18c)); this.BtnApply.set_Name("BtnApply"); this.BtnApply.set_Size(new System.Drawing.Size(0x47, 0x1a)); this.BtnApply.set_TabIndex(14); this.BtnApply.set_Text("Готово"); this.BtnApply.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft); this.BtnApply.set_UseVisualStyleBackColor(true); this.BtnApply.add_Click(new System.EventHandler(this.BtnApply_Click)); this.btnCancel.set_DialogResult(System.Windows.Forms.DialogResult.Cancel); this.btnCancel.set_Image(Resources.CANCEL); this.btnCancel.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight); this.btnCancel.set_Location(new System.Drawing.Point(450, 0x18c)); this.btnCancel.set_Name("btnCancel"); this.btnCancel.set_Size(new System.Drawing.Size(0x47, 0x1a)); this.btnCancel.set_TabIndex(15); this.btnCancel.set_Text("Отмена"); this.btnCancel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft); this.btnCancel.set_UseVisualStyleBackColor(true); this.dataGridViewTextBoxColumn1.set_DataPropertyName("Id"); this.dataGridViewTextBoxColumn1.set_HeaderText("Id"); this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1"); this.dataGridViewTextBoxColumn1.set_ReadOnly(true); this.dataGridViewTextBoxColumn1.set_Visible(false); this.dataGridViewTextBoxColumn1.set_Width(0x77); this.dataGridViewNumericColumn1.DecimalPlaces = 0; int[] numArray19 = new int[4]; this.dataGridViewNumericColumn1.DefaultValue = new decimal(numArray19); this.dataGridViewNumericColumn1.set_HeaderText("Доля"); int[] numArray20 = new int[4]; numArray20[0] = 100; this.dataGridViewNumericColumn1.Maximum = new decimal(numArray20); int[] numArray21 = new int[4]; this.dataGridViewNumericColumn1.Minimum = new decimal(numArray21); this.dataGridViewNumericColumn1.set_Name("dataGridViewNumericColumn1"); this.dataGridViewNumericColumn1.set_Width(0x76); this.dataGridViewTextBoxColumn2.set_DataPropertyName("Id"); this.dataGridViewTextBoxColumn2.set_HeaderText("№"); this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2"); this.dataGridViewTextBoxColumn2.set_ReadOnly(true); this.dataGridViewTextBoxColumn2.set_Visible(false); this.dataGridViewTextBoxColumn2.set_Width(0x43); this.dataGridViewTextBoxColumn6.set_DataPropertyName("ToDate"); this.dataGridViewTextBoxColumn6.set_HeaderText("Дата окончания"); this.dataGridViewTextBoxColumn6.set_MinimumWidth(70); this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6"); this.dataGridViewTextBoxColumn6.set_ReadOnly(true); this.dataGridViewTextBoxColumn6.set_Width(70); this.dataGridViewTextBoxColumn7.set_DataPropertyName("PrintName"); this.dataGridViewTextBoxColumn7.set_HeaderText("Владелец"); this.dataGridViewTextBoxColumn7.set_MinimumWidth(70); this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7"); this.dataGridViewTextBoxColumn7.set_ReadOnly(true); this.dataGridViewTextBoxColumn7.set_Width(70); this.dataGridViewTextBoxColumn8.set_DataPropertyName("BirthDate"); this.dataGridViewTextBoxColumn8.set_HeaderText("Дата рождения"); this.dataGridViewTextBoxColumn8.set_MinimumWidth(60); this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8"); this.dataGridViewTextBoxColumn8.set_ReadOnly(true); this.dataGridViewTextBoxColumn8.set_Width(60); this.dataGridViewTextBoxColumn9.set_DataPropertyName("Age"); this.dataGridViewTextBoxColumn9.set_HeaderText("Возраст"); this.dataGridViewTextBoxColumn9.set_MinimumWidth(60); this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9"); this.dataGridViewTextBoxColumn9.set_ReadOnly(true); this.dataGridViewTextBoxColumn9.set_Width(60); this.dataGridViewTextBoxColumn10.set_DataPropertyName("Share"); this.dataGridViewTextBoxColumn10.set_HeaderText("Доля"); this.dataGridViewTextBoxColumn10.set_MinimumWidth(50); this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10"); this.dataGridViewTextBoxColumn10.set_ReadOnly(true); this.dataGridViewTextBoxColumn10.set_Width(50); this.dataGridViewTextBoxColumn11.set_DataPropertyName("TypeOwnerFasetName"); this.dataGridViewTextBoxColumn11.set_HeaderText("Тип владения собственностью"); this.dataGridViewTextBoxColumn11.set_MinimumWidth(110); this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11"); this.dataGridViewTextBoxColumn11.set_ReadOnly(true); this.dataGridViewTextBoxColumn11.set_Width(110); this.dataGridViewTextBoxColumn12.set_DataPropertyName("Doc"); this.dataGridViewTextBoxColumn12.set_HeaderText("Документ"); this.dataGridViewTextBoxColumn12.set_MinimumWidth(70); this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12"); this.dataGridViewTextBoxColumn12.set_ReadOnly(true); this.dataGridViewTextBoxColumn12.set_Width(70); this.dataGridViewTextBoxColumn13.set_DataPropertyName("DateDoc"); this.dataGridViewTextBoxColumn13.set_HeaderText("Дата документа"); this.dataGridViewTextBoxColumn13.set_MinimumWidth(70); this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13"); this.dataGridViewTextBoxColumn13.set_ReadOnly(true); this.dataGridViewTextBoxColumn13.set_Width(70); this.dataGridViewTextBoxColumn14.set_DataPropertyName("Created"); this.dataGridViewTextBoxColumn14.set_HeaderText("Дата создания"); this.dataGridViewTextBoxColumn14.set_MinimumWidth(70); this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14"); this.dataGridViewTextBoxColumn14.set_ReadOnly(true); this.dataGridViewTextBoxColumn14.set_Width(70); this.dataGridViewTextBoxColumn15.set_DataPropertyName("FromDate"); this.dataGridViewTextBoxColumn15.set_HeaderText("№"); this.dataGridViewTextBoxColumn15.set_MinimumWidth(50); this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15"); this.dataGridViewTextBoxColumn15.set_ReadOnly(true); this.dataGridViewTextBoxColumn15.set_Width(0x3a); this.dataGridViewTextBoxColumn16.set_DataPropertyName("Id"); this.dataGridViewTextBoxColumn16.set_HeaderText("Id"); this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16"); this.dataGridViewTextBoxColumn16.set_ReadOnly(true); this.dataGridViewTextBoxColumn16.set_Visible(false); this.dataGridViewComboBoxColumn1.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox); this.dataGridViewComboBoxColumn1.set_HeaderText("Номер ПЖ"); this.dataGridViewComboBoxColumn1.set_Name("dataGridViewComboBoxColumn1"); this.dataGridViewComboBoxColumn1.set_Width(0x3e); this.dataGridViewTextBoxColumn17.set_DataPropertyName("PersonName"); this.dataGridViewTextBoxColumn17.set_HeaderText("Имя"); this.dataGridViewTextBoxColumn17.set_Name("dataGridViewTextBoxColumn17"); this.dataGridViewTextBoxColumn17.set_ReadOnly(true); this.dataGridViewTextBoxColumn17.set_Width(0x36); this.dataGridViewTextBoxColumn18.set_DataPropertyName("BirthDate"); this.dataGridViewTextBoxColumn18.set_HeaderText("Дата рождения"); this.dataGridViewTextBoxColumn18.set_Name("dataGridViewTextBoxColumn18"); this.dataGridViewTextBoxColumn18.set_ReadOnly(true); this.dataGridViewTextBoxColumn18.set_Width(0x66); this.dataGridViewTextBoxColumn19.set_DataPropertyName("TypeResidentName"); this.dataGridViewTextBoxColumn19.set_HeaderText("Тип проживания"); this.dataGridViewTextBoxColumn19.set_Name("dataGridViewTextBoxColumn19"); this.dataGridViewTextBoxColumn19.set_ReadOnly(true); this.dataGridViewTextBoxColumn19.set_Width(0x6a); this.dataGridViewTextBoxColumn20.set_DataPropertyName("RelativeName"); this.dataGridViewTextBoxColumn20.set_HeaderText("Отношение"); this.dataGridViewTextBoxColumn20.set_Name("dataGridViewTextBoxColumn20"); this.dataGridViewTextBoxColumn20.set_ReadOnly(true); this.dataGridViewTextBoxColumn20.set_Width(0x59); this.dataGridViewTextBoxColumn21.set_DataPropertyName("FromDate"); this.dataGridViewTextBoxColumn21.set_HeaderText("Прописан"); this.dataGridViewTextBoxColumn21.set_Name("dataGridViewTextBoxColumn21"); this.dataGridViewTextBoxColumn21.set_ReadOnly(true); this.dataGridViewTextBoxColumn21.set_Width(0x52); this.dataGridViewTextBoxColumn22.set_DataPropertyName("ToDate"); this.dataGridViewTextBoxColumn22.set_HeaderText("Выписан"); this.dataGridViewTextBoxColumn22.set_Name("dataGridViewTextBoxColumn22"); this.dataGridViewTextBoxColumn22.set_ReadOnly(true); this.dataGridViewTextBoxColumn22.set_Width(0x4d); this.dataGridViewNumericColumn2.DecimalPlaces = 0; int[] numArray22 = new int[4]; this.dataGridViewNumericColumn2.DefaultValue = new decimal(numArray22); this.dataGridViewNumericColumn2.set_HeaderText("Доля"); int[] numArray23 = new int[4]; numArray23[0] = 100; this.dataGridViewNumericColumn2.Maximum = new decimal(numArray23); int[] numArray24 = new int[4]; this.dataGridViewNumericColumn2.Minimum = new decimal(numArray24); this.dataGridViewNumericColumn2.set_Name("dataGridViewNumericColumn2"); this.dataGridViewNumericColumn2.set_Width(0x76); this.dataGridViewNumericColumn3.DecimalPlaces = 0; int[] numArray25 = new int[4]; this.dataGridViewNumericColumn3.DefaultValue = new decimal(numArray25); this.dataGridViewNumericColumn3.set_HeaderText("Доля"); int[] numArray26 = new int[4]; numArray26[0] = 100; this.dataGridViewNumericColumn3.Maximum = new decimal(numArray26); int[] numArray27 = new int[4]; this.dataGridViewNumericColumn3.Minimum = new decimal(numArray27); this.dataGridViewNumericColumn3.set_Name("dataGridViewNumericColumn3"); this.dataGridViewNumericColumn3.set_Width(0x76); this.dataGridViewNumericColumn4.DecimalPlaces = 0; int[] numArray28 = new int[4]; this.dataGridViewNumericColumn4.DefaultValue = new decimal(numArray28); this.dataGridViewNumericColumn4.set_HeaderText("Доля"); int[] numArray29 = new int[4]; numArray29[0] = 100; this.dataGridViewNumericColumn4.Maximum = new decimal(numArray29); int[] numArray30 = new int[4]; this.dataGridViewNumericColumn4.Minimum = new decimal(numArray30); this.dataGridViewNumericColumn4.set_Name("dataGridViewNumericColumn4"); this.dataGridViewNumericColumn4.set_Width(0x76); this.toolTipMain.set_ToolTipIcon(System.Windows.Forms.ToolTipIcon.Info); this.bckWrkrProcessSpliting.add_DoWork(new DoWorkEventHandler(this.bckWrkrProcessSpliting_DoWork)); this.bckWrkrProcessSpliting.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.bckWrkrProcessSpliting_RunWorkerCompleted)); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(0x215, 0x1b2)); base.Controls.Add(this.btnCancel); base.Controls.Add(this.BtnApply); base.Controls.Add(this.btnBack); base.Controls.Add(this.btnForward); base.Controls.Add(this.tcSteps); base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog); base.set_Icon((System.Drawing.Icon) manager.GetObject("$this.Icon")); base.set_Name("SplitApartmentForm"); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen); this.set_Text("Разделение паспорта жилья"); base.add_Load(new System.EventHandler(this.SplitApartmentForm_Load)); base.add_FormClosing(new System.Windows.Forms.FormClosingEventHandler(this.SplitApartmentForm_FormClosing)); this.tcSteps.ResumeLayout(false); this.tpZero.ResumeLayout(false); this.gbAccountInfo.ResumeLayout(false); this.gbAccountInfo.PerformLayout(); this.gbSplitSettings.ResumeLayout(false); this.gbSplitSettings.PerformLayout(); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.dgvAccounts.EndInit(); this.bsNewAccounts.EndInit(); this.numApartmentCount.EndInit(); this.gbApartmentInfo.ResumeLayout(false); this.gbApartmentInfo.PerformLayout(); this.tpFirst.ResumeLayout(false); this.tpFirst.PerformLayout(); this.dgvAccountsFirstPage.EndInit(); this.tpSecond.ResumeLayout(false); this.gbApartmentOwners.ResumeLayout(false); this.gbApartmentOwners.PerformLayout(); this.dgvApartmentOwners.EndInit(); this.bsNewApartmentOwners.EndInit(); this.tsApartmentOwners.ResumeLayout(false); this.tsApartmentOwners.PerformLayout(); this.dgvApartmentsSecondPage.EndInit(); this.bsNewApartments.EndInit(); this.tpThird.ResumeLayout(false); this.tpThird.PerformLayout(); this.dgvNewApartmentResidents.EndInit(); this.bsNewApartmentResidents.EndInit(); this.tsApartmentResidents.ResumeLayout(false); this.tsApartmentResidents.PerformLayout(); this.tpFourth.ResumeLayout(false); this.tpFourth.PerformLayout(); this.dgvNewApartmentEquipment.EndInit(); this.bsNewApartmentEquipment.EndInit(); this.tsApartmentEquipment.ResumeLayout(false); this.tsApartmentEquipment.PerformLayout(); this.tpLast.ResumeLayout(false); this.tpLast.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { AccountHouseHolder holder = new AccountHouseHolder(); this.btnCancel = new System.Windows.Forms.Button(); this.BtnApply = new System.Windows.Forms.Button(); this.btnBack = new System.Windows.Forms.Button(); this.btnForward = new System.Windows.Forms.Button(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tbpApartmentInfoGeneral = new System.Windows.Forms.TabPage(); this.m_ApartmentInfoMimGeneralView = new ApartmentInfoMimGeneralView(); this.tbpCreateAccount = new System.Windows.Forms.TabPage(); this.m_AccountView = new AccountView(); this.tbpApartmentOwner = new System.Windows.Forms.TabPage(); this.m_ApartmentOwnerView = new ApartmentInfoMimOwnerView(); this.tbpResidents = new System.Windows.Forms.TabPage(); this.m_ApartmentResidentView = new ApartmentInfoMinResidentView(); this.tbpResult = new System.Windows.Forms.TabPage(); this.lblErrors = new System.Windows.Forms.Label(); this.tbresult = new System.Windows.Forms.TextBox(); this.tabControl1.SuspendLayout(); this.tbpApartmentInfoGeneral.SuspendLayout(); this.tbpCreateAccount.SuspendLayout(); this.tbpApartmentOwner.SuspendLayout(); this.tbpResidents.SuspendLayout(); this.tbpResult.SuspendLayout(); base.SuspendLayout(); this.btnCancel.set_DialogResult(System.Windows.Forms.DialogResult.Cancel); this.btnCancel.set_Image(Resources.CANCEL); this.btnCancel.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight); this.btnCancel.set_Location(new System.Drawing.Point(0x1c8, 0x1f7)); this.btnCancel.set_Name("btnCancel"); this.btnCancel.set_Size(new System.Drawing.Size(0x47, 0x1a)); this.btnCancel.set_TabIndex(0x13); this.btnCancel.set_Text("Отмена"); this.btnCancel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft); this.btnCancel.set_UseVisualStyleBackColor(true); this.BtnApply.set_Image(Resources.APPLY2); this.BtnApply.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight); this.BtnApply.set_Location(new System.Drawing.Point(0x17b, 0x1f7)); this.BtnApply.set_Name("BtnApply"); this.BtnApply.set_Size(new System.Drawing.Size(0x47, 0x1a)); this.BtnApply.set_TabIndex(0x12); this.BtnApply.set_Text("Готово"); this.BtnApply.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft); this.BtnApply.set_UseVisualStyleBackColor(true); this.BtnApply.add_Click(new System.EventHandler(this.BtnApply_Click)); this.btnBack.set_Enabled(false); this.btnBack.set_Image(Resources.ARROW_LEFT_16); this.btnBack.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft); this.btnBack.set_Location(new System.Drawing.Point(0xf3, 0x1f7)); this.btnBack.set_Name("btnBack"); this.btnBack.set_Size(new System.Drawing.Size(0x3e, 0x1a)); this.btnBack.set_TabIndex(0x11); this.btnBack.set_Text("Назад"); this.btnBack.set_TextAlign(System.Drawing.ContentAlignment.MiddleRight); this.btnBack.set_UseVisualStyleBackColor(true); this.btnBack.add_Click(new System.EventHandler(this.btnBack_Click)); this.btnForward.set_Image(Resources.ARROW_RIGHT_16); this.btnForward.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight); this.btnForward.set_Location(new System.Drawing.Point(0x137, 0x1f7)); this.btnForward.set_Name("btnForward"); this.btnForward.set_Size(new System.Drawing.Size(0x3e, 0x1a)); this.btnForward.set_TabIndex(0x10); this.btnForward.set_Text("Далее"); this.btnForward.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft); this.btnForward.set_UseVisualStyleBackColor(true); this.btnForward.add_Click(new System.EventHandler(this.btnForward_Click)); this.tabControl1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top); this.tabControl1.Controls.Add(this.tbpApartmentInfoGeneral); this.tabControl1.Controls.Add(this.tbpCreateAccount); this.tabControl1.Controls.Add(this.tbpApartmentOwner); this.tabControl1.Controls.Add(this.tbpResidents); this.tabControl1.Controls.Add(this.tbpResult); this.tabControl1.set_Location(new System.Drawing.Point(-3, 3)); this.tabControl1.set_Name("tabControl1"); this.tabControl1.set_SelectedIndex(0); this.tabControl1.set_Size(new System.Drawing.Size(0x21e, 0x1f2)); this.tabControl1.set_TabIndex(0x1a); this.tabControl1.add_Selected(new System.Windows.Forms.TabControlEventHandler(this.tabControl1_Selected)); this.tbpApartmentInfoGeneral.Controls.Add(this.m_ApartmentInfoMimGeneralView); this.tbpApartmentInfoGeneral.set_Location(new System.Drawing.Point(4, 0x16)); this.tbpApartmentInfoGeneral.set_Name("tbpApartmentInfoGeneral"); this.tbpApartmentInfoGeneral.set_Padding(new System.Windows.Forms.Padding(3)); this.tbpApartmentInfoGeneral.set_Size(new System.Drawing.Size(0x216, 0x1d8)); this.tbpApartmentInfoGeneral.set_TabIndex(0); this.tbpApartmentInfoGeneral.set_Text("Общие"); this.tbpApartmentInfoGeneral.set_UseVisualStyleBackColor(true); this.m_ApartmentInfoMimGeneralView.set_Location(new System.Drawing.Point(2, 1)); this.m_ApartmentInfoMimGeneralView.set_Name("m_ApartmentInfoMimGeneralView"); this.m_ApartmentInfoMimGeneralView.set_Size(new System.Drawing.Size(0x213, 0x1da)); this.m_ApartmentInfoMimGeneralView.set_TabIndex(0); this.tbpCreateAccount.Controls.Add(this.m_AccountView); this.tbpCreateAccount.set_Location(new System.Drawing.Point(4, 0x16)); this.tbpCreateAccount.set_Name("tbpCreateAccount"); this.tbpCreateAccount.set_Padding(new System.Windows.Forms.Padding(3)); this.tbpCreateAccount.set_Size(new System.Drawing.Size(0x216, 0x1d8)); this.tbpCreateAccount.set_TabIndex(1); this.tbpCreateAccount.set_Text("Лицевой счет"); this.tbpCreateAccount.set_UseVisualStyleBackColor(true); holder.AccountId = 0L; holder.Code = 0; holder.FromDate = new System.DateTime(0L); holder.Id = 0L; holder.IsDeleted = false; holder.IsDirty = true; holder.ObjectWithIdType = null; holder.OrgId = 0L; holder.ShortName = null; this.m_AccountView.AccountHouseHolder = holder; this.m_AccountView.AllowOwnerNameChanging = true; this.m_AccountView.AllowOwnerSelectionChanging = true; this.m_AccountView.IsNewApartment = false; this.m_AccountView.set_Location(new System.Drawing.Point(0, 0)); this.m_AccountView.set_MinimumSize(new System.Drawing.Size(0x125, 0x86)); this.m_AccountView.set_Name("m_AccountView"); this.m_AccountView.set_Size(new System.Drawing.Size(0x213, 0x1b1)); this.m_AccountView.set_TabIndex(0); this.m_AccountView.ToDateVisible = false; this.tbpApartmentOwner.Controls.Add(this.m_ApartmentOwnerView); this.tbpApartmentOwner.set_Location(new System.Drawing.Point(4, 0x16)); this.tbpApartmentOwner.set_Name("tbpApartmentOwner"); this.tbpApartmentOwner.set_Size(new System.Drawing.Size(0x216, 0x1d8)); this.tbpApartmentOwner.set_TabIndex(3); this.tbpApartmentOwner.set_Text("Владелец паспорта жилья"); this.tbpApartmentOwner.set_UseVisualStyleBackColor(true); this.m_ApartmentOwnerView.set_Location(new System.Drawing.Point(0, 2)); this.m_ApartmentOwnerView.set_Name("m_ApartmentOwnerView"); this.m_ApartmentOwnerView.set_Size(new System.Drawing.Size(0x213, 0x1da)); this.m_ApartmentOwnerView.set_TabIndex(0); this.tbpResidents.Controls.Add(this.m_ApartmentResidentView); this.tbpResidents.set_Location(new System.Drawing.Point(4, 0x16)); this.tbpResidents.set_Name("tbpResidents"); this.tbpResidents.set_Size(new System.Drawing.Size(0x216, 0x1d8)); this.tbpResidents.set_TabIndex(4); this.tbpResidents.set_Text("Проживающие"); this.tbpResidents.set_UseVisualStyleBackColor(true); this.m_ApartmentResidentView.set_Location(new System.Drawing.Point(3, 2)); this.m_ApartmentResidentView.set_Name("m_ApartmentResidentView"); this.m_ApartmentResidentView.set_Size(new System.Drawing.Size(0x213, 0x1da)); this.m_ApartmentResidentView.set_TabIndex(0); this.tbpResult.Controls.Add(this.lblErrors); this.tbpResult.Controls.Add(this.tbresult); this.tbpResult.set_Location(new System.Drawing.Point(4, 0x16)); this.tbpResult.set_Name("tbpResult"); this.tbpResult.set_Size(new System.Drawing.Size(0x216, 0x1d8)); this.tbpResult.set_TabIndex(6); this.tbpResult.set_Text("Завершение"); this.tbpResult.set_UseVisualStyleBackColor(true); this.lblErrors.set_AutoSize(true); this.lblErrors.set_Location(new System.Drawing.Point(11, 9)); this.lblErrors.set_Name("lblErrors"); this.lblErrors.set_Size(new System.Drawing.Size(0x3e, 13)); this.lblErrors.set_TabIndex(2); this.lblErrors.set_Text("Результат:"); this.tbresult.set_ForeColor(System.Drawing.Color.Maroon); this.tbresult.set_Location(new System.Drawing.Point(14, 0x18)); this.tbresult.set_Multiline(true); this.tbresult.set_Name("tbresult"); this.tbresult.set_ReadOnly(true); this.tbresult.set_Size(new System.Drawing.Size(0x1fd, 0x1af)); this.tbresult.set_TabIndex(1); this.tbresult.set_TabStop(false); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(0x21a, 0x215)); base.Controls.Add(this.tabControl1); base.Controls.Add(this.btnCancel); base.Controls.Add(this.BtnApply); base.Controls.Add(this.btnBack); base.Controls.Add(this.btnForward); this.set_MaximumSize(new System.Drawing.Size(0x222, 560)); this.set_MinimumSize(new System.Drawing.Size(0x222, 560)); base.set_Name("ApartmentFillingForm"); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen); this.set_Text("Заполнение паспорта жилья"); base.add_FormClosed(new System.Windows.Forms.FormClosedEventHandler(this.ApartmentFillingForm_FormClosed)); this.tabControl1.ResumeLayout(false); this.tbpApartmentInfoGeneral.ResumeLayout(false); this.tbpCreateAccount.ResumeLayout(false); this.tbpApartmentOwner.ResumeLayout(false); this.tbpResidents.ResumeLayout(false); this.tbpResult.ResumeLayout(false); this.tbpResult.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { AccountHouseHolder holder = new AccountHouseHolder(); this.m_OKButton = new System.Windows.Forms.Button(); this.m_CancelButton = new System.Windows.Forms.Button(); this.m_MoveAvances = new System.Windows.Forms.CheckBox(); this.m_AccountView = new AccountView(); this.m_MoveActiveServices = new System.Windows.Forms.CheckBox(); base.SuspendLayout(); this.m_OKButton.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.m_OKButton.set_Location(new System.Drawing.Point(0x10f, 0x238)); this.m_OKButton.set_Margin(new System.Windows.Forms.Padding(2)); this.m_OKButton.set_Name("m_OKButton"); this.m_OKButton.set_Size(new System.Drawing.Size(80, 0x19)); this.m_OKButton.set_TabIndex(3); this.m_OKButton.set_Text("Открыть"); this.m_OKButton.set_UseVisualStyleBackColor(true); this.m_OKButton.add_Click(new System.EventHandler(this.m_OKButton_Click)); this.m_CancelButton.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.m_CancelButton.set_DialogResult(System.Windows.Forms.DialogResult.Cancel); this.m_CancelButton.set_Location(new System.Drawing.Point(0x163, 0x238)); this.m_CancelButton.set_Margin(new System.Windows.Forms.Padding(2)); this.m_CancelButton.set_Name("m_CancelButton"); this.m_CancelButton.set_Size(new System.Drawing.Size(80, 0x19)); this.m_CancelButton.set_TabIndex(4); this.m_CancelButton.set_Text("Отмена"); this.m_CancelButton.set_UseVisualStyleBackColor(true); this.m_MoveAvances.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom); this.m_MoveAvances.set_AutoSize(true); this.m_MoveAvances.set_Location(new System.Drawing.Point(14, 0x20e)); this.m_MoveAvances.set_Margin(new System.Windows.Forms.Padding(2)); this.m_MoveAvances.set_Name("m_MoveAvances"); this.m_MoveAvances.set_Size(new System.Drawing.Size(0x108, 0x11)); this.m_MoveAvances.set_TabIndex(2); this.m_MoveAvances.set_Text("Перенести долги/авансы со старого лицевого"); this.m_MoveAvances.set_UseVisualStyleBackColor(true); holder.AccountId = 0L; holder.Code = 0; holder.FromDate = new System.DateTime(0L); holder.Id = 0L; holder.IsDeleted = false; holder.IsDirty = true; holder.ObjectWithIdType = null; holder.OrgId = 0L; holder.ShortName = null; this.m_AccountView.AccountHouseHolder = holder; this.m_AccountView.AllowOwnerNameChanging = true; this.m_AccountView.AllowOwnerSelectionChanging = true; this.m_AccountView.set_Dock(System.Windows.Forms.DockStyle.Top); this.m_AccountView.IsNewApartment = false; this.m_AccountView.set_Location(new System.Drawing.Point(0, 0)); this.m_AccountView.set_Margin(new System.Windows.Forms.Padding(4)); this.m_AccountView.set_MinimumSize(new System.Drawing.Size(0x125, 0x86)); this.m_AccountView.set_Name("m_AccountView"); this.m_AccountView.set_Size(new System.Drawing.Size(0x1bc, 0x209)); this.m_AccountView.set_TabIndex(1); this.m_AccountView.ToDateVisible = true; this.m_MoveActiveServices.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom); this.m_MoveActiveServices.set_AutoSize(true); this.m_MoveActiveServices.set_Location(new System.Drawing.Point(14, 0x223)); this.m_MoveActiveServices.set_Margin(new System.Windows.Forms.Padding(2)); this.m_MoveActiveServices.set_Name("m_MoveActiveServices"); this.m_MoveActiveServices.set_Size(new System.Drawing.Size(0x195, 0x11)); this.m_MoveActiveServices.set_TabIndex(5); this.m_MoveActiveServices.set_Text("Перенести действующие услуги на момент переноса со старого лицевого"); this.m_MoveActiveServices.set_UseVisualStyleBackColor(true); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_ClientSize(new System.Drawing.Size(0x1bc, 0x252)); base.Controls.Add(this.m_MoveActiveServices); base.Controls.Add(this.m_CancelButton); base.Controls.Add(this.m_OKButton); base.Controls.Add(this.m_MoveAvances); base.Controls.Add(this.m_AccountView); base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog); base.set_Margin(new System.Windows.Forms.Padding(0, 7, 0, 7)); base.set_MaximizeBox(false); base.set_MinimizeBox(false); base.set_Name("CreateAccountForm"); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen); this.set_Text("Открыть новый лицевой счет"); base.add_Load(new System.EventHandler(this.CreateAccountForm_Load)); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { AccountHouseHolder holder = new AccountHouseHolder(); this.m_CancelButton = new System.Windows.Forms.Button(); this.m_OKButton = new System.Windows.Forms.Button(); this.m_AccountView = new AccountView(); base.SuspendLayout(); this.m_CancelButton.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.m_CancelButton.set_DialogResult(System.Windows.Forms.DialogResult.Cancel); this.m_CancelButton.set_Location(new System.Drawing.Point(0x22d, 0x1fc)); this.m_CancelButton.set_Margin(new System.Windows.Forms.Padding(2)); this.m_CancelButton.set_Name("m_CancelButton"); this.m_CancelButton.set_Size(new System.Drawing.Size(80, 0x19)); this.m_CancelButton.set_TabIndex(8); this.m_CancelButton.set_Text("Отмена"); this.m_CancelButton.set_UseVisualStyleBackColor(true); this.m_CancelButton.add_Click(new System.EventHandler(this.m_CancelButton_Click)); this.m_OKButton.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom); this.m_OKButton.set_Location(new System.Drawing.Point(0x1d9, 0x1fc)); this.m_OKButton.set_Margin(new System.Windows.Forms.Padding(2)); this.m_OKButton.set_Name("m_OKButton"); this.m_OKButton.set_Size(new System.Drawing.Size(80, 0x19)); this.m_OKButton.set_TabIndex(7); this.m_OKButton.set_Text("Изменить"); this.m_OKButton.set_UseVisualStyleBackColor(true); this.m_OKButton.add_Click(new System.EventHandler(this.m_OKButton_Click)); holder.AccountId = 0L; holder.Code = 0; holder.FromDate = new System.DateTime(0L); holder.Id = 0L; holder.IsDeleted = false; holder.IsDirty = true; holder.ObjectWithIdType = null; holder.OrgId = 0L; holder.ShortName = null; this.m_AccountView.AccountHouseHolder = holder; this.m_AccountView.AllowOwnerNameChanging = true; this.m_AccountView.AllowOwnerSelectionChanging = true; this.m_AccountView.set_AutoSizeMode(System.Windows.Forms.AutoSizeMode.GrowAndShrink); this.m_AccountView.set_Dock(System.Windows.Forms.DockStyle.Top); this.m_AccountView.IsNewApartment = false; this.m_AccountView.set_Location(new System.Drawing.Point(0, 0)); this.m_AccountView.set_MinimumSize(new System.Drawing.Size(0x125, 0x86)); this.m_AccountView.set_Name("m_AccountView"); this.m_AccountView.set_Size(new System.Drawing.Size(0x288, 0x20a)); this.m_AccountView.set_TabIndex(0); this.m_AccountView.ToDateVisible = true; base.set_AcceptButton(this.m_OKButton); base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f)); base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); base.set_CancelButton(this.m_CancelButton); base.set_ClientSize(new System.Drawing.Size(0x288, 0x220)); base.Controls.Add(this.m_CancelButton); base.Controls.Add(this.m_OKButton); base.Controls.Add(this.m_AccountView); base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog); base.set_MaximizeBox(false); this.set_MaximumSize(new System.Drawing.Size(0xbb8, 570)); base.set_MinimizeBox(false); this.set_MinimumSize(new System.Drawing.Size(0x1dc, 100)); base.set_Name("EditAccountForm"); base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent); this.set_Text("Изменить параметры лицевого счета"); base.add_FormClosed(new System.Windows.Forms.FormClosedEventHandler(this.EditAccountForm_FormClosed)); base.ResumeLayout(false); }