145 lines
4.9 KiB
C#
145 lines
4.9 KiB
C#
namespace ProjectLibrary.Forms
|
|
{
|
|
partial class FReader
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
private Label lblId;
|
|
private TextBox txtId;
|
|
private Label lblName;
|
|
private TextBox txtName;
|
|
private Label lblReaderTicket;
|
|
private TextBox txtReaderTicket;
|
|
private Label lblRegistrationDate;
|
|
private TextBox txtRegistrationDate;
|
|
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();
|
|
lblReaderTicket = new Label();
|
|
txtReaderTicket = new TextBox();
|
|
lblRegistrationDate = new Label();
|
|
txtRegistrationDate = 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(177, 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(177, 60);
|
|
txtName.Name = "txtName";
|
|
txtName.Size = new Size(200, 27);
|
|
txtName.TabIndex = 3;
|
|
//
|
|
// lblReaderTicket
|
|
//
|
|
lblReaderTicket.AutoSize = true;
|
|
lblReaderTicket.Location = new Point(20, 100);
|
|
lblReaderTicket.Name = "lblReaderTicket";
|
|
lblReaderTicket.Size = new Size(151, 20);
|
|
lblReaderTicket.TabIndex = 4;
|
|
lblReaderTicket.Text = "Читательский билет:";
|
|
//
|
|
// txtReaderTicket
|
|
//
|
|
txtReaderTicket.Location = new Point(177, 100);
|
|
txtReaderTicket.Name = "txtReaderTicket";
|
|
txtReaderTicket.Size = new Size(200, 27);
|
|
txtReaderTicket.TabIndex = 5;
|
|
//
|
|
// lblRegistrationDate
|
|
//
|
|
lblRegistrationDate.AutoSize = true;
|
|
lblRegistrationDate.Location = new Point(20, 140);
|
|
lblRegistrationDate.Name = "lblRegistrationDate";
|
|
lblRegistrationDate.Size = new Size(137, 20);
|
|
lblRegistrationDate.TabIndex = 6;
|
|
lblRegistrationDate.Text = "Дата регистрации:";
|
|
//
|
|
// txtRegistrationDate
|
|
//
|
|
txtRegistrationDate.Location = new Point(177, 140);
|
|
txtRegistrationDate.Name = "txtRegistrationDate";
|
|
txtRegistrationDate.Size = new Size(200, 27);
|
|
txtRegistrationDate.TabIndex = 7;
|
|
//
|
|
// btnSave
|
|
//
|
|
btnSave.Location = new Point(20, 181);
|
|
btnSave.Name = "btnSave";
|
|
btnSave.Size = new Size(100, 30);
|
|
btnSave.TabIndex = 8;
|
|
btnSave.Text = "Сохранить";
|
|
btnSave.Click += btnSave_Click;
|
|
//
|
|
// buttonCancel_Click
|
|
//
|
|
buttonCancel_Click.Location = new Point(277, 181);
|
|
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;
|
|
//
|
|
// FReader
|
|
//
|
|
ClientSize = new Size(400, 250);
|
|
Controls.Add(buttonCancel_Click);
|
|
Controls.Add(lblId);
|
|
Controls.Add(txtId);
|
|
Controls.Add(lblName);
|
|
Controls.Add(txtName);
|
|
Controls.Add(lblReaderTicket);
|
|
Controls.Add(txtReaderTicket);
|
|
Controls.Add(lblRegistrationDate);
|
|
Controls.Add(txtRegistrationDate);
|
|
Controls.Add(btnSave);
|
|
Name = "FReader";
|
|
Text = "Читатель";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
private Button buttonCancel_Click;
|
|
}
|
|
}
|