Ejemplo n.º 1
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_OwnerName = new System.Windows.Forms.TextBox();
     this.m_ToDateLabel = new System.Windows.Forms.Label();
     this.cbNeedOwnerPresence = new System.Windows.Forms.CheckBox();
     this.tbComment = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.m_AccountNumber = new System.Windows.Forms.TextBox();
     this.label18 = new System.Windows.Forms.Label();
     this.tbxAccountHolder = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.btnSelectProvider = new System.Windows.Forms.Button();
     this.cbNeedPrintNotice = new System.Windows.Forms.CheckBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label7 = new System.Windows.Forms.Label();
     this.tbIdentityCardHolderName = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.tbIdentityCardNumber = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.tbDocInfo = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.chbClosePG = new System.Windows.Forms.CheckBox();
     this.chbCloseReg = new System.Windows.Forms.CheckBox();
     this.tbNoticeAdrName = new System.Windows.Forms.TextBox();
     this.cbCloseInPaymentsystem = new System.Windows.Forms.CheckBox();
     this.m_AccountBS = new System.Windows.Forms.BindingSource(this.components);
     this.selectNoticeAdr = new SelectAddress();
     this.m_OwnerSelection = new SelectOwner();
     this.m_ToDate = new DateBox();
     this.m_FromDate = new DateBox();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     box.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.m_AccountBS.BeginInit();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(11, 0xca));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label2");
     label.set_Size(new System.Drawing.Size(0x49, 13));
     label.set_TabIndex(10);
     label.set_Text("Действует с:");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(11, 0x6a));
     label2.set_Margin(new System.Windows.Forms.Padding(0));
     label2.set_Name("label1");
     label2.set_Size(new System.Drawing.Size(0x5d, 13));
     label2.set_TabIndex(8);
     label2.set_Text("Отображать как:");
     box.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     box.Controls.Add(this.m_OwnerSelection);
     box.Controls.Add(this.m_OwnerName);
     box.Controls.Add(label2);
     box.set_Location(new System.Drawing.Point(0, 0));
     box.set_Name("groupBox1");
     box.set_Size(new System.Drawing.Size(0x213, 130));
     box.set_TabIndex(1);
     box.set_TabStop(false);
     box.set_Text("Ответственный");
     this.m_OwnerName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_OwnerName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "OwnerName", true));
     this.m_OwnerName.set_Location(new System.Drawing.Point(0x75, 0x67));
     this.m_OwnerName.set_Name("m_OwnerName");
     this.m_OwnerName.set_Size(new System.Drawing.Size(0x196, 20));
     this.m_OwnerName.set_TabIndex(2);
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(11, 0x8b));
     label3.set_Margin(new System.Windows.Forms.Padding(0));
     label3.set_Name("label4");
     label3.set_Size(new System.Drawing.Size(0x2c, 13));
     label3.set_TabIndex(15);
     label3.set_Text("Номер:");
     this.m_ToDateLabel.set_AutoSize(true);
     this.m_ToDateLabel.set_Location(new System.Drawing.Point(210, 0xca));
     this.m_ToDateLabel.set_Margin(new System.Windows.Forms.Padding(0));
     this.m_ToDateLabel.set_Name("m_ToDateLabel");
     this.m_ToDateLabel.set_Size(new System.Drawing.Size(0x16, 13));
     this.m_ToDateLabel.set_TabIndex(10);
     this.m_ToDateLabel.set_Text("по:");
     this.cbNeedOwnerPresence.set_AutoSize(true);
     this.cbNeedOwnerPresence.set_CheckAlign(System.Drawing.ContentAlignment.TopRight);
     this.cbNeedOwnerPresence.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.m_AccountBS, "NeedOwnerPresence", true));
     this.cbNeedOwnerPresence.set_Location(new System.Drawing.Point(8, 0x133));
     this.cbNeedOwnerPresence.set_Name("cbNeedOwnerPresence");
     this.cbNeedOwnerPresence.set_Size(new System.Drawing.Size(0x87, 0x11));
     this.cbNeedOwnerPresence.set_TabIndex(14);
     this.cbNeedOwnerPresence.set_Text("Зайти в бухгалтерию:");
     this.cbNeedOwnerPresence.set_UseVisualStyleBackColor(true);
     this.tbComment.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbComment.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "Comment", true));
     this.tbComment.set_Location(new System.Drawing.Point(0x75, 0x169));
     this.tbComment.set_Multiline(true);
     this.tbComment.set_Name("tbComment");
     this.tbComment.set_Size(new System.Drawing.Size(0x196, 0x1c));
     this.tbComment.set_TabIndex(13);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(11, 0x16c));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x49, 13));
     this.label3.set_TabIndex(12);
     this.label3.set_Text("Примечание:");
     this.m_AccountNumber.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_AccountNumber.set_Location(new System.Drawing.Point(0x75, 0x88));
     this.m_AccountNumber.set_Name("m_AccountNumber");
     this.m_AccountNumber.set_Size(new System.Drawing.Size(0x196, 20));
     this.m_AccountNumber.set_TabIndex(0x10);
     this.m_AccountNumber.add_TextChanged(new System.EventHandler(this.m_AccountNumber_TextChanged));
     this.label18.set_AutoSize(true);
     this.label18.set_Location(new System.Drawing.Point(11, 0xa2));
     this.label18.set_Name("label18");
     this.label18.set_Size(new System.Drawing.Size(80, 13));
     this.label18.set_TabIndex(0x3a);
     this.label18.set_TabStop(true);
     this.label18.set_Text("Управляющая");
     this.tbxAccountHolder.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbxAccountHolder.set_Location(new System.Drawing.Point(0x75, 0xa3));
     this.tbxAccountHolder.set_Name("tbxAccountHolder");
     this.tbxAccountHolder.set_ReadOnly(true);
     this.tbxAccountHolder.set_Size(new System.Drawing.Size(0x178, 20));
     this.tbxAccountHolder.set_TabIndex(0x38);
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(11, 0xb0));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x4e, 13));
     this.label5.set_TabIndex(0x3b);
     this.label5.set_TabStop(true);
     this.label5.set_Text("компания ЛС:");
     this.btnSelectProvider.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnSelectProvider.set_Location(new System.Drawing.Point(0x1ed, 0xa2));
     this.btnSelectProvider.set_Name("btnSelectProvider");
     this.btnSelectProvider.set_Size(new System.Drawing.Size(30, 20));
     this.btnSelectProvider.set_TabIndex(0x3d);
     this.btnSelectProvider.set_Text("...");
     this.btnSelectProvider.set_UseVisualStyleBackColor(true);
     this.btnSelectProvider.add_Click(new System.EventHandler(this.btnSelectProvider_Click));
     this.cbNeedPrintNotice.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.cbNeedPrintNotice.set_AutoSize(true);
     this.cbNeedPrintNotice.set_Checked(true);
     this.cbNeedPrintNotice.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.cbNeedPrintNotice.set_Location(new System.Drawing.Point(0x188, 0x133));
     this.cbNeedPrintNotice.set_Name("cbNeedPrintNotice");
     this.cbNeedPrintNotice.set_Size(new System.Drawing.Size(0x85, 0x11));
     this.cbNeedPrintNotice.set_TabIndex(0x3e);
     this.cbNeedPrintNotice.set_Text("Печатать извещения");
     this.cbNeedPrintNotice.set_UseVisualStyleBackColor(true);
     this.cbNeedPrintNotice.add_CheckedChanged(new System.EventHandler(this.cbNeedPrintNotice_CheckedChanged));
     this.groupBox2.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.groupBox2.Controls.Add(this.label7);
     this.groupBox2.Controls.Add(this.tbIdentityCardHolderName);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Controls.Add(this.tbIdentityCardNumber);
     this.groupBox2.set_Location(new System.Drawing.Point(0, 230));
     this.groupBox2.set_Name("groupBox2");
     this.groupBox2.set_Size(new System.Drawing.Size(0x213, 0x47));
     this.groupBox2.set_TabIndex(0x41);
     this.groupBox2.set_TabStop(false);
     this.groupBox2.set_Text("Идентификационная карта");
     this.label7.set_AutoSize(true);
     this.label7.set_Location(new System.Drawing.Point(11, 0x30));
     this.label7.set_Name("label7");
     this.label7.set_Size(new System.Drawing.Size(0x3b, 13));
     this.label7.set_TabIndex(0x44);
     this.label7.set_Text("Владелец:");
     this.tbIdentityCardHolderName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbIdentityCardHolderName.set_Location(new System.Drawing.Point(0x75, 0x2d));
     this.tbIdentityCardHolderName.set_Name("tbIdentityCardHolderName");
     this.tbIdentityCardHolderName.set_Size(new System.Drawing.Size(0x196, 20));
     this.tbIdentityCardHolderName.set_TabIndex(0x43);
     this.tbIdentityCardHolderName.add_TextChanged(new System.EventHandler(this.tbIdentityCardHolderName_TextChanged));
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(11, 0x16));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x2c, 13));
     this.label6.set_TabIndex(0x42);
     this.label6.set_Text("Номер:");
     this.tbIdentityCardNumber.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbIdentityCardNumber.set_Location(new System.Drawing.Point(0x75, 0x13));
     this.tbIdentityCardNumber.set_Name("tbIdentityCardNumber");
     this.tbIdentityCardNumber.set_Size(new System.Drawing.Size(0x196, 20));
     this.tbIdentityCardNumber.set_TabIndex(0x41);
     this.tbIdentityCardNumber.add_TextChanged(new System.EventHandler(this.tbIdentityCardNumber_TextChanged));
     this.label8.set_Location(new System.Drawing.Point(11, 0x147));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(100, 0x1f));
     this.label8.set_TabIndex(0x42);
     this.label8.set_Text("Документ на открытие");
     this.tbDocInfo.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbDocInfo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "DocInfo", true));
     this.tbDocInfo.set_Location(new System.Drawing.Point(0x75, 0x14b));
     this.tbDocInfo.set_Name("tbDocInfo");
     this.tbDocInfo.set_Size(new System.Drawing.Size(0x196, 20));
     this.tbDocInfo.set_TabIndex(0x44);
     this.tbDocInfo.add_TextChanged(new System.EventHandler(this.tbDocInfo_TextChanged));
     this.label9.set_AutoSize(true);
     this.label9.set_Location(new System.Drawing.Point(11, 0x187));
     this.label9.set_Name("label9");
     this.label9.set_Size(new System.Drawing.Size(0x84, 13));
     this.label9.set_TabIndex(70);
     this.label9.set_Text("Адрес для уведомлений:");
     this.chbClosePG.set_AutoSize(true);
     this.chbClosePG.set_Location(new System.Drawing.Point(14, 0x1e5));
     this.chbClosePG.set_Name("chbClosePG");
     this.chbClosePG.set_Size(new System.Drawing.Size(0xc2, 0x11));
     this.chbClosePG.set_TabIndex(0x47);
     this.chbClosePG.set_Text("Закрыть ПЖ датой закрытия ЛС");
     this.chbClosePG.set_UseVisualStyleBackColor(true);
     this.chbCloseReg.set_AutoSize(true);
     this.chbCloseReg.set_Location(new System.Drawing.Point(14, 0x1f8));
     this.chbCloseReg.set_Name("chbCloseReg");
     this.chbCloseReg.set_Size(new System.Drawing.Size(0xeb, 0x11));
     this.chbCloseReg.set_TabIndex(0x48);
     this.chbCloseReg.set_Text("Выписать проживающих датой закрытия");
     this.chbCloseReg.set_UseVisualStyleBackColor(true);
     this.tbNoticeAdrName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbNoticeAdrName.set_Location(new System.Drawing.Point(14, 0x1b3));
     this.tbNoticeAdrName.set_Name("tbNoticeAdrName");
     this.tbNoticeAdrName.set_Size(new System.Drawing.Size(0x1fd, 20));
     this.tbNoticeAdrName.set_TabIndex(0x49);
     this.tbNoticeAdrName.add_TextChanged(new System.EventHandler(this.tbNoticeAdrName_TextChanged));
     this.cbCloseInPaymentsystem.set_AutoSize(true);
     this.cbCloseInPaymentsystem.set_CheckAlign(System.Drawing.ContentAlignment.TopLeft);
     this.cbCloseInPaymentsystem.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.m_AccountBS, "IsCloseInPaymentSystem", true));
     this.cbCloseInPaymentsystem.set_Location(new System.Drawing.Point(14, 0x1d1));
     this.cbCloseInPaymentsystem.set_Name("cbCloseInPaymentsystem");
     this.cbCloseInPaymentsystem.set_Size(new System.Drawing.Size(0xb7, 0x11));
     this.cbCloseInPaymentsystem.set_TabIndex(0x4a);
     this.cbCloseInPaymentsystem.set_Text("Закрыть в платежной системе");
     this.cbCloseInPaymentsystem.set_UseVisualStyleBackColor(true);
     this.m_AccountBS.set_DataSource(typeof(Account));
     this.m_AccountBS.add_BindingComplete(new System.Windows.Forms.BindingCompleteEventHandler(this.m_AccountBS_BindingComplete));
     this.m_AccountBS.add_DataError(new System.Windows.Forms.BindingManagerDataErrorEventHandler(this.m_AccountBS_DataError));
     this.m_AccountBS.add_DataSourceChanged(new System.EventHandler(this.m_AccountBS_DataSourceChanged));
     this.selectNoticeAdr.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectNoticeAdr.set_Location(new System.Drawing.Point(14, 0x197));
     this.selectNoticeAdr.set_Name("selectNoticeAdr");
     this.selectNoticeAdr.set_Size(new System.Drawing.Size(0x1fd, 0x17));
     this.selectNoticeAdr.set_TabIndex(0x45);
     this.m_OwnerSelection.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_OwnerSelection.set_Location(new System.Drawing.Point(8, 0x11));
     this.m_OwnerSelection.set_Margin(new System.Windows.Forms.Padding(5, 4, 5, 4));
     this.m_OwnerSelection.set_Name("m_OwnerSelection");
     this.m_OwnerSelection.set_Size(new System.Drawing.Size(0x203, 0x4f));
     this.m_OwnerSelection.set_TabIndex(1);
     this.m_OwnerSelection.OnOwnerSelected += new OwnerHandler(this.m_OwnerSelection_OnOwnerSelected);
     this.m_ToDate.AttachToPeriod = false;
     this.m_ToDate.AttachToPeriodEnd = false;
     this.m_ToDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_AccountBS, "ToDate", true));
     this.m_ToDate.set_Location(new System.Drawing.Point(0xeb, 0xc7));
     this.m_ToDate.set_Margin(new System.Windows.Forms.Padding(0, 8, 0, 8));
     this.m_ToDate.set_Mask("00/00/0000");
     this.m_ToDate.set_Name("m_ToDate");
     this.m_ToDate.set_Size(new System.Drawing.Size(90, 20));
     this.m_ToDate.set_TabIndex(3);
     this.m_FromDate.AttachToPeriod = false;
     this.m_FromDate.AttachToPeriodEnd = false;
     this.m_FromDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_AccountBS, "FromDate", true));
     this.m_FromDate.set_Location(new System.Drawing.Point(0x75, 0xc7));
     this.m_FromDate.set_Margin(new System.Windows.Forms.Padding(0, 8, 0, 8));
     this.m_FromDate.set_Mask("00/00/0000");
     this.m_FromDate.set_Name("m_FromDate");
     this.m_FromDate.set_Size(new System.Drawing.Size(90, 20));
     this.m_FromDate.set_TabIndex(2);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.cbCloseInPaymentsystem);
     base.Controls.Add(this.tbNoticeAdrName);
     base.Controls.Add(this.chbCloseReg);
     base.Controls.Add(this.chbClosePG);
     base.Controls.Add(this.label9);
     base.Controls.Add(this.selectNoticeAdr);
     base.Controls.Add(this.tbDocInfo);
     base.Controls.Add(this.label8);
     base.Controls.Add(this.groupBox2);
     base.Controls.Add(this.cbNeedPrintNotice);
     base.Controls.Add(this.btnSelectProvider);
     base.Controls.Add(this.label5);
     base.Controls.Add(this.label18);
     base.Controls.Add(this.tbxAccountHolder);
     base.Controls.Add(this.m_AccountNumber);
     base.Controls.Add(label3);
     base.Controls.Add(this.cbNeedOwnerPresence);
     base.Controls.Add(this.tbComment);
     base.Controls.Add(this.label3);
     base.Controls.Add(box);
     base.Controls.Add(label);
     base.Controls.Add(this.m_ToDate);
     base.Controls.Add(this.m_FromDate);
     base.Controls.Add(this.m_ToDateLabel);
     this.set_MinimumSize(new System.Drawing.Size(0x125, 0x86));
     base.set_Name("AccountView");
     base.set_Size(new System.Drawing.Size(0x213, 0x20d));
     base.add_Load(new System.EventHandler(this.AccountView_Load));
     box.ResumeLayout(false);
     box.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.m_AccountBS.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Ejemplo n.º 2
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_OwnerNameEdit = new System.Windows.Forms.TextBox();
     this.m_OwnerNameLabel = new System.Windows.Forms.Label();
     this.m_SearchByAddressRadio = new System.Windows.Forms.RadioButton();
     this.m_AccountEdit = new System.Windows.Forms.TextBox();
     this.m_AccountLabel = new System.Windows.Forms.Label();
     this.m_ApartmentLabel = new System.Windows.Forms.Label();
     this.m_ApartmentNumberEdit = new System.Windows.Forms.TextBox();
     this.btnClear = new System.Windows.Forms.Button();
     this.btnSearch = new System.Windows.Forms.Button();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.m_SearchWorker = new BackgroundWorker();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.m_SearchByNumbersRadio = new System.Windows.Forms.RadioButton();
     this.chxShowClose = new System.Windows.Forms.CheckBox();
     this.bsAccountApartment = new System.Windows.Forms.BindingSource(this.components);
     this.treeAccount = new AccountTree();
     this.m_LocalAddressSelector = new LocalAddressSelector();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     box.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.bsAccountApartment.BeginInit();
     base.SuspendLayout();
     box.set_AutoSize(true);
     box.Controls.Add(this.m_OwnerNameEdit);
     box.Controls.Add(this.m_OwnerNameLabel);
     box.Controls.Add(this.m_LocalAddressSelector);
     box.set_Dock(System.Windows.Forms.DockStyle.Top);
     box.set_FlatStyle(System.Windows.Forms.FlatStyle.System);
     box.set_Location(new System.Drawing.Point(0, 0x55));
     box.set_Name("gbAddresses");
     box.set_Size(new System.Drawing.Size(0x114, 0xb0));
     box.set_TabIndex(4);
     box.set_TabStop(false);
     this.m_OwnerNameEdit.set_CharacterCasing(System.Windows.Forms.CharacterCasing.Upper);
     this.m_OwnerNameEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameEdit.set_Location(new System.Drawing.Point(3, 0x99));
     this.m_OwnerNameEdit.set_Name("m_OwnerNameEdit");
     this.m_OwnerNameEdit.set_Size(new System.Drawing.Size(270, 20));
     this.m_OwnerNameEdit.set_TabIndex(5);
     this.m_OwnerNameEdit.add_Enter(new System.EventHandler(this.m_LocalAddressSelector_Enter));
     this.m_OwnerNameEdit.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_ApartmentNumberEdit_KeyDown));
     this.m_OwnerNameLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameLabel.set_Location(new System.Drawing.Point(3, 0x89));
     this.m_OwnerNameLabel.set_Name("m_OwnerNameLabel");
     this.m_OwnerNameLabel.set_Size(new System.Drawing.Size(270, 0x10));
     this.m_OwnerNameLabel.set_TabIndex(5);
     this.m_OwnerNameLabel.set_Text("Владелец");
     this.m_SearchByAddressRadio.set_AutoSize(true);
     this.m_SearchByAddressRadio.set_Checked(true);
     this.m_SearchByAddressRadio.set_Location(new System.Drawing.Point(7, 0x55));
     this.m_SearchByAddressRadio.set_Name("m_SearchByAddressRadio");
     this.m_SearchByAddressRadio.set_Size(new System.Drawing.Size(0xaf, 0x11));
     this.m_SearchByAddressRadio.set_TabIndex(3);
     this.m_SearchByAddressRadio.set_TabStop(true);
     this.m_SearchByAddressRadio.set_Text("Поиск по адресу и владельцу");
     this.m_SearchByAddressRadio.set_UseVisualStyleBackColor(true);
     this.m_AccountEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_AccountEdit.set_Location(new System.Drawing.Point(3, 0x3e));
     this.m_AccountEdit.set_Name("m_AccountEdit");
     this.m_AccountEdit.set_Size(new System.Drawing.Size(270, 20));
     this.m_AccountEdit.set_TabIndex(1);
     this.m_AccountEdit.add_Enter(new System.EventHandler(this.m_ApartmentNumberEdit_Enter));
     this.m_AccountEdit.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_ApartmentNumberEdit_KeyDown));
     this.m_AccountLabel.set_AutoSize(true);
     this.m_AccountLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_AccountLabel.set_Location(new System.Drawing.Point(3, 0x31));
     this.m_AccountLabel.set_Name("m_AccountLabel");
     this.m_AccountLabel.set_Size(new System.Drawing.Size(0x4c, 13));
     this.m_AccountLabel.set_TabIndex(2);
     this.m_AccountLabel.set_Text("Лицевой счет");
     this.m_AccountLabel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.m_ApartmentLabel.set_AutoSize(true);
     this.m_ApartmentLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_ApartmentLabel.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_ApartmentLabel.set_Name("m_ApartmentLabel");
     this.m_ApartmentLabel.set_Size(new System.Drawing.Size(0x7a, 13));
     this.m_ApartmentLabel.set_TabIndex(0);
     this.m_ApartmentLabel.set_Text("Идентификатор жилья");
     this.m_ApartmentLabel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.m_ApartmentNumberEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_ApartmentNumberEdit.set_Location(new System.Drawing.Point(3, 0x1d));
     this.m_ApartmentNumberEdit.set_Name("m_ApartmentNumberEdit");
     this.m_ApartmentNumberEdit.set_Size(new System.Drawing.Size(270, 20));
     this.m_ApartmentNumberEdit.set_TabIndex(2);
     this.m_ApartmentNumberEdit.add_Enter(new System.EventHandler(this.m_ApartmentNumberEdit_Enter));
     this.m_ApartmentNumberEdit.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_ApartmentNumberEdit_KeyDown));
     this.btnClear.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnClear.set_Location(new System.Drawing.Point(0xbb, 3));
     this.btnClear.set_Name("btnClear");
     this.btnClear.set_Size(new System.Drawing.Size(0x56, 0x2c));
     this.btnClear.set_TabIndex(8);
     this.btnClear.set_Text("&Очистить");
     this.btnClear.set_UseVisualStyleBackColor(true);
     this.btnClear.add_Click(new System.EventHandler(this.btnClear_Click));
     this.btnSearch.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnSearch.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btnSearch.set_Location(new System.Drawing.Point(3, 3));
     this.btnSearch.set_Name("btnSearch");
     this.btnSearch.set_Size(new System.Drawing.Size(0xb2, 0x2c));
     this.btnSearch.set_TabIndex(7);
     this.btnSearch.set_Text("&Поиск");
     this.btnSearch.set_UseVisualStyleBackColor(true);
     this.btnSearch.add_Click(new System.EventHandler(this.btnSearch_Click));
     this.tableLayoutPanel1.set_ColumnCount(2);
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 66.66666f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.Controls.Add(this.btnSearch, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.btnClear, 1, 0);
     this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0x116));
     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(0x114, 50));
     this.tableLayoutPanel1.set_TabIndex(20);
     this.m_SearchWorker.add_DoWork(new DoWorkEventHandler(this.m_SearchWorker_DoWork));
     this.m_SearchWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_SearchWorker_RunWorkerCompleted));
     this.groupBox1.set_AutoSize(true);
     this.groupBox1.Controls.Add(this.m_AccountEdit);
     this.groupBox1.Controls.Add(this.m_AccountLabel);
     this.groupBox1.Controls.Add(this.m_ApartmentNumberEdit);
     this.groupBox1.Controls.Add(this.m_ApartmentLabel);
     this.groupBox1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox1.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(0x114, 0x55));
     this.groupBox1.set_TabIndex(2);
     this.groupBox1.set_TabStop(false);
     this.m_SearchByNumbersRadio.set_AutoSize(true);
     this.m_SearchByNumbersRadio.set_Location(new System.Drawing.Point(7, 0));
     this.m_SearchByNumbersRadio.set_Name("m_SearchByNumbersRadio");
     this.m_SearchByNumbersRadio.set_Size(new System.Drawing.Size(0x79, 0x11));
     this.m_SearchByNumbersRadio.set_TabIndex(0);
     this.m_SearchByNumbersRadio.set_Text("Поиск по номерам");
     this.m_SearchByNumbersRadio.set_UseVisualStyleBackColor(true);
     this.chxShowClose.set_AutoSize(true);
     this.chxShowClose.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.chxShowClose.set_Location(new System.Drawing.Point(0, 0x105));
     this.chxShowClose.set_Name("chxShowClose");
     this.chxShowClose.set_Size(new System.Drawing.Size(0x114, 0x11));
     this.chxShowClose.set_TabIndex(6);
     this.chxShowClose.set_Text("Показывать закрытые паспорта жилья");
     this.chxShowClose.set_UseVisualStyleBackColor(true);
     this.bsAccountApartment.set_DataSource(typeof(AIS.SN.Model.DomainObjects.Views.AccountView));
     this.treeAccount.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.treeAccount.set_HideSelection(false);
     this.treeAccount.set_Location(new System.Drawing.Point(0, 0x148));
     this.treeAccount.set_Name("treeAccount");
     this.treeAccount.set_ShowNodeToolTips(true);
     this.treeAccount.set_Size(new System.Drawing.Size(0x114, 0xf9));
     this.treeAccount.set_TabIndex(10);
     this.treeAccount.add_DoubleClick(new System.EventHandler(this.treeAccount_DoubleClick));
     this.m_LocalAddressSelector.set_AutoSize(true);
     this.m_LocalAddressSelector.set_AutoSizeMode(System.Windows.Forms.AutoSizeMode.GrowAndShrink);
     this.m_LocalAddressSelector.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_LocalAddressSelector.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_LocalAddressSelector.set_Margin(new System.Windows.Forms.Padding(4));
     this.m_LocalAddressSelector.set_MinimumSize(new System.Drawing.Size(0, 0x79));
     this.m_LocalAddressSelector.set_Name("m_LocalAddressSelector");
     this.m_LocalAddressSelector.set_Size(new System.Drawing.Size(270, 0x79));
     this.m_LocalAddressSelector.set_TabIndex(4);
     this.m_LocalAddressSelector.AddressSelected += new System.EventHandler(this.m_LocalAddressSelector_AddressSelected);
     this.m_LocalAddressSelector.add_Enter(new System.EventHandler(this.m_LocalAddressSelector_Enter));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("PrintName");
     this.dataGridViewTextBoxColumn1.set_HeaderText("PrintName");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("DoorWay");
     this.dataGridViewTextBoxColumn2.set_HeaderText("DoorWay");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("LocalAddressId");
     this.dataGridViewTextBoxColumn3.set_HeaderText("LocalAddressId");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("AccountCode");
     this.dataGridViewTextBoxColumn4.set_HeaderText("AccountCode");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("OrgDocumentId");
     this.dataGridViewTextBoxColumn5.set_HeaderText("OrgDocumentId");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Id");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Id");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("ApartmentId");
     this.dataGridViewTextBoxColumn7.set_HeaderText("ApartmentId");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("Datee");
     this.dataGridViewTextBoxColumn8.set_HeaderText("Datee");
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("Adr");
     this.dataGridViewTextBoxColumn9.set_HeaderText("Adr");
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("Datec");
     this.dataGridViewTextBoxColumn10.set_HeaderText("Datec");
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("FloorHouse");
     this.dataGridViewTextBoxColumn11.set_HeaderText("FloorHouse");
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("OrgDocument");
     this.dataGridViewTextBoxColumn12.set_HeaderText("OrgDocument");
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("IsClose");
     this.dataGridViewTextBoxColumn13.set_HeaderText("IsClose");
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn14.set_DataPropertyName("Dateb");
     this.dataGridViewTextBoxColumn14.set_HeaderText("Dateb");
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("ApartmentNumer");
     this.dataGridViewTextBoxColumn15.set_HeaderText("ApartmentNumer");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("ObjectWithIdType");
     this.dataGridViewTextBoxColumn16.set_HeaderText("ObjectWithIdType");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     this.dataGridViewTextBoxColumn17.set_DataPropertyName("OrgDocumentView");
     this.dataGridViewTextBoxColumn17.set_HeaderText("OrgDocumentView");
     this.dataGridViewTextBoxColumn17.set_Name("dataGridViewTextBoxColumn17");
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.treeAccount);
     base.Controls.Add(this.m_SearchByNumbersRadio);
     base.Controls.Add(this.m_SearchByAddressRadio);
     base.Controls.Add(this.tableLayoutPanel1);
     base.Controls.Add(this.chxShowClose);
     base.Controls.Add(box);
     base.Controls.Add(this.groupBox1);
     base.set_Name("AccountSelectControl");
     base.set_Size(new System.Drawing.Size(0x114, 0x241));
     base.add_Load(new System.EventHandler(this.AccountSelectControl_Load));
     box.ResumeLayout(false);
     box.PerformLayout();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.bsAccountApartment.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Ejemplo n.º 3
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.m_SearchWorker = new BackgroundWorker();
     this.bsAccountApartment = new System.Windows.Forms.BindingSource(this.components);
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.groupBox6 = new System.Windows.Forms.GroupBox();
     this.cbDateIndication = new SelectFasetData();
     this.groupBox5 = new System.Windows.Forms.GroupBox();
     this.cbDatePlomb = new SelectFasetData();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.cbDateSeals = new SelectFasetData();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.cbTypeService = new System.Windows.Forms.ComboBox();
     this.bsServiceType = new System.Windows.Forms.BindingSource(this.components);
     this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
     this.btnSearch = new System.Windows.Forms.Button();
     this.btnClear = new System.Windows.Forms.Button();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.acApTree = new AccountApartmentTree();
     this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn33 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     this.bsAccountApartment.BeginInit();
     this.groupBox2.SuspendLayout();
     this.groupBox6.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.bsServiceType.BeginInit();
     this.tableLayoutPanel3.SuspendLayout();
     base.SuspendLayout();
     box.set_Location(new System.Drawing.Point(0, 0));
     box.set_Name("gbAddresses");
     box.set_Size(new System.Drawing.Size(200, 100));
     box.set_TabIndex(0);
     box.set_TabStop(false);
     this.groupBox1.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(200, 100));
     this.groupBox1.set_TabIndex(0);
     this.groupBox1.set_TabStop(false);
     this.tableLayoutPanel1.set_ColumnCount(2);
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 66.66666f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0));
     this.tableLayoutPanel1.set_Name("tableLayoutPanel1");
     this.tableLayoutPanel1.set_RowCount(1);
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.set_Size(new System.Drawing.Size(200, 100));
     this.tableLayoutPanel1.set_TabIndex(0);
     this.m_SearchWorker.add_DoWork(new DoWorkEventHandler(this.m_SearchWorker_DoWork));
     this.m_SearchWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_SearchWorker_RunWorkerCompleted));
     this.bsAccountApartment.set_DataSource(typeof(AIS.SN.Model.DomainObjects.Views.AccountView));
     this.groupBox2.Controls.Add(this.groupBox6);
     this.groupBox2.Controls.Add(this.groupBox5);
     this.groupBox2.Controls.Add(this.groupBox3);
     this.groupBox2.Controls.Add(this.groupBox4);
     this.groupBox2.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox2.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox2.set_Name("groupBox2");
     this.groupBox2.set_Size(new System.Drawing.Size(0x11b, 180));
     this.groupBox2.set_TabIndex(10);
     this.groupBox2.set_TabStop(false);
     this.groupBox2.set_Text("Поиск приборов учета");
     this.groupBox6.Controls.Add(this.cbDateIndication);
     this.groupBox6.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox6.set_Location(new System.Drawing.Point(3, 0x89));
     this.groupBox6.set_Name("groupBox6");
     this.groupBox6.set_Size(new System.Drawing.Size(0x115, 0x2b));
     this.groupBox6.set_TabIndex(0x2d);
     this.groupBox6.set_TabStop(false);
     this.groupBox6.set_Text("По отсутствию показаний");
     this.cbDateIndication.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.cbDateIndication.set_FormattingEnabled(true);
     this.cbDateIndication.set_Location(new System.Drawing.Point(3, 0x10));
     this.cbDateIndication.set_Margin(new System.Windows.Forms.Padding(2));
     this.cbDateIndication.set_Name("cbDateIndication");
     this.cbDateIndication.set_Size(new System.Drawing.Size(0x10f, 0x15));
     this.cbDateIndication.set_Sorted(true);
     this.cbDateIndication.set_TabIndex(40);
     this.groupBox5.Controls.Add(this.cbDatePlomb);
     this.groupBox5.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox5.set_Location(new System.Drawing.Point(3, 0x60));
     this.groupBox5.set_Name("groupBox5");
     this.groupBox5.set_Size(new System.Drawing.Size(0x115, 0x29));
     this.groupBox5.set_TabIndex(0x23);
     this.groupBox5.set_TabStop(false);
     this.groupBox5.set_Text("По дате пломбы");
     this.cbDatePlomb.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.cbDatePlomb.set_FormattingEnabled(true);
     this.cbDatePlomb.set_Location(new System.Drawing.Point(3, 0x10));
     this.cbDatePlomb.set_Margin(new System.Windows.Forms.Padding(2));
     this.cbDatePlomb.set_Name("cbDatePlomb");
     this.cbDatePlomb.set_Size(new System.Drawing.Size(0x10f, 0x15));
     this.cbDatePlomb.set_Sorted(true);
     this.cbDatePlomb.set_TabIndex(30);
     this.groupBox3.Controls.Add(this.cbDateSeals);
     this.groupBox3.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox3.set_Location(new System.Drawing.Point(3, 0x37));
     this.groupBox3.set_Name("groupBox3");
     this.groupBox3.set_Size(new System.Drawing.Size(0x115, 0x29));
     this.groupBox3.set_TabIndex(0x19);
     this.groupBox3.set_TabStop(false);
     this.groupBox3.set_Text("По дате госповерки");
     this.cbDateSeals.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.cbDateSeals.set_FormattingEnabled(true);
     this.cbDateSeals.set_Location(new System.Drawing.Point(3, 0x10));
     this.cbDateSeals.set_Margin(new System.Windows.Forms.Padding(2));
     this.cbDateSeals.set_Name("cbDateSeals");
     this.cbDateSeals.set_Size(new System.Drawing.Size(0x10f, 0x15));
     this.cbDateSeals.set_Sorted(true);
     this.cbDateSeals.set_TabIndex(20);
     this.groupBox4.Controls.Add(this.cbTypeService);
     this.groupBox4.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox4.set_Location(new System.Drawing.Point(3, 0x10));
     this.groupBox4.set_Margin(new System.Windows.Forms.Padding(2));
     this.groupBox4.set_Name("groupBox4");
     this.groupBox4.set_Padding(new System.Windows.Forms.Padding(2));
     this.groupBox4.set_Size(new System.Drawing.Size(0x115, 0x27));
     this.groupBox4.set_TabIndex(15);
     this.groupBox4.set_TabStop(false);
     this.groupBox4.set_Text("Тип услуги");
     this.cbTypeService.set_DataSource(this.bsServiceType);
     this.cbTypeService.set_DisplayMember("ShortName");
     this.cbTypeService.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.cbTypeService.set_FormattingEnabled(true);
     this.cbTypeService.set_Location(new System.Drawing.Point(2, 15));
     this.cbTypeService.set_Name("cbTypeService");
     this.cbTypeService.set_Size(new System.Drawing.Size(0x111, 0x15));
     this.cbTypeService.set_TabIndex(10);
     this.cbTypeService.set_ValueMember("Id");
     this.bsServiceType.set_DataSource(typeof(ServiceType));
     this.bsServiceType.set_Sort("");
     this.tableLayoutPanel3.set_CausesValidation(false);
     this.tableLayoutPanel3.set_ColumnCount(2);
     this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 66.66666f));
     this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333f));
     this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel3.Controls.Add(this.btnSearch, 0, 0);
     this.tableLayoutPanel3.Controls.Add(this.btnClear, 1, 0);
     this.tableLayoutPanel3.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.tableLayoutPanel3.set_Location(new System.Drawing.Point(0, 180));
     this.tableLayoutPanel3.set_Name("tableLayoutPanel3");
     this.tableLayoutPanel3.set_RowCount(1);
     this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f));
     this.tableLayoutPanel3.set_Size(new System.Drawing.Size(0x11b, 50));
     this.tableLayoutPanel3.set_TabIndex(0x65);
     this.btnSearch.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnSearch.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btnSearch.set_Location(new System.Drawing.Point(3, 3));
     this.btnSearch.set_Name("btnSearch");
     this.btnSearch.set_Size(new System.Drawing.Size(0xb6, 0x2c));
     this.btnSearch.set_TabIndex(70);
     this.btnSearch.set_Text("&Поиск");
     this.btnSearch.set_UseVisualStyleBackColor(true);
     this.btnSearch.add_Click(new System.EventHandler(this.btnSearch_Click));
     this.btnClear.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnClear.set_Location(new System.Drawing.Point(0xbf, 3));
     this.btnClear.set_Name("btnClear");
     this.btnClear.set_Size(new System.Drawing.Size(0x59, 0x2c));
     this.btnClear.set_TabIndex(80);
     this.btnClear.set_Text("&Очистить");
     this.btnClear.set_UseVisualStyleBackColor(true);
     this.btnClear.add_Click(new System.EventHandler(this.btnClear_Click));
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Id");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Id");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("OrgDocumentId");
     this.dataGridViewTextBoxColumn5.set_HeaderText("OrgDocumentId");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("ApartmentId");
     this.dataGridViewTextBoxColumn7.set_HeaderText("ApartmentId");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("DoorWay");
     this.dataGridViewTextBoxColumn2.set_HeaderText("DoorWay");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("AccountCode");
     this.dataGridViewTextBoxColumn4.set_HeaderText("AccountCode");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("Datee");
     this.dataGridViewTextBoxColumn8.set_HeaderText("Datee");
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("LocalAddressId");
     this.dataGridViewTextBoxColumn3.set_HeaderText("LocalAddressId");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("Adr");
     this.dataGridViewTextBoxColumn9.set_HeaderText("Adr");
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("ApartmentNumer");
     this.dataGridViewTextBoxColumn15.set_HeaderText("ApartmentNumer");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("Datec");
     this.dataGridViewTextBoxColumn10.set_HeaderText("Datec");
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn14.set_DataPropertyName("Dateb");
     this.dataGridViewTextBoxColumn14.set_HeaderText("Dateb");
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("ObjectWithIdType");
     this.dataGridViewTextBoxColumn16.set_HeaderText("ObjectWithIdType");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("FloorHouse");
     this.dataGridViewTextBoxColumn11.set_HeaderText("FloorHouse");
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("IsClose");
     this.dataGridViewTextBoxColumn13.set_HeaderText("IsClose");
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("PrintName");
     this.dataGridViewTextBoxColumn1.set_HeaderText("PrintName");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("OrgDocument");
     this.dataGridViewTextBoxColumn12.set_HeaderText("OrgDocument");
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.acApTree.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.acApTree.set_HideSelection(false);
     this.acApTree.set_Location(new System.Drawing.Point(0, 230));
     this.acApTree.set_Name("acApTree");
     this.acApTree.set_ShowNodeToolTips(true);
     this.acApTree.set_Size(new System.Drawing.Size(0x11b, 0x184));
     this.acApTree.set_TabIndex(0x6c);
     this.dataGridViewTextBoxColumn17.set_DataPropertyName("ApartmentId");
     this.dataGridViewTextBoxColumn17.set_HeaderText("ApartmentId");
     this.dataGridViewTextBoxColumn17.set_Name("dataGridViewTextBoxColumn17");
     this.dataGridViewTextBoxColumn18.set_DataPropertyName("Id");
     this.dataGridViewTextBoxColumn18.set_HeaderText("Id");
     this.dataGridViewTextBoxColumn18.set_Name("dataGridViewTextBoxColumn18");
     this.dataGridViewTextBoxColumn19.set_DataPropertyName("Datee");
     this.dataGridViewTextBoxColumn19.set_HeaderText("Datee");
     this.dataGridViewTextBoxColumn19.set_Name("dataGridViewTextBoxColumn19");
     this.dataGridViewTextBoxColumn20.set_DataPropertyName("LocalAddressId");
     this.dataGridViewTextBoxColumn20.set_HeaderText("LocalAddressId");
     this.dataGridViewTextBoxColumn20.set_Name("dataGridViewTextBoxColumn20");
     this.dataGridViewTextBoxColumn20.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn21.set_DataPropertyName("OrgDocumentId");
     this.dataGridViewTextBoxColumn21.set_HeaderText("OrgDocumentId");
     this.dataGridViewTextBoxColumn21.set_Name("dataGridViewTextBoxColumn21");
     this.dataGridViewTextBoxColumn21.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn22.set_DataPropertyName("Adr");
     this.dataGridViewTextBoxColumn22.set_HeaderText("Adr");
     this.dataGridViewTextBoxColumn22.set_Name("dataGridViewTextBoxColumn22");
     this.dataGridViewTextBoxColumn23.set_DataPropertyName("AccountCode");
     this.dataGridViewTextBoxColumn23.set_HeaderText("AccountCode");
     this.dataGridViewTextBoxColumn23.set_Name("dataGridViewTextBoxColumn23");
     this.dataGridViewTextBoxColumn23.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn24.set_DataPropertyName("Datec");
     this.dataGridViewTextBoxColumn24.set_HeaderText("Datec");
     this.dataGridViewTextBoxColumn24.set_Name("dataGridViewTextBoxColumn24");
     this.dataGridViewTextBoxColumn25.set_DataPropertyName("ObjectWithIdType");
     this.dataGridViewTextBoxColumn25.set_HeaderText("ObjectWithIdType");
     this.dataGridViewTextBoxColumn25.set_Name("dataGridViewTextBoxColumn25");
     this.dataGridViewTextBoxColumn26.set_DataPropertyName("FloorHouse");
     this.dataGridViewTextBoxColumn26.set_HeaderText("FloorHouse");
     this.dataGridViewTextBoxColumn26.set_Name("dataGridViewTextBoxColumn26");
     this.dataGridViewTextBoxColumn27.set_DataPropertyName("ApartmentNumer");
     this.dataGridViewTextBoxColumn27.set_HeaderText("ApartmentNumer");
     this.dataGridViewTextBoxColumn27.set_Name("dataGridViewTextBoxColumn27");
     this.dataGridViewTextBoxColumn28.set_DataPropertyName("OrgDocumentView");
     this.dataGridViewTextBoxColumn28.set_HeaderText("OrgDocumentView");
     this.dataGridViewTextBoxColumn28.set_Name("dataGridViewTextBoxColumn28");
     this.dataGridViewTextBoxColumn29.set_DataPropertyName("OrgDocument");
     this.dataGridViewTextBoxColumn29.set_HeaderText("OrgDocument");
     this.dataGridViewTextBoxColumn29.set_Name("dataGridViewTextBoxColumn29");
     this.dataGridViewTextBoxColumn30.set_DataPropertyName("Dateb");
     this.dataGridViewTextBoxColumn30.set_HeaderText("Dateb");
     this.dataGridViewTextBoxColumn30.set_Name("dataGridViewTextBoxColumn30");
     this.dataGridViewTextBoxColumn31.set_DataPropertyName("DoorWay");
     this.dataGridViewTextBoxColumn31.set_HeaderText("DoorWay");
     this.dataGridViewTextBoxColumn31.set_Name("dataGridViewTextBoxColumn31");
     this.dataGridViewTextBoxColumn31.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn32.set_DataPropertyName("IsClose");
     this.dataGridViewTextBoxColumn32.set_HeaderText("IsClose");
     this.dataGridViewTextBoxColumn32.set_Name("dataGridViewTextBoxColumn32");
     this.dataGridViewTextBoxColumn33.set_DataPropertyName("PrintName");
     this.dataGridViewTextBoxColumn33.set_HeaderText("PrintName");
     this.dataGridViewTextBoxColumn33.set_Name("dataGridViewTextBoxColumn33");
     this.dataGridViewTextBoxColumn33.set_ReadOnly(true);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.acApTree);
     base.Controls.Add(this.tableLayoutPanel3);
     base.Controls.Add(this.groupBox2);
     base.set_Name("CountersSearchControl");
     base.set_Size(new System.Drawing.Size(0x11b, 0x26a));
     base.add_Load(new System.EventHandler(this.CountersSearchControl_Load));
     this.bsAccountApartment.EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox6.ResumeLayout(false);
     this.groupBox5.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.bsServiceType.EndInit();
     this.tableLayoutPanel3.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Ejemplo n.º 4
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.chxShowClose = new System.Windows.Forms.CheckBox();
     this.m_SearchByAddressRadio = new System.Windows.Forms.RadioButton();
     this.m_OwnerNameEdit = new System.Windows.Forms.TextBox();
     this.m_OwnerNameLabel = new System.Windows.Forms.Label();
     this.m_LocalAddressSelector = new LocalAddressSelector();
     this.m_SearchByNumbersRadio = new System.Windows.Forms.RadioButton();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnSearch = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.m_AccountEdit = new System.Windows.Forms.TextBox();
     this.m_AccountLabel = new System.Windows.Forms.Label();
     this.m_ApartmentNumberEdit = new System.Windows.Forms.TextBox();
     this.m_ApartmentLabel = new System.Windows.Forms.Label();
     this.m_SearchWorker = new BackgroundWorker();
     this.bsAccountApartment = new System.Windows.Forms.BindingSource(this.components);
     this.acApTree = new AccountApartmentTree();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     box.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.bsAccountApartment.BeginInit();
     base.SuspendLayout();
     box.set_AutoSize(true);
     box.Controls.Add(this.chxShowClose);
     box.Controls.Add(this.m_SearchByAddressRadio);
     box.Controls.Add(this.m_OwnerNameEdit);
     box.Controls.Add(this.m_OwnerNameLabel);
     box.Controls.Add(this.m_LocalAddressSelector);
     box.set_Dock(System.Windows.Forms.DockStyle.Top);
     box.set_FlatStyle(System.Windows.Forms.FlatStyle.System);
     box.set_Location(new System.Drawing.Point(0, 0x55));
     box.set_Name("gbAddresses");
     box.set_Size(new System.Drawing.Size(0x120, 0xc1));
     box.set_TabIndex(1);
     box.set_TabStop(false);
     this.chxShowClose.set_AutoSize(true);
     this.chxShowClose.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.chxShowClose.set_Location(new System.Drawing.Point(3, 0xad));
     this.chxShowClose.set_Name("chxShowClose");
     this.chxShowClose.set_Size(new System.Drawing.Size(0x11a, 0x11));
     this.chxShowClose.set_TabIndex(0x6d);
     this.chxShowClose.set_Text("Показывать закрытые паспорта жилья");
     this.chxShowClose.set_UseVisualStyleBackColor(true);
     this.m_SearchByAddressRadio.set_AutoSize(true);
     this.m_SearchByAddressRadio.set_Checked(true);
     this.m_SearchByAddressRadio.set_Location(new System.Drawing.Point(6, 0));
     this.m_SearchByAddressRadio.set_Name("m_SearchByAddressRadio");
     this.m_SearchByAddressRadio.set_Size(new System.Drawing.Size(0xaf, 0x11));
     this.m_SearchByAddressRadio.set_TabIndex(0x6a);
     this.m_SearchByAddressRadio.set_TabStop(true);
     this.m_SearchByAddressRadio.set_Text("Поиск по адресу и владельцу");
     this.m_SearchByAddressRadio.set_UseVisualStyleBackColor(true);
     this.m_SearchByAddressRadio.add_Click(new System.EventHandler(this.m_SearchByAddressRadio_Click));
     this.m_OwnerNameEdit.set_CharacterCasing(System.Windows.Forms.CharacterCasing.Upper);
     this.m_OwnerNameEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameEdit.set_Location(new System.Drawing.Point(3, 0x99));
     this.m_OwnerNameEdit.set_Name("m_OwnerNameEdit");
     this.m_OwnerNameEdit.set_Size(new System.Drawing.Size(0x11a, 20));
     this.m_OwnerNameEdit.set_TabIndex(0);
     this.m_OwnerNameEdit.add_Enter(new System.EventHandler(this.m_LocalAddressSelector_Enter));
     this.m_OwnerNameEdit.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_ApartmentNumberEdit_KeyDown));
     this.m_OwnerNameLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameLabel.set_Location(new System.Drawing.Point(3, 0x89));
     this.m_OwnerNameLabel.set_Name("m_OwnerNameLabel");
     this.m_OwnerNameLabel.set_Size(new System.Drawing.Size(0x11a, 0x10));
     this.m_OwnerNameLabel.set_TabIndex(5);
     this.m_OwnerNameLabel.set_Text("Владелец");
     this.m_LocalAddressSelector.set_AutoSize(true);
     this.m_LocalAddressSelector.set_AutoSizeMode(System.Windows.Forms.AutoSizeMode.GrowAndShrink);
     this.m_LocalAddressSelector.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_LocalAddressSelector.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_LocalAddressSelector.set_Margin(new System.Windows.Forms.Padding(4));
     this.m_LocalAddressSelector.set_MinimumSize(new System.Drawing.Size(0, 0x79));
     this.m_LocalAddressSelector.set_Name("m_LocalAddressSelector");
     this.m_LocalAddressSelector.set_Size(new System.Drawing.Size(0x11a, 0x79));
     this.m_LocalAddressSelector.set_TabIndex(0);
     this.m_LocalAddressSelector.AddressSelected += new System.EventHandler(this.m_LocalAddressSelector_AddressSelected);
     this.m_LocalAddressSelector.add_Enter(new System.EventHandler(this.m_LocalAddressSelector_Enter));
     this.m_SearchByNumbersRadio.set_AutoSize(true);
     this.m_SearchByNumbersRadio.set_Location(new System.Drawing.Point(6, 0));
     this.m_SearchByNumbersRadio.set_Name("m_SearchByNumbersRadio");
     this.m_SearchByNumbersRadio.set_Size(new System.Drawing.Size(0x79, 0x11));
     this.m_SearchByNumbersRadio.set_TabIndex(4);
     this.m_SearchByNumbersRadio.set_Text("Поиск по номерам");
     this.m_SearchByNumbersRadio.set_UseVisualStyleBackColor(true);
     this.m_SearchByNumbersRadio.add_Click(new System.EventHandler(this.m_SearchByNumbersRadio_Click));
     this.tableLayoutPanel1.set_ColumnCount(2);
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 66.66666f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 86f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.Controls.Add(this.btnCancel, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.btnSearch, 0, 0);
     this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Bottom);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0x13e));
     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(0x120, 0x24));
     this.tableLayoutPanel1.set_TabIndex(0x70);
     this.btnCancel.set_Dock(System.Windows.Forms.DockStyle.Right);
     this.btnCancel.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btnCancel.set_Location(new System.Drawing.Point(0xce, 3));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4f, 30));
     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.btnSearch.set_Dock(System.Windows.Forms.DockStyle.Right);
     this.btnSearch.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btnSearch.set_Location(new System.Drawing.Point(120, 3));
     this.btnSearch.set_Name("btnSearch");
     this.btnSearch.set_Size(new System.Drawing.Size(0x4f, 30));
     this.btnSearch.set_TabIndex(6);
     this.btnSearch.set_Text("&Поиск");
     this.btnSearch.set_UseVisualStyleBackColor(true);
     this.btnSearch.add_Click(new System.EventHandler(this.btnSearch_Click));
     this.btnSearch.add_MouseUp(new System.Windows.Forms.MouseEventHandler(this.btnSearch_MouseUp));
     this.groupBox1.set_AutoSize(true);
     this.groupBox1.Controls.Add(this.m_SearchByNumbersRadio);
     this.groupBox1.Controls.Add(this.m_AccountEdit);
     this.groupBox1.Controls.Add(this.m_AccountLabel);
     this.groupBox1.Controls.Add(this.m_ApartmentNumberEdit);
     this.groupBox1.Controls.Add(this.m_ApartmentLabel);
     this.groupBox1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox1.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(0x120, 0x55));
     this.groupBox1.set_TabIndex(1);
     this.groupBox1.set_TabStop(false);
     this.m_AccountEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_AccountEdit.set_Location(new System.Drawing.Point(3, 0x3e));
     this.m_AccountEdit.set_Name("m_AccountEdit");
     this.m_AccountEdit.set_Size(new System.Drawing.Size(0x11a, 20));
     this.m_AccountEdit.set_TabIndex(5);
     this.m_AccountEdit.add_Enter(new System.EventHandler(this.m_ApartmentNumberEdit_Enter));
     this.m_AccountEdit.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_ApartmentNumberEdit_KeyDown));
     this.m_AccountLabel.set_AutoSize(true);
     this.m_AccountLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_AccountLabel.set_Location(new System.Drawing.Point(3, 0x31));
     this.m_AccountLabel.set_Name("m_AccountLabel");
     this.m_AccountLabel.set_Size(new System.Drawing.Size(0x4c, 13));
     this.m_AccountLabel.set_TabIndex(2);
     this.m_AccountLabel.set_Text("Лицевой счет");
     this.m_AccountLabel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.m_ApartmentNumberEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_ApartmentNumberEdit.set_Location(new System.Drawing.Point(3, 0x1d));
     this.m_ApartmentNumberEdit.set_Name("m_ApartmentNumberEdit");
     this.m_ApartmentNumberEdit.set_Size(new System.Drawing.Size(0x11a, 20));
     this.m_ApartmentNumberEdit.set_TabIndex(4);
     this.m_ApartmentNumberEdit.add_Enter(new System.EventHandler(this.m_ApartmentNumberEdit_Enter));
     this.m_ApartmentNumberEdit.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_ApartmentNumberEdit_KeyDown));
     this.m_ApartmentLabel.set_AutoSize(true);
     this.m_ApartmentLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_ApartmentLabel.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_ApartmentLabel.set_Name("m_ApartmentLabel");
     this.m_ApartmentLabel.set_Size(new System.Drawing.Size(0x7a, 13));
     this.m_ApartmentLabel.set_TabIndex(0);
     this.m_ApartmentLabel.set_Text("Идентификатор жилья");
     this.m_ApartmentLabel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.m_SearchWorker.add_DoWork(new DoWorkEventHandler(this.m_SearchWorker_DoWork));
     this.m_SearchWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_SearchWorker_RunWorkerCompleted));
     this.bsAccountApartment.set_DataSource(typeof(AIS.SN.Model.DomainObjects.Views.AccountView));
     this.acApTree.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.acApTree.set_HideSelection(false);
     this.acApTree.set_Location(new System.Drawing.Point(0, 0));
     this.acApTree.set_Name("acApTree");
     this.acApTree.set_ShowNodeToolTips(true);
     this.acApTree.set_Size(new System.Drawing.Size(0x120, 0x162));
     this.acApTree.set_TabIndex(0x71);
     this.acApTree.set_Visible(false);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.tableLayoutPanel1);
     base.Controls.Add(box);
     base.Controls.Add(this.groupBox1);
     base.Controls.Add(this.acApTree);
     base.set_Name("AddresseSearchControl");
     base.set_Size(new System.Drawing.Size(0x120, 0x162));
     box.ResumeLayout(false);
     box.PerformLayout();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.bsAccountApartment.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Ejemplo n.º 5
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.chxShowClose = new System.Windows.Forms.CheckBox();
     this.m_SearchByAddressRadio = new System.Windows.Forms.RadioButton();
     this.m_OwnerNameEdit = new System.Windows.Forms.TextBox();
     this.m_OwnerNameLabel = new System.Windows.Forms.Label();
     this.m_LocalAddressSelector = new LocalAddressSelector();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.gbGroups = new System.Windows.Forms.GroupBox();
     this.cbAreas = new System.Windows.Forms.ComboBox();
     this.bsAreas = new System.Windows.Forms.BindingSource(this.components);
     this.label1 = new System.Windows.Forms.Label();
     this.cbxAreaGroups = new System.Windows.Forms.ComboBox();
     this.bsAreaGroups = new System.Windows.Forms.BindingSource(this.components);
     this.label2 = new System.Windows.Forms.Label();
     this.m_SearchByGroupsRadio = new System.Windows.Forms.RadioButton();
     this.gbNumbers = new System.Windows.Forms.GroupBox();
     this.chxShowCloseNum = new System.Windows.Forms.CheckBox();
     this.m_SearchByNumbersRadio = new System.Windows.Forms.RadioButton();
     this.m_AccountEdit = new System.Windows.Forms.TextBox();
     this.m_AccountLabel = new System.Windows.Forms.Label();
     this.m_ApartmentNumberEdit = new System.Windows.Forms.TextBox();
     this.m_ApartmentLabel = new System.Windows.Forms.Label();
     this.bwArea = new BackgroundWorker();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     box.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.gbGroups.SuspendLayout();
     this.bsAreas.BeginInit();
     this.bsAreaGroups.BeginInit();
     this.gbNumbers.SuspendLayout();
     base.SuspendLayout();
     box.set_AutoSize(true);
     box.Controls.Add(this.chxShowClose);
     box.Controls.Add(this.m_SearchByAddressRadio);
     box.Controls.Add(this.m_OwnerNameEdit);
     box.Controls.Add(this.m_OwnerNameLabel);
     box.Controls.Add(this.m_LocalAddressSelector);
     box.set_Dock(System.Windows.Forms.DockStyle.Fill);
     box.set_FlatStyle(System.Windows.Forms.FlatStyle.System);
     box.set_Location(new System.Drawing.Point(0, 0));
     box.set_Name("gbAddresses");
     box.set_Size(new System.Drawing.Size(0x17a, 0xbf));
     box.set_TabIndex(4);
     box.set_TabStop(false);
     this.chxShowClose.set_AutoSize(true);
     this.chxShowClose.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.chxShowClose.set_Location(new System.Drawing.Point(3, 0xad));
     this.chxShowClose.set_Name("chxShowClose");
     this.chxShowClose.set_Size(new System.Drawing.Size(0x174, 0x11));
     this.chxShowClose.set_TabIndex(0x6b);
     this.chxShowClose.set_Text("Показывать закрытые паспорта жилья");
     this.chxShowClose.set_UseVisualStyleBackColor(true);
     this.m_SearchByAddressRadio.set_AutoSize(true);
     this.m_SearchByAddressRadio.set_Location(new System.Drawing.Point(6, 0));
     this.m_SearchByAddressRadio.set_Name("m_SearchByAddressRadio");
     this.m_SearchByAddressRadio.set_Size(new System.Drawing.Size(0xaf, 0x11));
     this.m_SearchByAddressRadio.set_TabIndex(0x6a);
     this.m_SearchByAddressRadio.set_Text("Поиск по адресу и владельцу");
     this.m_SearchByAddressRadio.set_UseVisualStyleBackColor(true);
     this.m_SearchByAddressRadio.add_Click(new System.EventHandler(this.m_SearchByAddressRadio_Click));
     this.m_OwnerNameEdit.set_CharacterCasing(System.Windows.Forms.CharacterCasing.Upper);
     this.m_OwnerNameEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameEdit.set_Location(new System.Drawing.Point(3, 0x99));
     this.m_OwnerNameEdit.set_Name("m_OwnerNameEdit");
     this.m_OwnerNameEdit.set_Size(new System.Drawing.Size(0x174, 20));
     this.m_OwnerNameEdit.set_TabIndex(0);
     this.m_OwnerNameEdit.add_Click(new System.EventHandler(this.m_SearchByAddressRadio_Click));
     this.m_OwnerNameEdit.add_Enter(new System.EventHandler(this.m_OwnerNameEdit_Enter));
     this.m_OwnerNameLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameLabel.set_Location(new System.Drawing.Point(3, 0x89));
     this.m_OwnerNameLabel.set_Name("m_OwnerNameLabel");
     this.m_OwnerNameLabel.set_Size(new System.Drawing.Size(0x174, 0x10));
     this.m_OwnerNameLabel.set_TabIndex(5);
     this.m_OwnerNameLabel.set_Text("Владелец");
     this.m_LocalAddressSelector.set_AutoSize(true);
     this.m_LocalAddressSelector.set_AutoSizeMode(System.Windows.Forms.AutoSizeMode.GrowAndShrink);
     this.m_LocalAddressSelector.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_LocalAddressSelector.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_LocalAddressSelector.set_Margin(new System.Windows.Forms.Padding(4));
     this.m_LocalAddressSelector.set_MinimumSize(new System.Drawing.Size(0, 0x79));
     this.m_LocalAddressSelector.set_Name("m_LocalAddressSelector");
     this.m_LocalAddressSelector.set_Size(new System.Drawing.Size(0x174, 0x79));
     this.m_LocalAddressSelector.set_TabIndex(0);
     this.m_LocalAddressSelector.add_Click(new System.EventHandler(this.m_SearchByAddressRadio_Click));
     this.m_LocalAddressSelector.add_Enter(new System.EventHandler(this.m_LocalAddressSelector_Enter));
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.Panel1.Controls.Add(this.gbGroups);
     this.splitContainer1.Panel1.Controls.Add(this.gbNumbers);
     this.splitContainer1.Panel2.Controls.Add(box);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x2f4, 0xbf));
     this.splitContainer1.set_SplitterDistance(0x176);
     this.splitContainer1.set_TabIndex(0);
     this.gbGroups.set_AutoSize(true);
     this.gbGroups.Controls.Add(this.cbAreas);
     this.gbGroups.Controls.Add(this.label1);
     this.gbGroups.Controls.Add(this.cbxAreaGroups);
     this.gbGroups.Controls.Add(this.label2);
     this.gbGroups.Controls.Add(this.m_SearchByGroupsRadio);
     this.gbGroups.set_Dock(System.Windows.Forms.DockStyle.Bottom);
     this.gbGroups.set_Location(new System.Drawing.Point(0, 0x68));
     this.gbGroups.set_Name("gbGroups");
     this.gbGroups.set_Size(new System.Drawing.Size(0x176, 0x57));
     this.gbGroups.set_TabIndex(0x21);
     this.gbGroups.set_TabStop(false);
     this.cbAreas.set_DataSource(this.bsAreas);
     this.cbAreas.set_DisplayMember("Name");
     this.cbAreas.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.cbAreas.set_FormattingEnabled(true);
     this.cbAreas.set_Location(new System.Drawing.Point(3, 0x3f));
     this.cbAreas.set_Name("cbAreas");
     this.cbAreas.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.cbAreas.set_Size(new System.Drawing.Size(0x170, 0x15));
     this.cbAreas.set_TabIndex(0x55);
     this.cbAreas.set_ValueMember("Id");
     this.cbAreas.add_Click(new System.EventHandler(this.m_SearchByGroupsRadio_Click));
     this.bsAreas.set_DataSource(typeof(Area));
     this.bsAreas.set_Sort("Name");
     this.label1.set_AutoSize(true);
     this.label1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.label1.set_Location(new System.Drawing.Point(3, 50));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x27, 13));
     this.label1.set_TabIndex(0x54);
     this.label1.set_Text("Набор");
     this.cbxAreaGroups.set_DataSource(this.bsAreaGroups);
     this.cbxAreaGroups.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.cbxAreaGroups.set_FormattingEnabled(true);
     this.cbxAreaGroups.set_Location(new System.Drawing.Point(3, 0x1d));
     this.cbxAreaGroups.set_Name("cbxAreaGroups");
     this.cbxAreaGroups.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.cbxAreaGroups.set_Size(new System.Drawing.Size(0x170, 0x15));
     this.cbxAreaGroups.set_TabIndex(0x52);
     this.cbxAreaGroups.add_Click(new System.EventHandler(this.m_SearchByGroupsRadio_Click));
     this.bsAreaGroups.set_DataSource(typeof(AreaGroup));
     this.bsAreaGroups.set_Sort("Name");
     this.bsAreaGroups.add_CurrentChanged(new System.EventHandler(this.bsAreaGroups_CurrentChanged));
     this.label2.set_AutoSize(true);
     this.label2.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.label2.set_Location(new System.Drawing.Point(3, 0x10));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x2a, 13));
     this.label2.set_TabIndex(0x53);
     this.label2.set_Text("Группа");
     this.m_SearchByGroupsRadio.set_AutoSize(true);
     this.m_SearchByGroupsRadio.set_Checked(true);
     this.m_SearchByGroupsRadio.set_Location(new System.Drawing.Point(6, -3));
     this.m_SearchByGroupsRadio.set_Name("m_SearchByGroupsRadio");
     this.m_SearchByGroupsRadio.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.m_SearchByGroupsRadio.set_Size(new System.Drawing.Size(0x75, 0x11));
     this.m_SearchByGroupsRadio.set_TabIndex(0x4b);
     this.m_SearchByGroupsRadio.set_TabStop(true);
     this.m_SearchByGroupsRadio.set_Text("Поиск по группам");
     this.m_SearchByGroupsRadio.set_UseVisualStyleBackColor(true);
     this.m_SearchByGroupsRadio.add_Click(new System.EventHandler(this.m_SearchByGroupsRadio_Click));
     this.gbNumbers.set_AutoSize(true);
     this.gbNumbers.Controls.Add(this.chxShowCloseNum);
     this.gbNumbers.Controls.Add(this.m_SearchByNumbersRadio);
     this.gbNumbers.Controls.Add(this.m_AccountEdit);
     this.gbNumbers.Controls.Add(this.m_AccountLabel);
     this.gbNumbers.Controls.Add(this.m_ApartmentNumberEdit);
     this.gbNumbers.Controls.Add(this.m_ApartmentLabel);
     this.gbNumbers.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.gbNumbers.set_Location(new System.Drawing.Point(0, 0));
     this.gbNumbers.set_Name("gbNumbers");
     this.gbNumbers.set_Size(new System.Drawing.Size(0x176, 0x66));
     this.gbNumbers.set_TabIndex(0x17);
     this.gbNumbers.set_TabStop(false);
     this.chxShowCloseNum.set_AutoSize(true);
     this.chxShowCloseNum.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.chxShowCloseNum.set_Location(new System.Drawing.Point(3, 0x52));
     this.chxShowCloseNum.set_Name("chxShowCloseNum");
     this.chxShowCloseNum.set_Size(new System.Drawing.Size(0x170, 0x11));
     this.chxShowCloseNum.set_TabIndex(0x6c);
     this.chxShowCloseNum.set_Text("Показывать закрытые паспорта жилья");
     this.chxShowCloseNum.set_UseVisualStyleBackColor(true);
     this.m_SearchByNumbersRadio.set_AutoSize(true);
     this.m_SearchByNumbersRadio.set_Location(new System.Drawing.Point(6, 0));
     this.m_SearchByNumbersRadio.set_Name("m_SearchByNumbersRadio");
     this.m_SearchByNumbersRadio.set_Size(new System.Drawing.Size(0x79, 0x11));
     this.m_SearchByNumbersRadio.set_TabIndex(4);
     this.m_SearchByNumbersRadio.set_Text("Поиск по номерам");
     this.m_SearchByNumbersRadio.set_UseVisualStyleBackColor(true);
     this.m_SearchByNumbersRadio.add_Click(new System.EventHandler(this.m_SearchByNumbersRadio_Click));
     this.m_AccountEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_AccountEdit.set_Location(new System.Drawing.Point(3, 0x3e));
     this.m_AccountEdit.set_Name("m_AccountEdit");
     this.m_AccountEdit.set_Size(new System.Drawing.Size(0x170, 20));
     this.m_AccountEdit.set_TabIndex(5);
     this.m_AccountEdit.add_Click(new System.EventHandler(this.m_SearchByNumbersRadio_Click));
     this.m_AccountLabel.set_AutoSize(true);
     this.m_AccountLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_AccountLabel.set_Location(new System.Drawing.Point(3, 0x31));
     this.m_AccountLabel.set_Name("m_AccountLabel");
     this.m_AccountLabel.set_Size(new System.Drawing.Size(0x4c, 13));
     this.m_AccountLabel.set_TabIndex(2);
     this.m_AccountLabel.set_Text("Лицевой счет");
     this.m_AccountLabel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.m_ApartmentNumberEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_ApartmentNumberEdit.set_Location(new System.Drawing.Point(3, 0x1d));
     this.m_ApartmentNumberEdit.set_Name("m_ApartmentNumberEdit");
     this.m_ApartmentNumberEdit.set_Size(new System.Drawing.Size(0x170, 20));
     this.m_ApartmentNumberEdit.set_TabIndex(4);
     this.m_ApartmentNumberEdit.add_Click(new System.EventHandler(this.m_SearchByNumbersRadio_Click));
     this.m_ApartmentNumberEdit.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_ApartmentNumberEdit_KeyDown));
     this.m_ApartmentLabel.set_AutoSize(true);
     this.m_ApartmentLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_ApartmentLabel.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_ApartmentLabel.set_Name("m_ApartmentLabel");
     this.m_ApartmentLabel.set_Size(new System.Drawing.Size(0x7a, 13));
     this.m_ApartmentLabel.set_TabIndex(0);
     this.m_ApartmentLabel.set_Text("Идентификатор жилья");
     this.m_ApartmentLabel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.splitContainer1);
     base.set_Name("AddressesSelectControl");
     base.set_Size(new System.Drawing.Size(0x2f4, 0xbf));
     base.add_Load(new System.EventHandler(this.AddressesSelectControl_Load));
     box.ResumeLayout(false);
     box.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     this.splitContainer1.ResumeLayout(false);
     this.gbGroups.ResumeLayout(false);
     this.gbGroups.PerformLayout();
     this.bsAreas.EndInit();
     this.bsAreaGroups.EndInit();
     this.gbNumbers.ResumeLayout(false);
     this.gbNumbers.PerformLayout();
     base.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     this.btnClear = new System.Windows.Forms.Button();
     this.btnSearch = new System.Windows.Forms.Button();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.m_SearchWorker = new BackgroundWorker();
     this.chxShowClose = new System.Windows.Forms.CheckBox();
     this.acApTree = new AccountApartmentTree();
     this.bsAccountApartment = new System.Windows.Forms.BindingSource(this.components);
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.m_LocalAddressSelector = new LocalAddressByUserSelector();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     box.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.bsAccountApartment.BeginInit();
     base.SuspendLayout();
     box.set_AutoSize(true);
     box.Controls.Add(this.m_LocalAddressSelector);
     box.set_Dock(System.Windows.Forms.DockStyle.Top);
     box.set_FlatStyle(System.Windows.Forms.FlatStyle.System);
     box.set_Location(new System.Drawing.Point(0, 0));
     box.set_Name("gbAddresses");
     box.set_Size(new System.Drawing.Size(0x114, 140));
     box.set_TabIndex(4);
     box.set_TabStop(false);
     this.btnClear.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnClear.set_Location(new System.Drawing.Point(0xbb, 3));
     this.btnClear.set_Name("btnClear");
     this.btnClear.set_Size(new System.Drawing.Size(0x56, 0x2c));
     this.btnClear.set_TabIndex(8);
     this.btnClear.set_Text("&Очистить");
     this.btnClear.set_UseVisualStyleBackColor(true);
     this.btnClear.add_Click(new System.EventHandler(this.btnClear_Click));
     this.btnSearch.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnSearch.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btnSearch.set_Location(new System.Drawing.Point(3, 3));
     this.btnSearch.set_Name("btnSearch");
     this.btnSearch.set_Size(new System.Drawing.Size(0xb2, 0x2c));
     this.btnSearch.set_TabIndex(7);
     this.btnSearch.set_Text("&Поиск");
     this.btnSearch.set_UseVisualStyleBackColor(true);
     this.btnSearch.add_Click(new System.EventHandler(this.btnSearch_Click));
     this.tableLayoutPanel1.set_ColumnCount(2);
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 66.66666f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.Controls.Add(this.btnSearch, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.btnClear, 1, 0);
     this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0x9d));
     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(0x114, 50));
     this.tableLayoutPanel1.set_TabIndex(20);
     this.m_SearchWorker.add_DoWork(new DoWorkEventHandler(this.m_SearchWorker_DoWork));
     this.m_SearchWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_SearchWorker_RunWorkerCompleted));
     this.chxShowClose.set_AutoSize(true);
     this.chxShowClose.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.chxShowClose.set_Location(new System.Drawing.Point(0, 140));
     this.chxShowClose.set_Name("chxShowClose");
     this.chxShowClose.set_Size(new System.Drawing.Size(0x114, 0x11));
     this.chxShowClose.set_TabIndex(0x67);
     this.chxShowClose.set_Text("Показывать закрытые паспорта жилья");
     this.chxShowClose.set_UseVisualStyleBackColor(true);
     this.acApTree.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.acApTree.set_HideSelection(false);
     this.acApTree.set_Location(new System.Drawing.Point(0, 0xcf));
     this.acApTree.set_Name("acApTree");
     this.acApTree.set_ShowNodeToolTips(true);
     this.acApTree.set_Size(new System.Drawing.Size(0x114, 370));
     this.acApTree.set_TabIndex(100);
     this.bsAccountApartment.set_DataSource(typeof(AIS.SN.Model.DomainObjects.Views.AccountView));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("PrintName");
     this.dataGridViewTextBoxColumn1.set_HeaderText("PrintName");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("DoorWay");
     this.dataGridViewTextBoxColumn2.set_HeaderText("DoorWay");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("LocalAddressId");
     this.dataGridViewTextBoxColumn3.set_HeaderText("LocalAddressId");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("AccountCode");
     this.dataGridViewTextBoxColumn4.set_HeaderText("AccountCode");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("OrgDocumentId");
     this.dataGridViewTextBoxColumn5.set_HeaderText("OrgDocumentId");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Id");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Id");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("ApartmentId");
     this.dataGridViewTextBoxColumn7.set_HeaderText("ApartmentId");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("Datee");
     this.dataGridViewTextBoxColumn8.set_HeaderText("Datee");
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("Adr");
     this.dataGridViewTextBoxColumn9.set_HeaderText("Adr");
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("Datec");
     this.dataGridViewTextBoxColumn10.set_HeaderText("Datec");
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("FloorHouse");
     this.dataGridViewTextBoxColumn11.set_HeaderText("FloorHouse");
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("OrgDocument");
     this.dataGridViewTextBoxColumn12.set_HeaderText("OrgDocument");
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("IsClose");
     this.dataGridViewTextBoxColumn13.set_HeaderText("IsClose");
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn14.set_DataPropertyName("Dateb");
     this.dataGridViewTextBoxColumn14.set_HeaderText("Dateb");
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("ApartmentNumer");
     this.dataGridViewTextBoxColumn15.set_HeaderText("ApartmentNumer");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("ObjectWithIdType");
     this.dataGridViewTextBoxColumn16.set_HeaderText("ObjectWithIdType");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     this.dataGridViewTextBoxColumn17.set_DataPropertyName("OrgDocumentView");
     this.dataGridViewTextBoxColumn17.set_HeaderText("OrgDocumentView");
     this.dataGridViewTextBoxColumn17.set_Name("dataGridViewTextBoxColumn17");
     this.m_LocalAddressSelector.set_AutoSize(true);
     this.m_LocalAddressSelector.set_AutoSizeMode(System.Windows.Forms.AutoSizeMode.GrowAndShrink);
     this.m_LocalAddressSelector.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_LocalAddressSelector.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_LocalAddressSelector.set_Margin(new System.Windows.Forms.Padding(4));
     this.m_LocalAddressSelector.set_MinimumSize(new System.Drawing.Size(0, 0x79));
     this.m_LocalAddressSelector.set_Name("m_LocalAddressSelector");
     this.m_LocalAddressSelector.set_Size(new System.Drawing.Size(270, 0x79));
     this.m_LocalAddressSelector.set_TabIndex(0);
     this.m_LocalAddressSelector.AddressSelected += new System.EventHandler(this.m_LocalAddressSelector_AddressSelected);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.acApTree);
     base.Controls.Add(this.tableLayoutPanel1);
     base.Controls.Add(this.chxShowClose);
     base.Controls.Add(box);
     base.set_Name("CounterApartmentSearchControl");
     base.set_Size(new System.Drawing.Size(0x114, 0x241));
     base.add_Load(new System.EventHandler(this.CounterApartmentSearchControl_Load));
     box.ResumeLayout(false);
     box.PerformLayout();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.bsAccountApartment.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }