示例#1
0
 private void InitializeComponent()
 {
     House house = new House();
     this.tabPasportHouse = new System.Windows.Forms.TabPage();
     this.btnSave = new System.Windows.Forms.Button();
     this.housePassportView = new HouseInfoView();
     this.tabEquipments = new System.Windows.Forms.TabPage();
     this.btnSave2 = new System.Windows.Forms.Button();
     this.houseIngenerTableView = new HouseIngenerTableView();
     this.tsApartmentNumberAddress = new System.Windows.Forms.ToolStrip();
     this.tslAddress = new System.Windows.Forms.ToolStripLabel();
     this.tstbApartmentAddress = new System.Windows.Forms.ToolStripTextBox();
     this.tabPageCollectionCounters = new System.Windows.Forms.TabPage();
     this.houseCountersView = new HouseCountersView();
     this.tabSesonals = new System.Windows.Forms.TabPage();
     this.houseServiceSeasonsView = new HouseServiceSeasonsView();
     this.tabPageNonresidentialApartments = new System.Windows.Forms.TabPage();
     this.nonresidentialApartmentsView = new NonresidentialApartmentsView();
     this.tabPageOrganizatios = new System.Windows.Forms.TabPage();
     this.houseOrganizationsView = new HouseOrganizationsView();
     this.tab = new System.Windows.Forms.TabControl();
     this.tabHouseAreas = new System.Windows.Forms.TabPage();
     this.historyHouseAreasView1 = new HistoryHouseAreasView();
     this.tabPageHouseTreatyCommitment = new System.Windows.Forms.TabPage();
     this.houseTreatyCommitmentView = new HouseTreatyCommitmentView();
     this.tabPageHouseServiceNorms = new System.Windows.Forms.TabPage();
     this.houseServiceNormsView = new HouseServiceNormsView();
     this.tabPageHouseServiceTariffs = new System.Windows.Forms.TabPage();
     this.houseServiceTariffsView = new HouseServiceTariffsView();
     this.tabPageHouseBindingServices = new System.Windows.Forms.TabPage();
     this.housesBindingServicesView = new HousesBindingServicesView();
     this.panel1 = new System.Windows.Forms.Panel();
     this.splitter1 = new System.Windows.Forms.Splitter();
     this.addressTreeView = new HouseTree();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tabPasportHouse.SuspendLayout();
     this.tabEquipments.SuspendLayout();
     this.tsApartmentNumberAddress.SuspendLayout();
     this.tabPageCollectionCounters.SuspendLayout();
     this.tabSesonals.SuspendLayout();
     this.tabPageNonresidentialApartments.SuspendLayout();
     this.tabPageOrganizatios.SuspendLayout();
     this.tab.SuspendLayout();
     this.tabHouseAreas.SuspendLayout();
     this.tabPageHouseTreatyCommitment.SuspendLayout();
     this.tabPageHouseServiceNorms.SuspendLayout();
     this.tabPageHouseServiceTariffs.SuspendLayout();
     this.tabPageHouseBindingServices.SuspendLayout();
     this.panel1.SuspendLayout();
     base.SuspendLayout();
     this.tabPasportHouse.Controls.Add(this.btnSave);
     this.tabPasportHouse.Controls.Add(this.housePassportView);
     this.tabPasportHouse.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPasportHouse.set_Margin(new System.Windows.Forms.Padding(2));
     this.tabPasportHouse.set_Name("tabPasportHouse");
     this.tabPasportHouse.set_Padding(new System.Windows.Forms.Padding(2));
     this.tabPasportHouse.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabPasportHouse.set_TabIndex(0);
     this.tabPasportHouse.set_Text("Паспортные данные");
     this.tabPasportHouse.set_UseVisualStyleBackColor(true);
     this.btnSave.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnSave.set_Location(new System.Drawing.Point(0x293, 0x239));
     this.btnSave.set_Margin(new System.Windows.Forms.Padding(2));
     this.btnSave.set_Name("btnSave");
     this.btnSave.set_Size(new System.Drawing.Size(80, 0x19));
     this.btnSave.set_TabIndex(6);
     this.btnSave.set_Text("Сохранить");
     this.btnSave.set_UseVisualStyleBackColor(true);
     this.btnSave.set_Visible(false);
     this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.housePassportView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.housePassportView.set_Location(new System.Drawing.Point(2, 2));
     this.housePassportView.set_Name("housePassportView");
     this.housePassportView.set_Size(new System.Drawing.Size(0x2f0, 0x25e));
     this.housePassportView.set_TabIndex(2);
     this.tabEquipments.Controls.Add(this.btnSave2);
     this.tabEquipments.Controls.Add(this.houseIngenerTableView);
     this.tabEquipments.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabEquipments.set_Margin(new System.Windows.Forms.Padding(2));
     this.tabEquipments.set_Name("tabEquipments");
     this.tabEquipments.set_Padding(new System.Windows.Forms.Padding(2));
     this.tabEquipments.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabEquipments.set_TabIndex(1);
     this.tabEquipments.set_Text("Инженерное оборудование");
     this.tabEquipments.set_UseVisualStyleBackColor(true);
     this.btnSave2.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnSave2.set_Location(new System.Drawing.Point(0x293, 0x239));
     this.btnSave2.set_Margin(new System.Windows.Forms.Padding(2));
     this.btnSave2.set_Name("btnSave2");
     this.btnSave2.set_Size(new System.Drawing.Size(80, 0x19));
     this.btnSave2.set_TabIndex(7);
     this.btnSave2.set_Text("Сохранить");
     this.btnSave2.set_UseVisualStyleBackColor(true);
     this.btnSave2.set_Visible(false);
     this.btnSave2.add_Click(new System.EventHandler(this.btnSave_Click));
     this.houseIngenerTableView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.houseIngenerTableView.set_Location(new System.Drawing.Point(2, 2));
     this.houseIngenerTableView.set_Name("houseIngenerTableView");
     this.houseIngenerTableView.set_Size(new System.Drawing.Size(0x2f0, 0x25e));
     this.houseIngenerTableView.set_TabIndex(0);
     this.tsApartmentNumberAddress.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tslAddress, this.tstbApartmentAddress });
     this.tsApartmentNumberAddress.set_Location(new System.Drawing.Point(0, 0));
     this.tsApartmentNumberAddress.set_Name("tsApartmentNumberAddress");
     this.tsApartmentNumberAddress.set_Size(new System.Drawing.Size(0x2fc, 0x19));
     this.tsApartmentNumberAddress.set_TabIndex(6);
     this.tsApartmentNumberAddress.set_Text("toolStrip1");
     this.tslAddress.set_Font(new System.Drawing.Font("Tahoma", 9.75f, System.Drawing.FontStyle.Bold));
     this.tslAddress.set_Name("tslAddress");
     this.tslAddress.set_Size(new System.Drawing.Size(0x38, 0x16));
     this.tslAddress.set_Text("АДРЕС:");
     this.tstbApartmentAddress.set_Font(new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.tstbApartmentAddress.set_Name("tstbApartmentAddress");
     this.tstbApartmentAddress.set_ReadOnly(true);
     this.tstbApartmentAddress.set_Size(new System.Drawing.Size(300, 0x19));
     this.tabPageCollectionCounters.Controls.Add(this.houseCountersView);
     this.tabPageCollectionCounters.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPageCollectionCounters.set_Margin(new System.Windows.Forms.Padding(2));
     this.tabPageCollectionCounters.set_Name("tabPageCollectionCounters");
     this.tabPageCollectionCounters.set_Padding(new System.Windows.Forms.Padding(2));
     this.tabPageCollectionCounters.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabPageCollectionCounters.set_TabIndex(2);
     this.tabPageCollectionCounters.set_Text("Коллективные приборы учета");
     this.tabPageCollectionCounters.set_UseVisualStyleBackColor(true);
     this.houseCountersView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.houseCountersView.set_Location(new System.Drawing.Point(2, 2));
     this.houseCountersView.set_Name("houseCountersView");
     this.houseCountersView.set_Size(new System.Drawing.Size(0x2f0, 0x25e));
     this.houseCountersView.set_TabIndex(0);
     this.tabSesonals.Controls.Add(this.houseServiceSeasonsView);
     this.tabSesonals.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabSesonals.set_Name("tabSesonals");
     this.tabSesonals.set_Padding(new System.Windows.Forms.Padding(3));
     this.tabSesonals.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabSesonals.set_TabIndex(3);
     this.tabSesonals.set_Text("Сезоны включения услуг");
     this.tabSesonals.set_UseVisualStyleBackColor(true);
     this.houseServiceSeasonsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.houseServiceSeasonsView.set_Font(new System.Drawing.Font("Tahoma", 9.75f));
     this.houseServiceSeasonsView.set_Location(new System.Drawing.Point(3, 3));
     this.houseServiceSeasonsView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.houseServiceSeasonsView.set_Name("houseServiceSeasonsView");
     this.houseServiceSeasonsView.set_Size(new System.Drawing.Size(750, 0x25c));
     this.houseServiceSeasonsView.set_TabIndex(0);
     this.tabPageNonresidentialApartments.Controls.Add(this.nonresidentialApartmentsView);
     this.tabPageNonresidentialApartments.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPageNonresidentialApartments.set_Name("tabPageNonresidentialApartments");
     this.tabPageNonresidentialApartments.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabPageNonresidentialApartments.set_TabIndex(4);
     this.tabPageNonresidentialApartments.set_Text("Нежилые помещения");
     this.tabPageNonresidentialApartments.set_UseVisualStyleBackColor(true);
     this.nonresidentialApartmentsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.nonresidentialApartmentsView.set_Location(new System.Drawing.Point(0, 0));
     this.nonresidentialApartmentsView.set_Name("nonresidentialApartmentsView");
     this.nonresidentialApartmentsView.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.nonresidentialApartmentsView.set_TabIndex(0);
     this.tabPageOrganizatios.set_BackColor(System.Drawing.Color.Transparent);
     this.tabPageOrganizatios.Controls.Add(this.houseOrganizationsView);
     this.tabPageOrganizatios.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPageOrganizatios.set_Name("tabPageOrganizatios");
     this.tabPageOrganizatios.set_Padding(new System.Windows.Forms.Padding(3));
     this.tabPageOrganizatios.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabPageOrganizatios.set_TabIndex(6);
     this.tabPageOrganizatios.set_Text("Обслуживание");
     this.houseOrganizationsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.houseOrganizationsView.set_Location(new System.Drawing.Point(3, 3));
     this.houseOrganizationsView.set_Name("houseOrganizationsView");
     this.houseOrganizationsView.set_Size(new System.Drawing.Size(750, 0x25c));
     this.houseOrganizationsView.set_TabIndex(0);
     this.tab.Controls.Add(this.tabPasportHouse);
     this.tab.Controls.Add(this.tabHouseAreas);
     this.tab.Controls.Add(this.tabEquipments);
     this.tab.Controls.Add(this.tabPageCollectionCounters);
     this.tab.Controls.Add(this.tabSesonals);
     this.tab.Controls.Add(this.tabPageNonresidentialApartments);
     this.tab.Controls.Add(this.tabPageHouseTreatyCommitment);
     this.tab.Controls.Add(this.tabPageOrganizatios);
     this.tab.Controls.Add(this.tabPageHouseServiceNorms);
     this.tab.Controls.Add(this.tabPageHouseServiceTariffs);
     this.tab.Controls.Add(this.tabPageHouseBindingServices);
     this.tab.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tab.set_Location(new System.Drawing.Point(0, 0x19));
     this.tab.set_Margin(new System.Windows.Forms.Padding(2));
     this.tab.set_Name("tab");
     this.tab.set_SelectedIndex(0);
     this.tab.set_Size(new System.Drawing.Size(0x2fc, 0x27c));
     this.tab.set_TabIndex(4);
     this.tab.add_SelectedIndexChanged(new System.EventHandler(this.tab_SelectedIndexChanged));
     this.tab.add_Selected(new System.Windows.Forms.TabControlEventHandler(this.tabControl1_Selected));
     this.tabHouseAreas.Controls.Add(this.historyHouseAreasView1);
     this.tabHouseAreas.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabHouseAreas.set_Name("tabHouseAreas");
     this.tabHouseAreas.set_Padding(new System.Windows.Forms.Padding(3));
     this.tabHouseAreas.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabHouseAreas.set_TabIndex(9);
     this.tabHouseAreas.set_Text("Площадь дома");
     this.tabHouseAreas.set_UseVisualStyleBackColor(true);
     this.historyHouseAreasView1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     house.AdrId = 0L;
     house.AdrName = null;
     int[] numArray = new int[4];
     house.AnotherSquare = new decimal(numArray);
     house.BoroughId = 0;
     house.BoroughName = null;
     house.CanonicalTypeId = 0;
     house.CanonicalTypeName = null;
     house.CargoLift = 0;
     house.Created = new System.DateTime(0L);
     house.DomKom = false;
     house.DomKomTarif = 0.0;
     house.Entrance = 0;
     house.ExternalKey = 0L;
     house.FireAlarmType = 0;
     house.FireAlarmTypeName = null;
     int[] numArray2 = new int[4];
     house.FiredArea = new decimal(numArray2);
     house.FiveRoom = 0;
     house.Flat = 0;
     house.FlatWithGarbageChute = 0;
     house.Floor = 0;
     int[] numArray3 = new int[4];
     house.FloorArea = new decimal(numArray3);
     house.FormControl = 0;
     house.FormControlTypeName = null;
     house.FoundationType = 0;
     house.FoundationTypeName = null;
     house.FourRoom = 0;
     house.GvsType = 0;
     house.GvsTypeName = null;
     house.HeatingType = 0;
     house.HeatingTypeName = null;
     house.HouseChief = null;
     house.HvsType = 0;
     house.HvsTypeName = null;
     house.Id = 0L;
     house.IsDeleted = false;
     house.IsDirty = true;
     house.KapRemontYear = 0;
     int[] numArray4 = new int[4];
     house.KitchensSquare = new decimal(numArray4);
     house.Lift = 0;
     int[] numArray5 = new int[4];
     house.LivingSquare = new decimal(numArray5);
     house.LocalBroadcastingType = 0;
     house.LocalBroadcastingTypeName = null;
     house.MusorCount = 0;
     house.ObjectWithIdType = null;
     house.OnDate = new System.DateTime(0L);
     house.OneRoom = 0;
     house.OverflowType = 0;
     house.OverFlowTypeName = null;
     house.OverlapType = 0;
     house.OverlapTypeName = null;
     house.OwnershipType = 0;
     house.OwnerShipTypeName = null;
     house.PassLift = 0;
     house.PassportNum = 0;
     house.PercentWear = 0;
     house.PrintServices = 1;
     house.RaionSud = null;
     house.RoofType = 0;
     house.RoofTypeName = null;
     house.Series = 0;
     house.SewerType = 0;
     house.SewerTypeName = null;
     house.StoveType = 0;
     house.StoveTypeName = null;
     house.SubProvider = null;
     house.Sud = 0;
     house.SudUc = null;
     house.TerritorialManagement = 0;
     house.TerritorialManagementName = null;
     house.ThreeRoom = 0;
     int[] numArray6 = new int[4];
     house.ToiletsSquare = new decimal(numArray6);
     int[] numArray7 = new int[4];
     house.TotalArea = new decimal(numArray7);
     int[] numArray8 = new int[4];
     house.TotalAreaLivingNonLivingMkd = new decimal(numArray8);
     int[] numArray9 = new int[4];
     house.TotalAreaMkd = new decimal(numArray9);
     int[] numArray10 = new int[4];
     house.TotalAreaOi = new decimal(numArray10);
     int[] numArray11 = new int[4];
     house.TotalStructureVolume = new decimal(numArray11);
     house.Tvenquipmenttype = 0;
     house.Tvenquipmenttypename = null;
     house.TwoRoom = 0;
     house.Type = 0;
     house.TypeName = null;
     house.UtilizationType = 0;
     house.UtilizationTypeName = null;
     house.WallType = 0;
     house.WallTypeName = null;
     house.YearBegin = 0;
     house.YearPassport = 0;
     this.historyHouseAreasView1.House = house;
     this.historyHouseAreasView1.set_Location(new System.Drawing.Point(3, 3));
     this.historyHouseAreasView1.set_Name("historyHouseAreasView1");
     this.historyHouseAreasView1.set_Size(new System.Drawing.Size(750, 0x25c));
     this.historyHouseAreasView1.set_TabIndex(0);
     this.tabPageHouseTreatyCommitment.Controls.Add(this.houseTreatyCommitmentView);
     this.tabPageHouseTreatyCommitment.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPageHouseTreatyCommitment.set_Name("tabPageHouseTreatyCommitment");
     this.tabPageHouseTreatyCommitment.set_Padding(new System.Windows.Forms.Padding(3));
     this.tabPageHouseTreatyCommitment.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabPageHouseTreatyCommitment.set_TabIndex(5);
     this.tabPageHouseTreatyCommitment.set_Text("Договорные обязательства");
     this.tabPageHouseTreatyCommitment.set_UseVisualStyleBackColor(true);
     this.houseTreatyCommitmentView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.houseTreatyCommitmentView.set_Font(new System.Drawing.Font("Tahoma", 9.75f));
     this.houseTreatyCommitmentView.set_Location(new System.Drawing.Point(3, 3));
     this.houseTreatyCommitmentView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.houseTreatyCommitmentView.set_Name("houseTreatyCommitmentView");
     this.houseTreatyCommitmentView.set_Size(new System.Drawing.Size(750, 0x25c));
     this.houseTreatyCommitmentView.set_TabIndex(0);
     this.tabPageHouseServiceNorms.Controls.Add(this.houseServiceNormsView);
     this.tabPageHouseServiceNorms.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPageHouseServiceNorms.set_Name("tabPageHouseServiceNorms");
     this.tabPageHouseServiceNorms.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabPageHouseServiceNorms.set_TabIndex(7);
     this.tabPageHouseServiceNorms.set_Text("Нормативы");
     this.tabPageHouseServiceNorms.set_UseVisualStyleBackColor(true);
     this.houseServiceNormsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.houseServiceNormsView.set_Location(new System.Drawing.Point(0, 0));
     this.houseServiceNormsView.set_Name("houseServiceNormsView");
     this.houseServiceNormsView.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.houseServiceNormsView.set_TabIndex(0);
     this.tabPageHouseServiceTariffs.Controls.Add(this.houseServiceTariffsView);
     this.tabPageHouseServiceTariffs.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPageHouseServiceTariffs.set_Name("tabPageHouseServiceTariffs");
     this.tabPageHouseServiceTariffs.set_Padding(new System.Windows.Forms.Padding(3));
     this.tabPageHouseServiceTariffs.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabPageHouseServiceTariffs.set_TabIndex(8);
     this.tabPageHouseServiceTariffs.set_Text("Тарифы");
     this.tabPageHouseServiceTariffs.set_UseVisualStyleBackColor(true);
     this.houseServiceTariffsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.houseServiceTariffsView.set_Font(new System.Drawing.Font("Tahoma", 9.75f));
     this.houseServiceTariffsView.House = null;
     this.houseServiceTariffsView.set_Location(new System.Drawing.Point(3, 3));
     this.houseServiceTariffsView.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.houseServiceTariffsView.set_Name("houseServiceTariffsView");
     this.houseServiceTariffsView.set_Size(new System.Drawing.Size(750, 0x25c));
     this.houseServiceTariffsView.set_TabIndex(0);
     this.tabPageHouseBindingServices.Controls.Add(this.housesBindingServicesView);
     this.tabPageHouseBindingServices.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPageHouseBindingServices.set_Name("tabPageHouseBindingServices");
     this.tabPageHouseBindingServices.set_Padding(new System.Windows.Forms.Padding(3));
     this.tabPageHouseBindingServices.set_Size(new System.Drawing.Size(0x2f4, 610));
     this.tabPageHouseBindingServices.set_TabIndex(10);
     this.tabPageHouseBindingServices.set_Text("Привязка услуги к ИПУ");
     this.tabPageHouseBindingServices.set_UseVisualStyleBackColor(true);
     this.housesBindingServicesView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.housesBindingServicesView.set_Location(new System.Drawing.Point(3, 3));
     this.housesBindingServicesView.set_Name("housesBindingServicesView");
     this.housesBindingServicesView.set_Size(new System.Drawing.Size(750, 0x25c));
     this.housesBindingServicesView.set_TabIndex(0);
     this.panel1.Controls.Add(this.tab);
     this.panel1.Controls.Add(this.tsApartmentNumberAddress);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.panel1.set_Location(new System.Drawing.Point(0xdd, 0));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x2fc, 0x295));
     this.panel1.set_TabIndex(12);
     this.splitter1.set_Location(new System.Drawing.Point(0xda, 0));
     this.splitter1.set_Name("splitter1");
     this.splitter1.set_Size(new System.Drawing.Size(3, 0x295));
     this.splitter1.set_TabIndex(10);
     this.splitter1.set_TabStop(false);
     this.addressTreeView.DenyEditing = false;
     this.addressTreeView.set_Dock(System.Windows.Forms.DockStyle.Left);
     this.addressTreeView.set_HideSelection(false);
     this.addressTreeView.set_Location(new System.Drawing.Point(0, 0));
     this.addressTreeView.set_Name("addressTreeView");
     this.addressTreeView.SelectedAddress = null;
     this.addressTreeView.set_ShowNodeToolTips(true);
     this.addressTreeView.set_Size(new System.Drawing.Size(0xda, 0x295));
     this.addressTreeView.set_TabIndex(11);
     this.addressTreeView.add_BeforeExpand(new System.Windows.Forms.TreeViewCancelEventHandler(this.addressTreeView_BeforeExpand));
     this.addressTreeView.add_AfterSelect(new System.Windows.Forms.TreeViewEventHandler(this.addressTreeView_AfterSelect));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("ServiceProviderCode");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Код ПУ");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_Width(0x33);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Дата окончания");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_Width(0x69);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("ServiceProviderName");
     this.dataGridViewTextBoxColumn2.set_HeaderText("ПУ");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_Width(0x30);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Дата начала");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_Width(0x58);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("ServiceTypeName");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Тип услуг");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_Width(0x4b);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("ServiceTypeCode");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Код типа услуг");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_Width(0x62);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Дата создания");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     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.splitter1);
     base.Controls.Add(this.addressTreeView);
     base.set_Name("HousesView");
     base.set_Size(new System.Drawing.Size(0x3d9, 0x295));
     base.add_Load(new System.EventHandler(this.HousesView_Load));
     this.tabPasportHouse.ResumeLayout(false);
     this.tabEquipments.ResumeLayout(false);
     this.tsApartmentNumberAddress.ResumeLayout(false);
     this.tsApartmentNumberAddress.PerformLayout();
     this.tabPageCollectionCounters.ResumeLayout(false);
     this.tabSesonals.ResumeLayout(false);
     this.tabPageNonresidentialApartments.ResumeLayout(false);
     this.tabPageOrganizatios.ResumeLayout(false);
     this.tab.ResumeLayout(false);
     this.tabHouseAreas.ResumeLayout(false);
     this.tabPageHouseTreatyCommitment.ResumeLayout(false);
     this.tabPageHouseServiceNorms.ResumeLayout(false);
     this.tabPageHouseServiceTariffs.ResumeLayout(false);
     this.tabPageHouseBindingServices.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     base.ResumeLayout(false);
 }
