private void InitializeComponent()
 {
     this.components = new Container();
     this.bsSourceServiceTypes = new System.Windows.Forms.BindingSource(this.components);
     this.cbxServiceType = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.cbxDestServiceTypes = new System.Windows.Forms.ComboBox();
     this.bsDestServiceTypes = new System.Windows.Forms.BindingSource(this.components);
     this.selectOrgDocument = new SelectOrgDocument();
     this.chbxDebtTransfer = new System.Windows.Forms.CheckBox();
     this.chbxAdvancesMove = new System.Windows.Forms.CheckBox();
     this.label3 = new System.Windows.Forms.Label();
     this.btnOK = new System.Windows.Forms.Button();
     this.chbxWithBankrupt = new System.Windows.Forms.CheckBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.enumAvance = new EnumComboBox();
     this.enumDebt = new EnumComboBox();
     this.chbxAvanceTransferFull = new System.Windows.Forms.CheckBox();
     this.chbxUseOnlyOpenService = new System.Windows.Forms.CheckBox();
     this.panel1 = new System.Windows.Forms.Panel();
     this.label4 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.bsSourceServiceTypes.BeginInit();
     this.bsDestServiceTypes.BeginInit();
     this.groupBox1.SuspendLayout();
     this.panel1.SuspendLayout();
     base.SuspendLayout();
     this.bsSourceServiceTypes.set_DataSource(typeof(ServiceTypeOld));
     this.cbxServiceType.set_DataSource(this.bsSourceServiceTypes);
     this.cbxServiceType.set_FormattingEnabled(true);
     this.cbxServiceType.set_Location(new System.Drawing.Point(0xad, 13));
     this.cbxServiceType.set_Name("cbxServiceType");
     this.cbxServiceType.set_Size(new System.Drawing.Size(0x24b, 0x15));
     this.cbxServiceType.set_TabIndex(0);
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(6, 0x10));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0xa1, 13));
     this.label1.set_TabIndex(1);
     this.label1.set_Text("Тип услуги (откуда перенести)");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(6, 0x2b));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(150, 13));
     this.label2.set_TabIndex(3);
     this.label2.set_Text("Тип услуги (куда перенести)");
     this.cbxDestServiceTypes.set_DataSource(this.bsDestServiceTypes);
     this.cbxDestServiceTypes.set_FormattingEnabled(true);
     this.cbxDestServiceTypes.set_Location(new System.Drawing.Point(0xad, 40));
     this.cbxDestServiceTypes.set_Name("cbxDestServiceTypes");
     this.cbxDestServiceTypes.set_Size(new System.Drawing.Size(0x24b, 0x15));
     this.cbxDestServiceTypes.set_TabIndex(2);
     this.bsDestServiceTypes.set_DataSource(typeof(ServiceTypeOld));
     this.selectOrgDocument.set_Location(new System.Drawing.Point(0xad, 0x43));
     this.selectOrgDocument.set_Name("selectOrgDocument");
     this.selectOrgDocument.set_Size(new System.Drawing.Size(0x24b, 20));
     this.selectOrgDocument.set_TabIndex(0x1a);
     this.chbxDebtTransfer.set_AutoSize(true);
     this.chbxDebtTransfer.set_Checked(true);
     this.chbxDebtTransfer.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.chbxDebtTransfer.set_Enabled(false);
     this.chbxDebtTransfer.set_Location(new System.Drawing.Point(0xad, 0x97));
     this.chbxDebtTransfer.set_Name("chbxDebtTransfer");
     this.chbxDebtTransfer.set_Size(new System.Drawing.Size(0x71, 0x11));
     this.chbxDebtTransfer.set_TabIndex(30);
     this.chbxDebtTransfer.set_Text("Перенести долги");
     this.chbxAdvancesMove.set_AutoSize(true);
     this.chbxAdvancesMove.set_Checked(true);
     this.chbxAdvancesMove.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.chbxAdvancesMove.set_Enabled(false);
     this.chbxAdvancesMove.set_Location(new System.Drawing.Point(0xad, 0xab));
     this.chbxAdvancesMove.set_Name("chbxAdvancesMove");
     this.chbxAdvancesMove.set_Size(new System.Drawing.Size(0x7a, 0x11));
     this.chbxAdvancesMove.set_TabIndex(0x1d);
     this.chbxAdvancesMove.set_Text("Перенести авансы");
     this.chbxAdvancesMove.set_UseVisualStyleBackColor(true);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(6, 0x47));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x3d, 13));
     this.label3.set_TabIndex(0x1c);
     this.label3.set_Text("Документ:");
     this.btnOK.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnOK.set_Location(new System.Drawing.Point(0x292, 0xfd));
     this.btnOK.set_Name("btnOK");
     this.btnOK.set_Size(new System.Drawing.Size(0x69, 0x19));
     this.btnOK.set_TabIndex(0x1b);
     this.btnOK.set_Text("Выполнить");
     this.btnOK.set_UseVisualStyleBackColor(true);
     this.btnOK.add_Click(new System.EventHandler(this.btnOK_Click));
     this.chbxWithBankrupt.set_AutoSize(true);
     this.chbxWithBankrupt.set_Enabled(false);
     this.chbxWithBankrupt.set_Location(new System.Drawing.Point(0xad, 0x83));
     this.chbxWithBankrupt.set_Name("chbxWithBankrupt");
     this.chbxWithBankrupt.set_Size(new System.Drawing.Size(0xbd, 0x11));
     this.chbxWithBankrupt.set_TabIndex(0x1f);
     this.chbxWithBankrupt.set_Text("Учитывать невозвратные долги");
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.enumAvance);
     this.groupBox1.Controls.Add(this.enumDebt);
     this.groupBox1.Controls.Add(this.chbxAvanceTransferFull);
     this.groupBox1.Controls.Add(this.chbxUseOnlyOpenService);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.chbxWithBankrupt);
     this.groupBox1.Controls.Add(this.cbxServiceType);
     this.groupBox1.Controls.Add(this.selectOrgDocument);
     this.groupBox1.Controls.Add(this.cbxDestServiceTypes);
     this.groupBox1.Controls.Add(this.chbxDebtTransfer);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.chbxAdvancesMove);
     this.groupBox1.Controls.Add(this.label3);
     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(0x2fe, 0xf7));
     this.groupBox1.set_TabIndex(0x20);
     this.groupBox1.set_TabStop(false);
     this.enumAvance.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.enumAvance.set_FormattingEnabled(true);
     this.enumAvance.set_Location(new System.Drawing.Point(0xad, 0xd9));
     this.enumAvance.set_Name("enumAvance");
     this.enumAvance.SelectedEnumValue = null;
     this.enumAvance.set_Size(new System.Drawing.Size(0xd8, 0x15));
     this.enumAvance.set_TabIndex(0x24);
     this.enumDebt.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.enumDebt.set_FormattingEnabled(true);
     this.enumDebt.set_Location(new System.Drawing.Point(0xad, 0xbf));
     this.enumDebt.set_Name("enumDebt");
     this.enumDebt.SelectedEnumValue = null;
     this.enumDebt.set_Size(new System.Drawing.Size(0xd8, 0x15));
     this.enumDebt.set_TabIndex(0x23);
     this.chbxAvanceTransferFull.set_AutoSize(true);
     this.chbxAvanceTransferFull.set_Location(new System.Drawing.Point(0xad, 0x6f));
     this.chbxAvanceTransferFull.set_Name("chbxAvanceTransferFull");
     this.chbxAvanceTransferFull.set_Size(new System.Drawing.Size(0xb5, 0x11));
     this.chbxAvanceTransferFull.set_TabIndex(0x21);
     this.chbxAvanceTransferFull.set_Text("Разложить авансы полностью");
     this.chbxUseOnlyOpenService.set_AutoSize(true);
     this.chbxUseOnlyOpenService.set_Checked(true);
     this.chbxUseOnlyOpenService.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.chbxUseOnlyOpenService.set_Location(new System.Drawing.Point(0xad, 0x5b));
     this.chbxUseOnlyOpenService.set_Name("chbxUseOnlyOpenService");
     this.chbxUseOnlyOpenService.set_Size(new System.Drawing.Size(0x100, 0x11));
     this.chbxUseOnlyOpenService.set_TabIndex(0x20);
     this.chbxUseOnlyOpenService.set_Text("Только авансы. Все услуги кроме банкротов");
     this.chbxUseOnlyOpenService.add_CheckedChanged(new System.EventHandler(this.cbUseOnlyOpenService_CheckedChanged));
     this.panel1.set_AutoScroll(true);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.btnOK);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.panel1.set_Location(new System.Drawing.Point(0, 0));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x2fe, 0x11e));
     this.panel1.set_TabIndex(0x21);
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(6, 0xc2));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x6d, 13));
     this.label4.set_TabIndex(0x25);
     this.label4.set_Text("Тип операций (долг)");
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(6, 220));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x74, 13));
     this.label5.set_TabIndex(0x26);
     this.label5.set_Text("Тип операций (аванс)");
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.panel1);
     base.set_Name("AligmentRemaintByServiceTypes");
     base.set_Size(new System.Drawing.Size(0x2fe, 0x11e));
     base.add_Load(new System.EventHandler(this.AligmentRemaintByServiceTypes_Load));
     this.bsSourceServiceTypes.EndInit();
     this.bsDestServiceTypes.EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.panel1.ResumeLayout(false);
     base.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     Area area = new Area();
     House house = new House();
     this.label5 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.btnChangeService = new System.Windows.Forms.Button();
     this.dbxCloseDate = new DateBox();
     this.dbxOpenDate = new DateBox();
     this.cbAdvancesMove = new System.Windows.Forms.CheckBox();
     this.bsServiceClose = new System.Windows.Forms.BindingSource(this.components);
     this.bsServiceOpen = new System.Windows.Forms.BindingSource(this.components);
     this.bsServiceTypes = new System.Windows.Forms.BindingSource(this.components);
     this.chDebtTransfer = new System.Windows.Forms.CheckBox();
     this.label2 = new System.Windows.Forms.Label();
     this.selectOrgDocument = new SelectOrgDocument();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.gbTransfer = new System.Windows.Forms.GroupBox();
     this.chOpServicesTransfer = new System.Windows.Forms.CheckBox();
     this.chConnectionEquipment = new System.Windows.Forms.CheckBox();
     this.chConnectionCounter = new System.Windows.Forms.CheckBox();
     this.label6 = new System.Windows.Forms.Label();
     this.selectAccountHouseHolder = new SelectOrganization();
     this.selectServices = new SelectServices();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.selectHouseHolder = new SelectOrganization();
     this.vwServiceSearch = new ServiceSearchView();
     this.gvOper = new System.Windows.Forms.GroupBox();
     this.label8 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.enumAvance = new EnumComboBox();
     this.enumDebt = new EnumComboBox();
     this.cbxIsCharge = new System.Windows.Forms.CheckBox();
     this.label1 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.bsServiceClose.BeginInit();
     this.bsServiceOpen.BeginInit();
     this.bsServiceTypes.BeginInit();
     this.groupBox2.SuspendLayout();
     this.gbTransfer.SuspendLayout();
     this.gvOper.SuspendLayout();
     this.panel1.SuspendLayout();
     base.SuspendLayout();
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(6, 0x2c));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x55, 13));
     this.label5.set_TabIndex(4);
     this.label5.set_Text("Дата закрытия");
     this.label7.set_AutoSize(true);
     this.label7.set_Location(new System.Drawing.Point(6, 0x42));
     this.label7.set_Name("label7");
     this.label7.set_Size(new System.Drawing.Size(0x54, 13));
     this.label7.set_TabIndex(8);
     this.label7.set_Text("Дата открытия");
     this.btnChangeService.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnChangeService.set_Location(new System.Drawing.Point(0x31a, 0x192));
     this.btnChangeService.set_Name("btnChangeService");
     this.btnChangeService.set_Size(new System.Drawing.Size(0x75, 0x19));
     this.btnChangeService.set_TabIndex(8);
     this.btnChangeService.set_Text("Сменить");
     this.btnChangeService.set_UseVisualStyleBackColor(true);
     this.btnChangeService.add_Click(new System.EventHandler(this.btnChangeService_Click));
     this.dbxCloseDate.AttachToPeriod = false;
     this.dbxCloseDate.AttachToPeriodEnd = false;
     this.dbxCloseDate.set_Location(new System.Drawing.Point(0xa1, 0x29));
     this.dbxCloseDate.set_Mask("00/00/0000");
     this.dbxCloseDate.set_Name("dbxCloseDate");
     this.dbxCloseDate.set_Size(new System.Drawing.Size(0x4d, 20));
     this.dbxCloseDate.set_TabIndex(3);
     this.dbxCloseDate.add_TextChanged(new System.EventHandler(this.dbxCloseDate_TextChanged));
     this.dbxOpenDate.AttachToPeriod = false;
     this.dbxOpenDate.AttachToPeriodEnd = false;
     this.dbxOpenDate.set_Location(new System.Drawing.Point(0xa1, 0x43));
     this.dbxOpenDate.set_Mask("00/00/0000");
     this.dbxOpenDate.set_Name("dbxOpenDate");
     this.dbxOpenDate.set_Size(new System.Drawing.Size(0x4d, 20));
     this.dbxOpenDate.set_TabIndex(11);
     this.cbAdvancesMove.set_AutoSize(true);
     this.cbAdvancesMove.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.cbAdvancesMove.set_Location(new System.Drawing.Point(0xaf, 0x13));
     this.cbAdvancesMove.set_Name("cbAdvancesMove");
     this.cbAdvancesMove.set_Size(new System.Drawing.Size(0x7a, 0x11));
     this.cbAdvancesMove.set_TabIndex(7);
     this.cbAdvancesMove.set_Text("/ Перенести аванс");
     this.cbAdvancesMove.set_UseVisualStyleBackColor(true);
     this.bsServiceClose.set_DataSource(typeof(ServiceOld));
     this.bsServiceOpen.set_DataSource(typeof(ServiceOld));
     this.bsServiceTypes.set_DataSource(typeof(ServiceTypeOld));
     this.chDebtTransfer.set_AutoSize(true);
     this.chDebtTransfer.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.chDebtTransfer.set_Location(new System.Drawing.Point(6, 0x13));
     this.chDebtTransfer.set_Name("chDebtTransfer");
     this.chDebtTransfer.set_Size(new System.Drawing.Size(0xa3, 0x11));
     this.chDebtTransfer.set_TabIndex(0x17);
     this.chDebtTransfer.set_Text("Перенести задолженность");
     this.chDebtTransfer.set_UseVisualStyleBackColor(true);
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(0x107, 0x5d));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x3a, 13));
     this.label2.set_TabIndex(0x16);
     this.label2.set_Text("Документ");
     this.selectOrgDocument.set_Location(new System.Drawing.Point(0x194, 0x5e));
     this.selectOrgDocument.set_MinimumSize(new System.Drawing.Size(100, 0));
     this.selectOrgDocument.set_Name("selectOrgDocument");
     this.selectOrgDocument.set_Size(new System.Drawing.Size(0x166, 20));
     this.selectOrgDocument.set_TabIndex(4);
     this.groupBox2.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.groupBox2.Controls.Add(this.gbTransfer);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Controls.Add(this.selectAccountHouseHolder);
     this.groupBox2.Controls.Add(this.selectServices);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.selectOrgDocument);
     this.groupBox2.Controls.Add(this.label7);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.dbxCloseDate);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.selectHouseHolder);
     this.groupBox2.Controls.Add(this.dbxOpenDate);
     this.groupBox2.set_Location(new System.Drawing.Point(0, 0x8f));
     this.groupBox2.set_Name("groupBox2");
     this.groupBox2.set_Size(new System.Drawing.Size(0x38f, 0xa4));
     this.groupBox2.set_TabIndex(0x17);
     this.groupBox2.set_TabStop(false);
     this.gbTransfer.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbTransfer.Controls.Add(this.chOpServicesTransfer);
     this.gbTransfer.Controls.Add(this.chConnectionEquipment);
     this.gbTransfer.Controls.Add(this.chConnectionCounter);
     this.gbTransfer.set_Location(new System.Drawing.Point(0, 0x76));
     this.gbTransfer.set_Name("gbTransfer");
     this.gbTransfer.set_Size(new System.Drawing.Size(0x38f, 0x2e));
     this.gbTransfer.set_TabIndex(0x2c);
     this.gbTransfer.set_TabStop(false);
     this.gbTransfer.set_Text("Доп. перенос");
     this.chOpServicesTransfer.set_AutoSize(true);
     this.chOpServicesTransfer.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.chOpServicesTransfer.set_Checked(true);
     this.chOpServicesTransfer.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.chOpServicesTransfer.set_Location(new System.Drawing.Point(0x159, 20));
     this.chOpServicesTransfer.set_Name("chOpServicesTransfer");
     this.chOpServicesTransfer.set_Size(new System.Drawing.Size(180, 0x11));
     this.chOpServicesTransfer.set_TabIndex(0x22);
     this.chOpServicesTransfer.set_Text("Перенести отключение услуги");
     this.chOpServicesTransfer.set_UseVisualStyleBackColor(true);
     this.chConnectionEquipment.set_AutoSize(true);
     this.chConnectionEquipment.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.chConnectionEquipment.set_Checked(true);
     this.chConnectionEquipment.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.chConnectionEquipment.set_Location(new System.Drawing.Point(0xb2, 20));
     this.chConnectionEquipment.set_Name("chConnectionEquipment");
     this.chConnectionEquipment.set_Size(new System.Drawing.Size(0x94, 0x11));
     this.chConnectionEquipment.set_TabIndex(0x23);
     this.chConnectionEquipment.set_Text("Связь с оборудованием");
     this.chConnectionEquipment.set_UseVisualStyleBackColor(true);
     this.chConnectionEquipment.add_CheckedChanged(new System.EventHandler(this.chConnectionEquipment_CheckedChanged));
     this.chConnectionCounter.set_AutoSize(true);
     this.chConnectionCounter.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.chConnectionCounter.set_Checked(true);
     this.chConnectionCounter.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.chConnectionCounter.set_Location(new System.Drawing.Point(9, 20));
     this.chConnectionCounter.set_Name("chConnectionCounter");
     this.chConnectionCounter.set_Size(new System.Drawing.Size(0x9b, 0x11));
     this.chConnectionCounter.set_TabIndex(0x21);
     this.chConnectionCounter.set_Text("Связь с приборами учета");
     this.chConnectionCounter.set_UseVisualStyleBackColor(true);
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(0x107, 0x47));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x37, 13));
     this.label6.set_TabIndex(0x2a);
     this.label6.set_Text("УК на ЛС");
     this.selectAccountHouseHolder.IsCashlessTransferrer = false;
     this.selectAccountHouseHolder.IsHouseHolder = false;
     this.selectAccountHouseHolder.IsPaymentAgent = false;
     this.selectAccountHouseHolder.IsResourceProvider = false;
     this.selectAccountHouseHolder.IsServiceProvider = false;
     this.selectAccountHouseHolder.set_Location(new System.Drawing.Point(0x194, 0x44));
     this.selectAccountHouseHolder.set_MinimumSize(new System.Drawing.Size(100, 0));
     this.selectAccountHouseHolder.set_Name("selectAccountHouseHolder");
     this.selectAccountHouseHolder.set_Size(new System.Drawing.Size(0x166, 20));
     this.selectAccountHouseHolder.set_TabIndex(0x2b);
     area.AreaGroupId = 0L;
     area.AreaGroupName = null;
     area.Id = 0L;
     area.IsDeleted = false;
     area.IsDirty = true;
     area.Name = "";
     area.ObjectWithIdType = null;
     area.StatusTemporary = 0;
     this.selectServices.Area = area;
     this.selectServices.Date = new System.DateTime(0L);
     this.selectServices.FromDate = new System.DateTime(0L);
     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 = false;
     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.selectServices.House = house;
     this.selectServices.IsMultiSelect = false;
     this.selectServices.set_Location(new System.Drawing.Point(0xa1, 15));
     this.selectServices.set_MinimumSize(new System.Drawing.Size(0x159, 0));
     this.selectServices.set_Name("selectServices");
     this.selectServices.set_Size(new System.Drawing.Size(0x259, 20));
     this.selectServices.set_TabIndex(0x29);
     this.selectServices.ToDate = new System.DateTime(0x270f, 12, 0x1f, 0x17, 0x3b, 0x3b, 0x3e7);
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(7, 0x13));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x94, 13));
     this.label4.set_TabIndex(0x20);
     this.label4.set_Text("Выбор услуги для открытия");
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(0x107, 0x2c));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x39, 13));
     this.label3.set_TabIndex(0x18);
     this.label3.set_Text("УК жилья");
     this.selectHouseHolder.IsCashlessTransferrer = false;
     this.selectHouseHolder.IsHouseHolder = false;
     this.selectHouseHolder.IsPaymentAgent = false;
     this.selectHouseHolder.IsResourceProvider = false;
     this.selectHouseHolder.IsServiceProvider = false;
     this.selectHouseHolder.set_Location(new System.Drawing.Point(0x194, 0x29));
     this.selectHouseHolder.set_MinimumSize(new System.Drawing.Size(100, 0));
     this.selectHouseHolder.set_Name("selectHouseHolder");
     this.selectHouseHolder.set_Size(new System.Drawing.Size(0x166, 20));
     this.selectHouseHolder.set_TabIndex(0x19);
     this.vwServiceSearch.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.vwServiceSearch.IsSpreadRatioEnabled = false;
     this.vwServiceSearch.set_Location(new System.Drawing.Point(0, 0));
     this.vwServiceSearch.set_Name("vwServiceSearch");
     this.vwServiceSearch.set_Size(new System.Drawing.Size(0x38f, 0x8f));
     this.vwServiceSearch.set_TabIndex(0x19);
     this.gvOper.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gvOper.Controls.Add(this.label8);
     this.gvOper.Controls.Add(this.label9);
     this.gvOper.Controls.Add(this.enumAvance);
     this.gvOper.Controls.Add(this.enumDebt);
     this.gvOper.Controls.Add(this.cbxIsCharge);
     this.gvOper.Controls.Add(this.chDebtTransfer);
     this.gvOper.Controls.Add(this.cbAdvancesMove);
     this.gvOper.set_Location(new System.Drawing.Point(0, 0x133));
     this.gvOper.set_Name("gvOper");
     this.gvOper.set_Size(new System.Drawing.Size(0x38f, 90));
     this.gvOper.set_TabIndex(30);
     this.gvOper.set_TabStop(false);
     this.gvOper.set_Text("Операции с балансом");
     this.label8.set_AutoSize(true);
     this.label8.set_Location(new System.Drawing.Point(7, 0x3f));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(0x74, 13));
     this.label8.set_TabIndex(0x2a);
     this.label8.set_Text("Тип операций (аванс)");
     this.label9.set_AutoSize(true);
     this.label9.set_Location(new System.Drawing.Point(7, 0x29));
     this.label9.set_Name("label9");
     this.label9.set_Size(new System.Drawing.Size(0x6d, 13));
     this.label9.set_TabIndex(0x29);
     this.label9.set_Text("Тип операций (долг)");
     this.enumAvance.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.enumAvance.set_FormattingEnabled(true);
     this.enumAvance.set_Location(new System.Drawing.Point(0xba, 60));
     this.enumAvance.set_Name("enumAvance");
     this.enumAvance.SelectedEnumValue = null;
     this.enumAvance.set_Size(new System.Drawing.Size(0xd8, 0x15));
     this.enumAvance.set_TabIndex(40);
     this.enumDebt.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.enumDebt.set_FormattingEnabled(true);
     this.enumDebt.set_Location(new System.Drawing.Point(0xba, 0x26));
     this.enumDebt.set_Name("enumDebt");
     this.enumDebt.SelectedEnumValue = null;
     this.enumDebt.set_Size(new System.Drawing.Size(0xd8, 0x15));
     this.enumDebt.set_TabIndex(0x27);
     this.cbxIsCharge.set_AutoSize(true);
     this.cbxIsCharge.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.cbxIsCharge.set_Location(new System.Drawing.Point(0x146, 0x13));
     this.cbxIsCharge.set_Name("cbxIsCharge");
     this.cbxIsCharge.set_Size(new System.Drawing.Size(170, 0x11));
     this.cbxIsCharge.set_TabIndex(0x20);
     this.cbxIsCharge.set_Text("/ Сохранить как начисление");
     this.cbxIsCharge.set_UseVisualStyleBackColor(true);
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(0x49, 0));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x4d, 13));
     this.label1.set_TabIndex(0x1f);
     this.label1.set_Text("для закрытия");
     this.panel1.set_AutoScroll(true);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.groupBox2);
     this.panel1.Controls.Add(this.gvOper);
     this.panel1.Controls.Add(this.vwServiceSearch);
     this.panel1.Controls.Add(this.btnChangeService);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.panel1.set_Location(new System.Drawing.Point(0, 0));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x38f, 0x1b4));
     this.panel1.set_TabIndex(0x20);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.panel1);
     base.set_Name("ChangeOperationView");
     base.set_Size(new System.Drawing.Size(0x38f, 0x1b4));
     base.add_Load(new System.EventHandler(this.ChangeOperationView_Load));
     this.bsServiceClose.EndInit();
     this.bsServiceOpen.EndInit();
     this.bsServiceTypes.EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.gbTransfer.ResumeLayout(false);
     this.gbTransfer.PerformLayout();
     this.gvOper.ResumeLayout(false);
     this.gvOper.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     base.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.btnOK = new System.Windows.Forms.Button();
     this.selectOrgDocument = new SelectOrgDocument();
     this.label3 = new System.Windows.Forms.Label();
     this.chDebtTransfer = new System.Windows.Forms.CheckBox();
     this.cbAdvancesMove = new System.Windows.Forms.CheckBox();
     this.vwSourceServiceSearch = new ServiceSearchView();
     this.label4 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.enumAvance = new EnumComboBox();
     this.enumDebt = new EnumComboBox();
     this.cbSpreadRatio = new System.Windows.Forms.CheckBox();
     this.chbxWithBankrupt = new System.Windows.Forms.CheckBox();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.vwDestServiceSearch = new ServiceSearchView();
     this.label5 = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     base.SuspendLayout();
     this.btnOK.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnOK.set_Location(new System.Drawing.Point(820, 6));
     this.btnOK.set_Name("btnOK");
     this.btnOK.set_Size(new System.Drawing.Size(80, 0x2d));
     this.btnOK.set_TabIndex(3);
     this.btnOK.set_Text("Выполнить");
     this.btnOK.set_UseVisualStyleBackColor(true);
     this.btnOK.add_Click(new System.EventHandler(this.btnOK_Click));
     this.selectOrgDocument.set_Location(new System.Drawing.Point(70, 10));
     this.selectOrgDocument.set_Name("selectOrgDocument");
     this.selectOrgDocument.set_Size(new System.Drawing.Size(300, 20));
     this.selectOrgDocument.set_TabIndex(2);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(3, 11));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x3d, 13));
     this.label3.set_TabIndex(7);
     this.label3.set_Text("Документ:");
     this.chDebtTransfer.set_AutoSize(true);
     this.chDebtTransfer.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.chDebtTransfer.set_Checked(true);
     this.chDebtTransfer.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.chDebtTransfer.set_Location(new System.Drawing.Point(0x247, 11));
     this.chDebtTransfer.set_Name("chDebtTransfer");
     this.chDebtTransfer.set_Size(new System.Drawing.Size(0x71, 0x11));
     this.chDebtTransfer.set_TabIndex(0x19);
     this.chDebtTransfer.set_Text("Перенести долги");
     this.chDebtTransfer.set_UseVisualStyleBackColor(true);
     this.cbAdvancesMove.set_AutoSize(true);
     this.cbAdvancesMove.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.cbAdvancesMove.set_Checked(true);
     this.cbAdvancesMove.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.cbAdvancesMove.set_Location(new System.Drawing.Point(0x23e, 0x1f));
     this.cbAdvancesMove.set_Name("cbAdvancesMove");
     this.cbAdvancesMove.set_Size(new System.Drawing.Size(0x7a, 0x11));
     this.cbAdvancesMove.set_TabIndex(0x18);
     this.cbAdvancesMove.set_Text("Перенести авансы");
     this.cbAdvancesMove.set_UseVisualStyleBackColor(true);
     this.vwSourceServiceSearch.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.vwSourceServiceSearch.IsSpreadRatioEnabled = false;
     this.vwSourceServiceSearch.set_Location(new System.Drawing.Point(0, 13));
     this.vwSourceServiceSearch.set_Name("vwSourceServiceSearch");
     this.vwSourceServiceSearch.set_Size(new System.Drawing.Size(900, 0xb6));
     this.vwSourceServiceSearch.set_TabIndex(0x1a);
     this.label4.set_AutoSize(true);
     this.label4.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.label4.set_Location(new System.Drawing.Point(0, 0));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x63, 13));
     this.label4.set_TabIndex(0x1b);
     this.label4.set_Text("Откуда перенести");
     this.panel1.Controls.Add(this.enumAvance);
     this.panel1.Controls.Add(this.enumDebt);
     this.panel1.Controls.Add(this.cbSpreadRatio);
     this.panel1.Controls.Add(this.chbxWithBankrupt);
     this.panel1.Controls.Add(this.selectOrgDocument);
     this.panel1.Controls.Add(this.chDebtTransfer);
     this.panel1.Controls.Add(this.cbAdvancesMove);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.btnOK);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Bottom);
     this.panel1.set_Location(new System.Drawing.Point(0, 0x1b4));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(900, 0x38));
     this.panel1.set_TabIndex(0x1c);
     this.enumAvance.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.enumAvance.set_FormattingEnabled(true);
     this.enumAvance.set_Location(new System.Drawing.Point(0x2be, 0x1d));
     this.enumAvance.set_Name("enumAvance");
     this.enumAvance.SelectedEnumValue = null;
     this.enumAvance.set_Size(new System.Drawing.Size(0x70, 0x15));
     this.enumAvance.set_TabIndex(0x1d);
     this.enumDebt.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.enumDebt.set_FormattingEnabled(true);
     this.enumDebt.set_Location(new System.Drawing.Point(0x2be, 7));
     this.enumDebt.set_Name("enumDebt");
     this.enumDebt.SelectedEnumValue = null;
     this.enumDebt.set_Size(new System.Drawing.Size(0x70, 0x15));
     this.enumDebt.set_TabIndex(0x1c);
     this.cbSpreadRatio.set_AutoSize(true);
     this.cbSpreadRatio.set_Location(new System.Drawing.Point(0x181, 0x1f));
     this.cbSpreadRatio.set_Name("cbSpreadRatio");
     this.cbSpreadRatio.set_RightToLeft(System.Windows.Forms.RightToLeft.Yes);
     this.cbSpreadRatio.set_Size(new System.Drawing.Size(0xb7, 0x11));
     this.cbSpreadRatio.set_TabIndex(0x1b);
     this.cbSpreadRatio.set_Text("Разложить по коэффициентам");
     this.cbSpreadRatio.set_UseVisualStyleBackColor(true);
     this.cbSpreadRatio.add_CheckedChanged(new System.EventHandler(this.cbSpreadRatio_CheckedChanged));
     this.chbxWithBankrupt.set_AutoSize(true);
     this.chbxWithBankrupt.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.chbxWithBankrupt.set_Location(new System.Drawing.Point(0x17b, 11));
     this.chbxWithBankrupt.set_Name("chbxWithBankrupt");
     this.chbxWithBankrupt.set_Size(new System.Drawing.Size(0xbd, 0x11));
     this.chbxWithBankrupt.set_TabIndex(0x1a);
     this.chbxWithBankrupt.set_Text("Учитывать невозвратные долги");
     this.chbxWithBankrupt.set_UseVisualStyleBackColor(true);
     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.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.splitContainer1.Panel1.Controls.Add(this.vwSourceServiceSearch);
     this.splitContainer1.Panel1.Controls.Add(this.label4);
     this.splitContainer1.Panel2.Controls.Add(this.vwDestServiceSearch);
     this.splitContainer1.Panel2.Controls.Add(this.label5);
     this.splitContainer1.set_Size(new System.Drawing.Size(900, 0x1b4));
     this.splitContainer1.set_SplitterDistance(0xc3);
     this.splitContainer1.set_TabIndex(0x1d);
     this.vwDestServiceSearch.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.vwDestServiceSearch.IsSpreadRatioEnabled = false;
     this.vwDestServiceSearch.set_Location(new System.Drawing.Point(0, 13));
     this.vwDestServiceSearch.set_Name("vwDestServiceSearch");
     this.vwDestServiceSearch.set_Size(new System.Drawing.Size(900, 0xe0));
     this.vwDestServiceSearch.set_TabIndex(0x1c);
     this.label5.set_AutoSize(true);
     this.label5.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.label5.set_Location(new System.Drawing.Point(0, 0));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x57, 13));
     this.label5.set_TabIndex(0x1d);
     this.label5.set_Text("Куда перенести");
     base.Controls.Add(this.splitContainer1);
     base.Controls.Add(this.panel1);
     base.set_Name("AlignmentRemaintView");
     base.set_Size(new System.Drawing.Size(900, 0x1ec));
     base.add_Load(new System.EventHandler(this.AlignmentRemaintView_Load));
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     this.splitContainer1.ResumeLayout(false);
     base.ResumeLayout(false);
 }