Exemple #1
0
 private void InitializeComponent()
 {
     this.tsApartmentNumberAddress = new System.Windows.Forms.ToolStrip();
     this.tslNumberHouse = new System.Windows.Forms.ToolStripLabel();
     this.tstbApartmentNumber = new System.Windows.Forms.ToolStripTextBox();
     this.tsbChangeApartmentNumber = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tslAddress = new System.Windows.Forms.ToolStripLabel();
     this.tstbApartmentAddress = new System.Windows.Forms.ToolStripTextBox();
     this.tsbChabgeApartmentAddress = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbHouse = new System.Windows.Forms.ToolStripButton();
     this.m_Tabs = new System.Windows.Forms.TabControl();
     this.m_InfoTab = new System.Windows.Forms.TabPage();
     this.apartmentTotalInfoView = new ApartmentTotalInfoView();
     this.m_AccountsTab = new System.Windows.Forms.TabPage();
     this.apartmentAccountsView = new ApartmentAccountsView();
     this.m_ResidentsTab = new System.Windows.Forms.TabPage();
     this.apartmentResidentsView = new ApartmentResidentsView();
     this.m_HousekeepingsTab = new System.Windows.Forms.TabPage();
     this.apartmentHouseKeepingsView = new ApartmentHouseKeepingsView();
     this.m_CountersTab = new System.Windows.Forms.TabPage();
     this.apartmentCountersView = new ApartmentCountersView();
     this.m_ApartmentNoteTab = new System.Windows.Forms.TabPage();
     this.apartmentNotesView = new ApartmentNotesView();
     this.panel1 = new System.Windows.Forms.Panel();
     this.sidSoapClient1 = new SIDSoapClient();
     this.tsApartmentNumberAddress.SuspendLayout();
     this.m_Tabs.SuspendLayout();
     this.m_InfoTab.SuspendLayout();
     this.m_AccountsTab.SuspendLayout();
     this.m_ResidentsTab.SuspendLayout();
     this.m_HousekeepingsTab.SuspendLayout();
     this.m_CountersTab.SuspendLayout();
     this.m_ApartmentNoteTab.SuspendLayout();
     this.panel1.SuspendLayout();
     base.SuspendLayout();
     this.tsApartmentNumberAddress.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tslNumberHouse, this.tstbApartmentNumber, this.tsbChangeApartmentNumber, this.toolStripSeparator1, this.tslAddress, this.tstbApartmentAddress, this.tsbChabgeApartmentAddress, this.toolStripSeparator2, this.tsbHouse });
     this.tsApartmentNumberAddress.set_Location(new System.Drawing.Point(0, 0));
     this.tsApartmentNumberAddress.set_Name("tsApartmentNumberAddress");
     this.tsApartmentNumberAddress.set_Size(new System.Drawing.Size(0x31d, 0x19));
     this.tsApartmentNumberAddress.set_TabIndex(3);
     this.tsApartmentNumberAddress.set_Text("toolStrip1");
     this.tsApartmentNumberAddress.add_ItemClicked(new System.Windows.Forms.ToolStripItemClickedEventHandler(this.tsApartmentNumberAddress_ItemClicked));
     this.tslNumberHouse.set_Name("tslNumberHouse");
     this.tslNumberHouse.set_Size(new System.Drawing.Size(0x8a, 0x16));
     this.tslNumberHouse.set_Text("Идентификатор жилья: ");
     this.tstbApartmentNumber.set_Name("tstbApartmentNumber");
     this.tstbApartmentNumber.set_ReadOnly(true);
     this.tstbApartmentNumber.set_Size(new System.Drawing.Size(0x56, 0x19));
     this.tsbChangeApartmentNumber.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbChangeApartmentNumber.set_Image(Resources.CHANGE);
     this.tsbChangeApartmentNumber.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbChangeApartmentNumber.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbChangeApartmentNumber.set_Name("tsbChangeApartmentNumber");
     this.tsbChangeApartmentNumber.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbChangeApartmentNumber.set_Text("Изменить идентификатор");
     this.tsbChangeApartmentNumber.add_Click(new System.EventHandler(this.tsbChangeApartmentNumber_Click));
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.tslAddress.set_Name("tslAddress");
     this.tslAddress.set_Size(new System.Drawing.Size(0x2b, 0x16));
     this.tslAddress.set_Text("Адрес:");
     this.tstbApartmentAddress.set_Name("tstbApartmentAddress");
     this.tstbApartmentAddress.set_ReadOnly(true);
     this.tstbApartmentAddress.set_Size(new System.Drawing.Size(0x102, 0x19));
     this.tsbChabgeApartmentAddress.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbChabgeApartmentAddress.set_Image(Resources.CHANGE);
     this.tsbChabgeApartmentAddress.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbChabgeApartmentAddress.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbChabgeApartmentAddress.set_Name("tsbChabgeApartmentAddress");
     this.tsbChabgeApartmentAddress.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbChabgeApartmentAddress.set_Text("Изменить адрес");
     this.tsbChabgeApartmentAddress.add_Click(new System.EventHandler(this.tsbChabgeApartmentAddress_Click));
     this.toolStripSeparator2.set_Name("toolStripSeparator2");
     this.toolStripSeparator2.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsbHouse.set_Image(Resources.home);
     this.tsbHouse.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbHouse.set_Name("tsbHouse");
     this.tsbHouse.set_Size(new System.Drawing.Size(0x69, 0x16));
     this.tsbHouse.set_Text("Паспорт дома");
     this.tsbHouse.add_Click(new System.EventHandler(this.tsbHouse_Click));
     this.m_Tabs.Controls.Add(this.m_InfoTab);
     this.m_Tabs.Controls.Add(this.m_AccountsTab);
     this.m_Tabs.Controls.Add(this.m_ResidentsTab);
     this.m_Tabs.Controls.Add(this.m_HousekeepingsTab);
     this.m_Tabs.Controls.Add(this.m_CountersTab);
     this.m_Tabs.Controls.Add(this.m_ApartmentNoteTab);
     this.m_Tabs.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.m_Tabs.set_Location(new System.Drawing.Point(0, 0));
     this.m_Tabs.set_Name("m_Tabs");
     this.m_Tabs.set_SelectedIndex(0);
     this.m_Tabs.set_Size(new System.Drawing.Size(0x31d, 0x265));
     this.m_Tabs.set_TabIndex(4);
     this.m_Tabs.add_SelectedIndexChanged(new System.EventHandler(this.m_Tabs_SelectedIndexChanged));
     this.m_InfoTab.Controls.Add(this.apartmentTotalInfoView);
     this.m_InfoTab.set_Location(new System.Drawing.Point(4, 0x16));
     this.m_InfoTab.set_Name("m_InfoTab");
     this.m_InfoTab.set_Padding(new System.Windows.Forms.Padding(3));
     this.m_InfoTab.set_Size(new System.Drawing.Size(0x315, 0x24b));
     this.m_InfoTab.set_TabIndex(0);
     this.m_InfoTab.set_Text("Общее");
     this.m_InfoTab.set_UseVisualStyleBackColor(true);
     this.apartmentTotalInfoView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.apartmentTotalInfoView.set_Location(new System.Drawing.Point(3, 3));
     this.apartmentTotalInfoView.set_Name("apartmentTotalInfoView");
     this.apartmentTotalInfoView.set_Size(new System.Drawing.Size(0x30f, 0x245));
     this.apartmentTotalInfoView.set_TabIndex(0);
     this.m_AccountsTab.Controls.Add(this.apartmentAccountsView);
     this.m_AccountsTab.set_Location(new System.Drawing.Point(4, 0x16));
     this.m_AccountsTab.set_Margin(new System.Windows.Forms.Padding(3, 2, 3, 2));
     this.m_AccountsTab.set_Name("m_AccountsTab");
     this.m_AccountsTab.set_Padding(new System.Windows.Forms.Padding(3, 2, 3, 2));
     this.m_AccountsTab.set_Size(new System.Drawing.Size(0x315, 0x24b));
     this.m_AccountsTab.set_TabIndex(6);
     this.m_AccountsTab.set_Text("Лицевые");
     this.m_AccountsTab.set_UseVisualStyleBackColor(true);
     this.apartmentAccountsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.apartmentAccountsView.set_Location(new System.Drawing.Point(3, 2));
     this.apartmentAccountsView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.apartmentAccountsView.set_Name("apartmentAccountsView");
     this.apartmentAccountsView.set_Size(new System.Drawing.Size(0x30f, 0x247));
     this.apartmentAccountsView.set_TabIndex(0);
     this.m_ResidentsTab.Controls.Add(this.apartmentResidentsView);
     this.m_ResidentsTab.set_Location(new System.Drawing.Point(4, 0x16));
     this.m_ResidentsTab.set_Name("m_ResidentsTab");
     this.m_ResidentsTab.set_Padding(new System.Windows.Forms.Padding(3));
     this.m_ResidentsTab.set_Size(new System.Drawing.Size(0x315, 0x24b));
     this.m_ResidentsTab.set_TabIndex(1);
     this.m_ResidentsTab.set_Text("Проживающие");
     this.m_ResidentsTab.set_UseVisualStyleBackColor(true);
     this.apartmentResidentsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.apartmentResidentsView.set_Location(new System.Drawing.Point(3, 3));
     this.apartmentResidentsView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.apartmentResidentsView.set_Name("apartmentResidentsView");
     this.apartmentResidentsView.set_Size(new System.Drawing.Size(0x30f, 0x245));
     this.apartmentResidentsView.set_TabIndex(0);
     this.apartmentResidentsView.VisibleToolStripResidents = true;
     this.m_HousekeepingsTab.Controls.Add(this.apartmentHouseKeepingsView);
     this.m_HousekeepingsTab.set_Location(new System.Drawing.Point(4, 0x16));
     this.m_HousekeepingsTab.set_Name("m_HousekeepingsTab");
     this.m_HousekeepingsTab.set_Padding(new System.Windows.Forms.Padding(3));
     this.m_HousekeepingsTab.set_Size(new System.Drawing.Size(0x315, 0x24b));
     this.m_HousekeepingsTab.set_TabIndex(2);
     this.m_HousekeepingsTab.set_Text("Хозяйство/Оборудование");
     this.m_HousekeepingsTab.set_UseVisualStyleBackColor(true);
     this.apartmentHouseKeepingsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.apartmentHouseKeepingsView.set_Location(new System.Drawing.Point(3, 3));
     this.apartmentHouseKeepingsView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.apartmentHouseKeepingsView.set_Name("apartmentHouseKeepingsView");
     this.apartmentHouseKeepingsView.set_Size(new System.Drawing.Size(0x30f, 0x245));
     this.apartmentHouseKeepingsView.set_TabIndex(0);
     this.m_CountersTab.Controls.Add(this.apartmentCountersView);
     this.m_CountersTab.set_Location(new System.Drawing.Point(4, 0x16));
     this.m_CountersTab.set_Name("m_CountersTab");
     this.m_CountersTab.set_Padding(new System.Windows.Forms.Padding(3));
     this.m_CountersTab.set_Size(new System.Drawing.Size(0x315, 0x24b));
     this.m_CountersTab.set_TabIndex(4);
     this.m_CountersTab.set_Text("Приборы учета");
     this.m_CountersTab.set_UseVisualStyleBackColor(true);
     this.apartmentCountersView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.apartmentCountersView.set_Location(new System.Drawing.Point(3, 3));
     this.apartmentCountersView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.apartmentCountersView.set_Name("apartmentCountersView");
     this.apartmentCountersView.set_Size(new System.Drawing.Size(0x30f, 0x245));
     this.apartmentCountersView.set_TabIndex(0);
     this.m_ApartmentNoteTab.Controls.Add(this.apartmentNotesView);
     this.m_ApartmentNoteTab.set_Location(new System.Drawing.Point(4, 0x16));
     this.m_ApartmentNoteTab.set_Name("m_ApartmentNoteTab");
     this.m_ApartmentNoteTab.set_Size(new System.Drawing.Size(0x315, 0x24b));
     this.m_ApartmentNoteTab.set_TabIndex(7);
     this.m_ApartmentNoteTab.set_Text("Примечание");
     this.m_ApartmentNoteTab.set_UseVisualStyleBackColor(true);
     this.apartmentNotesView.set_AutoSize(true);
     this.apartmentNotesView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.apartmentNotesView.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.apartmentNotesView.set_Location(new System.Drawing.Point(0, 0));
     this.apartmentNotesView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.apartmentNotesView.set_Name("apartmentNotesView");
     this.apartmentNotesView.set_Size(new System.Drawing.Size(0x315, 0x24b));
     this.apartmentNotesView.set_TabIndex(0);
     this.panel1.Controls.Add(this.m_Tabs);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.panel1.set_Location(new System.Drawing.Point(0, 0x19));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x31d, 0x265));
     this.panel1.set_TabIndex(5);
     this.sidSoapClient1.set_Credentials(null);
     this.sidSoapClient1.set_UseDefaultCredentials(false);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.panel1);
     base.Controls.Add(this.tsApartmentNumberAddress);
     base.set_Name("ApartmentView");
     base.set_Size(new System.Drawing.Size(0x31d, 0x27e));
     this.tsApartmentNumberAddress.ResumeLayout(false);
     this.tsApartmentNumberAddress.PerformLayout();
     this.m_Tabs.ResumeLayout(false);
     this.m_InfoTab.ResumeLayout(false);
     this.m_AccountsTab.ResumeLayout(false);
     this.m_ResidentsTab.ResumeLayout(false);
     this.m_HousekeepingsTab.ResumeLayout(false);
     this.m_CountersTab.ResumeLayout(false);
     this.m_ApartmentNoteTab.ResumeLayout(false);
     this.m_ApartmentNoteTab.PerformLayout();
     this.panel1.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 private string SendRequest(string request)
 {
     SIDSoapClient client = new SIDSoapClient();
     client.set_Url(SidRequestMapper.GetSidUrl());
     return client.FunctionInSID(request);
 }