279 lines
10 KiB
C#
279 lines
10 KiB
C#
namespace BookingView
|
|
{
|
|
partial class FormBook
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
buttonDelete = new Button();
|
|
buttonUpdate = new Button();
|
|
buttonCreate = new Button();
|
|
label1 = new Label();
|
|
dataGridView = new DataGridView();
|
|
label2 = new Label();
|
|
comboBoxAuthor = new ComboBox();
|
|
label3 = new Label();
|
|
label4 = new Label();
|
|
comboBoxPublisher = new ComboBox();
|
|
textBoxGenre = new TextBox();
|
|
textBoxName = new TextBox();
|
|
label6 = new Label();
|
|
dateTimePickerDate = new DateTimePicker();
|
|
textBoxISBN = new TextBox();
|
|
label7 = new Label();
|
|
textBoxPrice = new TextBox();
|
|
label8 = new Label();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(847, 545);
|
|
buttonDelete.Margin = new Padding(3, 4, 3, 4);
|
|
buttonDelete.Name = "buttonDelete";
|
|
buttonDelete.Size = new Size(146, 40);
|
|
buttonDelete.TabIndex = 28;
|
|
buttonDelete.Text = "Удалить";
|
|
buttonDelete.UseVisualStyleBackColor = true;
|
|
buttonDelete.Click += ButtonDelete_Click;
|
|
//
|
|
// buttonUpdate
|
|
//
|
|
buttonUpdate.Location = new Point(847, 480);
|
|
buttonUpdate.Margin = new Padding(3, 4, 3, 4);
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
buttonUpdate.Size = new Size(146, 40);
|
|
buttonUpdate.TabIndex = 27;
|
|
buttonUpdate.Text = "Изменить";
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
buttonUpdate.Click += ButtonUpdate_Click;
|
|
//
|
|
// buttonCreate
|
|
//
|
|
buttonCreate.Location = new Point(847, 415);
|
|
buttonCreate.Margin = new Padding(3, 4, 3, 4);
|
|
buttonCreate.Name = "buttonCreate";
|
|
buttonCreate.Size = new Size(146, 40);
|
|
buttonCreate.TabIndex = 26;
|
|
buttonCreate.Text = "Добавить";
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
buttonCreate.Click += ButtonCreate_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(681, 123);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(109, 20);
|
|
label1.TabIndex = 16;
|
|
label1.Text = "Дата выпуска: ";
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.BackgroundColor = SystemColors.Window;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Location = new Point(15, 19);
|
|
dataGridView.Margin = new Padding(3, 4, 3, 4);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.RowTemplate.Height = 25;
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView.Size = new Size(649, 568);
|
|
dataGridView.TabIndex = 15;
|
|
dataGridView.CellClick += DataGridView_CellClick;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(682, 275);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(54, 20);
|
|
label2.TabIndex = 29;
|
|
label2.Text = "Автор:";
|
|
//
|
|
// comboBoxAuthor
|
|
//
|
|
comboBoxAuthor.FormattingEnabled = true;
|
|
comboBoxAuthor.Location = new Point(854, 271);
|
|
comboBoxAuthor.Margin = new Padding(3, 4, 3, 4);
|
|
comboBoxAuthor.Name = "comboBoxAuthor";
|
|
comboBoxAuthor.Size = new Size(265, 28);
|
|
comboBoxAuthor.TabIndex = 30;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(682, 324);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(106, 20);
|
|
label3.TabIndex = 33;
|
|
label3.Text = "Издательство:";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(681, 71);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(51, 20);
|
|
label4.TabIndex = 34;
|
|
label4.Text = "Жанр:";
|
|
//
|
|
// comboBoxPublisher
|
|
//
|
|
comboBoxPublisher.FormattingEnabled = true;
|
|
comboBoxPublisher.Location = new Point(855, 321);
|
|
comboBoxPublisher.Margin = new Padding(3, 4, 3, 4);
|
|
comboBoxPublisher.Name = "comboBoxPublisher";
|
|
comboBoxPublisher.Size = new Size(265, 28);
|
|
comboBoxPublisher.TabIndex = 35;
|
|
//
|
|
// textBoxGenre
|
|
//
|
|
textBoxGenre.Location = new Point(854, 68);
|
|
textBoxGenre.Margin = new Padding(3, 4, 3, 4);
|
|
textBoxGenre.Name = "textBoxGenre";
|
|
textBoxGenre.Size = new Size(265, 27);
|
|
textBoxGenre.TabIndex = 36;
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(854, 19);
|
|
textBoxName.Margin = new Padding(3, 4, 3, 4);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(265, 27);
|
|
textBoxName.TabIndex = 38;
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(681, 22);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(80, 20);
|
|
label6.TabIndex = 37;
|
|
label6.Text = "Название:";
|
|
//
|
|
// dateTimePickerDate
|
|
//
|
|
dateTimePickerDate.Location = new Point(853, 118);
|
|
dateTimePickerDate.Margin = new Padding(3, 4, 3, 4);
|
|
dateTimePickerDate.Name = "dateTimePickerDate";
|
|
dateTimePickerDate.Size = new Size(265, 27);
|
|
dateTimePickerDate.TabIndex = 42;
|
|
//
|
|
// textBoxISBN
|
|
//
|
|
textBoxISBN.Location = new Point(855, 170);
|
|
textBoxISBN.Margin = new Padding(3, 4, 3, 4);
|
|
textBoxISBN.Name = "textBoxISBN";
|
|
textBoxISBN.Size = new Size(265, 27);
|
|
textBoxISBN.TabIndex = 46;
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Location = new Point(682, 173);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(44, 20);
|
|
label7.TabIndex = 45;
|
|
label7.Text = "ISBN:";
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
textBoxPrice.Location = new Point(855, 219);
|
|
textBoxPrice.Margin = new Padding(3, 4, 3, 4);
|
|
textBoxPrice.Name = "textBoxPrice";
|
|
textBoxPrice.Size = new Size(265, 27);
|
|
textBoxPrice.TabIndex = 44;
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Location = new Point(682, 222);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(48, 20);
|
|
label8.TabIndex = 43;
|
|
label8.Text = "Цена:";
|
|
//
|
|
// FormBook
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1131, 600);
|
|
Controls.Add(textBoxISBN);
|
|
Controls.Add(label7);
|
|
Controls.Add(textBoxPrice);
|
|
Controls.Add(label8);
|
|
Controls.Add(dateTimePickerDate);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(label6);
|
|
Controls.Add(textBoxGenre);
|
|
Controls.Add(comboBoxPublisher);
|
|
Controls.Add(label4);
|
|
Controls.Add(label3);
|
|
Controls.Add(comboBoxAuthor);
|
|
Controls.Add(label2);
|
|
Controls.Add(buttonDelete);
|
|
Controls.Add(buttonUpdate);
|
|
Controls.Add(buttonCreate);
|
|
Controls.Add(label1);
|
|
Controls.Add(dataGridView);
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
Name = "FormBook";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Книги";
|
|
Load += FormBook_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button buttonDelete;
|
|
private Button buttonUpdate;
|
|
private Button buttonCreate;
|
|
private ComboBox comboBoxBodyType;
|
|
private Label label5;
|
|
private Label label1;
|
|
private DataGridView dataGridView;
|
|
private Label label2;
|
|
private ComboBox comboBoxAuthor;
|
|
private Label label3;
|
|
private Label label4;
|
|
private ComboBox comboBoxPublisher;
|
|
private TextBox textBoxGenre;
|
|
private TextBox textBoxName;
|
|
private Label label6;
|
|
private DateTimePicker dateTimePickerDate;
|
|
private TextBox textBoxISBN;
|
|
private Label label7;
|
|
private TextBox textBoxPrice;
|
|
private Label label8;
|
|
}
|
|
} |