예제 #1
0
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.btnSave = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.period = new DatePeriod();
     this.selectRelations = new SelectFasetData();
     this.selectPerson = new SelectPerson();
     base.SuspendLayout();
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(9, 0x12));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x44, 13));
     this.label1.set_TabIndex(2);
     this.label1.set_Text("Член семьи");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(9, 0x2d));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x6a, 13));
     this.label2.set_TabIndex(4);
     this.label2.set_Text("Родственная связь");
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(9, 70));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x2d, 13));
     this.label3.set_TabIndex(6);
     this.label3.set_Text("Период");
     this.btnSave.set_Location(new System.Drawing.Point(290, 0x67));
     this.btnSave.set_Name("btnSave");
     this.btnSave.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnSave.set_TabIndex(7);
     this.btnSave.set_Text("Сохранить");
     this.btnSave.set_UseVisualStyleBackColor(true);
     this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.btnCancel.set_Location(new System.Drawing.Point(0x173, 0x67));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnCancel.set_TabIndex(8);
     this.btnCancel.set_Text("Отменить");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.period.AttachToPeriod = false;
     this.period.DateBeginReadonly = false;
     this.period.DateEndReadonly = false;
     this.period.set_Location(new System.Drawing.Point(0x7c, 70));
     this.period.set_Margin(new System.Windows.Forms.Padding(4));
     this.period.set_Name("period");
     this.period.set_Size(new System.Drawing.Size(0x138, 0x1a));
     this.period.set_TabIndex(5);
     this.selectRelations.set_FormattingEnabled(true);
     this.selectRelations.set_Location(new System.Drawing.Point(0x7c, 0x2a));
     this.selectRelations.set_Name("selectRelations");
     this.selectRelations.set_Size(new System.Drawing.Size(0x142, 0x15));
     this.selectRelations.set_Sorted(true);
     this.selectRelations.set_TabIndex(3);
     this.selectPerson.set_Location(new System.Drawing.Point(0x7c, 11));
     this.selectPerson.set_Name("selectPerson");
     this.selectPerson.set_Size(new System.Drawing.Size(0x142, 20));
     this.selectPerson.set_TabIndex(1);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x1c1, 0x85));
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnSave);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.period);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.selectRelations);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.selectPerson);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_MaximizeBox(false);
     base.set_MinimizeBox(false);
     base.set_Name("PersonFamilyAddChangeForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     base.add_Load(new System.EventHandler(this.PersonFamilyAddChangeForm_Load));
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnAddChange = new System.Windows.Forms.Button();
     this.nudSumm = new System.Windows.Forms.NumericUpDown();
     this.label3 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.selectPersonExploitingPerson = new SelectPerson();
     this.selectPersonBenefitOwner = new SelectPerson();
     this.bsBenefits = new System.Windows.Forms.BindingSource(this.components);
     this.cbxBenefits = new System.Windows.Forms.ComboBox();
     this.nudSumm.BeginInit();
     this.bsBenefits.BeginInit();
     base.SuspendLayout();
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnCancel.set_Location(new System.Drawing.Point(0x1be, 0x7e));
     this.btnCancel.set_Margin(new System.Windows.Forms.Padding(2));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(80, 0x19));
     this.btnCancel.set_TabIndex(0x4a);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.btnAddChange.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnAddChange.set_Location(new System.Drawing.Point(0x16a, 0x7e));
     this.btnAddChange.set_Margin(new System.Windows.Forms.Padding(2));
     this.btnAddChange.set_Name("btnAddChange");
     this.btnAddChange.set_Size(new System.Drawing.Size(80, 0x19));
     this.btnAddChange.set_TabIndex(0x49);
     this.btnAddChange.set_UseVisualStyleBackColor(true);
     this.btnAddChange.add_Click(new System.EventHandler(this.btnAddChange_Click));
     this.nudSumm.set_DecimalPlaces(2);
     this.nudSumm.set_Location(new System.Drawing.Point(0xa6, 0x58));
     int[] numArray = new int[4];
     numArray[0] = 0x6fc10000;
     numArray[1] = 0x2386f2;
     this.nudSumm.set_Maximum(new decimal(numArray));
     this.nudSumm.set_Minimum(new decimal(new int[] { 0x6fc10000, 0x2386f2, 0, -2147483648 }));
     this.nudSumm.set_Name("nudSumm");
     this.nudSumm.set_Size(new System.Drawing.Size(360, 20));
     this.nudSumm.set_TabIndex(0x4c);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(9, 90));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x29, 13));
     this.label3.set_TabIndex(0x4b);
     this.label3.set_Text("Сумма");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(9, 9));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x70, 13));
     this.label1.set_TabIndex(80);
     this.label1.set_Text("Собственник льготы");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(9, 0x24));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x80, 13));
     this.label2.set_TabIndex(0x51);
     this.label2.set_Text("Пользующийся льготой");
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(9, 0x3e));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x2b, 13));
     this.label4.set_TabIndex(0x52);
     this.label4.set_Text("Льгота");
     this.selectPersonExploitingPerson.set_Location(new System.Drawing.Point(0xa6, 0x21));
     this.selectPersonExploitingPerson.set_Name("selectPersonExploitingPerson");
     this.selectPersonExploitingPerson.set_Size(new System.Drawing.Size(360, 20));
     this.selectPersonExploitingPerson.set_TabIndex(0x4f);
     this.selectPersonBenefitOwner.set_Location(new System.Drawing.Point(0xa6, 7));
     this.selectPersonBenefitOwner.set_Name("selectPersonBenefitOwner");
     this.selectPersonBenefitOwner.set_Size(new System.Drawing.Size(360, 20));
     this.selectPersonBenefitOwner.set_TabIndex(0x4e);
     this.selectPersonBenefitOwner.OnPersonSelected += new PersonHandler(this.selectPersonBenefitOwner_OnPersonSelected);
     this.bsBenefits.set_DataSource(typeof(Benefit));
     this.cbxBenefits.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.cbxBenefits.set_AutoCompleteMode(System.Windows.Forms.AutoCompleteMode.SuggestAppend);
     this.cbxBenefits.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource.ListItems);
     this.cbxBenefits.set_DataSource(this.bsBenefits);
     this.cbxBenefits.set_DisplayMember("ShortName");
     this.cbxBenefits.set_FormattingEnabled(true);
     this.cbxBenefits.set_Location(new System.Drawing.Point(0xa6, 0x3b));
     this.cbxBenefits.set_Margin(new System.Windows.Forms.Padding(2));
     this.cbxBenefits.set_Name("cbxBenefits");
     this.cbxBenefits.set_Size(new System.Drawing.Size(360, 0x15));
     this.cbxBenefits.set_TabIndex(0x53);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x216, 0x9e));
     base.Controls.Add(this.cbxBenefits);
     base.Controls.Add(this.label4);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.selectPersonExploitingPerson);
     base.Controls.Add(this.selectPersonBenefitOwner);
     base.Controls.Add(this.nudSumm);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnAddChange);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_Name("AccountServiceJournalBenefitsAddChangeForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     base.add_Load(new System.EventHandler(this.AccountServiceJournalBenefitsAddChangeForm_Load));
     this.nudSumm.EndInit();
     this.bsBenefits.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
예제 #3
0
 private void InitializeComponent()
 {
     this.lperson = new System.Windows.Forms.Label();
     this.lorg = new System.Windows.Forms.Label();
     this.selectPerson = new SelectPerson();
     this.selectOrganization = new SelectOrganization();
     base.SuspendLayout();
     this.lperson.set_AutoSize(true);
     this.lperson.set_Location(new System.Drawing.Point(4, 3));
     this.lperson.set_Margin(new System.Windows.Forms.Padding(4, 0, 4, 0));
     this.lperson.set_Name("lperson");
     this.lperson.set_Size(new System.Drawing.Size(0x65, 13));
     this.lperson.set_TabIndex(9);
     this.lperson.set_Text("Физическое лицо:");
     this.lorg.set_AutoSize(true);
     this.lorg.set_Location(new System.Drawing.Point(4, 40));
     this.lorg.set_Margin(new System.Windows.Forms.Padding(4, 0, 4, 0));
     this.lorg.set_Name("lorg");
     this.lorg.set_Size(new System.Drawing.Size(0x69, 13));
     this.lorg.set_TabIndex(8);
     this.lorg.set_Text("Юридическое лицо:");
     this.selectPerson.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectPerson.set_Location(new System.Drawing.Point(2, 0x12));
     this.selectPerson.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectPerson.set_Name("selectPerson");
     this.selectPerson.set_Size(new System.Drawing.Size(0x16f, 20));
     this.selectPerson.set_TabIndex(1);
     this.selectPerson.OnPersonSelected += new PersonHandler(this.selectPerson_OnPersonSelected);
     this.selectOrganization.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectOrganization.IsCashlessTransferrer = false;
     this.selectOrganization.IsHouseHolder = false;
     this.selectOrganization.IsServiceProvider = false;
     this.selectOrganization.set_Location(new System.Drawing.Point(2, 0x37));
     this.selectOrganization.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectOrganization.set_Name("selectOrganization");
     this.selectOrganization.set_Size(new System.Drawing.Size(0x16f, 20));
     this.selectOrganization.set_TabIndex(2);
     this.selectOrganization.OnOrganizationSelected += new OrganizationHandler(this.selectOrganization_OnOrganizationSelected);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.selectPerson);
     base.Controls.Add(this.selectOrganization);
     base.Controls.Add(this.lperson);
     base.Controls.Add(this.lorg);
     base.set_Margin(new System.Windows.Forms.Padding(4));
     base.set_Name("SelectOwner");
     base.set_Size(new System.Drawing.Size(0x173, 0x4d));
     base.ResumeLayout(false);
     base.PerformLayout();
 }
