| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282 |
- namespace WindowsFormsApp4
- {
- partial class ReaderMainForm
- {
- private System.ComponentModel.IContainer components = null;
- // Новые элементы хедера
- private System.Windows.Forms.Panel headerPanel;
- private System.Windows.Forms.PictureBox pictureBoxLogo;
- private System.Windows.Forms.Label headerTitle;
- private System.Windows.Forms.Label labelLibraryName;
- // Существующие элементы
- private System.Windows.Forms.Label labelWelcome;
- private System.Windows.Forms.TextBox txtSearch;
- private System.Windows.Forms.Button btnSearch;
- private System.Windows.Forms.DataGridView dataGridViewBooks;
- private System.Windows.Forms.TabControl tabControl;
- private System.Windows.Forms.TabPage tabPageSearch;
- private System.Windows.Forms.TabPage tabPageMyBooks;
- private System.Windows.Forms.DataGridView dataGridViewMyLoans;
- private System.Windows.Forms.Button btnExtend;
- private System.Windows.Forms.Button btnLogout;
- private System.Windows.Forms.Label labelTitle; // оставим для совместимости, но не используем
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReaderMainForm));
- this.headerPanel = new System.Windows.Forms.Panel();
- this.pictureBoxLogo = new System.Windows.Forms.PictureBox();
- this.headerTitle = new System.Windows.Forms.Label();
- this.labelLibraryName = new System.Windows.Forms.Label();
- this.btnLogout = new System.Windows.Forms.Button();
- this.labelWelcome = new System.Windows.Forms.Label();
- this.txtSearch = new System.Windows.Forms.TextBox();
- this.btnSearch = new System.Windows.Forms.Button();
- this.dataGridViewBooks = new System.Windows.Forms.DataGridView();
- this.tabControl = new System.Windows.Forms.TabControl();
- this.tabPageSearch = new System.Windows.Forms.TabPage();
- this.tabPageMyBooks = new System.Windows.Forms.TabPage();
- this.dataGridViewMyLoans = new System.Windows.Forms.DataGridView();
- this.btnExtend = new System.Windows.Forms.Button();
- this.labelTitle = new System.Windows.Forms.Label();
- this.headerPanel.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBoxLogo)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewBooks)).BeginInit();
- this.tabControl.SuspendLayout();
- this.tabPageSearch.SuspendLayout();
- this.tabPageMyBooks.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewMyLoans)).BeginInit();
- this.SuspendLayout();
- //
- // headerPanel
- //
- this.headerPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
- this.headerPanel.Controls.Add(this.pictureBoxLogo);
- this.headerPanel.Controls.Add(this.headerTitle);
- this.headerPanel.Controls.Add(this.labelLibraryName);
- this.headerPanel.Controls.Add(this.btnLogout);
- this.headerPanel.Controls.Add(this.labelWelcome);
- this.headerPanel.Dock = System.Windows.Forms.DockStyle.Top;
- this.headerPanel.Location = new System.Drawing.Point(0, 0);
- this.headerPanel.Name = "headerPanel";
- this.headerPanel.Size = new System.Drawing.Size(950, 110);
- this.headerPanel.TabIndex = 100;
- //
- // pictureBoxLogo
- //
- this.pictureBoxLogo.BackColor = System.Drawing.Color.Transparent;
- this.pictureBoxLogo.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxLogo.Image")));
- this.pictureBoxLogo.Location = new System.Drawing.Point(20, 15);
- this.pictureBoxLogo.Name = "pictureBoxLogo";
- this.pictureBoxLogo.Size = new System.Drawing.Size(80, 80);
- this.pictureBoxLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.pictureBoxLogo.TabIndex = 0;
- this.pictureBoxLogo.TabStop = false;
- //
- // headerTitle
- //
- this.headerTitle.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold);
- this.headerTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
- this.headerTitle.Location = new System.Drawing.Point(120, 20);
- this.headerTitle.Name = "headerTitle";
- this.headerTitle.Size = new System.Drawing.Size(500, 40);
- this.headerTitle.TabIndex = 5;
- this.headerTitle.Text = "Библиотечный фонд города";
- this.headerTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // labelLibraryName
- //
- this.labelLibraryName.AutoSize = true;
- this.labelLibraryName.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
- this.labelLibraryName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
- this.labelLibraryName.Location = new System.Drawing.Point(122, 65);
- this.labelLibraryName.Name = "labelLibraryName";
- this.labelLibraryName.Size = new System.Drawing.Size(83, 15);
- this.labelLibraryName.TabIndex = 4;
- this.labelLibraryName.Text = "Библиотека: ";
- //
- // btnLogout
- //
- this.btnLogout.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
- this.btnLogout.FlatAppearance.BorderSize = 0;
- this.btnLogout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnLogout.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
- this.btnLogout.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
- this.btnLogout.Location = new System.Drawing.Point(769, 55);
- this.btnLogout.Name = "btnLogout";
- this.btnLogout.Size = new System.Drawing.Size(100, 30);
- this.btnLogout.TabIndex = 0;
- this.btnLogout.Text = "Выйти";
- this.btnLogout.UseVisualStyleBackColor = false;
- this.btnLogout.Click += new System.EventHandler(this.btnLogout_Click);
- //
- // labelWelcome
- //
- this.labelWelcome.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
- this.labelWelcome.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
- this.labelWelcome.Location = new System.Drawing.Point(649, 20);
- this.labelWelcome.Name = "labelWelcome";
- this.labelWelcome.Size = new System.Drawing.Size(200, 20);
- this.labelWelcome.TabIndex = 3;
- this.labelWelcome.Text = "Читатель: ";
- this.labelWelcome.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.labelWelcome.Click += new System.EventHandler(this.labelWelcome_Click);
- //
- // txtSearch
- //
- this.txtSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
- this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.txtSearch.Font = new System.Drawing.Font("Segoe UI", 11F);
- this.txtSearch.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(102)))));
- this.txtSearch.Location = new System.Drawing.Point(20, 20);
- this.txtSearch.Name = "txtSearch";
- this.txtSearch.Size = new System.Drawing.Size(400, 27);
- this.txtSearch.TabIndex = 0;
- this.txtSearch.Text = "Введите название или автора";
- //
- // btnSearch
- //
- this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
- this.btnSearch.FlatAppearance.BorderSize = 0;
- this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnSearch.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
- this.btnSearch.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
- this.btnSearch.Location = new System.Drawing.Point(440, 18);
- this.btnSearch.Name = "btnSearch";
- this.btnSearch.Size = new System.Drawing.Size(120, 30);
- this.btnSearch.TabIndex = 1;
- this.btnSearch.Text = "Найти";
- this.btnSearch.UseVisualStyleBackColor = false;
- this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
- //
- // dataGridViewBooks
- //
- this.dataGridViewBooks.AllowUserToAddRows = false;
- this.dataGridViewBooks.AllowUserToDeleteRows = false;
- this.dataGridViewBooks.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
- this.dataGridViewBooks.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
- this.dataGridViewBooks.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.dataGridViewBooks.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewBooks.Location = new System.Drawing.Point(20, 60);
- this.dataGridViewBooks.Name = "dataGridViewBooks";
- this.dataGridViewBooks.ReadOnly = true;
- this.dataGridViewBooks.RowHeadersVisible = false;
- this.dataGridViewBooks.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewBooks.Size = new System.Drawing.Size(860, 390);
- this.dataGridViewBooks.TabIndex = 2;
- //
- // tabControl
- //
- this.tabControl.Controls.Add(this.tabPageSearch);
- this.tabControl.Controls.Add(this.tabPageMyBooks);
- this.tabControl.Font = new System.Drawing.Font("Segoe UI", 9F);
- this.tabControl.Location = new System.Drawing.Point(20, 130);
- this.tabControl.Name = "tabControl";
- this.tabControl.SelectedIndex = 0;
- this.tabControl.Size = new System.Drawing.Size(910, 500);
- this.tabControl.TabIndex = 2;
- //
- // tabPageSearch
- //
- this.tabPageSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
- this.tabPageSearch.Controls.Add(this.txtSearch);
- this.tabPageSearch.Controls.Add(this.btnSearch);
- this.tabPageSearch.Controls.Add(this.dataGridViewBooks);
- this.tabPageSearch.Location = new System.Drawing.Point(4, 24);
- this.tabPageSearch.Name = "tabPageSearch";
- this.tabPageSearch.Padding = new System.Windows.Forms.Padding(3);
- this.tabPageSearch.Size = new System.Drawing.Size(902, 472);
- this.tabPageSearch.TabIndex = 0;
- this.tabPageSearch.Text = "Поиск книг";
- //
- // tabPageMyBooks
- //
- this.tabPageMyBooks.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
- this.tabPageMyBooks.Controls.Add(this.dataGridViewMyLoans);
- this.tabPageMyBooks.Controls.Add(this.btnExtend);
- this.tabPageMyBooks.Location = new System.Drawing.Point(4, 24);
- this.tabPageMyBooks.Name = "tabPageMyBooks";
- this.tabPageMyBooks.Padding = new System.Windows.Forms.Padding(3);
- this.tabPageMyBooks.Size = new System.Drawing.Size(902, 472);
- this.tabPageMyBooks.TabIndex = 1;
- this.tabPageMyBooks.Text = "Мои книги";
- //
- // dataGridViewMyLoans
- //
- this.dataGridViewMyLoans.AllowUserToAddRows = false;
- this.dataGridViewMyLoans.AllowUserToDeleteRows = false;
- this.dataGridViewMyLoans.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
- this.dataGridViewMyLoans.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(233)))), ((int)(((byte)(211)))));
- this.dataGridViewMyLoans.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.dataGridViewMyLoans.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridViewMyLoans.Location = new System.Drawing.Point(20, 20);
- this.dataGridViewMyLoans.Name = "dataGridViewMyLoans";
- this.dataGridViewMyLoans.ReadOnly = true;
- this.dataGridViewMyLoans.RowHeadersVisible = false;
- this.dataGridViewMyLoans.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewMyLoans.Size = new System.Drawing.Size(860, 400);
- this.dataGridViewMyLoans.TabIndex = 0;
- //
- // btnExtend
- //
- this.btnExtend.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(74)))), ((int)(((byte)(58)))));
- this.btnExtend.FlatAppearance.BorderSize = 0;
- this.btnExtend.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnExtend.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
- this.btnExtend.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
- this.btnExtend.Location = new System.Drawing.Point(380, 430);
- this.btnExtend.Name = "btnExtend";
- this.btnExtend.Size = new System.Drawing.Size(180, 35);
- this.btnExtend.TabIndex = 1;
- this.btnExtend.Text = "Продлить книгу";
- this.btnExtend.UseVisualStyleBackColor = false;
- this.btnExtend.Click += new System.EventHandler(this.btnExtend_Click);
- //
- // labelTitle
- //
- this.labelTitle.Location = new System.Drawing.Point(0, 0);
- this.labelTitle.Name = "labelTitle";
- this.labelTitle.Size = new System.Drawing.Size(100, 23);
- this.labelTitle.TabIndex = 101;
- this.labelTitle.Visible = false;
- //
- // ReaderMainForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(221)))), ((int)(((byte)(200)))));
- this.ClientSize = new System.Drawing.Size(950, 650);
- this.Controls.Add(this.tabControl);
- this.Controls.Add(this.headerPanel);
- this.Controls.Add(this.labelTitle);
- this.Font = new System.Drawing.Font("Segoe UI", 9F);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "ReaderMainForm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Читатель - Библиотечная система";
- this.Load += new System.EventHandler(this.ReaderMainForm_Load);
- this.headerPanel.ResumeLayout(false);
- this.headerPanel.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBoxLogo)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewBooks)).EndInit();
- this.tabControl.ResumeLayout(false);
- this.tabPageSearch.ResumeLayout(false);
- this.tabPageSearch.PerformLayout();
- this.tabPageMyBooks.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridViewMyLoans)).EndInit();
- this.ResumeLayout(false);
- }
- }
- }
|