using System.Windows.Forms;

namespace ZhkhApp
{
    partial class OperatorForm
    {
        private System.ComponentModel.IContainer components = null;
        private DataGridView dgvList;
        private ComboBox cbTables;
        private Button btnLoad, btnAdd, btnEdit, btnDelete, btnRefresh, btnLogout, btnPayments;
        private Label lblTitle, lblUserInfo;
        private Button btnReports;

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

        private void InitializeComponent()
        {
            this.dgvList = new DataGridView();
            this.cbTables = new ComboBox();
            this.btnLoad = new Button();
            this.btnAdd = new Button();
            this.btnEdit = new Button();
            this.btnDelete = new Button();
            this.btnRefresh = new Button();
            this.btnPayments = new Button();
            this.btnLogout = new Button();
            this.lblTitle = new Label();
            this.lblUserInfo = new Label();
            this.btnReports = new Button();
            ((System.ComponentModel.ISupportInitialize)(this.dgvList)).BeginInit();
            this.SuspendLayout();

            // dgvList
            this.dgvList.Location = new System.Drawing.Point(20, 120);
            this.dgvList.Size = new System.Drawing.Size(1050, 490);
            this.dgvList.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            this.dgvList.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
            this.dgvList.MultiSelect = false;
            this.dgvList.ReadOnly = true;

            // cbTables
            this.cbTables.Location = new System.Drawing.Point(95, 73);
            this.cbTables.Size = new System.Drawing.Size(150, 28);
            this.cbTables.DropDownStyle = ComboBoxStyle.DropDownList;
            this.cbTables.SelectedIndexChanged += CbTables_SelectedIndexChanged;

            // Buttons
            this.btnLoad.Text = "Загрузить"; this.btnLoad.Location = new System.Drawing.Point(260, 70); this.btnLoad.Size = new System.Drawing.Size(90, 35); this.btnLoad.BackColor = System.Drawing.Color.LightBlue; this.btnLoad.Click += BtnLoad_Click;
            this.btnAdd.Text = "Добавить"; this.btnAdd.Location = new System.Drawing.Point(360, 70); this.btnAdd.Size = new System.Drawing.Size(90, 35); this.btnAdd.BackColor = System.Drawing.Color.LightGreen; this.btnAdd.Click += BtnAdd_Click;
            this.btnEdit.Text = "Изменить"; this.btnEdit.Location = new System.Drawing.Point(460, 70); this.btnEdit.Size = new System.Drawing.Size(90, 35); this.btnEdit.BackColor = System.Drawing.Color.LightYellow; this.btnEdit.Click += BtnEdit_Click;
            this.btnDelete.Text = "Удалить"; this.btnDelete.Location = new System.Drawing.Point(560, 70); this.btnDelete.Size = new System.Drawing.Size(90, 35); this.btnDelete.BackColor = System.Drawing.Color.LightCoral; this.btnDelete.Click += BtnDelete_Click;
            this.btnRefresh.Text = "Обновить"; this.btnRefresh.Location = new System.Drawing.Point(660, 70); this.btnRefresh.Size = new System.Drawing.Size(90, 35); this.btnRefresh.BackColor = System.Drawing.Color.LightGray; this.btnRefresh.Click += BtnRefresh_Click;
            this.btnPayments.Text = "Принять оплату"; this.btnPayments.Location = new System.Drawing.Point(760, 70); this.btnPayments.Size = new System.Drawing.Size(120, 35); this.btnPayments.BackColor = System.Drawing.Color.LightGoldenrodYellow; this.btnPayments.Click += BtnPayments_Click;
            this.btnLogout.Text = "Выход"; this.btnLogout.Location = new System.Drawing.Point(900, 70); this.btnLogout.Size = new System.Drawing.Size(90, 35); this.btnLogout.BackColor = System.Drawing.Color.IndianRed; this.btnLogout.ForeColor = System.Drawing.Color.White; this.btnLogout.Click += BtnLogout_Click;


            this.btnReports = new Button();
            this.btnReports.Text = "Отчёты";
            this.btnReports.Location = new System.Drawing.Point(700, 70);
            this.btnReports.Size = new System.Drawing.Size(100, 35);
            this.btnReports.Click += BtnReports_Click;

            // 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(600, 40);
            this.lblTitle.ForeColor = System.Drawing.Color.DarkGreen;

            // lblUserInfo
            this.lblUserInfo.Location = new System.Drawing.Point(750, 25);
            this.lblUserInfo.Size = new System.Drawing.Size(300, 30);
            this.lblUserInfo.TextAlign = System.Drawing.ContentAlignment.MiddleRight;

            // OperatorForm
            this.Text = "ЖКХ - Оператор";
            this.Size = new System.Drawing.Size(1100, 650);
            this.StartPosition = FormStartPosition.CenterScreen;
            this.BackColor = System.Drawing.Color.WhiteSmoke;

            this.Controls.Add(this.lblTitle);
            this.Controls.Add(this.lblUserInfo);
            this.Controls.Add(new Label() { Text = "Таблица:", Location = new System.Drawing.Point(20, 75), Size = new System.Drawing.Size(70, 25) });
            this.Controls.Add(this.cbTables);
            this.Controls.Add(this.btnLoad);
            this.Controls.Add(this.btnAdd);
            this.Controls.Add(this.btnEdit);
            this.Controls.Add(this.btnDelete);
            this.Controls.Add(this.btnRefresh);
            this.Controls.Add(this.btnPayments);
            this.Controls.Add(this.btnLogout);
            this.Controls.Add(this.dgvList);

            ((System.ComponentModel.ISupportInitialize)(this.dgvList)).EndInit();
            this.ResumeLayout(false);
        }
    }
}