using System;
using System.Windows.Forms;

namespace ZhkhApp
{
    partial class ReportForm
    {
        private System.ComponentModel.IContainer components = null;
        private DataGridView dgvDebt, dgvPayments, dgvReceipts;
        private Label lblTitle, lblTotalDebt, lblSummary;
        private DateTimePicker dtpStartDate, dtpEndDate;
        private Button btnGenerateReport, btnRefreshDebt, btnRefreshPayments, btnClose;
        private TabControl tabControl;
        private TabPage tabDebt, tabPayments, tabReceipts;

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

        private void InitializeComponent()
        {
            this.dgvDebt = new DataGridView();
            this.dgvPayments = new DataGridView();
            this.dgvReceipts = new DataGridView();
            this.lblTitle = new Label();
            this.lblTotalDebt = new Label();
            this.lblSummary = new Label();
            this.dtpStartDate = new DateTimePicker();
            this.dtpEndDate = new DateTimePicker();
            this.btnGenerateReport = new Button();
            this.btnRefreshDebt = new Button();
            this.btnRefreshPayments = new Button();
            this.btnClose = new Button();
            this.tabControl = new TabControl();
            this.tabDebt = new TabPage();
            this.tabPayments = new TabPage();
            this.tabReceipts = new TabPage();

            ((System.ComponentModel.ISupportInitialize)(this.dgvDebt)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgvPayments)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgvReceipts)).BeginInit();
            this.tabControl.SuspendLayout();
            this.tabDebt.SuspendLayout();
            this.tabPayments.SuspendLayout();
            this.tabReceipts.SuspendLayout();
            this.SuspendLayout();

            // lblTitle
            this.lblTitle.Text = "Аналитические отчёты ЖКХ";
            this.lblTitle.Font = new System.Drawing.Font("Segoe UI", 16, System.Drawing.FontStyle.Bold);
            this.lblTitle.Location = new System.Drawing.Point(20, 20);
            this.lblTitle.Size = new System.Drawing.Size(400, 40);
            this.lblTitle.ForeColor = System.Drawing.Color.DarkBlue;

            // btnClose
            this.btnClose.Text = "Закрыть";
            this.btnClose.Location = new System.Drawing.Point(850, 25);
            this.btnClose.Size = new System.Drawing.Size(100, 35);
            this.btnClose.BackColor = System.Drawing.Color.LightCoral;
            this.btnClose.Click += BtnClose_Click;

            // tabControl
            this.tabControl.Location = new System.Drawing.Point(20, 80);
            this.tabControl.Size = new System.Drawing.Size(960, 520);

            // tabDebt
            this.tabDebt.Text = "Задолженность по квартирам";
            this.dgvDebt.Dock = DockStyle.Fill;
            this.dgvDebt.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            this.dgvDebt.ReadOnly = true;
            this.tabDebt.Controls.Add(this.dgvDebt);
            this.tabDebt.Controls.Add(this.lblTotalDebt);

            this.lblTotalDebt.Location = new System.Drawing.Point(10, 440);
            this.lblTotalDebt.Size = new System.Drawing.Size(400, 30);
            this.lblTotalDebt.Font = new System.Drawing.Font("Segoe UI", 10, System.Drawing.FontStyle.Bold);

            this.btnRefreshDebt.Text = "Обновить";
            this.btnRefreshDebt.Location = new System.Drawing.Point(800, 440);
            this.btnRefreshDebt.Size = new System.Drawing.Size(120, 30);
            this.btnRefreshDebt.Click += BtnRefreshDebt_Click;
            this.tabDebt.Controls.Add(this.btnRefreshDebt);

            // tabPayments
            this.tabPayments.Text = "История платежей";
            this.dgvPayments.Dock = DockStyle.Fill;
            this.dgvPayments.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            this.dgvPayments.ReadOnly = true;
            this.tabPayments.Controls.Add(this.dgvPayments);

            this.btnRefreshPayments.Text = "Обновить";
            this.btnRefreshPayments.Location = new System.Drawing.Point(800, 440);
            this.btnRefreshPayments.Size = new System.Drawing.Size(120, 30);
            this.btnRefreshPayments.Click += BtnRefreshPayments_Click;
            this.tabPayments.Controls.Add(this.btnRefreshPayments);

            // tabReceipts
            this.tabReceipts.Text = "Квитанции за период";
            this.dgvReceipts.Dock = DockStyle.Fill;
            this.dgvReceipts.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            this.dgvReceipts.ReadOnly = true;
            this.tabReceipts.Controls.Add(this.dgvReceipts);
            this.tabReceipts.Controls.Add(this.lblSummary);
            this.tabReceipts.Controls.Add(this.dtpStartDate);
            this.tabReceipts.Controls.Add(this.dtpEndDate);
            this.tabReceipts.Controls.Add(this.btnGenerateReport);

            this.dtpStartDate.Location = new System.Drawing.Point(10, 10);
            this.dtpStartDate.Size = new System.Drawing.Size(120, 25);
            this.dtpStartDate.Value = new DateTime(2024, 1, 1);

            this.dtpEndDate.Location = new System.Drawing.Point(140, 10);
            this.dtpEndDate.Size = new System.Drawing.Size(120, 25);
            this.dtpEndDate.Value = DateTime.Now;

            this.btnGenerateReport.Text = "Сформировать";
            this.btnGenerateReport.Location = new System.Drawing.Point(270, 8);
            this.btnGenerateReport.Size = new System.Drawing.Size(120, 30);
            this.btnGenerateReport.Click += BtnGenerateReport_Click;

            this.lblSummary.Location = new System.Drawing.Point(10, 450);
            this.lblSummary.Size = new System.Drawing.Size(600, 30);
            this.lblSummary.Font = new System.Drawing.Font("Segoe UI", 10, System.Drawing.FontStyle.Bold);

            this.tabControl.Controls.Add(this.tabDebt);
            this.tabControl.Controls.Add(this.tabPayments);
            this.tabControl.Controls.Add(this.tabReceipts);

            // ReportForm
            this.Text = "ЖКХ - Отчёты";
            this.Size = new System.Drawing.Size(1020, 650);
            this.StartPosition = FormStartPosition.CenterScreen;
            this.BackColor = System.Drawing.Color.WhiteSmoke;

            this.Controls.Add(this.lblTitle);
            this.Controls.Add(this.btnClose);
            this.Controls.Add(this.tabControl);

            ((System.ComponentModel.ISupportInitialize)(this.dgvDebt)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgvPayments)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgvReceipts)).EndInit();
            this.tabControl.ResumeLayout(false);
            this.tabDebt.ResumeLayout(false);
            this.tabPayments.ResumeLayout(false);
            this.tabReceipts.ResumeLayout(false);
            this.ResumeLayout(false);
        }
    }
}