コード例 #1
0
ファイル: OrgAccountEdit.cs プロジェクト: Kiselb/bps
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
     System.Resources.ResourceManager       resources = new System.Resources.ResourceManager(typeof(OrgAccountEdit));
     this.bnOK     = new System.Windows.Forms.Button();
     this.bnCancel = new System.Windows.Forms.Button();
     this.textBox1 = new AM_Controls.TextBoxV();
     this.cmbBank  = new System.Windows.Forms.ComboBox();
     this.label1   = new System.Windows.Forms.Label();
     this.label2   = new System.Windows.Forms.Label();
     this.button3  = new System.Windows.Forms.Button();
     this.label3   = new System.Windows.Forms.Label();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.label4   = new System.Windows.Forms.Label();
     this.cmbCurr  = new System.Windows.Forms.ComboBox();
     this.tbBIK    = new AM_Controls.TextBoxBIK();
     this.label5   = new System.Windows.Forms.Label();
     this.dvBank   = new System.Data.DataView();
     this.err      = new System.Windows.Forms.ErrorProvider();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.label6   = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.dvBank)).BeginInit();
     this.SuspendLayout();
     //
     // bnOK
     //
     this.bnOK.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnOK.Location = new System.Drawing.Point(188, 146);
     this.bnOK.Name     = "bnOK";
     this.bnOK.Size     = new System.Drawing.Size(80, 26);
     this.bnOK.TabIndex = 13;
     this.bnOK.Text     = "Сохранить";
     this.bnOK.Click   += new System.EventHandler(this.bnOK_Click);
     //
     // bnCancel
     //
     this.bnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.bnCancel.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnCancel.Location     = new System.Drawing.Point(268, 146);
     this.bnCancel.Name         = "bnCancel";
     this.bnCancel.Size         = new System.Drawing.Size(80, 26);
     this.bnCancel.TabIndex     = 14;
     this.bnCancel.Text         = "Отменить";
     this.bnCancel.Click       += new System.EventHandler(this.bnCancel_Click);
     //
     // textBox1
     //
     this.textBox1.AllowDrop = true;
     this.textBox1.dValue    = 0;
     this.textBox1.IsPcnt    = false;
     this.textBox1.Location  = new System.Drawing.Point(86, 66);
     this.textBox1.MaxDecPos = 0;
     this.textBox1.MaxLength = ((int)(configurationAppSettings.GetValue("RAccount.MaxLength", typeof(int))));
     this.textBox1.MaxPos    = 20;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Negative  = System.Drawing.Color.Empty;
     this.textBox1.nValue    = ((long)(0));
     this.textBox1.Positive  = System.Drawing.Color.Empty;
     this.textBox1.Size      = new System.Drawing.Size(136, 21);
     this.textBox1.TabIndex  = 5;
     this.textBox1.Text      = "";
     this.textBox1.TextMode  = true;
     this.textBox1.Zero      = System.Drawing.Color.Empty;
     //
     // cmbBank
     //
     this.cmbBank.DropDownWidth         = 500;
     this.cmbBank.Location              = new System.Drawing.Point(86, 110);
     this.cmbBank.MaxDropDownItems      = 20;
     this.cmbBank.Name                  = "cmbBank";
     this.cmbBank.Size                  = new System.Drawing.Size(236, 21);
     this.cmbBank.TabIndex              = 11;
     this.cmbBank.SelectedIndexChanged += new System.EventHandler(this.cmbBank_SelectedIndexChanged);
     this.cmbBank.Leave                += new System.EventHandler(this.comboBox1_Leave);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(2, 66);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(52, 23);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Р./счёт:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(2, 108);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(44, 23);
     this.label2.TabIndex  = 10;
     this.label2.Text      = "Банк:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // button3
     //
     this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.button3.Image     = ((System.Drawing.Image)(resources.GetObject("button3.Image")));
     this.button3.Location  = new System.Drawing.Point(322, 110);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(24, 22);
     this.button3.TabIndex  = 12;
     this.button3.TabStop   = false;
     this.button3.Click    += new System.EventHandler(this.button3_Click);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(2, 2);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(76, 23);
     this.label3.TabIndex  = 0;
     this.label3.Text      = "Организация:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textBox2
     //
     this.textBox2.BackColor = System.Drawing.Color.Gainsboro;
     this.textBox2.Location  = new System.Drawing.Point(86, 2);
     this.textBox2.Name      = "textBox2";
     this.textBox2.ReadOnly  = true;
     this.textBox2.Size      = new System.Drawing.Size(262, 21);
     this.textBox2.TabIndex  = 1;
     this.textBox2.TabStop   = false;
     this.textBox2.Text      = "";
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(232, 70);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(48, 16);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Валюта:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cmbCurr
     //
     this.cmbCurr.Enabled  = false;
     this.cmbCurr.Location = new System.Drawing.Point(282, 66);
     this.cmbCurr.Name     = "cmbCurr";
     this.cmbCurr.Size     = new System.Drawing.Size(66, 21);
     this.cmbCurr.TabIndex = 7;
     this.cmbCurr.Leave   += new System.EventHandler(this.cmbCurr_Leave);
     //
     // tbBIK
     //
     this.tbBIK.AllowDrop = true;
     this.tbBIK.dValue    = 0;
     this.tbBIK.IsPcnt    = false;
     this.tbBIK.Location  = new System.Drawing.Point(86, 88);
     this.tbBIK.MaxDecPos = 0;
     this.tbBIK.MaxLength = 9;
     this.tbBIK.MaxPos    = 9;
     this.tbBIK.Name      = "tbBIK";
     this.tbBIK.Negative  = System.Drawing.Color.Empty;
     this.tbBIK.nValue    = ((long)(0));
     this.tbBIK.Positive  = System.Drawing.Color.Empty;
     this.tbBIK.Size      = new System.Drawing.Size(136, 21);
     this.tbBIK.TabIndex  = 9;
     this.tbBIK.Text      = "";
     this.tbBIK.TextMode  = true;
     this.tbBIK.Zero      = System.Drawing.Color.Empty;
     this.tbBIK.Leave    += new System.EventHandler(this.tbBIK_Leave);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(2, 88);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(34, 23);
     this.label5.TabIndex  = 8;
     this.label5.Text      = "БИК:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // err
     //
     this.err.ContainerControl = this;
     //
     // textBox3
     //
     this.textBox3.Location  = new System.Drawing.Point(86, 24);
     this.textBox3.Multiline = true;
     this.textBox3.Name      = "textBox3";
     this.textBox3.Size      = new System.Drawing.Size(262, 42);
     this.textBox3.TabIndex  = 3;
     this.textBox3.Text      = "";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(2, 28);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(82, 34);
     this.label6.TabIndex = 2;
     this.label6.Text     = "Наименование в пл.пор.";
     //
     // OrgAccountEdit
     //
     this.AcceptButton      = this.bnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton      = this.bnCancel;
     this.ClientSize        = new System.Drawing.Size(350, 173);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.textBox3);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.tbBIK);
     this.Controls.Add(this.cmbCurr);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.cmbBank);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.bnCancel);
     this.Controls.Add(this.bnOK);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "OrgAccountEdit";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Расчетный счёт";
     this.Load           += new System.EventHandler(this.OrgAccountEdit_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dvBank)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CreditPointEdit));
     this.dtPointDate = new System.Windows.Forms.DateTimePicker();
     this.btnCancel   = new System.Windows.Forms.Button();
     this.btnSave     = new System.Windows.Forms.Button();
     this.label1      = new System.Windows.Forms.Label();
     this.label2      = new System.Windows.Forms.Label();
     this.tbPointSum  = new AM_Controls.TextBoxV();
     this.SuspendLayout();
     //
     // dtPointDate
     //
     this.dtPointDate.Location = new System.Drawing.Point(78, 12);
     this.dtPointDate.Name     = "dtPointDate";
     this.dtPointDate.Size     = new System.Drawing.Size(132, 20);
     this.dtPointDate.TabIndex = 0;
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.btnCancel.Location     = new System.Drawing.Point(130, 74);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(80, 26);
     this.btnCancel.TabIndex     = 19;
     this.btnCancel.Text         = "ќтменить";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // btnSave
     //
     this.btnSave.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnSave.Font         = new System.Drawing.Font("Tahoma", 9.25F);
     this.btnSave.Location     = new System.Drawing.Point(46, 74);
     this.btnSave.Name         = "btnSave";
     this.btnSave.Size         = new System.Drawing.Size(80, 26);
     this.btnSave.TabIndex     = 18;
     this.btnSave.Text         = "—охранить";
     this.btnSave.Click       += new System.EventHandler(this.btnSave_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 14);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(42, 16);
     this.label1.TabIndex = 20;
     this.label1.Text     = "ƒата:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 44);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(42, 16);
     this.label2.TabIndex = 21;
     this.label2.Text     = "—умма:";
     //
     // tbPointSum
     //
     this.tbPointSum.AllowDrop = true;
     this.tbPointSum.dValue    = 0;
     this.tbPointSum.IsPcnt    = false;
     this.tbPointSum.Location  = new System.Drawing.Point(78, 38);
     this.tbPointSum.MaxDecPos = 2;
     this.tbPointSum.MaxPos    = 8;
     this.tbPointSum.Name      = "tbPointSum";
     this.tbPointSum.nValue    = ((long)(0));
     this.tbPointSum.Size      = new System.Drawing.Size(132, 20);
     this.tbPointSum.TabIndex  = 22;
     this.tbPointSum.Text      = "";
     this.tbPointSum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbPointSum.TextMode  = false;
     //
     // CreditPointEdit
     //
     this.AcceptButton      = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(218, 107);
     this.Controls.Add(this.tbPointSum);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.dtPointDate);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "CreditPointEdit";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "ѕараметры точки";
     this.Load           += new System.EventHandler(this.CreditPointEdit_Load);
     this.ResumeLayout(false);
 }
