2024-04-23 21:55:19 +04:00
|
|
|
|
namespace ConfectioneryView
|
|
|
|
|
{
|
|
|
|
|
partial class FormPastries
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonAdd = new Button();
|
|
|
|
|
buttonUpdate = new Button();
|
|
|
|
|
buttonDelete = new Button();
|
|
|
|
|
buttonRefresh = new Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-04-23 23:02:28 +04:00
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
2024-04-23 21:55:19 +04:00
|
|
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
2024-04-23 23:02:28 +04:00
|
|
|
|
dataGridView.Dock = DockStyle.Left;
|
|
|
|
|
dataGridView.Location = new Point(0, 0);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
2024-04-23 21:55:19 +04:00
|
|
|
|
dataGridView.Name = "dataGridView";
|
2024-04-23 23:02:28 +04:00
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
2024-04-23 21:55:19 +04:00
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
2024-04-23 23:02:28 +04:00
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
dataGridView.Size = new Size(440, 397);
|
2024-04-23 21:55:19 +04:00
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonAdd
|
|
|
|
|
//
|
|
|
|
|
buttonAdd.Location = new Point(462, 62);
|
|
|
|
|
buttonAdd.Name = "buttonAdd";
|
|
|
|
|
buttonAdd.Size = new Size(172, 29);
|
|
|
|
|
buttonAdd.TabIndex = 1;
|
|
|
|
|
buttonAdd.Text = "Добавить";
|
|
|
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUpdate
|
|
|
|
|
//
|
|
|
|
|
buttonUpdate.Location = new Point(462, 148);
|
|
|
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
|
|
|
buttonUpdate.Size = new Size(172, 29);
|
|
|
|
|
buttonUpdate.TabIndex = 2;
|
|
|
|
|
buttonUpdate.Text = "Изменить";
|
|
|
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUpdate.Click += buttonUpdate_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDelete
|
|
|
|
|
//
|
|
|
|
|
buttonDelete.Location = new Point(462, 230);
|
|
|
|
|
buttonDelete.Name = "buttonDelete";
|
|
|
|
|
buttonDelete.Size = new Size(172, 29);
|
|
|
|
|
buttonDelete.TabIndex = 3;
|
|
|
|
|
buttonDelete.Text = "Удалить";
|
|
|
|
|
buttonDelete.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDelete.Click += buttonDelete_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
|
|
|
|
buttonRefresh.Location = new Point(462, 314);
|
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
|
|
|
buttonRefresh.Size = new Size(172, 29);
|
|
|
|
|
buttonRefresh.TabIndex = 4;
|
|
|
|
|
buttonRefresh.Text = "Обновить";
|
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefresh.Click += buttonRefresh_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormPastries
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(663, 397);
|
|
|
|
|
Controls.Add(buttonRefresh);
|
|
|
|
|
Controls.Add(buttonDelete);
|
|
|
|
|
Controls.Add(buttonUpdate);
|
|
|
|
|
Controls.Add(buttonAdd);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Name = "FormPastries";
|
|
|
|
|
Text = "Кондитерские изделия";
|
2024-04-23 23:02:28 +04:00
|
|
|
|
Load += FormPastries_Load;
|
2024-04-23 21:55:19 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private Button buttonUpdate;
|
|
|
|
|
private Button buttonDelete;
|
|
|
|
|
private Button buttonRefresh;
|
|
|
|
|
}
|
|
|
|
|
}
|