private void InitializeComponent()
 {
     this.components = new Container();
     this.btnYes = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.nudSumm = new System.Windows.Forms.NumericUpDown();
     this.nudFromResidents = new System.Windows.Forms.NumericUpDown();
     this.nudToResidents = new System.Windows.Forms.NumericUpDown();
     this.btnSetToResidents = new System.Windows.Forms.Button();
     this.cbIsWithCooker = new System.Windows.Forms.CheckBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.nudRoomsCountStart = new System.Windows.Forms.NumericUpDown();
     this.nudRoomsCountEnd = new System.Windows.Forms.NumericUpDown();
     this.bsBenefitNormsForElectric = new System.Windows.Forms.BindingSource(this.components);
     this.sfdApartmentType = new SelectFasetData();
     this.selectBenefit1 = new SelectBenefit();
     this.dbFromDate = new DateBox();
     this.nudSumm.BeginInit();
     this.nudFromResidents.BeginInit();
     this.nudToResidents.BeginInit();
     this.nudRoomsCountStart.BeginInit();
     this.nudRoomsCountEnd.BeginInit();
     this.bsBenefitNormsForElectric.BeginInit();
     base.SuspendLayout();
     this.btnYes.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnYes.set_Location(new System.Drawing.Point(0x94, 0x12d));
     this.btnYes.set_Name("btnYes");
     this.btnYes.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnYes.set_TabIndex(0);
     this.btnYes.set_UseVisualStyleBackColor(true);
     this.btnYes.add_Click(new System.EventHandler(this.btnYes_Click));
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_Location(new System.Drawing.Point(0xe5, 0x12d));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnCancel.set_TabIndex(1);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.nudSumm.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForElectric, "Value", true));
     this.nudSumm.set_DecimalPlaces(2);
     this.nudSumm.set_Location(new System.Drawing.Point(0x6d, 0x81));
     int[] numArray = new int[4];
     numArray[0] = 0x6fc10000;
     numArray[1] = 0x2386f2;
     this.nudSumm.set_Maximum(new decimal(numArray));
     this.nudSumm.set_Name("nudSumm");
     this.nudSumm.set_Size(new System.Drawing.Size(190, 20));
     this.nudSumm.set_TabIndex(4);
     this.nudFromResidents.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForElectric, "FromResidents", true));
     this.nudFromResidents.set_Location(new System.Drawing.Point(0x6d, 0x4d));
     int[] numArray2 = new int[4];
     numArray2[0] = 0x270f;
     this.nudFromResidents.set_Maximum(new decimal(numArray2));
     this.nudFromResidents.set_Name("nudFromResidents");
     this.nudFromResidents.set_Size(new System.Drawing.Size(190, 20));
     this.nudFromResidents.set_TabIndex(5);
     this.nudToResidents.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForElectric, "ToResidents", true));
     this.nudToResidents.set_Location(new System.Drawing.Point(0x6d, 0x67));
     int[] numArray3 = new int[4];
     numArray3[0] = 0x270f;
     this.nudToResidents.set_Maximum(new decimal(numArray3));
     this.nudToResidents.set_Name("nudToResidents");
     this.nudToResidents.set_Size(new System.Drawing.Size(100, 20));
     this.nudToResidents.set_TabIndex(6);
     this.btnSetToResidents.set_Location(new System.Drawing.Point(0xd7, 0x65));
     this.btnSetToResidents.set_Name("btnSetToResidents");
     this.btnSetToResidents.set_Size(new System.Drawing.Size(0x54, 20));
     this.btnSetToResidents.set_TabIndex(7);
     this.btnSetToResidents.set_Text("бесконечно");
     this.btnSetToResidents.set_UseVisualStyleBackColor(true);
     this.btnSetToResidents.add_Click(new System.EventHandler(this.btnSetToResidents_Click));
     this.cbIsWithCooker.set_AutoSize(true);
     this.cbIsWithCooker.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.bsBenefitNormsForElectric, "IsWithCooker", true));
     this.cbIsWithCooker.set_Location(new System.Drawing.Point(0x71, 0x24));
     this.cbIsWithCooker.set_Name("cbIsWithCooker");
     this.cbIsWithCooker.set_Size(new System.Drawing.Size(0xa5, 0x11));
     this.cbIsWithCooker.set_TabIndex(8);
     this.cbIsWithCooker.set_Text("При наличии электроплиты");
     this.cbIsWithCooker.set_UseVisualStyleBackColor(true);
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(13, 13));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x5e, 13));
     this.label1.set_TabIndex(9);
     this.label1.set_Text("Дата норматива:");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(12, 0x38));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x9d, 13));
     this.label2.set_TabIndex(10);
     this.label2.set_Text("На количество проживающих");
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(12, 0x4f));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x17, 13));
     this.label3.set_TabIndex(11);
     this.label3.set_Text("От:");
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(12, 0x83));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x3d, 13));
     this.label4.set_TabIndex(12);
     this.label4.set_Text("Норматив:");
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(12, 0x69));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x19, 13));
     this.label5.set_TabIndex(13);
     this.label5.set_Text("До:");
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(13, 0xa2));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x2e, 13));
     this.label6.set_TabIndex(15);
     this.label6.set_Text("Льгота:");
     this.label7.set_AutoSize(true);
     this.label7.set_Location(new System.Drawing.Point(12, 0xc0));
     this.label7.set_Name("label7");
     this.label7.set_Size(new System.Drawing.Size(0x7f, 13));
     this.label7.set_TabIndex(0x10);
     this.label7.set_Text("Количество комнат ОТ:");
     this.label8.set_AutoSize(true);
     this.label8.set_Location(new System.Drawing.Point(12, 220));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(0x81, 13));
     this.label8.set_TabIndex(0x11);
     this.label8.set_Text("Количество комнат ДО:");
     this.label9.set_AutoSize(true);
     this.label9.set_Location(new System.Drawing.Point(12, 0xf8));
     this.label9.set_Name("label9");
     this.label9.set_Size(new System.Drawing.Size(0x3d, 13));
     this.label9.set_TabIndex(0x12);
     this.label9.set_Text("Тип жилья");
     this.nudRoomsCountStart.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForElectric, "RoomsCountStart", true));
     this.nudRoomsCountStart.set_Location(new System.Drawing.Point(0x91, 190));
     int[] numArray4 = new int[4];
     numArray4[0] = 0x270f;
     this.nudRoomsCountStart.set_Maximum(new decimal(numArray4));
     this.nudRoomsCountStart.set_Name("nudRoomsCountStart");
     this.nudRoomsCountStart.set_Size(new System.Drawing.Size(0x9f, 20));
     this.nudRoomsCountStart.set_TabIndex(20);
     this.nudRoomsCountEnd.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForElectric, "RoomsCountEnd", true));
     this.nudRoomsCountEnd.set_Location(new System.Drawing.Point(0x91, 0xda));
     int[] numArray5 = new int[4];
     numArray5[0] = 0x270f;
     this.nudRoomsCountEnd.set_Maximum(new decimal(numArray5));
     this.nudRoomsCountEnd.set_Name("nudRoomsCountEnd");
     this.nudRoomsCountEnd.set_Size(new System.Drawing.Size(0x9f, 20));
     this.nudRoomsCountEnd.set_TabIndex(0x15);
     this.bsBenefitNormsForElectric.set_DataSource(typeof(BenefitNormsForElectric));
     this.sfdApartmentType.set_FormattingEnabled(true);
     this.sfdApartmentType.set_Location(new System.Drawing.Point(12, 0x108));
     this.sfdApartmentType.set_Name("sfdApartmentType");
     this.sfdApartmentType.set_Size(new System.Drawing.Size(0x125, 0x15));
     this.sfdApartmentType.set_Sorted(true);
     this.sfdApartmentType.set_TabIndex(0x13);
     this.selectBenefit1.set_Location(new System.Drawing.Point(0x6d, 0x9b));
     this.selectBenefit1.set_Name("selectBenefit1");
     this.selectBenefit1.set_Size(new System.Drawing.Size(0xc3, 20));
     this.selectBenefit1.set_TabIndex(14);
     this.dbFromDate.AttachToPeriod = false;
     this.dbFromDate.AttachToPeriodEnd = false;
     this.dbFromDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForElectric, "FromDate", true));
     this.dbFromDate.set_Location(new System.Drawing.Point(0x71, 10));
     this.dbFromDate.set_Mask("00/00/0000");
     this.dbFromDate.set_Name("dbFromDate");
     this.dbFromDate.set_Size(new System.Drawing.Size(100, 20));
     this.dbFromDate.set_TabIndex(2);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x13c, 0x150));
     base.Controls.Add(this.nudRoomsCountEnd);
     base.Controls.Add(this.nudRoomsCountStart);
     base.Controls.Add(this.sfdApartmentType);
     base.Controls.Add(this.label9);
     base.Controls.Add(this.label8);
     base.Controls.Add(this.label7);
     base.Controls.Add(this.label6);
     base.Controls.Add(this.selectBenefit1);
     base.Controls.Add(this.label5);
     base.Controls.Add(this.label4);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.cbIsWithCooker);
     base.Controls.Add(this.btnSetToResidents);
     base.Controls.Add(this.nudToResidents);
     base.Controls.Add(this.nudFromResidents);
     base.Controls.Add(this.nudSumm);
     base.Controls.Add(this.dbFromDate);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnYes);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_MaximizeBox(false);
     base.set_MinimizeBox(false);
     base.set_Name("BenefitNormsForElectricAddChangeForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("BenefitNormsForElectricAddChangeForm");
     base.add_FormClosing(new System.Windows.Forms.FormClosingEventHandler(this.BenefitNormsForElectricAddChangeForm_FormClosing));
     this.nudSumm.EndInit();
     this.nudFromResidents.EndInit();
     this.nudToResidents.EndInit();
     this.nudRoomsCountStart.EndInit();
     this.nudRoomsCountEnd.EndInit();
     this.bsBenefitNormsForElectric.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     Benefit benefit = new Benefit();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.btnSetToResidents = new System.Windows.Forms.Button();
     this.nudToResidents = new System.Windows.Forms.NumericUpDown();
     this.bsBenefitNormsForSquare = new System.Windows.Forms.BindingSource(this.components);
     this.nudFromResidents = new System.Windows.Forms.NumericUpDown();
     this.nudSumm = new System.Windows.Forms.NumericUpDown();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnYes = new System.Windows.Forms.Button();
     this.dbFromDate = new DateBox();
     this.selectBenefit1 = new SelectBenefit();
     this.label6 = new System.Windows.Forms.Label();
     this.nudToResidents.BeginInit();
     this.bsBenefitNormsForSquare.BeginInit();
     this.nudFromResidents.BeginInit();
     this.nudSumm.BeginInit();
     base.SuspendLayout();
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(12, 0x4e));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x19, 13));
     this.label5.set_TabIndex(0x1a);
     this.label5.set_Text("До:");
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(12, 0x68));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x3d, 13));
     this.label4.set_TabIndex(0x19);
     this.label4.set_Text("Норматив:");
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(12, 0x34));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x17, 13));
     this.label3.set_TabIndex(0x18);
     this.label3.set_Text("От:");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(12, 0x1d));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x9d, 13));
     this.label2.set_TabIndex(0x17);
     this.label2.set_Text("На количество проживающих");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(12, 9));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x5e, 13));
     this.label1.set_TabIndex(0x16);
     this.label1.set_Text("Дата норматива:");
     this.btnSetToResidents.set_Location(new System.Drawing.Point(0x10d, 0x4c));
     this.btnSetToResidents.set_Name("btnSetToResidents");
     this.btnSetToResidents.set_Size(new System.Drawing.Size(0x54, 20));
     this.btnSetToResidents.set_TabIndex(20);
     this.btnSetToResidents.set_Text("бесконечно");
     this.btnSetToResidents.set_UseVisualStyleBackColor(true);
     this.btnSetToResidents.add_Click(new System.EventHandler(this.btnSetToResidents_Click));
     this.nudToResidents.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForSquare, "ToResidents", true));
     this.nudToResidents.set_Location(new System.Drawing.Point(0x6d, 0x4c));
     int[] numArray = new int[4];
     numArray[0] = 0xff;
     this.nudToResidents.set_Maximum(new decimal(numArray));
     this.nudToResidents.set_Name("nudToResidents");
     this.nudToResidents.set_Size(new System.Drawing.Size(0x9a, 20));
     this.nudToResidents.set_TabIndex(0x13);
     this.bsBenefitNormsForSquare.set_DataSource(typeof(BenefitNormsForSquare));
     this.nudFromResidents.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForSquare, "FromResidents", true));
     this.nudFromResidents.set_Location(new System.Drawing.Point(0x6d, 50));
     int[] numArray2 = new int[4];
     numArray2[0] = 0xff;
     this.nudFromResidents.set_Maximum(new decimal(numArray2));
     this.nudFromResidents.set_Name("nudFromResidents");
     this.nudFromResidents.set_Size(new System.Drawing.Size(0xf4, 20));
     this.nudFromResidents.set_TabIndex(0x12);
     this.nudSumm.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForSquare, "Value", true));
     this.nudSumm.set_DecimalPlaces(2);
     this.nudSumm.set_Location(new System.Drawing.Point(0x6d, 0x66));
     int[] numArray3 = new int[4];
     numArray3[0] = 0x6fc10000;
     numArray3[1] = 0x2386f2;
     this.nudSumm.set_Maximum(new decimal(numArray3));
     this.nudSumm.set_Name("nudSumm");
     this.nudSumm.set_Size(new System.Drawing.Size(0xf4, 20));
     this.nudSumm.set_TabIndex(0x11);
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_Location(new System.Drawing.Point(0x116, 0x99));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnCancel.set_TabIndex(15);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.btnYes.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnYes.set_Location(new System.Drawing.Point(0xc5, 0x99));
     this.btnYes.set_Name("btnYes");
     this.btnYes.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnYes.set_TabIndex(14);
     this.btnYes.set_UseVisualStyleBackColor(true);
     this.btnYes.add_Click(new System.EventHandler(this.btnYes_Click));
     this.dbFromDate.AttachToPeriod = false;
     this.dbFromDate.AttachToPeriodEnd = false;
     this.dbFromDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForSquare, "FromDate", true));
     this.dbFromDate.set_Location(new System.Drawing.Point(0x70, 6));
     this.dbFromDate.set_Mask("00/00/0000");
     this.dbFromDate.set_Name("dbFromDate");
     this.dbFromDate.set_Size(new System.Drawing.Size(100, 20));
     this.dbFromDate.set_TabIndex(0x10);
     this.selectBenefit1.set_Location(new System.Drawing.Point(0x6d, 0x80));
     this.selectBenefit1.set_Name("selectBenefit1");
     benefit.BudgetTypeId = 0;
     benefit.BudgetTypeName = null;
     benefit.CalcFeature = 0;
     benefit.CalcFeatureName = null;
     benefit.Code = null;
     benefit.Id = 0L;
     benefit.IsAddress = 0;
     benefit.IsDeleted = false;
     benefit.IsDirty = true;
     benefit.LawId = 0L;
     benefit.LawName = null;
     benefit.LongName = null;
     benefit.ObjectWithIdType = null;
     benefit.OrgId = 0L;
     benefit.OrgName = null;
     benefit.ShortName = null;
     this.selectBenefit1.set_Size(new System.Drawing.Size(0xf4, 20));
     this.selectBenefit1.set_TabIndex(0x1b);
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(12, 0x83));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x2e, 13));
     this.label6.set_TabIndex(0x1c);
     this.label6.set_Text("Льгота:");
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x16d, 0xbc));
     base.Controls.Add(this.label6);
     base.Controls.Add(this.selectBenefit1);
     base.Controls.Add(this.label5);
     base.Controls.Add(this.label4);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.btnSetToResidents);
     base.Controls.Add(this.nudToResidents);
     base.Controls.Add(this.nudFromResidents);
     base.Controls.Add(this.nudSumm);
     base.Controls.Add(this.dbFromDate);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnYes);
     base.set_Name("BenefitNormsForSquareAddChangeForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("BenefitNormsForSquareAddChangeForm");
     base.add_FormClosing(new System.Windows.Forms.FormClosingEventHandler(this.BenefitNormsForElectricAddChangeForm_FormClosing));
     this.nudToResidents.EndInit();
     this.bsBenefitNormsForSquare.EndInit();
     this.nudFromResidents.EndInit();
     this.nudSumm.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     FasetItem item = new FasetItem();
     Organization organization = new Organization();
     Benefit benefit = new Benefit();
     this.bsBenefitNormsForGaz = new System.Windows.Forms.BindingSource(this.components);
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnYes = new System.Windows.Forms.Button();
     this.label4 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.nudSumm = new System.Windows.Forms.NumericUpDown();
     this.dbFromDate = new DateBox();
     this.selectFasetData = new SelectFasetData();
     this.bsFasets = new System.Windows.Forms.BindingSource(this.components);
     this.selectFasetDataExcept = new SelectFasetData();
     this.cbSelectFaset = new System.Windows.Forms.ComboBox();
     this.cbSelectFasetExcept = new System.Windows.Forms.ComboBox();
     this.bsFasetsExcept = new System.Windows.Forms.BindingSource(this.components);
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.selectBenefit1 = new SelectBenefit();
     this.label5 = new System.Windows.Forms.Label();
     this.bsBenefitNormsForGaz.BeginInit();
     this.nudSumm.BeginInit();
     this.bsFasets.BeginInit();
     this.bsFasetsExcept.BeginInit();
     base.SuspendLayout();
     this.bsBenefitNormsForGaz.set_DataSource(typeof(BenefitNormsForGas));
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_Location(new System.Drawing.Point(430, 0x8e));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnCancel.set_TabIndex(3);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.btnYes.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnYes.set_Location(new System.Drawing.Point(0x15d, 0x8e));
     this.btnYes.set_Name("btnYes");
     this.btnYes.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnYes.set_TabIndex(2);
     this.btnYes.set_UseVisualStyleBackColor(true);
     this.btnYes.add_Click(new System.EventHandler(this.btnYes_Click));
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(13, 90));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x3d, 13));
     this.label4.set_TabIndex(0x17);
     this.label4.set_Text("Норматив:");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(12, 9));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x5e, 13));
     this.label1.set_TabIndex(20);
     this.label1.set_Text("Дата норматива:");
     this.nudSumm.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForGaz, "Value", true));
     this.nudSumm.set_DecimalPlaces(2);
     this.nudSumm.set_Location(new System.Drawing.Point(0x70, 0x58));
     int[] numArray = new int[4];
     numArray[0] = 0x6fc10000;
     numArray[1] = 0x2386f2;
     this.nudSumm.set_Maximum(new decimal(numArray));
     this.nudSumm.set_Name("nudSumm");
     this.nudSumm.set_Size(new System.Drawing.Size(190, 20));
     this.nudSumm.set_TabIndex(15);
     this.dbFromDate.AttachToPeriod = false;
     this.dbFromDate.AttachToPeriodEnd = false;
     this.dbFromDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bsBenefitNormsForGaz, "FromDate", true));
     this.dbFromDate.set_Location(new System.Drawing.Point(0x70, 6));
     this.dbFromDate.set_Mask("00/00/0000");
     this.dbFromDate.set_Name("dbFromDate");
     this.dbFromDate.set_Size(new System.Drawing.Size(100, 20));
     this.dbFromDate.set_TabIndex(14);
     this.selectFasetData.set_FormattingEnabled(true);
     this.selectFasetData.set_Location(new System.Drawing.Point(0x134, 0x20));
     this.selectFasetData.set_Name("selectFasetData");
     this.selectFasetData.set_Size(new System.Drawing.Size(0xc2, 0x15));
     this.selectFasetData.set_Sorted(true);
     this.selectFasetData.set_TabIndex(0x18);
     this.bsFasets.set_DataSource(typeof(Faset));
     this.selectFasetDataExcept.set_FormattingEnabled(true);
     this.selectFasetDataExcept.set_Location(new System.Drawing.Point(0x134, 0x40));
     this.selectFasetDataExcept.set_Name("selectFasetDataExcept");
     this.selectFasetDataExcept.set_Size(new System.Drawing.Size(0xc2, 0x15));
     this.selectFasetDataExcept.set_Sorted(true);
     this.selectFasetDataExcept.set_TabIndex(0x19);
     this.cbSelectFaset.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsBenefitNormsForGaz, "FasetName", true));
     this.cbSelectFaset.set_DataSource(this.bsFasets);
     this.cbSelectFaset.set_DisplayMember("Name");
     this.cbSelectFaset.set_FormattingEnabled(true);
     this.cbSelectFaset.set_Location(new System.Drawing.Point(0x70, 0x20));
     this.cbSelectFaset.set_Name("cbSelectFaset");
     this.cbSelectFaset.set_Size(new System.Drawing.Size(190, 0x15));
     this.cbSelectFaset.set_TabIndex(0x1a);
     this.cbSelectFaset.set_ValueMember("Id");
     this.cbSelectFaset.add_SelectedIndexChanged(new System.EventHandler(this.cbSelectFaset_SelectedIndexChanged));
     this.cbSelectFasetExcept.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsBenefitNormsForGaz, "ExceptFasetName", true));
     this.cbSelectFasetExcept.set_DataSource(this.bsFasetsExcept);
     this.cbSelectFasetExcept.set_DisplayMember("Name");
     this.cbSelectFasetExcept.set_FormattingEnabled(true);
     this.cbSelectFasetExcept.set_Location(new System.Drawing.Point(0x70, 0x3d));
     this.cbSelectFasetExcept.set_Name("cbSelectFasetExcept");
     this.cbSelectFasetExcept.set_Size(new System.Drawing.Size(190, 0x15));
     this.cbSelectFasetExcept.set_TabIndex(0x1b);
     this.cbSelectFasetExcept.set_ValueMember("Id");
     this.cbSelectFasetExcept.add_SelectedIndexChanged(new System.EventHandler(this.cbSelectFasetExcept_SelectedIndexChanged));
     this.bsFasetsExcept.set_DataSource(typeof(Faset));
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(13, 0x20));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x4c, 13));
     this.label2.set_TabIndex(0x1c);
     this.label2.set_Text("Норматив на:");
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(12, 0x40));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x59, 13));
     this.label3.set_TabIndex(0x1d);
     this.label3.set_Text("При отсутствии:");
     item.FasetId = FasetsEnum.None;
     item.Id = 0;
     item.Name = "<не выбрано>";
     organization.Code = 0L;
     organization.Created = new System.DateTime(0L);
     organization.FromDate = new System.DateTime(0L);
     organization.Created = new System.DateTime(0L);
     organization.ToDate = new System.DateTime(0L);
     organization.FromDate = new System.DateTime(0L);
     organization.Id = 0L;
     organization.Inn = 0L;
     organization.IsBenefitTransferrer = false;
     organization.IsCashlessTransferrer = false;
     organization.IsDeleted = false;
     organization.IsDirty = false;
     organization.IsFlatOwner = false;
     organization.IsHouseHolder = false;
     organization.IsServiceProvider = false;
     organization.Kpp = 0L;
     organization.LongName = "<не выбрано>";
     organization.ObjectWithIdType = null;
     organization.Ogrn = 0L;
     organization.Parent = organization;
     organization.ParentId = 0L;
     organization.ShortName = "<не выбрано>";
     organization.ToDate = new System.DateTime(0L);
     this.selectBenefit1.set_Location(new System.Drawing.Point(0x70, 0x72));
     this.selectBenefit1.set_Name("selectBenefit1");
     benefit.CalcFeature = 0;
     benefit.CalcFeatureName = null;
     benefit.Code = null;
     benefit.Id = 0L;
     benefit.IsAddress = 0;
     benefit.IsDeleted = false;
     benefit.IsDirty = false;
     benefit.LongName = null;
     benefit.ObjectWithIdType = null;
     benefit.ShortName = null;
     this.selectBenefit1.set_Size(new System.Drawing.Size(390, 20));
     this.selectBenefit1.set_TabIndex(30);
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(13, 0x77));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x2e, 13));
     this.label5.set_TabIndex(0x1f);
     this.label5.set_Text("Льгота:");
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x205, 0xb1));
     base.Controls.Add(this.label5);
     base.Controls.Add(this.selectBenefit1);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.cbSelectFasetExcept);
     base.Controls.Add(this.cbSelectFaset);
     base.Controls.Add(this.selectFasetDataExcept);
     base.Controls.Add(this.selectFasetData);
     base.Controls.Add(this.label4);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.nudSumm);
     base.Controls.Add(this.dbFromDate);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnYes);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_MaximizeBox(false);
     base.set_MinimizeBox(false);
     base.set_Name("BenefitNormsForGasAddChangeForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("BenefitNormsForGazAddChangeForm");
     base.add_FormClosing(new System.Windows.Forms.FormClosingEventHandler(this.BenefitNormsForGazAddChangeForm_FormClosing));
     base.add_Load(new System.EventHandler(this.BenefitNormsForGazAddChangeForm_Load));
     this.bsBenefitNormsForGaz.EndInit();
     this.nudSumm.EndInit();
     this.bsFasets.EndInit();
     this.bsFasetsExcept.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }