158 lines
5.6 KiB
C#
158 lines
5.6 KiB
C#
|
namespace ProjectLibrary.Forms
|
|||
|
{
|
|||
|
partial class FOrder
|
|||
|
{
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
private Label lblOrderDate;
|
|||
|
private TextBox txtOrderDate;
|
|||
|
private Label lblReturnDate;
|
|||
|
private TextBox txtReturnDate;
|
|||
|
private Label lblReaderID;
|
|||
|
private Label lblBookID;
|
|||
|
private Button btnSave;
|
|||
|
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
lblOrderDate = new Label();
|
|||
|
txtOrderDate = new TextBox();
|
|||
|
lblReturnDate = new Label();
|
|||
|
txtReturnDate = new TextBox();
|
|||
|
lblReaderID = new Label();
|
|||
|
lblBookID = new Label();
|
|||
|
btnSave = new Button();
|
|||
|
buttonCancel_Click = new Button();
|
|||
|
comboBox1 = new ComboBox();
|
|||
|
dataGridViewIDBook = new DataGridView();
|
|||
|
Book = new DataGridViewComboBoxColumn();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridViewIDBook).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// lblOrderDate
|
|||
|
//
|
|||
|
lblOrderDate.AutoSize = true;
|
|||
|
lblOrderDate.Location = new Point(12, 25);
|
|||
|
lblOrderDate.Name = "lblOrderDate";
|
|||
|
lblOrderDate.Size = new Size(93, 20);
|
|||
|
lblOrderDate.TabIndex = 2;
|
|||
|
lblOrderDate.Text = "Дата заказа:";
|
|||
|
//
|
|||
|
// txtOrderDate
|
|||
|
//
|
|||
|
txtOrderDate.Location = new Point(129, 25);
|
|||
|
txtOrderDate.Name = "txtOrderDate";
|
|||
|
txtOrderDate.Size = new Size(200, 27);
|
|||
|
txtOrderDate.TabIndex = 3;
|
|||
|
//
|
|||
|
// lblReturnDate
|
|||
|
//
|
|||
|
lblReturnDate.AutoSize = true;
|
|||
|
lblReturnDate.Location = new Point(12, 65);
|
|||
|
lblReturnDate.Name = "lblReturnDate";
|
|||
|
lblReturnDate.Size = new Size(111, 20);
|
|||
|
lblReturnDate.TabIndex = 4;
|
|||
|
lblReturnDate.Text = "Дата возврата:";
|
|||
|
//
|
|||
|
// txtReturnDate
|
|||
|
//
|
|||
|
txtReturnDate.Location = new Point(129, 65);
|
|||
|
txtReturnDate.Name = "txtReturnDate";
|
|||
|
txtReturnDate.Size = new Size(200, 27);
|
|||
|
txtReturnDate.TabIndex = 5;
|
|||
|
//
|
|||
|
// lblReaderID
|
|||
|
//
|
|||
|
lblReaderID.AutoSize = true;
|
|||
|
lblReaderID.Location = new Point(12, 105);
|
|||
|
lblReaderID.Name = "lblReaderID";
|
|||
|
lblReaderID.Size = new Size(92, 20);
|
|||
|
lblReaderID.TabIndex = 6;
|
|||
|
lblReaderID.Text = "ID читателя:";
|
|||
|
//
|
|||
|
// lblBookID
|
|||
|
//
|
|||
|
lblBookID.AutoSize = true;
|
|||
|
lblBookID.Location = new Point(12, 145);
|
|||
|
lblBookID.Name = "lblBookID";
|
|||
|
lblBookID.Size = new Size(71, 20);
|
|||
|
lblBookID.TabIndex = 8;
|
|||
|
lblBookID.Text = "ID книги:";
|
|||
|
//
|
|||
|
// btnSave
|
|||
|
//
|
|||
|
btnSave.Location = new Point(23, 238);
|
|||
|
btnSave.Name = "btnSave";
|
|||
|
btnSave.Size = new Size(100, 30);
|
|||
|
btnSave.TabIndex = 10;
|
|||
|
btnSave.Text = "Сохранить";
|
|||
|
btnSave.Click += ButtonSave_Click;
|
|||
|
|
|||
|
//
|
|||
|
// buttonCancel_Click
|
|||
|
//
|
|||
|
buttonCancel_Click.Location = new Point(232, 238);
|
|||
|
buttonCancel_Click.Name = "buttonCancel_Click";
|
|||
|
buttonCancel_Click.Size = new Size(100, 30);
|
|||
|
buttonCancel_Click.TabIndex = 11;
|
|||
|
buttonCancel_Click.Text = "Отмена";
|
|||
|
buttonCancel_Click.Click += ButtonCancel_Click;
|
|||
|
//
|
|||
|
// comboBox1
|
|||
|
//
|
|||
|
comboBox1.Location = new Point(129, 108);
|
|||
|
comboBox1.Name = "comboBox1";
|
|||
|
comboBox1.Size = new Size(203, 28);
|
|||
|
comboBox1.TabIndex = 0;
|
|||
|
//
|
|||
|
// dataGridViewIDBook
|
|||
|
//
|
|||
|
dataGridViewIDBook.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridViewIDBook.Columns.AddRange(new DataGridViewColumn[] { Book });
|
|||
|
dataGridViewIDBook.Location = new Point(129, 151);
|
|||
|
dataGridViewIDBook.Name = "dataGridViewIDBook";
|
|||
|
dataGridViewIDBook.RowHeadersWidth = 51;
|
|||
|
dataGridViewIDBook.Size = new Size(200, 81);
|
|||
|
dataGridViewIDBook.TabIndex = 12;
|
|||
|
//
|
|||
|
// Book
|
|||
|
//
|
|||
|
Book.HeaderText = "Book";
|
|||
|
Book.MinimumWidth = 6;
|
|||
|
Book.Name = "Book";
|
|||
|
Book.Width = 125;
|
|||
|
//
|
|||
|
// FOrders
|
|||
|
//
|
|||
|
ClientSize = new Size(372, 332);
|
|||
|
Controls.Add(dataGridViewIDBook);
|
|||
|
Controls.Add(comboBox1);
|
|||
|
Controls.Add(buttonCancel_Click);
|
|||
|
Controls.Add(lblOrderDate);
|
|||
|
Controls.Add(txtOrderDate);
|
|||
|
Controls.Add(lblReturnDate);
|
|||
|
Controls.Add(txtReturnDate);
|
|||
|
Controls.Add(lblReaderID);
|
|||
|
Controls.Add(lblBookID);
|
|||
|
Controls.Add(btnSave);
|
|||
|
Name = "FOrders";
|
|||
|
Text = "Заказы";
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridViewIDBook).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
private Button buttonCancel_Click;
|
|||
|
private ComboBox comboBox1;
|
|||
|
private DataGridView dataGridViewIDBook;
|
|||
|
private DataGridViewComboBoxColumn Book;
|
|||
|
}
|
|||
|
}
|