Example #1
0
 private void InitializeComponent()
 {
     this.panel2 = new System.Windows.Forms.Panel();
     this.debitorsView1 = new DebitorsView();
     this.localAddressByUserSelector1 = new LocalAddressByUserSelector();
     this.panel2.SuspendLayout();
     base.SuspendLayout();
     this.panel2.Controls.Add(this.localAddressByUserSelector1);
     this.panel2.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.panel2.set_Location(new System.Drawing.Point(0, 0));
     this.panel2.set_Name("panel2");
     this.panel2.set_Size(new System.Drawing.Size(0x3c1, 0x7d));
     this.panel2.set_TabIndex(13);
     this.debitorsView1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.debitorsView1.set_Font(new System.Drawing.Font("Tahoma", 9.75f));
     this.debitorsView1.set_Location(new System.Drawing.Point(0, 0x7d));
     this.debitorsView1.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.debitorsView1.set_Name("debitorsView1");
     this.debitorsView1.set_Size(new System.Drawing.Size(0x3c1, 0x1ba));
     this.debitorsView1.set_TabIndex(14);
     this.localAddressByUserSelector1.set_Location(new System.Drawing.Point(0, 0));
     this.localAddressByUserSelector1.set_Margin(new System.Windows.Forms.Padding(0));
     this.localAddressByUserSelector1.set_MinimumSize(new System.Drawing.Size(0, 0x79));
     this.localAddressByUserSelector1.set_Name("localAddressByUserSelector1");
     this.localAddressByUserSelector1.set_Size(new System.Drawing.Size(0x156, 0x79));
     this.localAddressByUserSelector1.set_TabIndex(2);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.debitorsView1);
     base.Controls.Add(this.panel2);
     base.set_Name("WorkDebitorsView");
     base.set_Size(new System.Drawing.Size(0x3c1, 0x237));
     this.panel2.ResumeLayout(false);
     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();
 }