예제 #4
0
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.btnSave = new System.Windows.Forms.Button();
     this.label8 = new System.Windows.Forms.Label();
     this.btnCancel = new System.Windows.Forms.Button();
     this.selectPerson = new SelectPerson();
     this.selectTypeResident = new SelectFasetData();
     this.seletcRelative = new SelectFasetData();
     this.dbxEnd = new DateBox();
     this.dbxBegin = new DateBox();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tbComment = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     base.SuspendLayout();
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(2, 40));
     this.label1.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x31, 13));
     this.label1.set_TabIndex(0x1f);
     this.label1.set_Text("Родство");
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(3, 0x5f));
     this.label3.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x54, 13));
     this.label3.set_TabIndex(0x20);
     this.label3.set_Text("Дата прописки");
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(2, 0x44));
     this.label6.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x6b, 13));
     this.label6.set_TabIndex(0x21);
     this.label6.set_Text("Тип проживающего");
     this.label7.set_AutoSize(true);
     this.label7.set_Location(new System.Drawing.Point(0xeb, 0x5e));
     this.label7.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label7.set_Name("label7");
     this.label7.set_Size(new System.Drawing.Size(80, 13));
     this.label7.set_TabIndex(0x22);
     this.label7.set_Text("Дата выписки");
     this.btnSave.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnSave.set_Location(new System.Drawing.Point(260, 0xed));
     this.btnSave.set_Margin(new System.Windows.Forms.Padding(2));
     this.btnSave.set_Name("btnSave");
     this.btnSave.set_Size(new System.Drawing.Size(80, 0x19));
     this.btnSave.set_TabIndex(6);
     this.btnSave.set_UseVisualStyleBackColor(true);
     this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.label8.set_AutoSize(true);
     this.label8.set_Location(new System.Drawing.Point(3, 9));
     this.label8.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(60, 13));
     this.label8.set_TabIndex(0x24);
     this.label8.set_Text("Физ. лицо");
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnCancel.set_Location(new System.Drawing.Point(0x158, 0xed));
     this.btnCancel.set_Margin(new System.Windows.Forms.Padding(2));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(80, 0x19));
     this.btnCancel.set_TabIndex(7);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.selectPerson.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectPerson.set_Location(new System.Drawing.Point(0x74, 8));
     this.selectPerson.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectPerson.set_Name("selectPerson");
     this.selectPerson.set_Size(new System.Drawing.Size(0x133, 0x19));
     this.selectPerson.set_TabIndex(1);
     this.selectPerson.OnPersonSelected += new PersonHandler(this.selectPerson_OnPersonSelected);
     this.selectTypeResident.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectTypeResident.set_FormattingEnabled(true);
     this.selectTypeResident.set_Location(new System.Drawing.Point(0x74, 0x41));
     this.selectTypeResident.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectTypeResident.set_Name("selectTypeResident");
     this.selectTypeResident.set_Size(new System.Drawing.Size(0x134, 0x15));
     this.selectTypeResident.set_Sorted(true);
     this.selectTypeResident.set_TabIndex(3);
     this.seletcRelative.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.seletcRelative.set_FormattingEnabled(true);
     this.seletcRelative.set_Location(new System.Drawing.Point(0x74, 0x25));
     this.seletcRelative.set_Margin(new System.Windows.Forms.Padding(2));
     this.seletcRelative.set_Name("seletcRelative");
     this.seletcRelative.set_Size(new System.Drawing.Size(0x133, 0x15));
     this.seletcRelative.set_Sorted(true);
     this.seletcRelative.set_TabIndex(2);
     this.dbxEnd.AttachToPeriod = false;
     this.dbxEnd.AttachToPeriodEnd = false;
     this.dbxEnd.set_Location(new System.Drawing.Point(330, 0x5b));
     this.dbxEnd.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbxEnd.set_Mask("00/00/0000");
     this.dbxEnd.set_Name("dbxEnd");
     this.dbxEnd.set_Size(new System.Drawing.Size(0x5d, 20));
     this.dbxEnd.set_TabIndex(5);
     this.dbxBegin.AttachToPeriod = false;
     this.dbxBegin.AttachToPeriodEnd = false;
     this.dbxBegin.set_Location(new System.Drawing.Point(0x74, 0x5c));
     this.dbxBegin.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbxBegin.set_Mask("00/00/0000");
     this.dbxBegin.set_Name("dbxBegin");
     this.dbxBegin.set_Size(new System.Drawing.Size(0x5d, 20));
     this.dbxBegin.set_TabIndex(4);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("LName");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Фамилия");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(0x6c);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("FName");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Имя");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x6c);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("MName");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Отчество");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(0x6c);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("Address");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Адрес");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(0x6c);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("BirthDate");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Дата рожд.");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Width(0x6d);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("NumDoc");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Номер документа");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Width(0x6c);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("SerDoc");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Серия документа");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Width(0x6c);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("DateDoc");
     this.dataGridViewTextBoxColumn8.set_HeaderText("Дата документа");
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Width(0x6c);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("TypeDocFasetItem");
     this.dataGridViewTextBoxColumn9.set_HeaderText("Тип документа");
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Width(0x6c);
     this.tbComment.set_Location(new System.Drawing.Point(0x74, 0x84));
     this.tbComment.set_Multiline(true);
     this.tbComment.set_Name("tbComment");
     this.tbComment.set_Size(new System.Drawing.Size(0x133, 0x5b));
     this.tbComment.set_TabIndex(0x25);
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(3, 0x87));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(70, 13));
     this.label2.set_TabIndex(0x26);
     this.label2.set_Text("Примечание");
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(430, 0x10b));
     base.Controls.Add(this.label2);
     base.Controls.Add(this.tbComment);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.label8);
     base.Controls.Add(this.selectPerson);
     base.Controls.Add(this.selectTypeResident);
     base.Controls.Add(this.seletcRelative);
     base.Controls.Add(this.label7);
     base.Controls.Add(this.label6);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.dbxEnd);
     base.Controls.Add(this.dbxBegin);
     base.Controls.Add(this.btnSave);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_MaximizeBox(false);
     base.set_MinimizeBox(false);
     base.set_Name("ApartmentResidentForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("Проживающие");
     base.add_Load(new System.EventHandler(this.ApartmentResidentForm_Load));
     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();
     this.label2 = new System.Windows.Forms.Label();
     this.tbComment = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.dgvApartmentResidents = new System.Windows.Forms.DataGridView();
     this.Person = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.FromDate1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.RelativeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.TypeResidentName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Comment = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsApartmentResidents = new System.Windows.Forms.BindingSource(this.components);
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tsbAddApartmentResident = new System.Windows.Forms.ToolStripButton();
     this.tsbDeleteApartmentResident = new System.Windows.Forms.ToolStripButton();
     this.isUnknownDataGridViewCheckBoxColumn = 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.isUnknownDataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.isNewDataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.isDirtyDataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.isDeletedDataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     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.selectTypeResident = new SelectFasetData();
     this.seletcRelative = new SelectFasetData();
     this.dbxBegin = new DateBox();
     this.selectPerson = new SelectPerson();
     this.apartmentIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.apartmentNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.personIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.personNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.typeResidentsDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.typeResidentNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.birthDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.relativeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.relativeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.insuranceCertificateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.accountBenefitDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ageDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.apartmentLocalAddressIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.commentDataGridViewTextBoxColumn = 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.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.apartmentIdDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.apartmentNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.personIdDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.personNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.typeResidentsDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.typeResidentNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.birthDateDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.relativeDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.relativeNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.insuranceCertificateDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.accountBenefitDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ageDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.apartmentLocalAddressIdDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.commentDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.datecDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.datebDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dateeDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toDateDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.orgDocumentIdDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.orgDocumentViewDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.orgDocumentDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.objectWithIdTypeDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.idDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel1.SuspendLayout();
     this.dgvApartmentResidents.BeginInit();
     this.bsApartmentResidents.BeginInit();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     this.label2.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(0x17, 0x9c));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(70, 13));
     this.label2.set_TabIndex(50);
     this.label2.set_Text("Примечание");
     this.tbComment.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbComment.set_Location(new System.Drawing.Point(0x86, 0x99));
     this.tbComment.set_Multiline(true);
     this.tbComment.set_Name("tbComment");
     this.tbComment.set_Size(new System.Drawing.Size(0x17a, 0x4b));
     this.tbComment.set_TabIndex(0x31);
     this.label8.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.label8.set_AutoSize(true);
     this.label8.set_Location(new System.Drawing.Point(0x17, 30));
     this.label8.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(60, 13));
     this.label8.set_TabIndex(0x30);
     this.label8.set_Text("Физ. лицо");
     this.label6.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(0x16, 0x59));
     this.label6.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x6b, 13));
     this.label6.set_TabIndex(0x2e);
     this.label6.set_Text("Тип проживающего");
     this.label3.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(0x17, 0x7a));
     this.label3.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x54, 13));
     this.label3.set_TabIndex(0x2d);
     this.label3.set_Text("Дата прописки");
     this.label1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(0x16, 0x3d));
     this.label1.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x31, 13));
     this.label1.set_TabIndex(0x2c);
     this.label1.set_Text("Родство");
     this.panel1.Controls.Add(this.dgvApartmentResidents);
     this.panel1.Controls.Add(this.toolStrip1);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Bottom);
     this.panel1.set_Location(new System.Drawing.Point(0, 0xf4));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x213, 230));
     this.panel1.set_TabIndex(0x36);
     this.dgvApartmentResidents.set_AllowUserToAddRows(false);
     this.dgvApartmentResidents.set_AutoGenerateColumns(false);
     this.dgvApartmentResidents.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvApartmentResidents.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.dgvApartmentResidents.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvApartmentResidents.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvApartmentResidents.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Person, this.FromDate1, this.RelativeName, this.TypeResidentName, this.Comment });
     this.dgvApartmentResidents.set_DataSource(this.bsApartmentResidents);
     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.dgvApartmentResidents.set_DefaultCellStyle(style2);
     this.dgvApartmentResidents.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvApartmentResidents.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvApartmentResidents.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvApartmentResidents.set_Name("dgvApartmentResidents");
     this.dgvApartmentResidents.set_ReadOnly(true);
     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.dgvApartmentResidents.set_RowHeadersDefaultCellStyle(style3);
     this.dgvApartmentResidents.set_RowHeadersVisible(false);
     this.dgvApartmentResidents.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvApartmentResidents.set_Size(new System.Drawing.Size(0x213, 0xcd));
     this.dgvApartmentResidents.set_TabIndex(0x38);
     this.Person.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.Person.set_DataPropertyName("PersonName");
     this.Person.set_FillWeight((float) 203.0456f);
     this.Person.set_HeaderText("ФИО");
     this.Person.set_MinimumWidth(150);
     this.Person.set_Name("Person");
     this.Person.set_ReadOnly(true);
     this.Person.set_Width(150);
     this.FromDate1.set_DataPropertyName("FromDate");
     this.FromDate1.set_FillWeight((float) 200f);
     this.FromDate1.set_HeaderText("Дата прописки");
     this.FromDate1.set_MinimumWidth(70);
     this.FromDate1.set_Name("FromDate1");
     this.FromDate1.set_ReadOnly(true);
     this.FromDate1.set_Width(70);
     this.RelativeName.set_DataPropertyName("RelativeName");
     this.RelativeName.set_FillWeight((float) 74.23855f);
     this.RelativeName.set_HeaderText("Родство");
     this.RelativeName.set_MinimumWidth(60);
     this.RelativeName.set_Name("RelativeName");
     this.RelativeName.set_ReadOnly(true);
     this.RelativeName.set_Width(60);
     this.TypeResidentName.set_DataPropertyName("TypeResidentName");
     this.TypeResidentName.set_FillWeight((float) 74.23855f);
     this.TypeResidentName.set_HeaderText("Тип проживающего");
     this.TypeResidentName.set_MinimumWidth(0x57);
     this.TypeResidentName.set_Name("TypeResidentName");
     this.TypeResidentName.set_ReadOnly(true);
     this.TypeResidentName.set_Width(0x57);
     this.Comment.set_DataPropertyName("Comment");
     this.Comment.set_HeaderText("Примечание");
     this.Comment.set_MinimumWidth(160);
     this.Comment.set_Name("Comment");
     this.Comment.set_ReadOnly(true);
     this.Comment.set_Width(160);
     this.bsApartmentResidents.set_DataSource(typeof(ApartmentResident));
     this.bsApartmentResidents.set_Sort("");
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbAddApartmentResident, this.tsbDeleteApartmentResident });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x213, 0x19));
     this.toolStrip1.set_TabIndex(0x37);
     this.toolStrip1.set_Text("toolStrip1");
     this.tsbAddApartmentResident.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbAddApartmentResident.set_Image(Resources.ADD);
     this.tsbAddApartmentResident.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbAddApartmentResident.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbAddApartmentResident.set_Name("tsbAddApartmentResident");
     this.tsbAddApartmentResident.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.tsbAddApartmentResident.set_Text("Добавить");
     this.tsbAddApartmentResident.add_Click(new System.EventHandler(this.tsbAddApartmentOwners_Click));
     this.tsbDeleteApartmentResident.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbDeleteApartmentResident.set_Image(Resources.DELETE);
     this.tsbDeleteApartmentResident.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbDeleteApartmentResident.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbDeleteApartmentResident.set_Name("tsbDeleteApartmentResident");
     this.tsbDeleteApartmentResident.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbDeleteApartmentResident.set_Text("Удалить");
     this.tsbDeleteApartmentResident.add_Click(new System.EventHandler(this.tsbDeleteApartmentResident_Click));
     this.isUnknownDataGridViewCheckBoxColumn.set_Name("isUnknownDataGridViewCheckBoxColumn");
     this.isNewDataGridViewCheckBoxColumn.set_Name("isNewDataGridViewCheckBoxColumn");
     this.isDirtyDataGridViewCheckBoxColumn.set_Name("isDirtyDataGridViewCheckBoxColumn");
     this.isDeletedDataGridViewCheckBoxColumn.set_Name("isDeletedDataGridViewCheckBoxColumn");
     this.isUnknownDataGridViewCheckBoxColumn1.set_Name("isUnknownDataGridViewCheckBoxColumn1");
     this.isNewDataGridViewCheckBoxColumn1.set_Name("isNewDataGridViewCheckBoxColumn1");
     this.isDirtyDataGridViewCheckBoxColumn1.set_Name("isDirtyDataGridViewCheckBoxColumn1");
     this.isDeletedDataGridViewCheckBoxColumn1.set_Name("isDeletedDataGridViewCheckBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("Age");
     this.dataGridViewTextBoxColumn1.set_FillWeight((float) 203.0456f);
     this.dataGridViewTextBoxColumn1.set_HeaderText("Возраст");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("BirthDate");
     this.dataGridViewTextBoxColumn2.set_FillWeight((float) 200f);
     this.dataGridViewTextBoxColumn2.set_HeaderText("Дата рождения");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x66);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("Age");
     this.dataGridViewTextBoxColumn3.set_FillWeight((float) 74.23855f);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Возраст");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(60);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(0x4a);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("TypeResidentName");
     this.dataGridViewTextBoxColumn4.set_FillWeight((float) 74.23855f);
     this.dataGridViewTextBoxColumn4.set_HeaderText("Тип проживающего");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(0x57);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(0x57);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn5.set_FillWeight((float) 74.23855f);
     this.dataGridViewTextBoxColumn5.set_HeaderText("Дата создания");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Width(70);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Comment");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Примечание");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(150);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Width(150);
     this.selectTypeResident.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectTypeResident.set_FormattingEnabled(true);
     this.selectTypeResident.set_Location(new System.Drawing.Point(0x85, 0x59));
     this.selectTypeResident.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectTypeResident.set_Name("selectTypeResident");
     this.selectTypeResident.set_Size(new System.Drawing.Size(0x17b, 0x15));
     this.selectTypeResident.set_Sorted(true);
     this.selectTypeResident.set_TabIndex(0x39);
     this.seletcRelative.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.seletcRelative.set_FormattingEnabled(true);
     this.seletcRelative.set_Location(new System.Drawing.Point(0x85, 0x3d));
     this.seletcRelative.set_Margin(new System.Windows.Forms.Padding(2));
     this.seletcRelative.set_Name("seletcRelative");
     this.seletcRelative.set_Size(new System.Drawing.Size(0x17b, 0x15));
     this.seletcRelative.set_Sorted(true);
     this.seletcRelative.set_TabIndex(0x38);
     this.dbxBegin.AttachToPeriod = false;
     this.dbxBegin.AttachToPeriodEnd = false;
     this.dbxBegin.set_Location(new System.Drawing.Point(0x85, 0x74));
     this.dbxBegin.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbxBegin.set_Mask("00/00/0000");
     this.dbxBegin.set_Name("dbxBegin");
     this.dbxBegin.set_Size(new System.Drawing.Size(0x5d, 20));
     this.dbxBegin.set_TabIndex(0x3a);
     this.selectPerson.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectPerson.set_Location(new System.Drawing.Point(0x86, 30));
     this.selectPerson.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectPerson.set_Name("selectPerson");
     this.selectPerson.set_Size(new System.Drawing.Size(0x17a, 0x19));
     this.selectPerson.set_TabIndex(0x37);
     this.selectPerson.OnPersonSelected += new PersonHandler(this.selectPerson_OnPersonSelected);
     this.apartmentIdDataGridViewTextBoxColumn.set_Name("apartmentIdDataGridViewTextBoxColumn");
     this.apartmentNameDataGridViewTextBoxColumn.set_Name("apartmentNameDataGridViewTextBoxColumn");
     this.personIdDataGridViewTextBoxColumn.set_Name("personIdDataGridViewTextBoxColumn");
     this.personNameDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.personNameDataGridViewTextBoxColumn.set_DataPropertyName("Person");
     this.personNameDataGridViewTextBoxColumn.set_HeaderText("Person");
     this.personNameDataGridViewTextBoxColumn.set_Name("personNameDataGridViewTextBoxColumn");
     this.personNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.typeResidentsDataGridViewTextBoxColumn.set_Name("typeResidentsDataGridViewTextBoxColumn");
     this.typeResidentNameDataGridViewTextBoxColumn.set_Name("typeResidentNameDataGridViewTextBoxColumn");
     this.birthDateDataGridViewTextBoxColumn.set_Name("birthDateDataGridViewTextBoxColumn");
     this.relativeDataGridViewTextBoxColumn.set_Name("relativeDataGridViewTextBoxColumn");
     this.relativeNameDataGridViewTextBoxColumn.set_Name("relativeNameDataGridViewTextBoxColumn");
     this.insuranceCertificateDataGridViewTextBoxColumn.set_Name("insuranceCertificateDataGridViewTextBoxColumn");
     this.accountBenefitDataGridViewTextBoxColumn.set_Name("accountBenefitDataGridViewTextBoxColumn");
     this.ageDataGridViewTextBoxColumn.set_Name("ageDataGridViewTextBoxColumn");
     this.apartmentLocalAddressIdDataGridViewTextBoxColumn.set_Name("apartmentLocalAddressIdDataGridViewTextBoxColumn");
     this.commentDataGridViewTextBoxColumn.set_Name("commentDataGridViewTextBoxColumn");
     this.datecDataGridViewTextBoxColumn.set_Name("datecDataGridViewTextBoxColumn");
     this.datebDataGridViewTextBoxColumn.set_Name("datebDataGridViewTextBoxColumn");
     this.dateeDataGridViewTextBoxColumn.set_Name("dateeDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn");
     this.createdDataGridViewTextBoxColumn.set_Name("createdDataGridViewTextBoxColumn");
     this.orgDocumentIdDataGridViewTextBoxColumn.set_Name("orgDocumentIdDataGridViewTextBoxColumn");
     this.orgDocumentViewDataGridViewTextBoxColumn.set_Name("orgDocumentViewDataGridViewTextBoxColumn");
     this.orgDocumentDataGridViewTextBoxColumn.set_Name("orgDocumentDataGridViewTextBoxColumn");
     this.objectWithIdTypeDataGridViewTextBoxColumn.set_Name("objectWithIdTypeDataGridViewTextBoxColumn");
     this.idDataGridViewTextBoxColumn.set_Name("idDataGridViewTextBoxColumn");
     this.dataGridViewComboBoxColumn1.set_Name("dataGridViewComboBoxColumn1");
     this.apartmentIdDataGridViewTextBoxColumn1.set_Name("apartmentIdDataGridViewTextBoxColumn1");
     this.apartmentNameDataGridViewTextBoxColumn1.set_Name("apartmentNameDataGridViewTextBoxColumn1");
     this.personIdDataGridViewTextBoxColumn1.set_Name("personIdDataGridViewTextBoxColumn1");
     this.personNameDataGridViewTextBoxColumn1.set_Name("personNameDataGridViewTextBoxColumn1");
     this.typeResidentsDataGridViewTextBoxColumn1.set_Name("typeResidentsDataGridViewTextBoxColumn1");
     this.typeResidentNameDataGridViewTextBoxColumn1.set_Name("typeResidentNameDataGridViewTextBoxColumn1");
     this.birthDateDataGridViewTextBoxColumn1.set_Name("birthDateDataGridViewTextBoxColumn1");
     this.relativeDataGridViewTextBoxColumn1.set_Name("relativeDataGridViewTextBoxColumn1");
     this.relativeNameDataGridViewTextBoxColumn1.set_Name("relativeNameDataGridViewTextBoxColumn1");
     this.insuranceCertificateDataGridViewTextBoxColumn1.set_Name("insuranceCertificateDataGridViewTextBoxColumn1");
     this.accountBenefitDataGridViewTextBoxColumn1.set_Name("accountBenefitDataGridViewTextBoxColumn1");
     this.ageDataGridViewTextBoxColumn1.set_Name("ageDataGridViewTextBoxColumn1");
     this.apartmentLocalAddressIdDataGridViewTextBoxColumn1.set_Name("apartmentLocalAddressIdDataGridViewTextBoxColumn1");
     this.commentDataGridViewTextBoxColumn1.set_Name("commentDataGridViewTextBoxColumn1");
     this.datecDataGridViewTextBoxColumn1.set_Name("datecDataGridViewTextBoxColumn1");
     this.datebDataGridViewTextBoxColumn1.set_Name("datebDataGridViewTextBoxColumn1");
     this.dateeDataGridViewTextBoxColumn1.set_Name("dateeDataGridViewTextBoxColumn1");
     this.fromDateDataGridViewTextBoxColumn1.set_Name("fromDateDataGridViewTextBoxColumn1");
     this.toDateDataGridViewTextBoxColumn1.set_Name("toDateDataGridViewTextBoxColumn1");
     this.createdDataGridViewTextBoxColumn1.set_Name("createdDataGridViewTextBoxColumn1");
     this.orgDocumentIdDataGridViewTextBoxColumn1.set_Name("orgDocumentIdDataGridViewTextBoxColumn1");
     this.orgDocumentViewDataGridViewTextBoxColumn1.set_Name("orgDocumentViewDataGridViewTextBoxColumn1");
     this.orgDocumentDataGridViewTextBoxColumn1.set_Name("orgDocumentDataGridViewTextBoxColumn1");
     this.objectWithIdTypeDataGridViewTextBoxColumn1.set_Name("objectWithIdTypeDataGridViewTextBoxColumn1");
     this.idDataGridViewTextBoxColumn1.set_Name("idDataGridViewTextBoxColumn1");
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.selectTypeResident);
     base.Controls.Add(this.seletcRelative);
     base.Controls.Add(this.dbxBegin);
     base.Controls.Add(this.selectPerson);
     base.Controls.Add(this.panel1);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.tbComment);
     base.Controls.Add(this.label8);
     base.Controls.Add(this.label6);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.label1);
     base.set_Name("ApartmentInfoMinResidentView");
     base.set_Size(new System.Drawing.Size(0x213, 0x1da));
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.dgvApartmentResidents.EndInit();
     this.bsApartmentResidents.EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }