158 lines
5.7 KiB
C#
158 lines
5.7 KiB
C#
namespace ProjectLibrary.Forms
|
|
{
|
|
partial class FOrder
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
private Label lblOrderDate;
|
|
private Label lblReturnDate;
|
|
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();
|
|
lblReturnDate = new Label();
|
|
lblReaderID = new Label();
|
|
lblBookID = new Label();
|
|
btnSave = new Button();
|
|
buttonCancel_Click = new Button();
|
|
comboBox = new ComboBox();
|
|
dataGridViewBook = new DataGridView();
|
|
Book = new DataGridViewComboBoxColumn();
|
|
dtpOrderDate = new DateTimePicker();
|
|
dtptxtReturnDate = new DateTimePicker();
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewBook).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 = "Дата заказа:";
|
|
//
|
|
// lblReturnDate
|
|
//
|
|
lblReturnDate.AutoSize = true;
|
|
lblReturnDate.Location = new Point(12, 65);
|
|
lblReturnDate.Name = "lblReturnDate";
|
|
lblReturnDate.Size = new Size(111, 20);
|
|
lblReturnDate.TabIndex = 4;
|
|
lblReturnDate.Text = "Дата возврата:";
|
|
//
|
|
// 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;
|
|
//
|
|
// comboBox
|
|
//
|
|
comboBox.Location = new Point(129, 108);
|
|
comboBox.Name = "comboBox";
|
|
comboBox.Size = new Size(203, 28);
|
|
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;
|
|
//
|
|
// dtpOrderDate
|
|
//
|
|
dtpOrderDate.Enabled = false;
|
|
dtpOrderDate.Location = new Point(129, 20);
|
|
dtpOrderDate.Name = "dtpOrderDate";
|
|
dtpOrderDate.Size = new Size(203, 27);
|
|
dtpOrderDate.TabIndex = 13;
|
|
//
|
|
// dtptxtReturnDate
|
|
//
|
|
dtptxtReturnDate.Location = new Point(129, 60);
|
|
dtptxtReturnDate.Name = "dtptxtReturnDate";
|
|
dtptxtReturnDate.Size = new Size(203, 27);
|
|
dtptxtReturnDate.TabIndex = 14;
|
|
//
|
|
// FOrder
|
|
//
|
|
ClientSize = new Size(372, 332);
|
|
Controls.Add(dtptxtReturnDate);
|
|
Controls.Add(dtpOrderDate);
|
|
Controls.Add(dataGridViewBook);
|
|
Controls.Add(comboBox);
|
|
Controls.Add(buttonCancel_Click);
|
|
Controls.Add(lblOrderDate);
|
|
Controls.Add(lblReturnDate);
|
|
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;
|
|
private DateTimePicker dtpOrderDate;
|
|
private DateTimePicker dtptxtReturnDate;
|
|
}
|
|
}
|