2024-11-19 14:49:58 +04:00
|
|
|
|
namespace ProjectLibrary.Forms
|
|
|
|
|
{
|
|
|
|
|
partial class FLibrary
|
|
|
|
|
{
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
private Label lblName;
|
|
|
|
|
private TextBox txtName;
|
|
|
|
|
private Label lblAddress;
|
|
|
|
|
private TextBox txtAddress;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
private Button ButtonSave;
|
2024-11-19 14:49:58 +04:00
|
|
|
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
lblName = new Label();
|
|
|
|
|
txtName = new TextBox();
|
|
|
|
|
lblAddress = new Label();
|
|
|
|
|
txtAddress = new TextBox();
|
2024-11-20 19:31:06 +04:00
|
|
|
|
ButtonSave = new Button();
|
2024-11-19 14:49:58 +04:00
|
|
|
|
buttonCancel_Click = new Button();
|
2024-11-20 19:31:06 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
Book = new DataGridViewComboBoxColumn();
|
|
|
|
|
Count = new DataGridViewTextBoxColumn();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
2024-11-19 14:49:58 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// lblName
|
|
|
|
|
//
|
|
|
|
|
lblName.AutoSize = true;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblName.Location = new Point(20, 9);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
lblName.Name = "lblName";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblName.Size = new Size(62, 15);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
lblName.TabIndex = 2;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblName.Text = "Название:";
|
2024-11-19 14:49:58 +04:00
|
|
|
|
//
|
|
|
|
|
// txtName
|
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
txtName.Location = new Point(100, 12);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
txtName.Name = "txtName";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
txtName.Size = new Size(200, 23);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
txtName.TabIndex = 3;
|
|
|
|
|
//
|
|
|
|
|
// lblAddress
|
|
|
|
|
//
|
|
|
|
|
lblAddress.AutoSize = true;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblAddress.Location = new Point(20, 49);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
lblAddress.Name = "lblAddress";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblAddress.Size = new Size(43, 15);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
lblAddress.TabIndex = 4;
|
|
|
|
|
lblAddress.Text = "Адрес:";
|
|
|
|
|
//
|
|
|
|
|
// txtAddress
|
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
txtAddress.Location = new Point(100, 49);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
txtAddress.Name = "txtAddress";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
txtAddress.Size = new Size(200, 23);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
txtAddress.TabIndex = 5;
|
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
// ButtonSave
|
2024-11-19 14:49:58 +04:00
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
ButtonSave.Location = new Point(20, 224);
|
|
|
|
|
ButtonSave.Name = "ButtonSave";
|
|
|
|
|
ButtonSave.Size = new Size(100, 27);
|
|
|
|
|
ButtonSave.TabIndex = 14;
|
|
|
|
|
ButtonSave.Text = "Сохранить";
|
|
|
|
|
ButtonSave.Click += ButtonSave_Click;
|
2024-11-19 14:49:58 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonCancel_Click
|
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
buttonCancel_Click.Location = new Point(200, 222);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
buttonCancel_Click.Name = "buttonCancel_Click";
|
|
|
|
|
buttonCancel_Click.Size = new Size(100, 30);
|
|
|
|
|
buttonCancel_Click.TabIndex = 10;
|
|
|
|
|
buttonCancel_Click.Text = "Отмена";
|
|
|
|
|
buttonCancel_Click.Click += buttonCancel_Click_Click;
|
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { Book, Count });
|
|
|
|
|
dataGridView.Location = new Point(20, 93);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.Size = new Size(280, 123);
|
|
|
|
|
dataGridView.TabIndex = 13;
|
|
|
|
|
//
|
|
|
|
|
// Book
|
|
|
|
|
//
|
|
|
|
|
Book.HeaderText = "Book";
|
|
|
|
|
Book.MinimumWidth = 6;
|
|
|
|
|
Book.Name = "Book";
|
|
|
|
|
Book.SortMode = DataGridViewColumnSortMode.Automatic;
|
|
|
|
|
Book.Width = 125;
|
|
|
|
|
//
|
|
|
|
|
// Count
|
|
|
|
|
//
|
|
|
|
|
Count.HeaderText = "Count";
|
|
|
|
|
Count.MinimumWidth = 6;
|
|
|
|
|
Count.Name = "Count";
|
|
|
|
|
Count.Width = 125;
|
|
|
|
|
//
|
2024-11-19 14:49:58 +04:00
|
|
|
|
// FLibrary
|
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
ClientSize = new Size(400, 436);
|
|
|
|
|
Controls.Add(dataGridView);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
Controls.Add(buttonCancel_Click);
|
|
|
|
|
Controls.Add(lblName);
|
|
|
|
|
Controls.Add(txtName);
|
|
|
|
|
Controls.Add(lblAddress);
|
|
|
|
|
Controls.Add(txtAddress);
|
2024-11-20 19:31:06 +04:00
|
|
|
|
Controls.Add(ButtonSave);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
Name = "FLibrary";
|
|
|
|
|
Text = "Библиотека";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
2024-11-19 14:49:58 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Button buttonCancel_Click;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private DataGridViewComboBoxColumn Book;
|
|
|
|
|
private DataGridViewTextBoxColumn Count;
|
2024-11-19 14:49:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|