184 lines
6.6 KiB
C#
184 lines
6.6 KiB
C#
|
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()
|
|||
|
{
|
|||
|
lblId = new Label();
|
|||
|
txtId = new TextBox();
|
|||
|
lblAuthor = new Label();
|
|||
|
txtAuthor = new TextBox();
|
|||
|
lblName = new Label();
|
|||
|
txtName = new TextBox();
|
|||
|
lblType = new Label();
|
|||
|
cmbType = new ComboBox();
|
|||
|
lblLibraryId = new Label();
|
|||
|
txtLibraryId = new TextBox();
|
|||
|
btnSave = new Button();
|
|||
|
buttonCancel_Click = new Button();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// lblId
|
|||
|
//
|
|||
|
lblId.AutoSize = true;
|
|||
|
lblId.Location = new Point(20, 20);
|
|||
|
lblId.Name = "lblId";
|
|||
|
lblId.Size = new Size(27, 20);
|
|||
|
lblId.TabIndex = 0;
|
|||
|
lblId.Text = "ID:";
|
|||
|
//
|
|||
|
// txtId
|
|||
|
//
|
|||
|
txtId.Location = new Point(100, 20);
|
|||
|
txtId.Name = "txtId";
|
|||
|
txtId.ReadOnly = true;
|
|||
|
txtId.Size = new Size(200, 27);
|
|||
|
txtId.TabIndex = 1;
|
|||
|
//
|
|||
|
// lblAuthor
|
|||
|
//
|
|||
|
lblAuthor.AutoSize = true;
|
|||
|
lblAuthor.Location = new Point(20, 60);
|
|||
|
lblAuthor.Name = "lblAuthor";
|
|||
|
lblAuthor.Size = new Size(54, 20);
|
|||
|
lblAuthor.TabIndex = 2;
|
|||
|
lblAuthor.Text = "Автор:";
|
|||
|
//
|
|||
|
// txtAuthor
|
|||
|
//
|
|||
|
txtAuthor.Location = new Point(100, 60);
|
|||
|
txtAuthor.Name = "txtAuthor";
|
|||
|
txtAuthor.Size = new Size(200, 27);
|
|||
|
txtAuthor.TabIndex = 3;
|
|||
|
//
|
|||
|
// lblName
|
|||
|
//
|
|||
|
lblName.AutoSize = true;
|
|||
|
lblName.Location = new Point(20, 100);
|
|||
|
lblName.Name = "lblName";
|
|||
|
lblName.Size = new Size(80, 20);
|
|||
|
lblName.TabIndex = 4;
|
|||
|
lblName.Text = "Название:";
|
|||
|
//
|
|||
|
// txtName
|
|||
|
//
|
|||
|
txtName.Location = new Point(100, 100);
|
|||
|
txtName.Name = "txtName";
|
|||
|
txtName.Size = new Size(200, 27);
|
|||
|
txtName.TabIndex = 5;
|
|||
|
//
|
|||
|
// lblType
|
|||
|
//
|
|||
|
lblType.AutoSize = true;
|
|||
|
lblType.Location = new Point(20, 140);
|
|||
|
lblType.Name = "lblType";
|
|||
|
lblType.Size = new Size(38, 20);
|
|||
|
lblType.TabIndex = 6;
|
|||
|
lblType.Text = "Тип:";
|
|||
|
//
|
|||
|
// cmbType
|
|||
|
//
|
|||
|
cmbType.DropDownStyle = ComboBoxStyle.DropDownList;
|
|||
|
cmbType.FormattingEnabled = true;
|
|||
|
cmbType.Items.AddRange(new object[] { "Fiction", "Non-Fiction", "Science", "Biography" });
|
|||
|
cmbType.Location = new Point(100, 140);
|
|||
|
cmbType.Name = "cmbType";
|
|||
|
cmbType.Size = new Size(200, 28);
|
|||
|
cmbType.TabIndex = 7;
|
|||
|
//
|
|||
|
// lblLibraryId
|
|||
|
//
|
|||
|
lblLibraryId.AutoSize = true;
|
|||
|
lblLibraryId.Location = new Point(20, 180);
|
|||
|
lblLibraryId.Name = "lblLibraryId";
|
|||
|
lblLibraryId.Size = new Size(114, 20);
|
|||
|
lblLibraryId.TabIndex = 8;
|
|||
|
lblLibraryId.Text = "ID библиотеки:";
|
|||
|
//
|
|||
|
// txtLibraryId
|
|||
|
//
|
|||
|
txtLibraryId.Location = new Point(140, 177);
|
|||
|
txtLibraryId.Name = "txtLibraryId";
|
|||
|
txtLibraryId.Size = new Size(200, 27);
|
|||
|
txtLibraryId.TabIndex = 9;
|
|||
|
//
|
|||
|
// btnSave
|
|||
|
//
|
|||
|
btnSave.Location = new Point(20, 220);
|
|||
|
btnSave.Name = "btnSave";
|
|||
|
btnSave.Size = new Size(100, 30);
|
|||
|
btnSave.TabIndex = 10;
|
|||
|
btnSave.Text = "Сохранить";
|
|||
|
btnSave.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// buttonCancel_Click
|
|||
|
//
|
|||
|
buttonCancel_Click.Location = new Point(240, 220);
|
|||
|
buttonCancel_Click.Name = "buttonCancel_Click";
|
|||
|
buttonCancel_Click.Size = new Size(100, 30);
|
|||
|
buttonCancel_Click.TabIndex = 11;
|
|||
|
buttonCancel_Click.Text = "Отмена";
|
|||
|
buttonCancel_Click.Click += buttonCancel_Click_Click;
|
|||
|
//
|
|||
|
// FBook
|
|||
|
//
|
|||
|
ClientSize = new Size(400, 300);
|
|||
|
Controls.Add(buttonCancel_Click);
|
|||
|
Controls.Add(lblId);
|
|||
|
Controls.Add(txtId);
|
|||
|
Controls.Add(lblAuthor);
|
|||
|
Controls.Add(txtAuthor);
|
|||
|
Controls.Add(lblName);
|
|||
|
Controls.Add(txtName);
|
|||
|
Controls.Add(lblType);
|
|||
|
Controls.Add(cmbType);
|
|||
|
Controls.Add(lblLibraryId);
|
|||
|
Controls.Add(txtLibraryId);
|
|||
|
Controls.Add(btnSave);
|
|||
|
Name = "FBook";
|
|||
|
Text = "Книга";
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.Label lblId;
|
|||
|
private System.Windows.Forms.TextBox txtId;
|
|||
|
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.TextBox txtLibraryId;
|
|||
|
private System.Windows.Forms.Button btnSave;
|
|||
|
private Button buttonCancel_Click;
|
|||
|
}
|
|||
|
}
|