コード例 #3
0
ファイル: RequestLinkParams.cs プロジェクト: Kiselb/bps
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RequestLinkParams));
     this.tbvPercent = new AM_Controls.TextBoxV();
     this.label1     = new System.Windows.Forms.Label();
     this.btnOK      = new System.Windows.Forms.Button();
     this.btnCancel  = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // tbvPercent
     //
     this.tbvPercent.dValue    = 0;
     this.tbvPercent.IsPcnt    = true;
     this.tbvPercent.Location  = new System.Drawing.Point(146, 14);
     this.tbvPercent.MaxDecPos = 2;
     this.tbvPercent.MaxPos    = 4;
     this.tbvPercent.Name      = "tbvPercent";
     this.tbvPercent.nValue    = ((long)(0));
     this.tbvPercent.Size      = new System.Drawing.Size(72, 20);
     this.tbvPercent.TabIndex  = 0;
     this.tbvPercent.Text      = "0";
     this.tbvPercent.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 16);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(136, 16);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Процент обслуживания:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(42, 96);
     this.btnOK.Name     = "btnOK";
     this.btnOK.Size     = new System.Drawing.Size(70, 20);
     this.btnOK.TabIndex = 2;
     this.btnOK.Text     = "ОК";
     this.btnOK.Click   += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(114, 96);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(70, 20);
     this.btnCancel.TabIndex     = 2;
     this.btnCancel.Text         = "Отменить";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // RequestLinkParams
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(228, 119);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btnOK,
         this.label1,
         this.tbvPercent,
         this.btnCancel
     });
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "RequestLinkParams";
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Параметры Связывания";
     this.ResumeLayout(false);
 }
コード例 #4
0
ファイル: CreditOnGrantEdit.cs プロジェクト: Kiselb/bps
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CreditOnGrantEdit));
     this.tbServiceChargeExtra = new AM_Controls.TextBoxV();
     this.label7          = new System.Windows.Forms.Label();
     this.tbServiceCharge = new AM_Controls.TextBoxV();
     this.label6          = new System.Windows.Forms.Label();
     this.dtEndDate       = new System.Windows.Forms.DateTimePicker();
     this.dtStartDate     = new System.Windows.Forms.DateTimePicker();
     this.label5          = new System.Windows.Forms.Label();
     this.label4          = new System.Windows.Forms.Label();
     this.btnCancel       = new System.Windows.Forms.Button();
     this.btnSave         = new System.Windows.Forms.Button();
     this.label10         = new System.Windows.Forms.Label();
     this.tbPeriod        = new AM_Controls.TextBoxV();
     this.label9          = new System.Windows.Forms.Label();
     this.label1          = new System.Windows.Forms.Label();
     this.cmbCreditType   = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // tbServiceChargeExtra
     //
     this.tbServiceChargeExtra.AllowDrop = true;
     this.tbServiceChargeExtra.dValue    = 0;
     this.tbServiceChargeExtra.Enabled   = false;
     this.tbServiceChargeExtra.IsPcnt    = true;
     this.tbServiceChargeExtra.Location  = new System.Drawing.Point(128, 132);
     this.tbServiceChargeExtra.MaxDecPos = 2;
     this.tbServiceChargeExtra.MaxPos    = 8;
     this.tbServiceChargeExtra.Name      = "tbServiceChargeExtra";
     this.tbServiceChargeExtra.nValue    = ((long)(0));
     this.tbServiceChargeExtra.ReadOnly  = true;
     this.tbServiceChargeExtra.Size      = new System.Drawing.Size(154, 21);
     this.tbServiceChargeExtra.TabIndex  = 21;
     this.tbServiceChargeExtra.Text      = "";
     this.tbServiceChargeExtra.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbServiceChargeExtra.TextMode  = false;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(6, 134);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(116, 16);
     this.label7.TabIndex = 20;
     this.label7.Text     = "Ставка за просрочку:";
     //
     // tbServiceCharge
     //
     this.tbServiceCharge.AllowDrop = true;
     this.tbServiceCharge.dValue    = 0;
     this.tbServiceCharge.Enabled   = false;
     this.tbServiceCharge.IsPcnt    = true;
     this.tbServiceCharge.Location  = new System.Drawing.Point(128, 108);
     this.tbServiceCharge.MaxDecPos = 2;
     this.tbServiceCharge.MaxPos    = 8;
     this.tbServiceCharge.Name      = "tbServiceCharge";
     this.tbServiceCharge.nValue    = ((long)(0));
     this.tbServiceCharge.ReadOnly  = true;
     this.tbServiceCharge.Size      = new System.Drawing.Size(154, 21);
     this.tbServiceCharge.TabIndex  = 19;
     this.tbServiceCharge.Text      = "";
     this.tbServiceCharge.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbServiceCharge.TextMode  = false;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(6, 110);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(110, 16);
     this.label6.TabIndex = 18;
     this.label6.Text     = "Процентная ставка:";
     //
     // dtEndDate
     //
     this.dtEndDate.Enabled       = false;
     this.dtEndDate.Location      = new System.Drawing.Point(128, 84);
     this.dtEndDate.Name          = "dtEndDate";
     this.dtEndDate.Size          = new System.Drawing.Size(154, 21);
     this.dtEndDate.TabIndex      = 17;
     this.dtEndDate.ValueChanged += new System.EventHandler(this.dtEndDate_ValueChanged);
     //
     // dtStartDate
     //
     this.dtStartDate.Enabled  = false;
     this.dtStartDate.Location = new System.Drawing.Point(128, 36);
     this.dtStartDate.Name     = "dtStartDate";
     this.dtStartDate.Size     = new System.Drawing.Size(154, 21);
     this.dtStartDate.TabIndex = 16;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 84);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 18);
     this.label5.TabIndex = 15;
     this.label5.Text     = "Дата возврата:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 38);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 18);
     this.label4.TabIndex = 14;
     this.label4.Text     = "Дата выдачи:";
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.btnCancel.Location     = new System.Drawing.Point(202, 164);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(80, 26);
     this.btnCancel.TabIndex     = 23;
     this.btnCancel.Text         = "Отменить";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // btnSave
     //
     this.btnSave.Font     = new System.Drawing.Font("Tahoma", 9.25F);
     this.btnSave.Location = new System.Drawing.Point(118, 164);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(80, 26);
     this.btnSave.TabIndex = 22;
     this.btnSave.Text     = "Сохранить";
     this.btnSave.Click   += new System.EventHandler(this.btnSave_Click);
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(249, 64);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(34, 18);
     this.label10.TabIndex = 26;
     this.label10.Text     = "дней";
     //
     // tbPeriod
     //
     this.tbPeriod.AllowDrop = true;
     this.tbPeriod.dValue    = 0;
     this.tbPeriod.Enabled   = false;
     this.tbPeriod.IsPcnt    = false;
     this.tbPeriod.Location  = new System.Drawing.Point(128, 60);
     this.tbPeriod.MaxDecPos = 2;
     this.tbPeriod.MaxPos    = 8;
     this.tbPeriod.Name      = "tbPeriod";
     this.tbPeriod.nValue    = ((long)(0));
     this.tbPeriod.ReadOnly  = true;
     this.tbPeriod.Size      = new System.Drawing.Size(114, 21);
     this.tbPeriod.TabIndex  = 25;
     this.tbPeriod.Text      = "";
     this.tbPeriod.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbPeriod.TextMode  = false;
     this.tbPeriod.Leave    += new System.EventHandler(this.tbPeriod_Leave);
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(7, 60);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(100, 18);
     this.label9.TabIndex = 24;
     this.label9.Text     = "Сроком на:";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 14);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(100, 16);
     this.label1.TabIndex = 27;
     this.label1.Text     = "Тип кредита:";
     //
     // cmbCreditType
     //
     this.cmbCreditType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbCreditType.Enabled       = false;
     this.cmbCreditType.Items.AddRange(new object[] {
         "Краткосрочный",
         "Долгосрочный",
         "С планом погашения"
     });
     this.cmbCreditType.Location = new System.Drawing.Point(128, 12);
     this.cmbCreditType.Name     = "cmbCreditType";
     this.cmbCreditType.Size     = new System.Drawing.Size(154, 21);
     this.cmbCreditType.TabIndex = 28;
     //
     // CreditOnGrantEdit
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(290, 197);
     this.Controls.Add(this.cmbCreditType);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.tbPeriod);
     this.Controls.Add(this.tbServiceChargeExtra);
     this.Controls.Add(this.tbServiceCharge);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.dtEndDate);
     this.Controls.Add(this.dtStartDate);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "CreditOnGrantEdit";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Кредит";
     this.ResumeLayout(false);
 }
