123 lines
3.8 KiB
C#
123 lines
3.8 KiB
C#
namespace ProjectLibrary.Forms
|
|
{
|
|
partial class FLibrary
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
private Label lblId;
|
|
private TextBox txtId;
|
|
private Label lblName;
|
|
private TextBox txtName;
|
|
private Label lblAddress;
|
|
private TextBox txtAddress;
|
|
private Button btnSave;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
lblId = new Label();
|
|
txtId = new TextBox();
|
|
lblName = new Label();
|
|
txtName = new TextBox();
|
|
lblAddress = new Label();
|
|
txtAddress = 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;
|
|
//
|
|
// lblName
|
|
//
|
|
lblName.AutoSize = true;
|
|
lblName.Location = new Point(20, 60);
|
|
lblName.Name = "lblName";
|
|
lblName.Size = new Size(42, 20);
|
|
lblName.TabIndex = 2;
|
|
lblName.Text = "Имя:";
|
|
//
|
|
// txtName
|
|
//
|
|
txtName.Location = new Point(100, 60);
|
|
txtName.Name = "txtName";
|
|
txtName.Size = new Size(200, 27);
|
|
txtName.TabIndex = 3;
|
|
//
|
|
// lblAddress
|
|
//
|
|
lblAddress.AutoSize = true;
|
|
lblAddress.Location = new Point(20, 100);
|
|
lblAddress.Name = "lblAddress";
|
|
lblAddress.Size = new Size(54, 20);
|
|
lblAddress.TabIndex = 4;
|
|
lblAddress.Text = "Адрес:";
|
|
//
|
|
// txtAddress
|
|
//
|
|
txtAddress.Location = new Point(100, 100);
|
|
txtAddress.Name = "txtAddress";
|
|
txtAddress.Size = new Size(200, 27);
|
|
txtAddress.TabIndex = 5;
|
|
//
|
|
// btnSave
|
|
//
|
|
btnSave.Location = new Point(20, 133);
|
|
btnSave.Name = "btnSave";
|
|
btnSave.Size = new Size(100, 30);
|
|
btnSave.TabIndex = 6;
|
|
btnSave.Text = "Сохранить";
|
|
btnSave.Click += btnSave_Click;
|
|
//
|
|
// buttonCancel_Click
|
|
//
|
|
buttonCancel_Click.Location = new Point(200, 133);
|
|
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;
|
|
//
|
|
// FLibrary
|
|
//
|
|
ClientSize = new Size(400, 200);
|
|
Controls.Add(buttonCancel_Click);
|
|
Controls.Add(lblId);
|
|
Controls.Add(txtId);
|
|
Controls.Add(lblName);
|
|
Controls.Add(txtName);
|
|
Controls.Add(lblAddress);
|
|
Controls.Add(txtAddress);
|
|
Controls.Add(btnSave);
|
|
Name = "FLibrary";
|
|
Text = "Библиотека";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
private Button buttonCancel_Click;
|
|
}
|
|
}
|