Esempio n. 1
0
 private void InitializeComponent()
 {
     this.label1  = new System.Windows.Forms.Label();
     this.TableId = new Iso8583Client.IntegerTextBox();
     this.label2  = new System.Windows.Forms.Label();
     this.BeneficiaryInstitutionId = new Iso8583Client.IntegerTextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.BeneficiaryAccountNumber = new Iso8583Client.IntegerTextBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(0, 3);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(43, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "TableId";
     //
     // TableId
     //
     this.TableId.AcceptNegative = false;
     this.TableId.Length         = 2;
     this.TableId.Location       = new System.Drawing.Point(150, 0);
     this.TableId.MaxLength      = 2;
     this.TableId.Name           = "TableId";
     this.TableId.Size           = new System.Drawing.Size(25, 20);
     this.TableId.TabIndex       = 1;
     this.TableId.Text           = "00";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(0, 25);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(113, 13);
     this.label2.TabIndex = 2;
     this.label2.Text     = "BeneficiaryInstitutionId";
     //
     // BeneficiaryInstitutionId
     //
     this.BeneficiaryInstitutionId.AcceptNegative = false;
     this.BeneficiaryInstitutionId.Length         = 11;
     this.BeneficiaryInstitutionId.Location       = new System.Drawing.Point(150, 22);
     this.BeneficiaryInstitutionId.MaxLength      = 11;
     this.BeneficiaryInstitutionId.Name           = "BeneficiaryInstitutionId";
     this.BeneficiaryInstitutionId.Size           = new System.Drawing.Size(125, 20);
     this.BeneficiaryInstitutionId.TabIndex       = 3;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(0, 47);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(136, 13);
     this.label3.TabIndex = 4;
     this.label3.Text     = "BeneficiaryAccountNumber";
     //
     // BeneficiaryAccountNumber
     //
     this.BeneficiaryAccountNumber.Location  = new System.Drawing.Point(150, 44);
     this.BeneficiaryAccountNumber.MaxLength = 28;
     this.BeneficiaryAccountNumber.Name      = "BeneficiaryAccountNumber";
     this.BeneficiaryAccountNumber.Size      = new System.Drawing.Size(305, 20);
     this.BeneficiaryAccountNumber.TabIndex  = 5;
     //
     // Bit63ContentBox
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.BeneficiaryAccountNumber);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.BeneficiaryInstitutionId);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.TableId);
     this.Controls.Add(this.label1);
     this.Name = "Bit63ContentBox";
     this.Size = new System.Drawing.Size(455, 64);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 2
0
        private void InitializeComponent()
        {
            this.TransactionType = new Iso8583Client.IntegerTextBox();
            this.FromAccount     = new Iso8583Client.BytesComboBox();
            this.ToAccount       = new Iso8583Client.BytesComboBox();
            this.SuspendLayout();
            //
            // TransactionType
            //
            this.TransactionType.AcceptNegative = false;
            this.TransactionType.Enabled        = false;
            this.TransactionType.Length         = 0;
            this.TransactionType.Location       = new System.Drawing.Point(0, 0);
            this.TransactionType.MaxLength      = 2;
            this.TransactionType.Name           = "TransactionType";
            this.TransactionType.Size           = new System.Drawing.Size(28, 20);
            this.TransactionType.TabIndex       = 4;
            this.TransactionType.ReadOnly       = true;
            this.TransactionTypeCode            = TransactionTypeCodeBytes.BALANCE_INQUIRY;

            byte[] accountCodes = (byte[])Enum.GetValues(typeof(AccountCodeBytes));

            //
            // FromAccount
            //
            this.FromAccount.FormattingEnabled = true;
            this.FromAccount.Location          = new System.Drawing.Point(34, 0);
            this.FromAccount.Name     = "FromAccount";
            this.FromAccount.Size     = new System.Drawing.Size(300, 21);
            this.FromAccount.TabIndex = 5;
            foreach (byte accountCode in accountCodes)
            {
                this.FromAccount.AddItem(
                    new byte[] { accountCode },
                    MessageUtility.HexToString(accountCode) + " - "
                    + ProcessingCode.ACCOUNT[(AccountCodeBytes)accountCode]
                    );
            }
            this.FromAccount.SelectedIndex = 0;

            //
            // ToAccount
            //
            this.ToAccount.FormattingEnabled = true;
            this.ToAccount.Location          = new System.Drawing.Point(340, 0);
            this.ToAccount.Name     = "ToAccount";
            this.ToAccount.Size     = new System.Drawing.Size(300, 21);
            this.ToAccount.TabIndex = 6;
            foreach (byte accountCode in accountCodes)
            {
                this.ToAccount.AddItem(
                    new byte[] { accountCode },
                    MessageUtility.HexToString(accountCode) + " - "
                    + ProcessingCode.ACCOUNT[(AccountCodeBytes)accountCode]
                    );
            }
            this.ToAccount.SelectedIndex = 0;

            //
            // ProcessingCodeBox
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.ToAccount);
            this.Controls.Add(this.FromAccount);
            this.Controls.Add(this.TransactionType);
            this.Name = "ProcessingCodeBox";
            this.Size = new System.Drawing.Size(640, 21);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Esempio n. 3
0
 private void InitializeComponent()
 {
     this.label1      = new System.Windows.Forms.Label();
     this.ProductCode = new Iso8583Client.IntegerTextBox();
     this.label2      = new System.Windows.Forms.Label();
     this.Note        = new Iso8583Client.StringTextBox();
     this.label3      = new System.Windows.Forms.Label();
     this.Fee         = new Iso8583Client.IntegerTextBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(0, 3);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(69, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "ProductCode";
     //
     // ProductCode
     //
     this.ProductCode.AcceptNegative = false;
     this.ProductCode.Length         = 0;
     this.ProductCode.Location       = new System.Drawing.Point(75, 0);
     this.ProductCode.MaxLength      = 5;
     this.ProductCode.Name           = "ProductCode";
     this.ProductCode.Size           = new System.Drawing.Size(50, 20);
     this.ProductCode.TabIndex       = 1;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(0, 25);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(30, 13);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Note";
     //
     // Note
     //
     this.Note.Location  = new System.Drawing.Point(75, 22);
     this.Note.MaxLength = 50;
     this.Note.Name      = "Note";
     this.Note.Size      = new System.Drawing.Size(350, 20);
     this.Note.TabIndex  = 3;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(0, 47);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(25, 13);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Fee";
     //
     // Fee
     //
     this.Fee.AcceptNegative = false;
     this.Fee.Length         = 0;
     this.Fee.Location       = new System.Drawing.Point(75, 44);
     this.Fee.MaxLength      = 9;
     this.Fee.Name           = "Fee";
     this.Fee.Size           = new System.Drawing.Size(100, 20);
     this.Fee.TabIndex       = 5;
     //
     // RequestDataEntry48Box
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.Fee);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.Note);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.ProductCode);
     this.Controls.Add(this.label1);
     this.Name = "RequestDataEntry48Box";
     this.Size = new System.Drawing.Size(425, 64);
     this.ResumeLayout(false);
     this.PerformLayout();
 }