コード例 #5
0
ファイル: SelectPurpose.cs プロジェクト: Kiselb/bps
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
     this.panel1                 = new System.Windows.Forms.Panel();
     this.gbSelectMode           = new System.Windows.Forms.GroupBox();
     this.label1                 = new System.Windows.Forms.Label();
     this.tbDepth                = new AM_Controls.TextBoxV();
     this.rbtnLastDocx           = new System.Windows.Forms.RadioButton();
     this.rbtnLastWeeks          = new System.Windows.Forms.RadioButton();
     this.bnCancel               = new System.Windows.Forms.Button();
     this.bnOK                   = new System.Windows.Forms.Button();
     this.dataGrid1              = new System.Windows.Forms.DataGrid();
     this.dvPurposeList          = new System.Data.DataView();
     this.dsLastPurposeList1     = new BPS.BLL.Transactions.DataSets.dsLastPurposeList();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.daGetPurposeList       = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand1      = new System.Data.SqlClient.SqlCommand();
     this.sqlConnection1         = new System.Data.SqlClient.SqlConnection();
     this.panel1.SuspendLayout();
     this.gbSelectMode.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvPurposeList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsLastPurposeList1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.gbSelectMode,
         this.bnCancel,
         this.bnOK
     });
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location = new System.Drawing.Point(0, 199);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(466, 112);
     this.panel1.TabIndex = 0;
     //
     // gbSelectMode
     //
     this.gbSelectMode.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1,
         this.tbDepth,
         this.rbtnLastDocx,
         this.rbtnLastWeeks
     });
     this.gbSelectMode.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.gbSelectMode.Location = new System.Drawing.Point(6, 3);
     this.gbSelectMode.Name     = "gbSelectMode";
     this.gbSelectMode.Size     = new System.Drawing.Size(452, 75);
     this.gbSelectMode.TabIndex = 3;
     this.gbSelectMode.TabStop  = false;
     this.gbSelectMode.Text     = "Критерий Выбора";
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location  = new System.Drawing.Point(229, 20);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(154, 24);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "Кол-во Документов/Недель:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbDepth
     //
     this.tbDepth.dValue    = 0;
     this.tbDepth.Enabled   = false;
     this.tbDepth.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbDepth.IsPcnt    = false;
     this.tbDepth.Location  = new System.Drawing.Point(390, 20);
     this.tbDepth.MaxDecPos = 0;
     this.tbDepth.MaxPos    = 8;
     this.tbDepth.Name      = "tbDepth";
     this.tbDepth.nValue    = ((long)(0));
     this.tbDepth.Size      = new System.Drawing.Size(50, 21);
     this.tbDepth.TabIndex  = 1;
     this.tbDepth.Text      = "0";
     this.tbDepth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbDepth.TextMode  = false;
     //
     // rbtnLastDocx
     //
     this.rbtnLastDocx.Enabled  = false;
     this.rbtnLastDocx.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.rbtnLastDocx.Location = new System.Drawing.Point(26, 20);
     this.rbtnLastDocx.Name     = "rbtnLastDocx";
     this.rbtnLastDocx.Size     = new System.Drawing.Size(170, 24);
     this.rbtnLastDocx.TabIndex = 0;
     this.rbtnLastDocx.Text     = "Из последних Документов";
     //
     // rbtnLastWeeks
     //
     this.rbtnLastWeeks.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.rbtnLastWeeks.Location = new System.Drawing.Point(26, 46);
     this.rbtnLastWeeks.Name     = "rbtnLastWeeks";
     this.rbtnLastWeeks.Size     = new System.Drawing.Size(170, 24);
     this.rbtnLastWeeks.TabIndex = 0;
     this.rbtnLastWeeks.Text     = "За последние Недели";
     //
     // bnCancel
     //
     this.bnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.bnCancel.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnCancel.Location     = new System.Drawing.Point(383, 87);
     this.bnCancel.Name         = "bnCancel";
     this.bnCancel.Size         = new System.Drawing.Size(80, 23);
     this.bnCancel.TabIndex     = 1;
     this.bnCancel.Text         = "Отменить";
     this.bnCancel.Click       += new System.EventHandler(this.bnCancel_Click);
     //
     // bnOK
     //
     this.bnOK.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnOK.Location = new System.Drawing.Point(301, 87);
     this.bnOK.Name     = "bnOK";
     this.bnOK.Size     = new System.Drawing.Size(80, 23);
     this.bnOK.TabIndex = 0;
     this.bnOK.Text     = "Выбрать";
     this.bnOK.Click   += new System.EventHandler(this.bnOK_Click);
     //
     // dataGrid1
     //
     this.dataGrid1.CaptionVisible  = false;
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.DataSource      = this.dvPurposeList;
     this.dataGrid1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.ReadOnly        = true;
     this.dataGrid1.Size            = new System.Drawing.Size(466, 199);
     this.dataGrid1.TabIndex        = 1;
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     this.dataGrid1.DoubleClick += new System.EventHandler(this.dataGrid1_DoubleClick);
     //
     // dvPurposeList
     //
     this.dvPurposeList.Table = this.dsLastPurposeList1.OrgsAccounts;
     //
     // dsLastPurposeList1
     //
     this.dsLastPurposeList1.DataSetName = "dsLastPurposeList";
     this.dsLastPurposeList1.Locale      = new System.Globalization.CultureInfo("ru-RU");
     this.dsLastPurposeList1.Namespace   = "http://www.tempuri.org/dsLastPurposeList.xsd";
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.dataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn3,
         this.dataGridTextBoxColumn2
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName     = "OrgsAccounts";
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format      = "dd-MMM-yy";
     this.dataGridTextBoxColumn1.FormatInfo  = null;
     this.dataGridTextBoxColumn1.HeaderText  = "Дата П/П";
     this.dataGridTextBoxColumn1.MappingName = "PaymentOrderDate";
     this.dataGridTextBoxColumn1.NullText    = "-";
     this.dataGridTextBoxColumn1.Width       = 75;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format      = "";
     this.dataGridTextBoxColumn3.FormatInfo  = null;
     this.dataGridTextBoxColumn3.HeaderText  = "№ П/П";
     this.dataGridTextBoxColumn3.MappingName = "PaymentNo";
     this.dataGridTextBoxColumn3.NullText    = "-";
     this.dataGridTextBoxColumn3.Width       = 75;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format      = "";
     this.dataGridTextBoxColumn2.FormatInfo  = null;
     this.dataGridTextBoxColumn2.HeaderText  = "Основание";
     this.dataGridTextBoxColumn2.MappingName = "Purpose";
     this.dataGridTextBoxColumn2.NullText    = "-";
     this.dataGridTextBoxColumn2.Width       = 250;
     //
     // daGetPurposeList
     //
     this.daGetPurposeList.SelectCommand = this.sqlSelectCommand1;
     this.daGetPurposeList.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "OrgsAccounts", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("Purpose", "Purpose"),
             new System.Data.Common.DataColumnMapping("AccountStatementID", "AccountStatementID"),
             new System.Data.Common.DataColumnMapping("AccountID", "AccountID"),
             new System.Data.Common.DataColumnMapping("OrgID", "OrgID"),
             new System.Data.Common.DataColumnMapping("RAccount", "RAccount")
         })
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = @"SELECT DISTINCT Transactions.Purpose AS Purpose, PaymentsOrders.PaymentOrderDate, PaymentsOrders.PaymentNo FROM PaymentsOrders INNER JOIN Transactions ON PaymentsOrders.PaymentOrderID = Transactions.DocumentID WHERE (NOT (Transactions.Purpose IS NULL)) AND (Transactions.AccountIDFrom = @AccountIDFrom) AND (Transactions.AccountIDTo = @AccountIDTo) AND (Transactions.ClientID = @ClientID) AND (Transactions.Purpose <> N'') AND (PaymentsOrders.PaymentOrderDate >= @DateFrom) AND (PaymentsOrders.PaymentOrderDate <= @DateTill)";
     this.sqlSelectCommand1.Connection  = this.sqlConnection1;
     this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ClientID", System.Data.SqlDbType.Int, 4, "ClientID"));
     this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@AccountIDFrom", System.Data.SqlDbType.Int, 4, "AccountIDFrom"));
     this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@AccountIDTo", System.Data.SqlDbType.Int, 4, "AccountIDTo"));
     this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@DateFrom", System.Data.SqlDbType.DateTime, 8, "PaymentOrderDate"));
     this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@DateTill", System.Data.SqlDbType.DateTime, 8, "PaymentOrderDate"));
     //
     // sqlConnection1
     //
     this.sqlConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("ConnectionString", typeof(string))));
     //
     // SelectPurpose
     //
     this.AcceptButton      = this.bnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton      = this.bnCancel;
     this.ClientSize        = new System.Drawing.Size(466, 311);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.dataGrid1,
         this.panel1
     });
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "SelectPurpose";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Последние основания";
     this.panel1.ResumeLayout(false);
     this.gbSelectMode.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvPurposeList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsLastPurposeList1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
     System.Resources.ResourceManager       resources = new System.Resources.ResourceManager(typeof(PaymsOrdersUnknownList));
     this.dataGrid1     = new System.Windows.Forms.DataGrid();
     this.dvUnknownList = new System.Data.DataView();
     this.dsPaymentsOrdersUnknownList1 = new BPS._Forms.dsPaymentsOrdersUnknownList();
     this.dataGridTableStyle1          = new System.Windows.Forms.DataGridTableStyle();
     this.ColumnHeaderID            = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnHeaderDate          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnPaymentOrderID      = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnPaymentNo           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnPaymentOrderDate    = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnPaymentOrderSum     = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnOrgName             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnRAccount            = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnCodeINN             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnOrgNameContra       = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnRAccountContra      = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnCodeINNContra       = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnPaymentOrderPurpose = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnRemarks             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.sqlConnection1            = new System.Data.SqlClient.SqlConnection();
     this.sqlDataAdapter1           = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand1         = new System.Data.SqlClient.SqlCommand();
     this.toolBar1              = new System.Windows.Forms.ToolBar();
     this.tbtnRefresh           = new System.Windows.Forms.ToolBarButton();
     this.tbtnClentSetLink      = new System.Windows.Forms.ToolBarButton();
     this.tbbHistory            = new System.Windows.Forms.ToolBarButton();
     this.imageList1            = new System.Windows.Forms.ImageList(this.components);
     this.panel1                = new System.Windows.Forms.Panel();
     this.label2                = new System.Windows.Forms.Label();
     this.tbServiceCharge       = new AM_Controls.TextBoxV();
     this.label1                = new System.Windows.Forms.Label();
     this.cmbClients            = new System.Windows.Forms.ComboBox();
     this.panel2                = new System.Windows.Forms.Panel();
     this.panel3                = new System.Windows.Forms.Panel();
     this.sqlCmdSetLinkByClient = new System.Data.SqlClient.SqlCommand();
     this.dvClients             = new System.Data.DataView();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvUnknownList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsPaymentsOrdersUnknownList1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dvClients)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.DataSource      = this.dvUnknownList;
     this.dataGrid1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.ReadOnly        = true;
     this.dataGrid1.Size            = new System.Drawing.Size(944, 230);
     this.dataGrid1.TabIndex        = 0;
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dvUnknownList
     //
     this.dvUnknownList.Table = this.dsPaymentsOrdersUnknownList1.PaymentsOrders;
     //
     // dsPaymentsOrdersUnknownList1
     //
     this.dsPaymentsOrdersUnknownList1.DataSetName = "dsPaymentsOrdersUnknownList";
     this.dsPaymentsOrdersUnknownList1.Locale      = new System.Globalization.CultureInfo("ru-RU");
     this.dsPaymentsOrdersUnknownList1.Namespace   = "http://www.tempuri.org/dsPaymentsOrdersUnknownList.xsd";
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.dataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.ColumnHeaderID,
         this.ColumnHeaderDate,
         this.ColumnPaymentOrderID,
         this.ColumnPaymentNo,
         this.ColumnPaymentOrderDate,
         this.ColumnPaymentOrderSum,
         this.ColumnOrgName,
         this.ColumnRAccount,
         this.ColumnCodeINN,
         this.ColumnOrgNameContra,
         this.ColumnRAccountContra,
         this.ColumnCodeINNContra,
         this.ColumnPaymentOrderPurpose,
         this.ColumnRemarks
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName     = "PaymentsOrders";
     //
     // ColumnHeaderID
     //
     this.ColumnHeaderID.Format      = "00000";
     this.ColumnHeaderID.FormatInfo  = null;
     this.ColumnHeaderID.HeaderText  = "ID";
     this.ColumnHeaderID.MappingName = "HeaderID";
     this.ColumnHeaderID.Width       = 50;
     //
     // ColumnHeaderDate
     //
     this.ColumnHeaderDate.Format      = "dd-MMM-yy";
     this.ColumnHeaderDate.FormatInfo  = null;
     this.ColumnHeaderDate.HeaderText  = "Дата Выписки";
     this.ColumnHeaderDate.MappingName = "HeaderDate";
     this.ColumnHeaderDate.NullText    = "-";
     this.ColumnHeaderDate.Width       = 90;
     //
     // ColumnPaymentOrderID
     //
     this.ColumnPaymentOrderID.Format      = "000000";
     this.ColumnPaymentOrderID.FormatInfo  = null;
     this.ColumnPaymentOrderID.HeaderText  = "ID П/П";
     this.ColumnPaymentOrderID.MappingName = "PaymentOrderID";
     this.ColumnPaymentOrderID.Width       = 50;
     //
     // ColumnPaymentNo
     //
     this.ColumnPaymentNo.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.ColumnPaymentNo.Format      = "";
     this.ColumnPaymentNo.FormatInfo  = null;
     this.ColumnPaymentNo.HeaderText  = "Номер П/П";
     this.ColumnPaymentNo.MappingName = "PaymentNo";
     this.ColumnPaymentNo.NullText    = "-";
     this.ColumnPaymentNo.Width       = 75;
     //
     // ColumnPaymentOrderDate
     //
     this.ColumnPaymentOrderDate.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.ColumnPaymentOrderDate.Format      = "dd-MMM-yy";
     this.ColumnPaymentOrderDate.FormatInfo  = null;
     this.ColumnPaymentOrderDate.HeaderText  = "Дата П/П";
     this.ColumnPaymentOrderDate.MappingName = "PaymentOrderDate";
     this.ColumnPaymentOrderDate.NullText    = "-";
     this.ColumnPaymentOrderDate.Width       = 90;
     //
     // ColumnPaymentOrderSum
     //
     this.ColumnPaymentOrderSum.Alignment   = System.Windows.Forms.HorizontalAlignment.Right;
     this.ColumnPaymentOrderSum.Format      = "#,##0.00";
     this.ColumnPaymentOrderSum.FormatInfo  = null;
     this.ColumnPaymentOrderSum.HeaderText  = "Сумма";
     this.ColumnPaymentOrderSum.MappingName = "PaymentOrderSum";
     this.ColumnPaymentOrderSum.NullText    = "-";
     this.ColumnPaymentOrderSum.Width       = 75;
     //
     // ColumnOrgName
     //
     this.ColumnOrgName.Format      = "";
     this.ColumnOrgName.FormatInfo  = null;
     this.ColumnOrgName.HeaderText  = "Получатель";
     this.ColumnOrgName.MappingName = "OrgName";
     this.ColumnOrgName.NullText    = "-";
     this.ColumnOrgName.Width       = 75;
     //
     // ColumnRAccount
     //
     this.ColumnRAccount.Format      = "";
     this.ColumnRAccount.FormatInfo  = null;
     this.ColumnRAccount.HeaderText  = "Получатель-Счёт";
     this.ColumnRAccount.MappingName = "RAccount";
     this.ColumnRAccount.Width       = 150;
     //
     // ColumnCodeINN
     //
     this.ColumnCodeINN.Format      = "";
     this.ColumnCodeINN.FormatInfo  = null;
     this.ColumnCodeINN.HeaderText  = "Получатель ИНН";
     this.ColumnCodeINN.MappingName = "CodeINN";
     this.ColumnCodeINN.NullText    = "-";
     this.ColumnCodeINN.Width       = 75;
     //
     // ColumnOrgNameContra
     //
     this.ColumnOrgNameContra.Format      = "";
     this.ColumnOrgNameContra.FormatInfo  = null;
     this.ColumnOrgNameContra.HeaderText  = "Плательщик";
     this.ColumnOrgNameContra.MappingName = "OrgNameContra";
     this.ColumnOrgNameContra.NullText    = "-";
     this.ColumnOrgNameContra.Width       = 75;
     //
     // ColumnRAccountContra
     //
     this.ColumnRAccountContra.Format      = "";
     this.ColumnRAccountContra.FormatInfo  = null;
     this.ColumnRAccountContra.HeaderText  = "Плательщик-Счёт";
     this.ColumnRAccountContra.MappingName = "RAccountContra";
     this.ColumnRAccountContra.NullText    = "-";
     this.ColumnRAccountContra.Width       = 150;
     //
     // ColumnCodeINNContra
     //
     this.ColumnCodeINNContra.Format      = "";
     this.ColumnCodeINNContra.FormatInfo  = null;
     this.ColumnCodeINNContra.HeaderText  = "Плательщик-ИНН";
     this.ColumnCodeINNContra.MappingName = "CodeINNContra";
     this.ColumnCodeINNContra.NullText    = "-";
     this.ColumnCodeINNContra.Width       = 75;
     //
     // ColumnPaymentOrderPurpose
     //
     this.ColumnPaymentOrderPurpose.Format      = "";
     this.ColumnPaymentOrderPurpose.FormatInfo  = null;
     this.ColumnPaymentOrderPurpose.HeaderText  = "Основание";
     this.ColumnPaymentOrderPurpose.MappingName = "PaymentOrderPurpose";
     this.ColumnPaymentOrderPurpose.NullText    = "-";
     this.ColumnPaymentOrderPurpose.Width       = 75;
     //
     // ColumnRemarks
     //
     this.ColumnRemarks.Format      = "";
     this.ColumnRemarks.FormatInfo  = null;
     this.ColumnRemarks.HeaderText  = "Примечание";
     this.ColumnRemarks.MappingName = "Remarks";
     this.ColumnRemarks.NullText    = "-";
     this.ColumnRemarks.Width       = 75;
     //
     // sqlConnection1
     //
     this.sqlConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("ConnectionString", typeof(string))));
     //
     // sqlDataAdapter1
     //
     this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
     this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "PaymentsOrders", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("HeaderID", "HeaderID"),
             new System.Data.Common.DataColumnMapping("HeaderDate", "HeaderDate"),
             new System.Data.Common.DataColumnMapping("PaymentOrderID", "PaymentOrderID"),
             new System.Data.Common.DataColumnMapping("PaymentNo", "PaymentNo"),
             new System.Data.Common.DataColumnMapping("PaymentOrderDate", "PaymentOrderDate"),
             new System.Data.Common.DataColumnMapping("Confirmed", "Confirmed"),
             new System.Data.Common.DataColumnMapping("RAccount", "RAccount"),
             new System.Data.Common.DataColumnMapping("OrgName", "OrgName"),
             new System.Data.Common.DataColumnMapping("CodeINN", "CodeINN"),
             new System.Data.Common.DataColumnMapping("RAccountContra", "RAccountContra"),
             new System.Data.Common.DataColumnMapping("OrgNameContra", "OrgNameContra"),
             new System.Data.Common.DataColumnMapping("PaymentOrderSum", "PaymentOrderSum"),
             new System.Data.Common.DataColumnMapping("PaymentOrderPurpose", "PaymentOrderPurpose"),
             new System.Data.Common.DataColumnMapping("CodeINNContra", "CodeINNContra")
         })
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = @"SELECT AccountsStatementsHeaders.HeaderID, AccountsStatementsHeaders.HeaderDate, PaymentsOrders.PaymentOrderID, PaymentsOrders.PaymentNo, PaymentsOrders.PaymentOrderDate, AccountsStatementsHeaders.Confirmed, OrgsAccounts.RAccount, Orgs.OrgName, Orgs.CodeINN, OrgsAccounts_1.RAccount AS RAccountContra, Orgs_1.OrgName AS OrgNameContra, PaymentsOrders.PaymentOrderSum, PaymentsOrders.PaymentOrderPurpose, Orgs_1.CodeINN AS CodeINNContra, OrgsAccounts_1.OrgsAccountsID, Orgs_1.OrgID, OrgsAccounts.OrgsAccountsID AS OrgsAccountsIDContra, Orgs.OrgID AS OrgIDContra, PaymentsOrders.Remarks FROM PaymentsOrders INNER JOIN AccountsStatementsHeaders ON PaymentsOrders.HeaderID = AccountsStatementsHeaders.HeaderID INNER JOIN OrgsAccounts ON AccountsStatementsHeaders.OrgAccountID = OrgsAccounts.OrgsAccountsID INNER JOIN Accounts ON OrgsAccounts.AccountID = Accounts.AccountID INNER JOIN Orgs ON OrgsAccounts.OrgID = Orgs.OrgID INNER JOIN OrgsAccounts OrgsAccounts_1 ON PaymentsOrders.OrgAccountIDCorr = OrgsAccounts_1.OrgsAccountsID INNER JOIN Orgs Orgs_1 ON OrgsAccounts_1.OrgID = Orgs_1.OrgID LEFT OUTER JOIN Transactions ON PaymentsOrders.PaymentOrderID = Transactions.DocumentID WHERE (AccountsStatementsHeaders.Confirmed = 1) AND (PaymentsOrders.Direction = 1) AND (Transactions.TransactionTypeID = 1 OR Transactions.TransactionTypeID = 10) AND (Transactions.ClientRequestID IS NULL) AND (Transactions.TransactionCommited = 1) AND (Transactions.TransactionPosted = 0)";
     this.sqlSelectCommand1.Connection  = this.sqlConnection1;
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbtnRefresh,
         this.tbtnClentSetLink,
         this.tbbHistory
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(944, 25);
     this.toolBar1.TabIndex       = 3;
     this.toolBar1.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // tbtnRefresh
     //
     this.tbtnRefresh.ImageIndex = 0;
     this.tbtnRefresh.Text       = "Обновить";
     //
     // tbtnClentSetLink
     //
     this.tbtnClentSetLink.ImageIndex = 1;
     this.tbtnClentSetLink.Text       = "Свзать с Клиентом";
     //
     // tbbHistory
     //
     this.tbbHistory.ImageIndex = 2;
     this.tbbHistory.Text       = "История";
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2,
         this.tbServiceCharge,
         this.label1,
         this.cmbClients
     });
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 25);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(944, 31);
     this.panel1.TabIndex = 4;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(316, 8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(100, 16);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "% Обслуживания:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbServiceCharge
     //
     this.tbServiceCharge.AllowDrop = true;
     this.tbServiceCharge.dValue    = 0;
     this.tbServiceCharge.IsPcnt    = true;
     this.tbServiceCharge.Location  = new System.Drawing.Point(418, 5);
     this.tbServiceCharge.MaxDecPos = 2;
     this.tbServiceCharge.MaxPos    = 8;
     this.tbServiceCharge.Name      = "tbServiceCharge";
     this.tbServiceCharge.nValue    = ((long)(0));
     this.tbServiceCharge.Size      = new System.Drawing.Size(50, 20);
     this.tbServiceCharge.TabIndex  = 2;
     this.tbServiceCharge.Text      = "0";
     this.tbServiceCharge.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbServiceCharge.TextMode  = false;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(4, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(50, 16);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Клиент:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cmbClients
     //
     this.cmbClients.Location = new System.Drawing.Point(56, 5);
     this.cmbClients.Name     = "cmbClients";
     this.cmbClients.Size     = new System.Drawing.Size(248, 21);
     this.cmbClients.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(0, 286);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(944, 4);
     this.panel2.TabIndex = 5;
     //
     // panel3
     //
     this.panel3.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.dataGrid1
     });
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 56);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(944, 230);
     this.panel3.TabIndex = 6;
     //
     // sqlCmdSetLinkByClient
     //
     this.sqlCmdSetLinkByClient.CommandText = "[ClientsRequestLinkToTransactionAuto]";
     this.sqlCmdSetLinkByClient.CommandType = System.Data.CommandType.StoredProcedure;
     this.sqlCmdSetLinkByClient.Connection  = this.sqlConnection1;
     this.sqlCmdSetLinkByClient.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
     this.sqlCmdSetLinkByClient.Parameters.Add(new System.Data.SqlClient.SqlParameter("@nPaymentOrderID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
     this.sqlCmdSetLinkByClient.Parameters.Add(new System.Data.SqlClient.SqlParameter("@nClientID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
     this.sqlCmdSetLinkByClient.Parameters.Add(new System.Data.SqlClient.SqlParameter("@dServiceChargeValue", System.Data.SqlDbType.Float, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(15)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
     //
     // PaymsOrdersUnknownList
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(944, 290);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.panel3,
         this.panel2,
         this.panel1,
         this.toolBar1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "PaymsOrdersUnknownList";
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Неопознанные приходы";
     this.TopMost         = true;
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvUnknownList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsPaymentsOrdersUnknownList1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dvClients)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #7
0
ファイル: SetCurrencyRate.cs プロジェクト: Kiselb/bps
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SetCurrencyRate));
     this.tbvNewRate = new AM_Controls.TextBoxV();
     this.label1     = new System.Windows.Forms.Label();
     this.btnOK      = new System.Windows.Forms.Button();
     this.btnCancel  = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // tbvNewRate
     //
     this.tbvNewRate.dValue    = 0;
     this.tbvNewRate.IsPcnt    = false;
     this.tbvNewRate.Location  = new System.Drawing.Point(134, 9);
     this.tbvNewRate.MaxDecPos = 2;
     this.tbvNewRate.MaxPos    = 8;
     this.tbvNewRate.Name      = "tbvNewRate";
     this.tbvNewRate.nValue    = ((long)(0));
     this.tbvNewRate.TabIndex  = 0;
     this.tbvNewRate.Text      = "0";
     this.tbvNewRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbvNewRate.TextMode  = false;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(11, 9);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(119, 20);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "¬ведите новый курс:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(47, 66);
     this.btnOK.Name     = "btnOK";
     this.btnOK.TabIndex = 2;
     this.btnOK.Text     = "OK";
     this.btnOK.Click   += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(123, 66);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 2;
     this.btnCancel.Text         = "ќтменить";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // SetCurrencyRate
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(242, 93);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btnOK,
         this.label1,
         this.tbvNewRate,
         this.btnCancel
     });
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "SetCurrencyRate";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = " урс";
     this.ResumeLayout(false);
 }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CreditPayBack));
     this.btnCancel       = new System.Windows.Forms.Button();
     this.dtnSave         = new System.Windows.Forms.Button();
     this.label1          = new System.Windows.Forms.Label();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.label2          = new System.Windows.Forms.Label();
     this.tbSum           = new AM_Controls.TextBoxV();
     this.SuspendLayout();
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.btnCancel.Location     = new System.Drawing.Point(122, 60);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(80, 26);
     this.btnCancel.TabIndex     = 23;
     this.btnCancel.Text         = "Отменить";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // dtnSave
     //
     this.dtnSave.Font     = new System.Drawing.Font("Tahoma", 9.25F);
     this.dtnSave.Location = new System.Drawing.Point(38, 60);
     this.dtnSave.Name     = "dtnSave";
     this.dtnSave.Size     = new System.Drawing.Size(80, 26);
     this.dtnSave.TabIndex = 22;
     this.dtnSave.Text     = "Сохранить";
     this.dtnSave.Click   += new System.EventHandler(this.dtnSave_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(6, 6);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(46, 18);
     this.label1.TabIndex = 21;
     this.label1.Text     = "Дата:";
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Location = new System.Drawing.Point(60, 6);
     this.dateTimePicker1.Name     = "dateTimePicker1";
     this.dateTimePicker1.Size     = new System.Drawing.Size(140, 20);
     this.dateTimePicker1.TabIndex = 20;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(6, 32);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(48, 16);
     this.label2.TabIndex = 24;
     this.label2.Text     = "Сумма:";
     //
     // tbSum
     //
     this.tbSum.AllowDrop = true;
     this.tbSum.dValue    = 0;
     this.tbSum.IsPcnt    = false;
     this.tbSum.Location  = new System.Drawing.Point(60, 30);
     this.tbSum.MaxDecPos = 2;
     this.tbSum.MaxPos    = 8;
     this.tbSum.Name      = "tbSum";
     this.tbSum.nValue    = ((long)(0));
     this.tbSum.Size      = new System.Drawing.Size(140, 20);
     this.tbSum.TabIndex  = 25;
     this.tbSum.Text      = "";
     this.tbSum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbSum.TextMode  = false;
     //
     // CreditPayBack
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(208, 95);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tbSum,
         this.label2,
         this.btnCancel,
         this.dtnSave,
         this.label1,
         this.dateTimePicker1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "CreditPayBack";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Погашение";
     this.ResumeLayout(false);
 }
