239 lines
9.3 KiB
C#
239 lines
9.3 KiB
C#
namespace IceCreamShop
|
|
{
|
|
partial class IceCreamForm
|
|
{
|
|
/// <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()
|
|
{
|
|
NameLabel = new Label();
|
|
PriceLabel = new Label();
|
|
NameTextBox = new TextBox();
|
|
PriceTextBox = new TextBox();
|
|
ComponentsGroupBox = new GroupBox();
|
|
RefreshButton = new Button();
|
|
DeleteButton = new Button();
|
|
UpdateButton = new Button();
|
|
AddButton = new Button();
|
|
DataGridView = new DataGridView();
|
|
IdColumn = new DataGridViewTextBoxColumn();
|
|
ComponentNameColumn = new DataGridViewTextBoxColumn();
|
|
CountColumn = new DataGridViewTextBoxColumn();
|
|
SaveButton = new Button();
|
|
CancelButton = new Button();
|
|
ComponentsGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)DataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// NameLabel
|
|
//
|
|
NameLabel.AutoSize = true;
|
|
NameLabel.Location = new Point(14, 12);
|
|
NameLabel.Name = "NameLabel";
|
|
NameLabel.Size = new Size(77, 20);
|
|
NameLabel.TabIndex = 0;
|
|
NameLabel.Text = "Название";
|
|
//
|
|
// PriceLabel
|
|
//
|
|
PriceLabel.AutoSize = true;
|
|
PriceLabel.Location = new Point(14, 47);
|
|
PriceLabel.Name = "PriceLabel";
|
|
PriceLabel.Size = new Size(45, 20);
|
|
PriceLabel.TabIndex = 1;
|
|
PriceLabel.Text = "Цена";
|
|
//
|
|
// NameTextBox
|
|
//
|
|
NameTextBox.Location = new Point(88, 8);
|
|
NameTextBox.Margin = new Padding(3, 4, 3, 4);
|
|
NameTextBox.Name = "NameTextBox";
|
|
NameTextBox.Size = new Size(270, 27);
|
|
NameTextBox.TabIndex = 2;
|
|
//
|
|
// PriceTextBox
|
|
//
|
|
PriceTextBox.Location = new Point(88, 43);
|
|
PriceTextBox.Margin = new Padding(3, 4, 3, 4);
|
|
PriceTextBox.Name = "PriceTextBox";
|
|
PriceTextBox.ReadOnly = true;
|
|
PriceTextBox.Size = new Size(114, 27);
|
|
PriceTextBox.TabIndex = 3;
|
|
//
|
|
// ComponentsGroupBox
|
|
//
|
|
ComponentsGroupBox.Controls.Add(RefreshButton);
|
|
ComponentsGroupBox.Controls.Add(DeleteButton);
|
|
ComponentsGroupBox.Controls.Add(UpdateButton);
|
|
ComponentsGroupBox.Controls.Add(AddButton);
|
|
ComponentsGroupBox.Controls.Add(DataGridView);
|
|
ComponentsGroupBox.Location = new Point(14, 85);
|
|
ComponentsGroupBox.Margin = new Padding(3, 4, 3, 4);
|
|
ComponentsGroupBox.Name = "ComponentsGroupBox";
|
|
ComponentsGroupBox.Padding = new Padding(3, 4, 3, 4);
|
|
ComponentsGroupBox.Size = new Size(665, 383);
|
|
ComponentsGroupBox.TabIndex = 4;
|
|
ComponentsGroupBox.TabStop = false;
|
|
ComponentsGroupBox.Text = "Компоненты";
|
|
//
|
|
// RefreshButton
|
|
//
|
|
RefreshButton.Location = new Point(550, 145);
|
|
RefreshButton.Margin = new Padding(3, 4, 3, 4);
|
|
RefreshButton.Name = "RefreshButton";
|
|
RefreshButton.Size = new Size(86, 31);
|
|
RefreshButton.TabIndex = 4;
|
|
RefreshButton.Text = "Обновить";
|
|
RefreshButton.UseVisualStyleBackColor = true;
|
|
RefreshButton.Click += RefreshButton_Click;
|
|
//
|
|
// DeleteButton
|
|
//
|
|
DeleteButton.Location = new Point(550, 107);
|
|
DeleteButton.Margin = new Padding(3, 4, 3, 4);
|
|
DeleteButton.Name = "DeleteButton";
|
|
DeleteButton.Size = new Size(86, 31);
|
|
DeleteButton.TabIndex = 3;
|
|
DeleteButton.Text = "Удалить";
|
|
DeleteButton.UseVisualStyleBackColor = true;
|
|
DeleteButton.Click += DeleteButton_Click;
|
|
//
|
|
// UpdateButton
|
|
//
|
|
UpdateButton.Location = new Point(550, 68);
|
|
UpdateButton.Margin = new Padding(3, 4, 3, 4);
|
|
UpdateButton.Name = "UpdateButton";
|
|
UpdateButton.Size = new Size(86, 31);
|
|
UpdateButton.TabIndex = 2;
|
|
UpdateButton.Text = "Изменить";
|
|
UpdateButton.UseVisualStyleBackColor = true;
|
|
UpdateButton.Click += UpdateButton_Click;
|
|
//
|
|
// AddButton
|
|
//
|
|
AddButton.Location = new Point(550, 29);
|
|
AddButton.Margin = new Padding(3, 4, 3, 4);
|
|
AddButton.Name = "AddButton";
|
|
AddButton.Size = new Size(86, 31);
|
|
AddButton.TabIndex = 1;
|
|
AddButton.Text = "Добавить";
|
|
AddButton.UseVisualStyleBackColor = true;
|
|
AddButton.Click += AddButton_Click;
|
|
//
|
|
// DataGridView
|
|
//
|
|
DataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
DataGridView.Columns.AddRange(new DataGridViewColumn[] { IdColumn, ComponentNameColumn, CountColumn });
|
|
DataGridView.Location = new Point(7, 29);
|
|
DataGridView.Margin = new Padding(3, 4, 3, 4);
|
|
DataGridView.Name = "DataGridView";
|
|
DataGridView.RowHeadersWidth = 51;
|
|
DataGridView.Size = new Size(505, 345);
|
|
DataGridView.TabIndex = 0;
|
|
//
|
|
// IdColumn
|
|
//
|
|
IdColumn.HeaderText = "Column1";
|
|
IdColumn.MinimumWidth = 6;
|
|
IdColumn.Name = "IdColumn";
|
|
IdColumn.Visible = false;
|
|
IdColumn.Width = 6;
|
|
//
|
|
// ComponentNameColumn
|
|
//
|
|
ComponentNameColumn.HeaderText = "Компонент";
|
|
ComponentNameColumn.MinimumWidth = 6;
|
|
ComponentNameColumn.Name = "ComponentNameColumn";
|
|
ComponentNameColumn.Width = 300;
|
|
//
|
|
// CountColumn
|
|
//
|
|
CountColumn.HeaderText = "Количество";
|
|
CountColumn.MinimumWidth = 6;
|
|
CountColumn.Name = "CountColumn";
|
|
CountColumn.Width = 125;
|
|
//
|
|
// SaveButton
|
|
//
|
|
SaveButton.Location = new Point(485, 484);
|
|
SaveButton.Margin = new Padding(3, 4, 3, 4);
|
|
SaveButton.Name = "SaveButton";
|
|
SaveButton.Size = new Size(86, 31);
|
|
SaveButton.TabIndex = 5;
|
|
SaveButton.Text = "Сохранить";
|
|
SaveButton.UseVisualStyleBackColor = true;
|
|
SaveButton.Click += SaveButton_Click;
|
|
//
|
|
// CancelButton
|
|
//
|
|
CancelButton.Location = new Point(577, 484);
|
|
CancelButton.Margin = new Padding(3, 4, 3, 4);
|
|
CancelButton.Name = "CancelButton";
|
|
CancelButton.Size = new Size(86, 31);
|
|
CancelButton.TabIndex = 6;
|
|
CancelButton.Text = "Отмена";
|
|
CancelButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// IceCreamForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(693, 531);
|
|
Controls.Add(CancelButton);
|
|
Controls.Add(SaveButton);
|
|
Controls.Add(ComponentsGroupBox);
|
|
Controls.Add(PriceTextBox);
|
|
Controls.Add(NameTextBox);
|
|
Controls.Add(PriceLabel);
|
|
Controls.Add(NameLabel);
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
Name = "IceCreamForm";
|
|
Text = "Форма мороженного";
|
|
Load += IceCreamForm_Load;
|
|
ComponentsGroupBox.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)DataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label NameLabel;
|
|
private Label PriceLabel;
|
|
private TextBox NameTextBox;
|
|
private TextBox PriceTextBox;
|
|
private GroupBox ComponentsGroupBox;
|
|
private Button RefreshButton;
|
|
private Button DeleteButton;
|
|
private Button UpdateButton;
|
|
private Button AddButton;
|
|
private DataGridView DataGridView;
|
|
private DataGridViewTextBoxColumn IdColumn;
|
|
private DataGridViewTextBoxColumn ComponentNameColumn;
|
|
private DataGridViewTextBoxColumn CountColumn;
|
|
private Button SaveButton;
|
|
private Button CancelButton;
|
|
}
|
|
} |