2024-11-19 14:49:58 +04:00
|
|
|
|
namespace ProjectLibrary.Forms
|
|
|
|
|
{
|
|
|
|
|
partial class FBook
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Обязательная переменная конструктора
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Очистка всех используемых ресурсов
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true, если управляемые ресурсы нужно освободить; иначе false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Код, автоматически созданный конструктором Windows Form Designer
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Требуемый метод для поддержки конструктора - не изменяйте
|
|
|
|
|
/// содержимое этого метода с помощью редактора кода.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
lblAuthor = new Label();
|
|
|
|
|
txtAuthor = new TextBox();
|
|
|
|
|
lblName = new Label();
|
|
|
|
|
txtName = new TextBox();
|
|
|
|
|
lblType = new Label();
|
|
|
|
|
cmbType = new ComboBox();
|
|
|
|
|
lblLibraryId = new Label();
|
|
|
|
|
btnSave = new Button();
|
|
|
|
|
buttonCancel_Click = new Button();
|
2024-11-20 19:31:06 +04:00
|
|
|
|
comboBoxLibrary = new ComboBox();
|
2024-11-19 14:49:58 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// lblAuthor
|
|
|
|
|
//
|
|
|
|
|
lblAuthor.AutoSize = true;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblAuthor.Location = new Point(19, 25);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
lblAuthor.Name = "lblAuthor";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblAuthor.Size = new Size(43, 15);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
lblAuthor.TabIndex = 2;
|
|
|
|
|
lblAuthor.Text = "Автор:";
|
|
|
|
|
//
|
|
|
|
|
// txtAuthor
|
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
txtAuthor.Location = new Point(115, 25);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
txtAuthor.Name = "txtAuthor";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
txtAuthor.Size = new Size(200, 23);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
txtAuthor.TabIndex = 3;
|
|
|
|
|
//
|
|
|
|
|
// lblName
|
|
|
|
|
//
|
|
|
|
|
lblName.AutoSize = true;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblName.Location = new Point(19, 65);
|
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 = 4;
|
|
|
|
|
lblName.Text = "Название:";
|
|
|
|
|
//
|
|
|
|
|
// txtName
|
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
txtName.Location = new Point(115, 65);
|
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 = 5;
|
|
|
|
|
//
|
|
|
|
|
// lblType
|
|
|
|
|
//
|
|
|
|
|
lblType.AutoSize = true;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblType.Location = new Point(19, 105);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
lblType.Name = "lblType";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblType.Size = new Size(30, 15);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
lblType.TabIndex = 6;
|
|
|
|
|
lblType.Text = "Тип:";
|
|
|
|
|
//
|
|
|
|
|
// cmbType
|
|
|
|
|
//
|
|
|
|
|
cmbType.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
cmbType.FormattingEnabled = true;
|
|
|
|
|
cmbType.Items.AddRange(new object[] { "Fiction", "Non-Fiction", "Science", "Biography" });
|
2024-11-20 19:31:06 +04:00
|
|
|
|
cmbType.Location = new Point(115, 102);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
cmbType.Name = "cmbType";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
cmbType.Size = new Size(200, 23);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
cmbType.TabIndex = 7;
|
|
|
|
|
//
|
|
|
|
|
// lblLibraryId
|
|
|
|
|
//
|
|
|
|
|
lblLibraryId.AutoSize = true;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblLibraryId.Location = new Point(19, 145);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
lblLibraryId.Name = "lblLibraryId";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
lblLibraryId.Size = new Size(90, 15);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
lblLibraryId.TabIndex = 8;
|
|
|
|
|
lblLibraryId.Text = "ID библиотеки:";
|
|
|
|
|
//
|
|
|
|
|
// btnSave
|
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
btnSave.Location = new Point(19, 185);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
btnSave.Name = "btnSave";
|
|
|
|
|
btnSave.Size = new Size(100, 30);
|
|
|
|
|
btnSave.TabIndex = 10;
|
|
|
|
|
btnSave.Text = "Сохранить";
|
|
|
|
|
btnSave.UseVisualStyleBackColor = true;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
btnSave.Click += btnSave_Click;
|
2024-11-19 14:49:58 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonCancel_Click
|
|
|
|
|
//
|
2024-11-20 19:31:06 +04:00
|
|
|
|
buttonCancel_Click.Location = new Point(239, 185);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
buttonCancel_Click.Name = "buttonCancel_Click";
|
|
|
|
|
buttonCancel_Click.Size = new Size(100, 30);
|
|
|
|
|
buttonCancel_Click.TabIndex = 11;
|
|
|
|
|
buttonCancel_Click.Text = "Отмена";
|
2024-11-20 19:31:06 +04:00
|
|
|
|
buttonCancel_Click.Click += ButtonCancel_Click;
|
|
|
|
|
//
|
|
|
|
|
// comboBoxLibrary
|
|
|
|
|
//
|
|
|
|
|
comboBoxLibrary.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxLibrary.FormattingEnabled = true;
|
|
|
|
|
comboBoxLibrary.Items.AddRange(new object[] { "Fiction", "Non-Fiction", "Science", "Biography" });
|
|
|
|
|
comboBoxLibrary.Location = new Point(115, 145);
|
|
|
|
|
comboBoxLibrary.Name = "comboBoxLibrary";
|
|
|
|
|
comboBoxLibrary.Size = new Size(200, 23);
|
|
|
|
|
comboBoxLibrary.TabIndex = 12;
|
2024-11-19 14:49:58 +04:00
|
|
|
|
//
|
|
|
|
|
// FBook
|
|
|
|
|
//
|
|
|
|
|
ClientSize = new Size(400, 300);
|
2024-11-20 19:31:06 +04:00
|
|
|
|
Controls.Add(comboBoxLibrary);
|
2024-11-19 14:49:58 +04:00
|
|
|
|
Controls.Add(buttonCancel_Click);
|
|
|
|
|
Controls.Add(lblAuthor);
|
|
|
|
|
Controls.Add(txtAuthor);
|
|
|
|
|
Controls.Add(lblName);
|
|
|
|
|
Controls.Add(txtName);
|
|
|
|
|
Controls.Add(lblType);
|
|
|
|
|
Controls.Add(cmbType);
|
|
|
|
|
Controls.Add(lblLibraryId);
|
|
|
|
|
Controls.Add(btnSave);
|
|
|
|
|
Name = "FBook";
|
|
|
|
|
Text = "Книга";
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private System.Windows.Forms.Label lblAuthor;
|
|
|
|
|
private System.Windows.Forms.TextBox txtAuthor;
|
|
|
|
|
private System.Windows.Forms.Label lblName;
|
|
|
|
|
private System.Windows.Forms.TextBox txtName;
|
|
|
|
|
private System.Windows.Forms.Label lblType;
|
|
|
|
|
private System.Windows.Forms.ComboBox cmbType;
|
|
|
|
|
private System.Windows.Forms.Label lblLibraryId;
|
|
|
|
|
private System.Windows.Forms.Button btnSave;
|
|
|
|
|
private Button buttonCancel_Click;
|
2024-11-20 19:31:06 +04:00
|
|
|
|
private ComboBox comboBoxLibrary;
|
2024-11-19 14:49:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|