using System.Windows.Forms;

namespace ZhkhApp
{
    partial class PaymentForm
    {
        private System.ComponentModel.IContainer components = null;
        private Label lblTitle, lblReceiptInfo, lblAmountToPay, lblPenaltyInfo;
        private Label lblMethod, lblStatus, lblCardNumber, lblCardExpiry, lblCardCvv;
        private TextBox txtAmount, txtCardNumber, txtCardExpiry, txtCardCvv;
        private ComboBox cbMethod;
        private Button btnPay, btnCancel;
        private Panel pnlCardDetails;
        private Label lblAmountLabel;

        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
                components.Dispose();
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.lblTitle = new Label();
            this.lblReceiptInfo = new Label();
            this.lblAmountToPay = new Label();
            this.lblPenaltyInfo = new Label();
            this.lblMethod = new Label();
            this.lblStatus = new Label();
            this.txtAmount = new TextBox();
            this.cbMethod = new ComboBox();
            this.btnPay = new Button();
            this.btnCancel = new Button();
            this.pnlCardDetails = new Panel();
            this.lblCardNumber = new Label();
            this.txtCardNumber = new TextBox();
            this.lblCardExpiry = new Label();
            this.txtCardExpiry = new TextBox();
            this.lblCardCvv = new Label();
            this.txtCardCvv = new TextBox();
            this.lblAmountLabel = new Label();
            this.pnlCardDetails.SuspendLayout();
            this.SuspendLayout();

            // lblTitle
            this.lblTitle.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
            this.lblTitle.ForeColor = System.Drawing.Color.DarkBlue;
            this.lblTitle.Location = new System.Drawing.Point(20, 20);
            this.lblTitle.Name = "lblTitle";
            this.lblTitle.Size = new System.Drawing.Size(440, 30);
            this.lblTitle.TabIndex = 1;
            this.lblTitle.Text = "Оплата жилищно-коммунальных услуг";
            this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;

            // lblReceiptInfo
            this.lblReceiptInfo.Location = new System.Drawing.Point(20, 60);
            this.lblReceiptInfo.Name = "lblReceiptInfo";
            this.lblReceiptInfo.Size = new System.Drawing.Size(440, 25);
            this.lblReceiptInfo.TabIndex = 2;
            this.lblReceiptInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;

            // lblAmountToPay
            this.lblAmountToPay.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
            this.lblAmountToPay.Location = new System.Drawing.Point(50, 100);
            this.lblAmountToPay.Name = "lblAmountToPay";
            this.lblAmountToPay.Size = new System.Drawing.Size(400, 25);
            this.lblAmountToPay.TabIndex = 3;

            // lblPenaltyInfo
            this.lblPenaltyInfo.ForeColor = System.Drawing.Color.DarkRed;
            this.lblPenaltyInfo.Location = new System.Drawing.Point(50, 130);
            this.lblPenaltyInfo.Name = "lblPenaltyInfo";
            this.lblPenaltyInfo.Size = new System.Drawing.Size(400, 25);
            this.lblPenaltyInfo.TabIndex = 4;

            // lblMethod
            this.lblMethod.Location = new System.Drawing.Point(50, 210);
            this.lblMethod.Name = "lblMethod";
            this.lblMethod.Size = new System.Drawing.Size(120, 25);
            this.lblMethod.TabIndex = 6;
            this.lblMethod.Text = "Способ оплаты:";

            // lblStatus
            this.lblStatus.ForeColor = System.Drawing.Color.Red;
            this.lblStatus.Location = new System.Drawing.Point(50, 390);
            this.lblStatus.Name = "lblStatus";
            this.lblStatus.Size = new System.Drawing.Size(400, 30);
            this.lblStatus.TabIndex = 9;
            this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;

            // txtAmount
            this.txtAmount.Location = new System.Drawing.Point(180, 168);
            this.txtAmount.Name = "txtAmount";
            this.txtAmount.Size = new System.Drawing.Size(150, 20);
            this.txtAmount.TabIndex = 5;

            // cbMethod
            this.cbMethod.DropDownStyle = ComboBoxStyle.DropDownList;
            this.cbMethod.Location = new System.Drawing.Point(180, 208);
            this.cbMethod.Name = "cbMethod";
            this.cbMethod.Size = new System.Drawing.Size(200, 21);
            this.cbMethod.TabIndex = 7;
            this.cbMethod.SelectedIndexChanged += CbMethod_SelectedIndexChanged;

            // btnPay
            this.btnPay.BackColor = System.Drawing.Color.LightGreen;
            this.btnPay.Location = new System.Drawing.Point(100, 423);
            this.btnPay.Name = "btnPay";
            this.btnPay.Size = new System.Drawing.Size(120, 35);
            this.btnPay.TabIndex = 10;
            this.btnPay.Text = "Оплатить";
            this.btnPay.UseVisualStyleBackColor = false;
            this.btnPay.Click += BtnPay_Click;  // <-- ДОБАВИТЬ

