164 lines
6.1 KiB
C#
164 lines
6.1 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()
|
||
{
|
||
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();
|
||
comboBoxLibrary = new ComboBox();
|
||
SuspendLayout();
|
||
//
|
||
// lblAuthor
|
||
//
|
||
lblAuthor.AutoSize = true;
|
||
lblAuthor.Location = new Point(19, 25);
|
||
lblAuthor.Name = "lblAuthor";
|
||
lblAuthor.Size = new Size(43, 15);
|
||
lblAuthor.TabIndex = 2;
|
||
lblAuthor.Text = "Автор:";
|
||
//
|
||
// txtAuthor
|
||
//
|
||
txtAuthor.Location = new Point(115, 25);
|
||
txtAuthor.Name = "txtAuthor";
|
||
txtAuthor.Size = new Size(200, 23);
|
||
txtAuthor.TabIndex = 3;
|
||
//
|
||
// lblName
|
||
//
|
||
lblName.AutoSize = true;
|
||
lblName.Location = new Point(19, 65);
|
||
lblName.Name = "lblName";
|
||
lblName.Size = new Size(62, 15);
|
||
lblName.TabIndex = 4;
|
||
lblName.Text = "Название:";
|
||
//
|
||
// txtName
|
||
//
|
||
txtName.Location = new Point(115, 65);
|
||
txtName.Name = "txtName";
|
||
txtName.Size = new Size(200, 23);
|
||
txtName.TabIndex = 5;
|
||
//
|
||
// lblType
|
||
//
|
||
lblType.AutoSize = true;
|
||
lblType.Location = new Point(19, 105);
|
||
lblType.Name = "lblType";
|
||
lblType.Size = new Size(30, 15);
|
||
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(115, 102);
|
||
cmbType.Name = "cmbType";
|
||
cmbType.Size = new Size(200, 23);
|
||
cmbType.TabIndex = 7;
|
||
//
|
||
// lblLibraryId
|
||
//
|
||
lblLibraryId.AutoSize = true;
|
||
lblLibraryId.Location = new Point(19, 145);
|
||
lblLibraryId.Name = "lblLibraryId";
|
||
lblLibraryId.Size = new Size(90, 15);
|
||
lblLibraryId.TabIndex = 8;
|
||
lblLibraryId.Text = "ID библиотеки:";
|
||
//
|
||
// btnSave
|
||
//
|
||
btnSave.Location = new Point(19, 185);
|
||
btnSave.Name = "btnSave";
|
||
btnSave.Size = new Size(100, 30);
|
||
btnSave.TabIndex = 10;
|
||
btnSave.Text = "Сохранить";
|
||
btnSave.UseVisualStyleBackColor = true;
|
||
btnSave.Click += btnSave_Click;
|
||
//
|
||
// buttonCancel_Click
|
||
//
|
||
buttonCancel_Click.Location = new Point(239, 185);
|
||
buttonCancel_Click.Name = "buttonCancel_Click";
|
||
buttonCancel_Click.Size = new Size(100, 30);
|
||
buttonCancel_Click.TabIndex = 11;
|
||
buttonCancel_Click.Text = "Отмена";
|
||
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;
|
||
//
|
||
// FBook
|
||
//
|
||
ClientSize = new Size(400, 300);
|
||
Controls.Add(comboBoxLibrary);
|
||
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;
|
||
private ComboBox comboBoxLibrary;
|
||
}
|
||
}
|