Exemple #1
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_OwnerName = new System.Windows.Forms.TextBox();
     this.m_ToDateLabel = new System.Windows.Forms.Label();
     this.cbNeedOwnerPresence = new System.Windows.Forms.CheckBox();
     this.tbComment = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.m_AccountNumber = new System.Windows.Forms.TextBox();
     this.label18 = new System.Windows.Forms.Label();
     this.tbxAccountHolder = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.btnSelectProvider = new System.Windows.Forms.Button();
     this.cbNeedPrintNotice = new System.Windows.Forms.CheckBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label7 = new System.Windows.Forms.Label();
     this.tbIdentityCardHolderName = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.tbIdentityCardNumber = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.tbDocInfo = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.chbClosePG = new System.Windows.Forms.CheckBox();
     this.chbCloseReg = new System.Windows.Forms.CheckBox();
     this.tbNoticeAdrName = new System.Windows.Forms.TextBox();
     this.cbCloseInPaymentsystem = new System.Windows.Forms.CheckBox();
     this.m_AccountBS = new System.Windows.Forms.BindingSource(this.components);
     this.selectNoticeAdr = new SelectAddress();
     this.m_OwnerSelection = new SelectOwner();
     this.m_ToDate = new DateBox();
     this.m_FromDate = new DateBox();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     box.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.m_AccountBS.BeginInit();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(11, 0xca));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label2");
     label.set_Size(new System.Drawing.Size(0x49, 13));
     label.set_TabIndex(10);
     label.set_Text("Действует с:");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(11, 0x6a));
     label2.set_Margin(new System.Windows.Forms.Padding(0));
     label2.set_Name("label1");
     label2.set_Size(new System.Drawing.Size(0x5d, 13));
     label2.set_TabIndex(8);
     label2.set_Text("Отображать как:");
     box.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     box.Controls.Add(this.m_OwnerSelection);
     box.Controls.Add(this.m_OwnerName);
     box.Controls.Add(label2);
     box.set_Location(new System.Drawing.Point(0, 0));
     box.set_Name("groupBox1");
     box.set_Size(new System.Drawing.Size(0x213, 130));
     box.set_TabIndex(1);
     box.set_TabStop(false);
     box.set_Text("Ответственный");
     this.m_OwnerName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_OwnerName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "OwnerName", true));
     this.m_OwnerName.set_Location(new System.Drawing.Point(0x75, 0x67));
     this.m_OwnerName.set_Name("m_OwnerName");
     this.m_OwnerName.set_Size(new System.Drawing.Size(0x196, 20));
     this.m_OwnerName.set_TabIndex(2);
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(11, 0x8b));
     label3.set_Margin(new System.Windows.Forms.Padding(0));
     label3.set_Name("label4");
     label3.set_Size(new System.Drawing.Size(0x2c, 13));
     label3.set_TabIndex(15);
     label3.set_Text("Номер:");
     this.m_ToDateLabel.set_AutoSize(true);
     this.m_ToDateLabel.set_Location(new System.Drawing.Point(210, 0xca));
     this.m_ToDateLabel.set_Margin(new System.Windows.Forms.Padding(0));
     this.m_ToDateLabel.set_Name("m_ToDateLabel");
     this.m_ToDateLabel.set_Size(new System.Drawing.Size(0x16, 13));
     this.m_ToDateLabel.set_TabIndex(10);
     this.m_ToDateLabel.set_Text("по:");
     this.cbNeedOwnerPresence.set_AutoSize(true);
     this.cbNeedOwnerPresence.set_CheckAlign(System.Drawing.ContentAlignment.TopRight);
     this.cbNeedOwnerPresence.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.m_AccountBS, "NeedOwnerPresence", true));
     this.cbNeedOwnerPresence.set_Location(new System.Drawing.Point(8, 0x133));
     this.cbNeedOwnerPresence.set_Name("cbNeedOwnerPresence");
     this.cbNeedOwnerPresence.set_Size(new System.Drawing.Size(0x87, 0x11));
     this.cbNeedOwnerPresence.set_TabIndex(14);
     this.cbNeedOwnerPresence.set_Text("Зайти в бухгалтерию:");
     this.cbNeedOwnerPresence.set_UseVisualStyleBackColor(true);
     this.tbComment.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbComment.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "Comment", true));
     this.tbComment.set_Location(new System.Drawing.Point(0x75, 0x169));
     this.tbComment.set_Multiline(true);
     this.tbComment.set_Name("tbComment");
     this.tbComment.set_Size(new System.Drawing.Size(0x196, 0x1c));
     this.tbComment.set_TabIndex(13);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(11, 0x16c));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x49, 13));
     this.label3.set_TabIndex(12);
     this.label3.set_Text("Примечание:");
     this.m_AccountNumber.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_AccountNumber.set_Location(new System.Drawing.Point(0x75, 0x88));
     this.m_AccountNumber.set_Name("m_AccountNumber");
     this.m_AccountNumber.set_Size(new System.Drawing.Size(0x196, 20));
     this.m_AccountNumber.set_TabIndex(0x10);
     this.m_AccountNumber.add_TextChanged(new System.EventHandler(this.m_AccountNumber_TextChanged));
     this.label18.set_AutoSize(true);
     this.label18.set_Location(new System.Drawing.Point(11, 0xa2));
     this.label18.set_Name("label18");
     this.label18.set_Size(new System.Drawing.Size(80, 13));
     this.label18.set_TabIndex(0x3a);
     this.label18.set_TabStop(true);
     this.label18.set_Text("Управляющая");
     this.tbxAccountHolder.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbxAccountHolder.set_Location(new System.Drawing.Point(0x75, 0xa3));
     this.tbxAccountHolder.set_Name("tbxAccountHolder");
     this.tbxAccountHolder.set_ReadOnly(true);
     this.tbxAccountHolder.set_Size(new System.Drawing.Size(0x178, 20));
     this.tbxAccountHolder.set_TabIndex(0x38);
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(11, 0xb0));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x4e, 13));
     this.label5.set_TabIndex(0x3b);
     this.label5.set_TabStop(true);
     this.label5.set_Text("компания ЛС:");
     this.btnSelectProvider.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnSelectProvider.set_Location(new System.Drawing.Point(0x1ed, 0xa2));
     this.btnSelectProvider.set_Name("btnSelectProvider");
     this.btnSelectProvider.set_Size(new System.Drawing.Size(30, 20));
     this.btnSelectProvider.set_TabIndex(0x3d);
     this.btnSelectProvider.set_Text("...");
     this.btnSelectProvider.set_UseVisualStyleBackColor(true);
     this.btnSelectProvider.add_Click(new System.EventHandler(this.btnSelectProvider_Click));
     this.cbNeedPrintNotice.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.cbNeedPrintNotice.set_AutoSize(true);
     this.cbNeedPrintNotice.set_Checked(true);
     this.cbNeedPrintNotice.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.cbNeedPrintNotice.set_Location(new System.Drawing.Point(0x188, 0x133));
     this.cbNeedPrintNotice.set_Name("cbNeedPrintNotice");
     this.cbNeedPrintNotice.set_Size(new System.Drawing.Size(0x85, 0x11));
     this.cbNeedPrintNotice.set_TabIndex(0x3e);
     this.cbNeedPrintNotice.set_Text("Печатать извещения");
     this.cbNeedPrintNotice.set_UseVisualStyleBackColor(true);
     this.cbNeedPrintNotice.add_CheckedChanged(new System.EventHandler(this.cbNeedPrintNotice_CheckedChanged));
     this.groupBox2.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.groupBox2.Controls.Add(this.label7);
     this.groupBox2.Controls.Add(this.tbIdentityCardHolderName);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Controls.Add(this.tbIdentityCardNumber);
     this.groupBox2.set_Location(new System.Drawing.Point(0, 230));
     this.groupBox2.set_Name("groupBox2");
     this.groupBox2.set_Size(new System.Drawing.Size(0x213, 0x47));
     this.groupBox2.set_TabIndex(0x41);
     this.groupBox2.set_TabStop(false);
     this.groupBox2.set_Text("Идентификационная карта");
     this.label7.set_AutoSize(true);
     this.label7.set_Location(new System.Drawing.Point(11, 0x30));
     this.label7.set_Name("label7");
     this.label7.set_Size(new System.Drawing.Size(0x3b, 13));
     this.label7.set_TabIndex(0x44);
     this.label7.set_Text("Владелец:");
     this.tbIdentityCardHolderName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbIdentityCardHolderName.set_Location(new System.Drawing.Point(0x75, 0x2d));
     this.tbIdentityCardHolderName.set_Name("tbIdentityCardHolderName");
     this.tbIdentityCardHolderName.set_Size(new System.Drawing.Size(0x196, 20));
     this.tbIdentityCardHolderName.set_TabIndex(0x43);
     this.tbIdentityCardHolderName.add_TextChanged(new System.EventHandler(this.tbIdentityCardHolderName_TextChanged));
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(11, 0x16));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x2c, 13));
     this.label6.set_TabIndex(0x42);
     this.label6.set_Text("Номер:");
     this.tbIdentityCardNumber.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbIdentityCardNumber.set_Location(new System.Drawing.Point(0x75, 0x13));
     this.tbIdentityCardNumber.set_Name("tbIdentityCardNumber");
     this.tbIdentityCardNumber.set_Size(new System.Drawing.Size(0x196, 20));
     this.tbIdentityCardNumber.set_TabIndex(0x41);
     this.tbIdentityCardNumber.add_TextChanged(new System.EventHandler(this.tbIdentityCardNumber_TextChanged));
     this.label8.set_Location(new System.Drawing.Point(11, 0x147));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(100, 0x1f));
     this.label8.set_TabIndex(0x42);
     this.label8.set_Text("Документ на открытие");
     this.tbDocInfo.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbDocInfo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "DocInfo", true));
     this.tbDocInfo.set_Location(new System.Drawing.Point(0x75, 0x14b));
     this.tbDocInfo.set_Name("tbDocInfo");
     this.tbDocInfo.set_Size(new System.Drawing.Size(0x196, 20));
     this.tbDocInfo.set_TabIndex(0x44);
     this.tbDocInfo.add_TextChanged(new System.EventHandler(this.tbDocInfo_TextChanged));
     this.label9.set_AutoSize(true);
     this.label9.set_Location(new System.Drawing.Point(11, 0x187));
     this.label9.set_Name("label9");
     this.label9.set_Size(new System.Drawing.Size(0x84, 13));
     this.label9.set_TabIndex(70);
     this.label9.set_Text("Адрес для уведомлений:");
     this.chbClosePG.set_AutoSize(true);
     this.chbClosePG.set_Location(new System.Drawing.Point(14, 0x1e5));
     this.chbClosePG.set_Name("chbClosePG");
     this.chbClosePG.set_Size(new System.Drawing.Size(0xc2, 0x11));
     this.chbClosePG.set_TabIndex(0x47);
     this.chbClosePG.set_Text("Закрыть ПЖ датой закрытия ЛС");
     this.chbClosePG.set_UseVisualStyleBackColor(true);
     this.chbCloseReg.set_AutoSize(true);
     this.chbCloseReg.set_Location(new System.Drawing.Point(14, 0x1f8));
     this.chbCloseReg.set_Name("chbCloseReg");
     this.chbCloseReg.set_Size(new System.Drawing.Size(0xeb, 0x11));
     this.chbCloseReg.set_TabIndex(0x48);
     this.chbCloseReg.set_Text("Выписать проживающих датой закрытия");
     this.chbCloseReg.set_UseVisualStyleBackColor(true);
     this.tbNoticeAdrName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbNoticeAdrName.set_Location(new System.Drawing.Point(14, 0x1b3));
     this.tbNoticeAdrName.set_Name("tbNoticeAdrName");
     this.tbNoticeAdrName.set_Size(new System.Drawing.Size(0x1fd, 20));
     this.tbNoticeAdrName.set_TabIndex(0x49);
     this.tbNoticeAdrName.add_TextChanged(new System.EventHandler(this.tbNoticeAdrName_TextChanged));
     this.cbCloseInPaymentsystem.set_AutoSize(true);
     this.cbCloseInPaymentsystem.set_CheckAlign(System.Drawing.ContentAlignment.TopLeft);
     this.cbCloseInPaymentsystem.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.m_AccountBS, "IsCloseInPaymentSystem", true));
     this.cbCloseInPaymentsystem.set_Location(new System.Drawing.Point(14, 0x1d1));
     this.cbCloseInPaymentsystem.set_Name("cbCloseInPaymentsystem");
     this.cbCloseInPaymentsystem.set_Size(new System.Drawing.Size(0xb7, 0x11));
     this.cbCloseInPaymentsystem.set_TabIndex(0x4a);
     this.cbCloseInPaymentsystem.set_Text("Закрыть в платежной системе");
     this.cbCloseInPaymentsystem.set_UseVisualStyleBackColor(true);
     this.m_AccountBS.set_DataSource(typeof(Account));
     this.m_AccountBS.add_BindingComplete(new System.Windows.Forms.BindingCompleteEventHandler(this.m_AccountBS_BindingComplete));
     this.m_AccountBS.add_DataError(new System.Windows.Forms.BindingManagerDataErrorEventHandler(this.m_AccountBS_DataError));
     this.m_AccountBS.add_DataSourceChanged(new System.EventHandler(this.m_AccountBS_DataSourceChanged));
     this.selectNoticeAdr.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectNoticeAdr.set_Location(new System.Drawing.Point(14, 0x197));
     this.selectNoticeAdr.set_Name("selectNoticeAdr");
     this.selectNoticeAdr.set_Size(new System.Drawing.Size(0x1fd, 0x17));
     this.selectNoticeAdr.set_TabIndex(0x45);
     this.m_OwnerSelection.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_OwnerSelection.set_Location(new System.Drawing.Point(8, 0x11));
     this.m_OwnerSelection.set_Margin(new System.Windows.Forms.Padding(5, 4, 5, 4));
     this.m_OwnerSelection.set_Name("m_OwnerSelection");
     this.m_OwnerSelection.set_Size(new System.Drawing.Size(0x203, 0x4f));
     this.m_OwnerSelection.set_TabIndex(1);
     this.m_OwnerSelection.OnOwnerSelected += new OwnerHandler(this.m_OwnerSelection_OnOwnerSelected);
     this.m_ToDate.AttachToPeriod = false;
     this.m_ToDate.AttachToPeriodEnd = false;
     this.m_ToDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_AccountBS, "ToDate", true));
     this.m_ToDate.set_Location(new System.Drawing.Point(0xeb, 0xc7));
     this.m_ToDate.set_Margin(new System.Windows.Forms.Padding(0, 8, 0, 8));
     this.m_ToDate.set_Mask("00/00/0000");
     this.m_ToDate.set_Name("m_ToDate");
     this.m_ToDate.set_Size(new System.Drawing.Size(90, 20));
     this.m_ToDate.set_TabIndex(3);
     this.m_FromDate.AttachToPeriod = false;
     this.m_FromDate.AttachToPeriodEnd = false;
     this.m_FromDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_AccountBS, "FromDate", true));
     this.m_FromDate.set_Location(new System.Drawing.Point(0x75, 0xc7));
     this.m_FromDate.set_Margin(new System.Windows.Forms.Padding(0, 8, 0, 8));
     this.m_FromDate.set_Mask("00/00/0000");
     this.m_FromDate.set_Name("m_FromDate");
     this.m_FromDate.set_Size(new System.Drawing.Size(90, 20));
     this.m_FromDate.set_TabIndex(2);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.cbCloseInPaymentsystem);
     base.Controls.Add(this.tbNoticeAdrName);
     base.Controls.Add(this.chbCloseReg);
     base.Controls.Add(this.chbClosePG);
     base.Controls.Add(this.label9);
     base.Controls.Add(this.selectNoticeAdr);
     base.Controls.Add(this.tbDocInfo);
     base.Controls.Add(this.label8);
     base.Controls.Add(this.groupBox2);
     base.Controls.Add(this.cbNeedPrintNotice);
     base.Controls.Add(this.btnSelectProvider);
     base.Controls.Add(this.label5);
     base.Controls.Add(this.label18);
     base.Controls.Add(this.tbxAccountHolder);
     base.Controls.Add(this.m_AccountNumber);
     base.Controls.Add(label3);
     base.Controls.Add(this.cbNeedOwnerPresence);
     base.Controls.Add(this.tbComment);
     base.Controls.Add(this.label3);
     base.Controls.Add(box);
     base.Controls.Add(label);
     base.Controls.Add(this.m_ToDate);
     base.Controls.Add(this.m_FromDate);
     base.Controls.Add(this.m_ToDateLabel);
     this.set_MinimumSize(new System.Drawing.Size(0x125, 0x86));
     base.set_Name("AccountView");
     base.set_Size(new System.Drawing.Size(0x213, 0x20d));
     base.add_Load(new System.EventHandler(this.AccountView_Load));
     box.ResumeLayout(false);
     box.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.m_AccountBS.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }