using System.Windows.Forms;

namespace ZhkhApp
{
    partial class LogForm
    {
        private DataGridView dgvLog;
        private Button btnRefresh, btnClose;
        private Label lblTitle;

        private void InitializeComponent()
        {
            this.dgvLog = new DataGridView();
            this.btnRefresh = new Button();
            this.btnClose = new Button();
            this.lblTitle = new Label();
            ((System.ComponentModel.ISupportInitialize)(this.dgvLog)).BeginInit();
            this.SuspendLayout();

            this.Text = "Журнал операций";
            this.Size = new System.Drawing.Size(1000, 500);
            this.StartPosition = FormStartPosition.CenterScreen;

            this.lblTitle.Text = "Журнал изменений квитанций";
            this.lblTitle.Font = new System.Drawing.Font("Segoe UI", 14, System.Drawing.FontStyle.Bold);
            this.lblTitle.Location = new System.Drawing.Point(20, 20);
            this.lblTitle.Size = new System.Drawing.Size(400, 30);

            this.dgvLog.Location = new System.Drawing.Point(20, 60);
            this.dgvLog.Size = new System.Drawing.Size(950, 380);
            this.dgvLog.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            this.dgvLog.ReadOnly = true;

            this.btnRefresh.Text = "Обновить";
            this.btnRefresh.Location = new System.Drawing.Point(800, 450);
            this.btnRefresh.Size = new System.Drawing.Size(80, 30);
            this.btnRefresh.Click += BtnRefresh_Click;

            this.btnClose.Text = "Закрыть";
            this.btnClose.Location = new System.Drawing.Point(890, 450);
            this.btnClose.Size = new System.Drawing.Size(80, 30);
            this.btnClose.Click += BtnClose_Click;

            this.Controls.Add(this.lblTitle);
            this.Controls.Add(this.dgvLog);
            this.Controls.Add(this.btnRefresh);
            this.Controls.Add(this.btnClose);

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