268 lines
12 KiB
C#
268 lines
12 KiB
C#
namespace BookShopView
|
|
{
|
|
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()
|
|
{
|
|
this.labelName = new System.Windows.Forms.Label();
|
|
this.labelCost = new System.Windows.Forms.Label();
|
|
this.labelCount = new System.Windows.Forms.Label();
|
|
this.labelGenre = new System.Windows.Forms.Label();
|
|
this.TextBoxName = new System.Windows.Forms.TextBox();
|
|
this.textBoxCost = new System.Windows.Forms.TextBox();
|
|
this.textBoxCount = new System.Windows.Forms.TextBox();
|
|
this.groupBox = new System.Windows.Forms.GroupBox();
|
|
this.buttonRef = new System.Windows.Forms.Button();
|
|
this.buttonDel = new System.Windows.Forms.Button();
|
|
this.buttonUpd = new System.Windows.Forms.Button();
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.comboBoxGenre = new System.Windows.Forms.ComboBox();
|
|
this.ColumnID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnAuthorSurname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.groupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
this.labelName.AutoSize = true;
|
|
this.labelName.Location = new System.Drawing.Point(26, 22);
|
|
this.labelName.Name = "labelName";
|
|
this.labelName.Size = new System.Drawing.Size(80, 20);
|
|
this.labelName.TabIndex = 0;
|
|
this.labelName.Text = "Название:";
|
|
//
|
|
// labelCost
|
|
//
|
|
this.labelCost.AutoSize = true;
|
|
this.labelCost.Location = new System.Drawing.Point(26, 61);
|
|
this.labelCost.Name = "labelCost";
|
|
this.labelCost.Size = new System.Drawing.Size(86, 20);
|
|
this.labelCost.TabIndex = 1;
|
|
this.labelCost.Text = "Стоимость:";
|
|
//
|
|
// labelCount
|
|
//
|
|
this.labelCount.AutoSize = true;
|
|
this.labelCount.Location = new System.Drawing.Point(26, 107);
|
|
this.labelCount.Name = "labelCount";
|
|
this.labelCount.Size = new System.Drawing.Size(93, 20);
|
|
this.labelCount.TabIndex = 2;
|
|
this.labelCount.Text = "Количество:";
|
|
//
|
|
// labelGenre
|
|
//
|
|
this.labelGenre.AutoSize = true;
|
|
this.labelGenre.Location = new System.Drawing.Point(26, 153);
|
|
this.labelGenre.Name = "labelGenre";
|
|
this.labelGenre.Size = new System.Drawing.Size(51, 20);
|
|
this.labelGenre.TabIndex = 3;
|
|
this.labelGenre.Text = "Жанр:";
|
|
//
|
|
// TextBoxName
|
|
//
|
|
this.TextBoxName.Location = new System.Drawing.Point(162, 22);
|
|
this.TextBoxName.Name = "TextBoxName";
|
|
this.TextBoxName.Size = new System.Drawing.Size(259, 27);
|
|
this.TextBoxName.TabIndex = 4;
|
|
//
|
|
// textBoxCost
|
|
//
|
|
this.textBoxCost.Location = new System.Drawing.Point(162, 61);
|
|
this.textBoxCost.Name = "textBoxCost";
|
|
this.textBoxCost.Size = new System.Drawing.Size(259, 27);
|
|
this.textBoxCost.TabIndex = 5;
|
|
//
|
|
// textBoxCount
|
|
//
|
|
this.textBoxCount.Location = new System.Drawing.Point(162, 104);
|
|
this.textBoxCount.Name = "textBoxCount";
|
|
this.textBoxCount.Size = new System.Drawing.Size(259, 27);
|
|
this.textBoxCount.TabIndex = 6;
|
|
//
|
|
// groupBox
|
|
//
|
|
this.groupBox.Controls.Add(this.buttonRef);
|
|
this.groupBox.Controls.Add(this.buttonDel);
|
|
this.groupBox.Controls.Add(this.buttonUpd);
|
|
this.groupBox.Controls.Add(this.buttonAdd);
|
|
this.groupBox.Controls.Add(this.dataGridView);
|
|
this.groupBox.Location = new System.Drawing.Point(26, 192);
|
|
this.groupBox.Name = "groupBox";
|
|
this.groupBox.Size = new System.Drawing.Size(530, 247);
|
|
this.groupBox.TabIndex = 7;
|
|
this.groupBox.TabStop = false;
|
|
this.groupBox.Text = "Авторы";
|
|
//
|
|
// buttonRef
|
|
//
|
|
this.buttonRef.Location = new System.Drawing.Point(418, 199);
|
|
this.buttonRef.Name = "buttonRef";
|
|
this.buttonRef.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonRef.TabIndex = 4;
|
|
this.buttonRef.Text = "Обновить";
|
|
this.buttonRef.UseVisualStyleBackColor = true;
|
|
this.buttonRef.Click += new System.EventHandler(this.ButtonRef_Click);
|
|
//
|
|
// buttonDel
|
|
//
|
|
this.buttonDel.Location = new System.Drawing.Point(418, 143);
|
|
this.buttonDel.Name = "buttonDel";
|
|
this.buttonDel.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonDel.TabIndex = 3;
|
|
this.buttonDel.Text = "Удалить";
|
|
this.buttonDel.UseVisualStyleBackColor = true;
|
|
this.buttonDel.Click += new System.EventHandler(this.ButtonDel_Click);
|
|
//
|
|
// buttonUpd
|
|
//
|
|
this.buttonUpd.Location = new System.Drawing.Point(418, 84);
|
|
this.buttonUpd.Name = "buttonUpd";
|
|
this.buttonUpd.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonUpd.TabIndex = 2;
|
|
this.buttonUpd.Text = "Изменить";
|
|
this.buttonUpd.UseVisualStyleBackColor = true;
|
|
this.buttonUpd.Click += new System.EventHandler(this.ButtonUpd_Click);
|
|
//
|
|
// buttonAdd
|
|
//
|
|
this.buttonAdd.Location = new System.Drawing.Point(418, 35);
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
this.buttonAdd.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonAdd.TabIndex = 1;
|
|
this.buttonAdd.Text = "Добавить";
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.BackgroundColor = System.Drawing.SystemColors.Control;
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ColumnID,
|
|
this.ColumnAuthorSurname});
|
|
this.dataGridView.Location = new System.Drawing.Point(6, 26);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowHeadersWidth = 51;
|
|
this.dataGridView.RowTemplate.Height = 29;
|
|
this.dataGridView.Size = new System.Drawing.Size(389, 215);
|
|
this.dataGridView.TabIndex = 0;
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Location = new System.Drawing.Point(310, 454);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonSave.TabIndex = 8;
|
|
this.buttonSave.Text = "Сохранить";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Location = new System.Drawing.Point(444, 454);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonCancel.TabIndex = 9;
|
|
this.buttonCancel.Text = "Отмена";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// comboBoxGenre
|
|
//
|
|
this.comboBoxGenre.FormattingEnabled = true;
|
|
this.comboBoxGenre.Location = new System.Drawing.Point(160, 153);
|
|
this.comboBoxGenre.Name = "comboBoxGenre";
|
|
this.comboBoxGenre.Size = new System.Drawing.Size(261, 28);
|
|
this.comboBoxGenre.TabIndex = 10;
|
|
//
|
|
// ColumnID
|
|
//
|
|
this.ColumnID.HeaderText = "ID";
|
|
this.ColumnID.MinimumWidth = 6;
|
|
this.ColumnID.Name = "ColumnID";
|
|
this.ColumnID.Visible = false;
|
|
this.ColumnID.Width = 125;
|
|
//
|
|
// ColumnAuthorSurname
|
|
//
|
|
this.ColumnAuthorSurname.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.ColumnAuthorSurname.HeaderText = "Автор";
|
|
this.ColumnAuthorSurname.MinimumWidth = 6;
|
|
this.ColumnAuthorSurname.Name = "ColumnAuthorSurname";
|
|
//
|
|
// FormBook
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(571, 495);
|
|
this.Controls.Add(this.comboBoxGenre);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.groupBox);
|
|
this.Controls.Add(this.textBoxCount);
|
|
this.Controls.Add(this.textBoxCost);
|
|
this.Controls.Add(this.TextBoxName);
|
|
this.Controls.Add(this.labelGenre);
|
|
this.Controls.Add(this.labelCount);
|
|
this.Controls.Add(this.labelCost);
|
|
this.Controls.Add(this.labelName);
|
|
this.Name = "FormBook";
|
|
this.Text = "Книга";
|
|
this.Load += new System.EventHandler(this.FormBook_Load);
|
|
this.groupBox.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelName;
|
|
private Label labelCost;
|
|
private Label labelCount;
|
|
private Label labelGenre;
|
|
private TextBox TextBoxName;
|
|
private TextBox textBoxCost;
|
|
private TextBox textBoxCount;
|
|
private GroupBox groupBox;
|
|
private Button buttonRef;
|
|
private Button buttonDel;
|
|
private Button buttonUpd;
|
|
private Button buttonAdd;
|
|
private DataGridView dataGridView;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private ComboBox comboBoxGenre;
|
|
private DataGridViewTextBoxColumn ColumnID;
|
|
private DataGridViewTextBoxColumn ColumnAuthorSurname;
|
|
}
|
|
} |