239 lines
9.0 KiB
C#
239 lines
9.0 KiB
C#
namespace ProjectFlowerShop
|
|
{
|
|
partial class FormFlower
|
|
{
|
|
/// <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()
|
|
{
|
|
labelName = new Label();
|
|
labelPrice = new Label();
|
|
textBoxName = new TextBox();
|
|
textBoxPrice = new TextBox();
|
|
groupBoxComponent = new GroupBox();
|
|
buttonRefresh = new Button();
|
|
buttonRemove = new Button();
|
|
buttonChange = new Button();
|
|
buttonAdd = new Button();
|
|
dataGridView = new DataGridView();
|
|
Save = new Button();
|
|
buttonCancel = new Button();
|
|
Name = new DataGridViewTextBoxColumn();
|
|
Component = new DataGridViewTextBoxColumn();
|
|
idd = new DataGridViewTextBoxColumn();
|
|
Numbers = new DataGridViewTextBoxColumn();
|
|
groupBoxComponent.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(18, 18);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(77, 20);
|
|
labelName.TabIndex = 0;
|
|
labelName.Text = "Название";
|
|
//
|
|
// labelPrice
|
|
//
|
|
labelPrice.AutoSize = true;
|
|
labelPrice.Location = new Point(18, 59);
|
|
labelPrice.Name = "labelPrice";
|
|
labelPrice.Size = new Size(45, 20);
|
|
labelPrice.TabIndex = 1;
|
|
labelPrice.Text = "Цена";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(101, 15);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(204, 27);
|
|
textBoxName.TabIndex = 2;
|
|
textBoxName.TextChanged += textBox1_TextChanged;
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
textBoxPrice.Location = new Point(101, 56);
|
|
textBoxPrice.Name = "textBoxPrice";
|
|
textBoxPrice.Size = new Size(204, 27);
|
|
textBoxPrice.TabIndex = 3;
|
|
//
|
|
// groupBoxComponent
|
|
//
|
|
groupBoxComponent.Controls.Add(buttonRefresh);
|
|
groupBoxComponent.Controls.Add(buttonRemove);
|
|
groupBoxComponent.Controls.Add(buttonChange);
|
|
groupBoxComponent.Controls.Add(buttonAdd);
|
|
groupBoxComponent.Controls.Add(dataGridView);
|
|
groupBoxComponent.Location = new Point(12, 144);
|
|
groupBoxComponent.Name = "groupBoxComponent";
|
|
groupBoxComponent.Size = new Size(646, 294);
|
|
groupBoxComponent.TabIndex = 4;
|
|
groupBoxComponent.TabStop = false;
|
|
groupBoxComponent.Text = "Компоненты";
|
|
//
|
|
// buttonRefresh
|
|
//
|
|
buttonRefresh.Location = new Point(450, 173);
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
buttonRefresh.Size = new Size(190, 29);
|
|
buttonRefresh.TabIndex = 4;
|
|
buttonRefresh.Text = "Обновить";
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
buttonRefresh.Click += buttonRefresh_Click;
|
|
//
|
|
// buttonRemove
|
|
//
|
|
buttonRemove.Location = new Point(450, 122);
|
|
buttonRemove.Name = "buttonRemove";
|
|
buttonRemove.Size = new Size(190, 29);
|
|
buttonRemove.TabIndex = 3;
|
|
buttonRemove.Text = "Удалить";
|
|
buttonRemove.UseVisualStyleBackColor = true;
|
|
buttonRemove.Click += buttonRemove_Click;
|
|
//
|
|
// buttonChange
|
|
//
|
|
buttonChange.Location = new Point(450, 74);
|
|
buttonChange.Name = "buttonChange";
|
|
buttonChange.Size = new Size(190, 29);
|
|
buttonChange.TabIndex = 2;
|
|
buttonChange.Text = "Изменить";
|
|
buttonChange.UseVisualStyleBackColor = true;
|
|
buttonChange.Click += buttonChange_Click;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Location = new Point(450, 26);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(190, 29);
|
|
buttonAdd.TabIndex = 1;
|
|
buttonAdd.Text = "Добавить";
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { Component, idd, Numbers });
|
|
dataGridView.Location = new Point(6, 26);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.RowTemplate.Height = 29;
|
|
dataGridView.Size = new Size(432, 262);
|
|
dataGridView.TabIndex = 0;
|
|
dataGridView.CellContentClick += dataGridView_CellContentClick;
|
|
//
|
|
// Save
|
|
//
|
|
Save.Location = new Point(462, 446);
|
|
Save.Name = "Save";
|
|
Save.Size = new Size(94, 29);
|
|
Save.TabIndex = 5;
|
|
Save.Text = "Сохранить";
|
|
Save.UseVisualStyleBackColor = true;
|
|
Save.Click += Save_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(564, 446);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(94, 29);
|
|
buttonCancel.TabIndex = 6;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// Name
|
|
//
|
|
Name.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
Name.HeaderText = "Компонент";
|
|
Name.MinimumWidth = 6;
|
|
Name.Name = "Name";
|
|
//
|
|
// Component
|
|
//
|
|
Component.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
Component.HeaderText = "Компонент";
|
|
Component.MinimumWidth = 6;
|
|
Component.Name = "Component";
|
|
//
|
|
// idd
|
|
//
|
|
idd.HeaderText = "idd";
|
|
idd.MinimumWidth = 6;
|
|
idd.Name = "idd";
|
|
idd.Visible = false;
|
|
idd.Width = 125;
|
|
//
|
|
// Numbers
|
|
//
|
|
Numbers.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
Numbers.HeaderText = "Количество";
|
|
Numbers.MinimumWidth = 6;
|
|
Numbers.Name = "Numbers";
|
|
//
|
|
// FormProduct
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(670, 479);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(Save);
|
|
Controls.Add(groupBoxComponent);
|
|
Controls.Add(textBoxPrice);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelPrice);
|
|
Controls.Add(labelName);
|
|
Text = "Изделие";
|
|
Load += FormProduct_Load;
|
|
groupBoxComponent.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelName;
|
|
private Label labelPrice;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxPrice;
|
|
private GroupBox groupBoxComponent;
|
|
private Button buttonRefresh;
|
|
private Button buttonRemove;
|
|
private Button buttonChange;
|
|
private Button buttonAdd;
|
|
private DataGridView dataGridView;
|
|
private Button Save;
|
|
private Button buttonCancel;
|
|
private DataGridViewTextBoxColumn Name;
|
|
private DataGridViewTextBoxColumn Number;
|
|
private DataGridViewTextBoxColumn Component;
|
|
private DataGridViewTextBoxColumn idd;
|
|
private DataGridViewTextBoxColumn Numbers;
|
|
}
|
|
} |