示例#2
0
 private void InitializeComponent()
 {
     House house = new House();
     this.historyHouseAreasView1 = new HistoryHouseAreasView();
     base.SuspendLayout();
     this.historyHouseAreasView1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     house.AdrId = 0L;
     house.AdrName = null;
     int[] numArray = new int[4];
     house.AnotherSquare = new decimal(numArray);
     house.BoroughId = 0;
     house.BoroughName = null;
     house.CanonicalTypeId = 0;
     house.CanonicalTypeName = null;
     house.CargoLift = 0;
     house.Created = new System.DateTime(0L);
     house.DomKom = false;
     house.DomKomTarif = 0.0;
     house.Entrance = 0;
     house.ExternalKey = 0L;
     house.FireAlarmType = 0;
     house.FireAlarmTypeName = null;
     int[] numArray2 = new int[4];
     house.FiredArea = new decimal(numArray2);
     house.FiveRoom = 0;
     house.Flat = 0;
     house.FlatWithGarbageChute = 0;
     house.Floor = 0;
     int[] numArray3 = new int[4];
     house.FloorArea = new decimal(numArray3);
     house.FormControl = 0;
     house.FormControlTypeName = null;
     house.FoundationType = 0;
     house.FoundationTypeName = null;
     house.FourRoom = 0;
     house.GvsType = 0;
     house.GvsTypeName = null;
     house.HeatingType = 0;
     house.HeatingTypeName = null;
     house.HouseChief = null;
     house.HvsType = 0;
     house.HvsTypeName = null;
     house.Id = 0L;
     house.IsDeleted = false;
     house.IsDirty = true;
     house.KapRemontYear = 0;
     int[] numArray4 = new int[4];
     house.KitchensSquare = new decimal(numArray4);
     house.Lift = 0;
     int[] numArray5 = new int[4];
     house.LivingSquare = new decimal(numArray5);
     house.LocalBroadcastingType = 0;
     house.LocalBroadcastingTypeName = null;
     house.MusorCount = 0;
     house.ObjectWithIdType = null;
     house.OnDate = new System.DateTime(0L);
     house.OneRoom = 0;
     house.OverflowType = 0;
     house.OverFlowTypeName = null;
     house.OverlapType = 0;
     house.OverlapTypeName = null;
     house.OwnershipType = 0;
     house.OwnerShipTypeName = null;
     house.PassLift = 0;
     house.PassportNum = 0;
     house.PercentWear = 0;
     house.PrintServices = 0;
     house.RaionSud = null;
     house.RoofType = 0;
     house.RoofTypeName = null;
     house.Series = 0;
     house.SewerType = 0;
     house.SewerTypeName = null;
     house.StoveType = 0;
     house.StoveTypeName = null;
     house.SubProvider = null;
     house.Sud = 0;
     house.SudUc = null;
     house.TerritorialManagement = 0;
     house.TerritorialManagementName = null;
     house.ThreeRoom = 0;
     int[] numArray6 = new int[4];
     house.ToiletsSquare = new decimal(numArray6);
     int[] numArray7 = new int[4];
     house.TotalArea = new decimal(numArray7);
     int[] numArray8 = new int[4];
     house.TotalAreaLivingNonLivingMkd = new decimal(numArray8);
     int[] numArray9 = new int[4];
     house.TotalAreaMkd = new decimal(numArray9);
     int[] numArray10 = new int[4];
     house.TotalAreaOi = new decimal(numArray10);
     int[] numArray11 = new int[4];
     house.TotalStructureVolume = new decimal(numArray11);
     house.Tvenquipmenttype = 0;
     house.Tvenquipmenttypename = null;
     house.TwoRoom = 0;
     house.Type = 0;
     house.TypeName = null;
     house.UtilizationType = 0;
     house.UtilizationTypeName = null;
     house.WallType = 0;
     house.WallTypeName = null;
     house.YearBegin = 0;
     house.YearPassport = 0;
     this.historyHouseAreasView1.House = house;
     this.historyHouseAreasView1.set_Location(new System.Drawing.Point(0, 0));
     this.historyHouseAreasView1.set_Name("historyHouseAreasView1");
     this.historyHouseAreasView1.set_Size(new System.Drawing.Size(0x43c, 0x14f));
     this.historyHouseAreasView1.set_TabIndex(0);
     this.historyHouseAreasView1.add_Load(new System.EventHandler(this.historyHouseAreasView1_Load));
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x43c, 0x14f));
     base.Controls.Add(this.historyHouseAreasView1);
     base.set_Name("HistoryHouseAreasForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("Площадь дома");
     base.ResumeLayout(false);
 }