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(); }
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.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(); }
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(); }