            // btnCancel
            this.btnCancel.BackColor = System.Drawing.Color.LightCoral;
            this.btnCancel.Location = new System.Drawing.Point(251, 423);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(120, 35);
            this.btnCancel.TabIndex = 11;
            this.btnCancel.Text = "Отмена";
            this.btnCancel.UseVisualStyleBackColor = false;
            this.btnCancel.Click += BtnCancel_Click;  // <-- ДОБАВИТЬ

            // pnlCardDetails
            this.pnlCardDetails.BorderStyle = BorderStyle.FixedSingle;
            this.pnlCardDetails.Controls.Add(this.lblCardNumber);
            this.pnlCardDetails.Controls.Add(this.txtCardNumber);
            this.pnlCardDetails.Controls.Add(this.lblCardExpiry);
            this.pnlCardDetails.Controls.Add(this.txtCardExpiry);
            this.pnlCardDetails.Controls.Add(this.lblCardCvv);
            this.pnlCardDetails.Controls.Add(this.txtCardCvv);
            this.pnlCardDetails.Location = new System.Drawing.Point(30, 250);
            this.pnlCardDetails.Name = "pnlCardDetails";
            this.pnlCardDetails.Size = new System.Drawing.Size(420, 120);
            this.pnlCardDetails.TabIndex = 8;

            // lblCardNumber
            this.lblCardNumber.Location = new System.Drawing.Point(20, 15);
            this.lblCardNumber.Name = "lblCardNumber";
            this.lblCardNumber.Size = new System.Drawing.Size(100, 25);
            this.lblCardNumber.TabIndex = 0;
            this.lblCardNumber.Text = "Номер карты:";

            // txtCardNumber
            this.txtCardNumber.Location = new System.Drawing.Point(130, 13);
            this.txtCardNumber.MaxLength = 19;
            this.txtCardNumber.Name = "txtCardNumber";
            this.txtCardNumber.Size = new System.Drawing.Size(200, 20);
            this.txtCardNumber.TabIndex = 1;
            this.txtCardNumber.TextChanged += TxtCardNumber_TextChanged;

            // lblCardExpiry
            this.lblCardExpiry.Location = new System.Drawing.Point(20, 50);
            this.lblCardExpiry.Name = "lblCardExpiry";
            this.lblCardExpiry.Size = new System.Drawing.Size(100, 25);
            this.lblCardExpiry.TabIndex = 2;
            this.lblCardExpiry.Text = "Срок (MM/ГГ):";

            // txtCardExpiry
            this.txtCardExpiry.Location = new System.Drawing.Point(130, 48);
            this.txtCardExpiry.MaxLength = 5;
            this.txtCardExpiry.Name = "txtCardExpiry";
            this.txtCardExpiry.Size = new System.Drawing.Size(80, 20);
            this.txtCardExpiry.TabIndex = 3;

            // lblCardCvv
            this.lblCardCvv.Location = new System.Drawing.Point(230, 50);
            this.lblCardCvv.Name = "lblCardCvv";
            this.lblCardCvv.Size = new System.Drawing.Size(50, 25);
            this.lblCardCvv.TabIndex = 4;
            this.lblCardCvv.Text = "CVV:";

            // txtCardCvv
            this.txtCardCvv.Location = new System.Drawing.Point(280, 48);
            this.txtCardCvv.MaxLength = 3;
            this.txtCardCvv.Name = "txtCardCvv";
            this.txtCardCvv.PasswordChar = '*';
            this.txtCardCvv.Size = new System.Drawing.Size(60, 20);
            this.txtCardCvv.TabIndex = 5;

            // lblAmountLabel
            this.lblAmountLabel.Location = new System.Drawing.Point(50, 170);
            this.lblAmountLabel.Name = "lblAmountLabel";
            this.lblAmountLabel.Size = new System.Drawing.Size(120, 25);
            this.lblAmountLabel.TabIndex = 0;
            this.lblAmountLabel.Text = "Сумма оплаты:";

            // PaymentForm
            this.BackColor = System.Drawing.Color.White;
            this.ClientSize = new System.Drawing.Size(464, 481);
            this.Controls.Add(this.lblAmountLabel);
            this.Controls.Add(this.lblTitle);
            this.Controls.Add(this.lblReceiptInfo);
            this.Controls.Add(this.lblAmountToPay);
            this.Controls.Add(this.lblPenaltyInfo);
            this.Controls.Add(this.txtAmount);
            this.Controls.Add(this.lblMethod);
            this.Controls.Add(this.cbMethod);
            this.Controls.Add(this.pnlCardDetails);
            this.Controls.Add(this.lblStatus);
            this.Controls.Add(this.btnPay);
            this.Controls.Add(this.btnCancel);
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.Name = "PaymentForm";
            this.StartPosition = FormStartPosition.CenterParent;
            this.Text = "Оплата квитанции";

            this.pnlCardDetails.ResumeLayout(false);
            this.pnlCardDetails.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
    }
}