157 lines
5.6 KiB
C#
157 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();
|
|
comboBox = new ComboBox();
|
|
dataGridViewBook = new DataGridView();
|
|
Book = new DataGridViewComboBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewBook).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// lblOrderDate
|
|
//
|
|
lblOrderDate.AutoSize = true;
|
|
lblOrderDate.Location = new Point(12, 25);
|
|
lblOrderDate.Name = "lblOrderDate";
|
|
lblOrderDate.Size = new Size(72, 15);
|
|
lblOrderDate.TabIndex = 2;
|
|
lblOrderDate.Text = "Дата заказа:";
|
|
//
|
|
// txtOrderDate
|
|
//
|
|
txtOrderDate.Location = new Point(129, 25);
|
|
txtOrderDate.Name = "txtOrderDate";
|
|
txtOrderDate.Size = new Size(200, 23);
|
|
txtOrderDate.TabIndex = 3;
|
|
//
|
|
// lblReturnDate
|
|
//
|
|
lblReturnDate.AutoSize = true;
|
|
lblReturnDate.Location = new Point(12, 65);
|
|
lblReturnDate.Name = "lblReturnDate";
|
|
lblReturnDate.Size = new Size(86, 15);
|
|
lblReturnDate.TabIndex = 4;
|
|
lblReturnDate.Text = "Дата возврата:";
|
|
//
|
|
// txtReturnDate
|
|
//
|
|
txtReturnDate.Location = new Point(129, 65);
|
|
txtReturnDate.Name = "txtReturnDate";
|
|
txtReturnDate.Size = new Size(200, 23);
|
|
txtReturnDate.TabIndex = 5;
|
|
//
|
|
// lblReaderID
|
|
//
|
|
lblReaderID.AutoSize = true;
|
|
lblReaderID.Location = new Point(12, 105);
|
|
lblReaderID.Name = "lblReaderID";
|
|
lblReaderID.Size = new Size(73, 15);
|
|
lblReaderID.TabIndex = 6;
|
|
lblReaderID.Text = "ID читателя:";
|
|
//
|
|
// lblBookID
|
|
//
|
|
lblBookID.AutoSize = true;
|
|
lblBookID.Location = new Point(12, 145);
|
|
lblBookID.Name = "lblBookID";
|
|
lblBookID.Size = new Size(56, 15);
|
|
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;
|
|
//
|
|
// comboBox
|
|
//
|
|
comboBox.Location = new Point(129, 108);
|
|
comboBox.Name = "comboBox";
|
|
comboBox.Size = new Size(203, 23);
|
|
comboBox.TabIndex = 0;
|
|
//
|
|
// dataGridViewBook
|
|
//
|
|
dataGridViewBook.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridViewBook.Columns.AddRange(new DataGridViewColumn[] { Book });
|
|
dataGridViewBook.Location = new Point(129, 151);
|
|
dataGridViewBook.Name = "dataGridViewBook";
|
|
dataGridViewBook.RowHeadersWidth = 51;
|
|
dataGridViewBook.Size = new Size(200, 81);
|
|
dataGridViewBook.TabIndex = 12;
|
|
//
|
|
// Book
|
|
//
|
|
Book.HeaderText = "Book";
|
|
Book.MinimumWidth = 6;
|
|
Book.Name = "Book";
|
|
Book.Width = 125;
|
|
//
|
|
// FOrder
|
|
//
|
|
ClientSize = new Size(372, 332);
|
|
Controls.Add(dataGridViewBook);
|
|
Controls.Add(comboBox);
|
|
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 = "FOrder";
|
|
Text = "Заказы";
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewBook).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
private Button buttonCancel_Click;
|
|
private ComboBox comboBox;
|
|
private DataGridView dataGridViewBook;
|
|
private DataGridViewComboBoxColumn Book;
|
|
}
|
|
}
|