コード例 #9
0
ファイル: PaymentsOrdersEdit.cs プロジェクト: Kiselb/bps
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PaymentsOrdersEdit));
     this.tbCurr          = new System.Windows.Forms.TextBox();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.tbCodeKPP       = new System.Windows.Forms.TextBox();
     this.label15         = new System.Windows.Forms.Label();
     this.tbOrgPO         = new System.Windows.Forms.TextBox();
     this.label14         = new System.Windows.Forms.Label();
     this.tbBIK           = new System.Windows.Forms.TextBox();
     this.label8          = new System.Windows.Forms.Label();
     this.tbKAccount      = new System.Windows.Forms.TextBox();
     this.label7          = new System.Windows.Forms.Label();
     this.tbBankName      = new System.Windows.Forms.TextBox();
     this.label2          = new System.Windows.Forms.Label();
     this.tbRaccount      = new System.Windows.Forms.TextBox();
     this.tbOrg           = new System.Windows.Forms.TextBox();
     this.label1          = new System.Windows.Forms.Label();
     this.label6          = new System.Windows.Forms.Label();
     this.label12         = new System.Windows.Forms.Label();
     this.tbINN           = new System.Windows.Forms.TextBox();
     this.tbVAT           = new AM_Controls.TextBoxV();
     this.label11         = new System.Windows.Forms.Label();
     this.label10         = new System.Windows.Forms.Label();
     this.bnCancel        = new System.Windows.Forms.Button();
     this.tbNo            = new System.Windows.Forms.TextBox();
     this.tbSum           = new AM_Controls.TextBoxV();
     this.tbRemarks       = new System.Windows.Forms.TextBox();
     this.tbPurpose       = new System.Windows.Forms.TextBox();
     this.bnOK            = new System.Windows.Forms.Button();
     this.label3          = new System.Windows.Forms.Label();
     this.label5          = new System.Windows.Forms.Label();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.label4          = new System.Windows.Forms.Label();
     this.label9          = new System.Windows.Forms.Label();
     this.tbVATSum        = new AM_Controls.TextBoxV();
     this.cmbVAT          = new System.Windows.Forms.ComboBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // tbCurr
     //
     this.tbCurr.BackColor = System.Drawing.SystemColors.Control;
     this.tbCurr.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbCurr.ForeColor = System.Drawing.Color.Black;
     this.tbCurr.Location  = new System.Drawing.Point(318, 36);
     this.tbCurr.Name      = "tbCurr";
     this.tbCurr.ReadOnly  = true;
     this.tbCurr.Size      = new System.Drawing.Size(38, 22);
     this.tbCurr.TabIndex  = 3;
     this.tbCurr.Text      = "RUR";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.tbCodeKPP);
     this.groupBox1.Controls.Add(this.label15);
     this.groupBox1.Controls.Add(this.tbOrgPO);
     this.groupBox1.Controls.Add(this.label14);
     this.groupBox1.Controls.Add(this.tbBIK);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.tbKAccount);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.tbBankName);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.tbRaccount);
     this.groupBox1.Controls.Add(this.tbOrg);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.tbINN);
     this.groupBox1.Controls.Add(this.tbVAT);
     this.groupBox1.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.groupBox1.Location = new System.Drawing.Point(5, 89);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(353, 257);
     this.groupBox1.TabIndex = 6;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Корреспондент";
     //
     // tbCodeKPP
     //
     this.tbCodeKPP.BackColor = System.Drawing.SystemColors.Control;
     this.tbCodeKPP.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbCodeKPP.Location  = new System.Drawing.Point(66, 47);
     this.tbCodeKPP.MaxLength = 20;
     this.tbCodeKPP.Name      = "tbCodeKPP";
     this.tbCodeKPP.ReadOnly  = true;
     this.tbCodeKPP.Size      = new System.Drawing.Size(110, 22);
     this.tbCodeKPP.TabIndex  = 17;
     this.tbCodeKPP.Text      = "";
     //
     // label15
     //
     this.label15.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label15.Location  = new System.Drawing.Point(8, 49);
     this.label15.Name      = "label15";
     this.label15.Size      = new System.Drawing.Size(56, 18);
     this.label15.TabIndex  = 18;
     this.label15.Text      = "КПП:";
     this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbOrgPO
     //
     this.tbOrgPO.BackColor = System.Drawing.SystemColors.Control;
     this.tbOrgPO.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbOrgPO.Location  = new System.Drawing.Point(66, 97);
     this.tbOrgPO.Multiline = true;
     this.tbOrgPO.Name      = "tbOrgPO";
     this.tbOrgPO.ReadOnly  = true;
     this.tbOrgPO.Size      = new System.Drawing.Size(278, 50);
     this.tbOrgPO.TabIndex  = 15;
     this.tbOrgPO.Text      = "";
     //
     // label14
     //
     this.label14.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label14.Location  = new System.Drawing.Point(8, 98);
     this.label14.Name      = "label14";
     this.label14.Size      = new System.Drawing.Size(56, 32);
     this.label14.TabIndex  = 16;
     this.label14.Text      = "Наим. в П/П:";
     this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbBIK
     //
     this.tbBIK.BackColor = System.Drawing.SystemColors.Control;
     this.tbBIK.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbBIK.Location  = new System.Drawing.Point(66, 200);
     this.tbBIK.MaxLength = 20;
     this.tbBIK.Name      = "tbBIK";
     this.tbBIK.ReadOnly  = true;
     this.tbBIK.Size      = new System.Drawing.Size(110, 22);
     this.tbBIK.TabIndex  = 5;
     this.tbBIK.Text      = "1234567890";
     //
     // label8
     //
     this.label8.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label8.Location  = new System.Drawing.Point(8, 202);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(56, 18);
     this.label8.TabIndex  = 12;
     this.label8.Text      = "БИК:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbKAccount
     //
     this.tbKAccount.BackColor = System.Drawing.SystemColors.Control;
     this.tbKAccount.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbKAccount.Location  = new System.Drawing.Point(66, 225);
     this.tbKAccount.MaxLength = 20;
     this.tbKAccount.Name      = "tbKAccount";
     this.tbKAccount.ReadOnly  = true;
     this.tbKAccount.Size      = new System.Drawing.Size(278, 22);
     this.tbKAccount.TabIndex  = 4;
     this.tbKAccount.Text      = "12345678901234567890";
     //
     // label7
     //
     this.label7.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label7.Location  = new System.Drawing.Point(8, 227);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(56, 16);
     this.label7.TabIndex  = 10;
     this.label7.Text      = "К/С:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbBankName
     //
     this.tbBankName.BackColor = System.Drawing.SystemColors.Control;
     this.tbBankName.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbBankName.Location  = new System.Drawing.Point(66, 175);
     this.tbBankName.Name      = "tbBankName";
     this.tbBankName.ReadOnly  = true;
     this.tbBankName.Size      = new System.Drawing.Size(278, 22);
     this.tbBankName.TabIndex  = 2;
     this.tbBankName.Text      = "";
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label2.Location  = new System.Drawing.Point(8, 178);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(56, 18);
     this.label2.TabIndex  = 8;
     this.label2.Text      = "Банк:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbRaccount
     //
     this.tbRaccount.BackColor = System.Drawing.SystemColors.Control;
     this.tbRaccount.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbRaccount.Location  = new System.Drawing.Point(66, 150);
     this.tbRaccount.MaxLength = 20;
     this.tbRaccount.Name      = "tbRaccount";
     this.tbRaccount.ReadOnly  = true;
     this.tbRaccount.Size      = new System.Drawing.Size(278, 22);
     this.tbRaccount.TabIndex  = 3;
     this.tbRaccount.Text      = "";
     //
     // tbOrg
     //
     this.tbOrg.BackColor = System.Drawing.SystemColors.Control;
     this.tbOrg.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbOrg.Location  = new System.Drawing.Point(66, 72);
     this.tbOrg.Name      = "tbOrg";
     this.tbOrg.ReadOnly  = true;
     this.tbOrg.Size      = new System.Drawing.Size(278, 22);
     this.tbOrg.TabIndex  = 0;
     this.tbOrg.Text      = "";
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label1.Location  = new System.Drawing.Point(8, 73);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 20);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Орг-я:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label6
     //
     this.label6.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label6.Location  = new System.Drawing.Point(8, 153);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(56, 18);
     this.label6.TabIndex  = 7;
     this.label6.Text      = "Р/С:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label12
     //
     this.label12.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label12.Location  = new System.Drawing.Point(8, 25);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(56, 18);
     this.label12.TabIndex  = 14;
     this.label12.Text      = "ИНН:";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbINN
     //
     this.tbINN.BackColor = System.Drawing.SystemColors.Control;
     this.tbINN.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbINN.Location  = new System.Drawing.Point(66, 22);
     this.tbINN.MaxLength = 20;
     this.tbINN.Name      = "tbINN";
     this.tbINN.ReadOnly  = true;
     this.tbINN.Size      = new System.Drawing.Size(110, 22);
     this.tbINN.TabIndex  = 1;
     this.tbINN.Text      = "123456789012";
     //
     // tbVAT
     //
     this.tbVAT.AllowDrop = true;
     this.tbVAT.BackColor = System.Drawing.SystemColors.Window;
     this.tbVAT.dValue    = 0;
     this.tbVAT.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbVAT.IsPcnt    = true;
     this.tbVAT.Location  = new System.Drawing.Point(220, 30);
     this.tbVAT.MaxDecPos = 2;
     this.tbVAT.MaxPos    = 8;
     this.tbVAT.Name      = "tbVAT";
     this.tbVAT.Negative  = System.Drawing.Color.Empty;
     this.tbVAT.nValue    = ((long)(0));
     this.tbVAT.Positive  = System.Drawing.Color.Empty;
     this.tbVAT.Size      = new System.Drawing.Size(70, 22);
     this.tbVAT.TabIndex  = 4;
     this.tbVAT.Text      = "";
     this.tbVAT.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbVAT.TextMode  = false;
     this.tbVAT.Visible   = false;
     this.tbVAT.Zero      = System.Drawing.Color.Empty;
     this.tbVAT.Leave    += new System.EventHandler(this.tbVAT_Leave);
     //
     // label11
     //
     this.label11.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label11.Location  = new System.Drawing.Point(5, 426);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(80, 16);
     this.label11.TabIndex  = 32;
     this.label11.Text      = "Примечание:";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label10
     //
     this.label10.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label10.Location  = new System.Drawing.Point(5, 350);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(72, 14);
     this.label10.TabIndex  = 31;
     this.label10.Text      = "Основание:";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // bnCancel
     //
     this.bnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.bnCancel.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.bnCancel.Location     = new System.Drawing.Point(279, 501);
     this.bnCancel.Name         = "bnCancel";
     this.bnCancel.Size         = new System.Drawing.Size(80, 25);
     this.bnCancel.TabIndex     = 10;
     this.bnCancel.TabStop      = false;
     this.bnCancel.Text         = "Отменить";
     this.bnCancel.Click       += new System.EventHandler(this.bnCancel_Click);
     //
     // tbNo
     //
     this.tbNo.BackColor = System.Drawing.SystemColors.Window;
     this.tbNo.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbNo.Location  = new System.Drawing.Point(136, 6);
     this.tbNo.Name      = "tbNo";
     this.tbNo.TabIndex  = 0;
     this.tbNo.Text      = "";
     //
     // tbSum
     //
     this.tbSum.AllowDrop = true;
     this.tbSum.BackColor = System.Drawing.SystemColors.Control;
     this.tbSum.dValue    = 0;
     this.tbSum.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbSum.IsPcnt    = false;
     this.tbSum.Location  = new System.Drawing.Point(136, 36);
     this.tbSum.MaxDecPos = 2;
     this.tbSum.MaxPos    = 10;
     this.tbSum.Name      = "tbSum";
     this.tbSum.Negative  = System.Drawing.Color.Empty;
     this.tbSum.nValue    = ((long)(0));
     this.tbSum.Positive  = System.Drawing.Color.Empty;
     this.tbSum.ReadOnly  = true;
     this.tbSum.Size      = new System.Drawing.Size(181, 22);
     this.tbSum.TabIndex  = 2;
     this.tbSum.Text      = "";
     this.tbSum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbSum.TextMode  = false;
     this.tbSum.Zero      = System.Drawing.Color.Empty;
     //
     // tbRemarks
     //
     this.tbRemarks.BackColor  = System.Drawing.SystemColors.Window;
     this.tbRemarks.Font       = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbRemarks.Location   = new System.Drawing.Point(5, 444);
     this.tbRemarks.MaxLength  = 256;
     this.tbRemarks.Multiline  = true;
     this.tbRemarks.Name       = "tbRemarks";
     this.tbRemarks.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.tbRemarks.Size       = new System.Drawing.Size(353, 52);
     this.tbRemarks.TabIndex   = 8;
     this.tbRemarks.Text       = "";
     //
     // tbPurpose
     //
     this.tbPurpose.BackColor  = System.Drawing.SystemColors.Window;
     this.tbPurpose.Font       = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbPurpose.Location   = new System.Drawing.Point(5, 366);
     this.tbPurpose.Multiline  = true;
     this.tbPurpose.Name       = "tbPurpose";
     this.tbPurpose.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.tbPurpose.Size       = new System.Drawing.Size(353, 52);
     this.tbPurpose.TabIndex   = 7;
     this.tbPurpose.Text       = "";
     //
     // bnOK
     //
     this.bnOK.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.bnOK.Location = new System.Drawing.Point(197, 501);
     this.bnOK.Name     = "bnOK";
     this.bnOK.Size     = new System.Drawing.Size(80, 25);
     this.bnOK.TabIndex = 9;
     this.bnOK.TabStop  = false;
     this.bnOK.Text     = "Сохранить";
     this.bnOK.Click   += new System.EventHandler(this.bnOK_Click);
     //
     // label3
     //
     this.label3.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label3.Location = new System.Drawing.Point(242, 8);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(20, 16);
     this.label3.TabIndex = 26;
     this.label3.Text     = "от:";
     //
     // label5
     //
     this.label5.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label5.Location  = new System.Drawing.Point(8, 8);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(126, 18);
     this.label5.TabIndex  = 25;
     this.label5.Text      = "Пл. Поручение №:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.dateTimePicker1.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dateTimePicker1.Location = new System.Drawing.Point(266, 6);
     this.dateTimePicker1.Name     = "dateTimePicker1";
     this.dateTimePicker1.Size     = new System.Drawing.Size(90, 22);
     this.dateTimePicker1.TabIndex = 1;
     //
     // label4
     //
     this.label4.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label4.Location  = new System.Drawing.Point(8, 37);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(126, 18);
     this.label4.TabIndex  = 27;
     this.label4.Text      = "Сумма:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label9
     //
     this.label9.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.label9.Location  = new System.Drawing.Point(8, 61);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(126, 18);
     this.label9.TabIndex  = 33;
     this.label9.Text      = "НДС (Ставка/Сумма):";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbVATSum
     //
     this.tbVATSum.AllowDrop = true;
     this.tbVATSum.BackColor = System.Drawing.SystemColors.Window;
     this.tbVATSum.dValue    = 0;
     this.tbVATSum.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbVATSum.IsPcnt    = false;
     this.tbVATSum.Location  = new System.Drawing.Point(266, 60);
     this.tbVATSum.MaxDecPos = 2;
     this.tbVATSum.MaxPos    = 10;
     this.tbVATSum.Name      = "tbVATSum";
     this.tbVATSum.Negative  = System.Drawing.Color.Empty;
     this.tbVATSum.nValue    = ((long)(0));
     this.tbVATSum.Positive  = System.Drawing.Color.Empty;
     this.tbVATSum.ReadOnly  = true;
     this.tbVATSum.Size      = new System.Drawing.Size(90, 22);
     this.tbVATSum.TabIndex  = 5;
     this.tbVATSum.Text      = "";
     this.tbVATSum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbVATSum.TextMode  = false;
     this.tbVATSum.Zero      = System.Drawing.Color.Empty;
     //
     // cmbVAT
     //
     this.cmbVAT.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbVAT.Font          = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmbVAT.Items.AddRange(new object[] {
         "0.00%",
         "10.00%",
         "18.00%",
         "20.00%",
         "Не облагается"
     });
     this.cmbVAT.Location              = new System.Drawing.Point(136, 60);
     this.cmbVAT.Name                  = "cmbVAT";
     this.cmbVAT.Size                  = new System.Drawing.Size(128, 22);
     this.cmbVAT.TabIndex              = 34;
     this.cmbVAT.SelectedIndexChanged += new System.EventHandler(this.cmbVAT_SelectedIndexChanged);
     //
     // PaymentsOrdersEdit
     //
     this.AcceptButton      = this.bnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.bnCancel;
     this.ClientSize        = new System.Drawing.Size(364, 529);
     this.Controls.Add(this.cmbVAT);
     this.Controls.Add(this.tbVATSum);
     this.Controls.Add(this.tbCurr);
     this.Controls.Add(this.tbNo);
     this.Controls.Add(this.tbSum);
     this.Controls.Add(this.tbRemarks);
     this.Controls.Add(this.tbPurpose);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.bnCancel);
     this.Controls.Add(this.bnOK);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.dateTimePicker1);
     this.Controls.Add(this.label4);
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "PaymentsOrdersEdit";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Платёжное поручение [Редактирование]";
     this.Closed         += new System.EventHandler(this.PaymentsOrdersEdit_Closed);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CreditsIncrease));
     this.dtpDateInc = new System.Windows.Forms.DateTimePicker();
     this.tbSumInc   = new AM_Controls.TextBoxV();
     this.btnOK      = new System.Windows.Forms.Button();
     this.btnCancel  = new System.Windows.Forms.Button();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // dtpDateInc
     //
     this.dtpDateInc.CustomFormat = "dd-MMM-yy";
     this.dtpDateInc.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpDateInc.Location     = new System.Drawing.Point(165, 20);
     this.dtpDateInc.Name         = "dtpDateInc";
     this.dtpDateInc.Size         = new System.Drawing.Size(90, 20);
     this.dtpDateInc.TabIndex     = 1;
     //
     // tbSumInc
     //
     this.tbSumInc.AllowDrop = true;
     this.tbSumInc.dValue    = 0;
     this.tbSumInc.IsPcnt    = false;
     this.tbSumInc.Location  = new System.Drawing.Point(165, 66);
     this.tbSumInc.MaxDecPos = 2;
     this.tbSumInc.MaxPos    = 8;
     this.tbSumInc.Name      = "tbSumInc";
     this.tbSumInc.nValue    = ((long)(0));
     this.tbSumInc.Size      = new System.Drawing.Size(90, 20);
     this.tbSumInc.TabIndex  = 2;
     this.tbSumInc.Text      = "0";
     this.tbSumInc.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbSumInc.TextMode  = false;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(74, 104);
     this.btnOK.Name     = "btnOK";
     this.btnOK.TabIndex = 3;
     this.btnOK.Text     = "OK";
     this.btnOK.Click   += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(154, 104);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "Отменить";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(14, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(148, 30);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Фактическая Дата увеличения тела кредита: ";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(14, 48);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(148, 39);
     this.label2.TabIndex = 5;
     this.label2.Text     = "Сумма, на которую требуется увеличить тело кредита:";
     //
     // CreditsIncrease
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(292, 133);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.tbSumInc);
     this.Controls.Add(this.dtpDateInc);
     this.Controls.Add(this.btnCancel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "CreditsIncrease";
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Увеличение Тела Кредита";
     this.ResumeLayout(false);
 }