2024-04-23 21:55:19 +04:00
|
|
|
|
|
|
|
|
|
namespace ConfectioneryView
|
2024-04-10 08:44:36 +04:00
|
|
|
|
{
|
|
|
|
|
partial class FormComponents
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
2024-04-23 21:55:19 +04:00
|
|
|
|
buttonAdd = new Button();
|
|
|
|
|
buttonUpdate = new Button();
|
|
|
|
|
buttonDelete = new Button();
|
|
|
|
|
buttonRefresh = new Button();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// buttonAdd
|
|
|
|
|
//
|
|
|
|
|
buttonAdd.BackColor = SystemColors.Menu;
|
|
|
|
|
buttonAdd.Location = new Point(622, 49);
|
|
|
|
|
buttonAdd.Name = "buttonAdd";
|
|
|
|
|
buttonAdd.Size = new Size(157, 29);
|
|
|
|
|
buttonAdd.TabIndex = 0;
|
|
|
|
|
buttonAdd.Text = "Добавить";
|
|
|
|
|
buttonAdd.UseVisualStyleBackColor = false;
|
|
|
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUpdate
|
|
|
|
|
//
|
|
|
|
|
buttonUpdate.BackColor = SystemColors.Menu;
|
|
|
|
|
buttonUpdate.Location = new Point(622, 135);
|
|
|
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
|
|
|
buttonUpdate.Size = new Size(157, 29);
|
|
|
|
|
buttonUpdate.TabIndex = 1;
|
|
|
|
|
buttonUpdate.Text = "Изменить";
|
|
|
|
|
buttonUpdate.UseVisualStyleBackColor = false;
|
|
|
|
|
buttonUpdate.Click += buttonUpdate_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDelete
|
|
|
|
|
//
|
|
|
|
|
buttonDelete.BackColor = SystemColors.Menu;
|
|
|
|
|
buttonDelete.Location = new Point(622, 219);
|
|
|
|
|
buttonDelete.Name = "buttonDelete";
|
|
|
|
|
buttonDelete.Size = new Size(157, 29);
|
|
|
|
|
buttonDelete.TabIndex = 2;
|
|
|
|
|
buttonDelete.Text = "Удалить";
|
|
|
|
|
buttonDelete.UseVisualStyleBackColor = false;
|
|
|
|
|
buttonDelete.Click += buttonDelete_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
|
|
|
|
buttonRefresh.BackColor = SystemColors.Menu;
|
|
|
|
|
buttonRefresh.Location = new Point(622, 303);
|
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
|
|
|
buttonRefresh.Size = new Size(157, 29);
|
|
|
|
|
buttonRefresh.TabIndex = 3;
|
|
|
|
|
buttonRefresh.Text = "Обновить";
|
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = false;
|
|
|
|
|
buttonRefresh.Click += buttonRefresh_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.BackgroundColor = SystemColors.ButtonHighlight;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Dock = DockStyle.Left;
|
|
|
|
|
dataGridView.Location = new Point(0, 0);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
dataGridView.Size = new Size(585, 450);
|
|
|
|
|
dataGridView.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// FormComponents
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = SystemColors.Control;
|
|
|
|
|
ClientSize = new Size(800, 450);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(buttonRefresh);
|
|
|
|
|
Controls.Add(buttonDelete);
|
|
|
|
|
Controls.Add(buttonUpdate);
|
|
|
|
|
Controls.Add(buttonAdd);
|
|
|
|
|
Name = "FormComponents";
|
|
|
|
|
Text = "Компоненты";
|
2024-04-23 23:02:28 +04:00
|
|
|
|
Load += FormComponents_Load;
|
2024-04-23 21:55:19 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void dataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
2024-04-10 08:44:36 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2024-04-23 21:55:19 +04:00
|
|
|
|
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private Button buttonUpdate;
|
|
|
|
|
private Button buttonDelete;
|
|
|
|
|
private Button buttonRefresh;
|
|
|
|
|
private DataGridView dataGridView;
|
2024-04-10 08:44:36 +04:00
|
|
|
|
}
|
|
|
|
|
}
|