226 lines
8.8 KiB
C#
226 lines
8.8 KiB
C#
namespace SewingDresses
|
|
{
|
|
partial class FormDress
|
|
{
|
|
/// <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()
|
|
{
|
|
nameDressLabel = new Label();
|
|
priceDressLabel = new Label();
|
|
nameDressTextBox = new TextBox();
|
|
priceDressTextBox = new TextBox();
|
|
materialsGroupBox = new GroupBox();
|
|
RefreshButton = new Button();
|
|
deleteButton = new Button();
|
|
changeButton = new Button();
|
|
AddButton = new Button();
|
|
dressGridView = new DataGridView();
|
|
ColumnID = new DataGridViewTextBoxColumn();
|
|
ColumnMaterial = new DataGridViewTextBoxColumn();
|
|
ColumnQuantity = new DataGridViewTextBoxColumn();
|
|
saveButton = new Button();
|
|
cancelButton = new Button();
|
|
materialsGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dressGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// nameDressLabel
|
|
//
|
|
nameDressLabel.AutoSize = true;
|
|
nameDressLabel.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point);
|
|
nameDressLabel.Location = new Point(12, 9);
|
|
nameDressLabel.Name = "nameDressLabel";
|
|
nameDressLabel.Size = new Size(66, 25);
|
|
nameDressLabel.TabIndex = 0;
|
|
nameDressLabel.Text = "Name:";
|
|
//
|
|
// priceDressLabel
|
|
//
|
|
priceDressLabel.AutoSize = true;
|
|
priceDressLabel.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point);
|
|
priceDressLabel.Location = new Point(12, 46);
|
|
priceDressLabel.Name = "priceDressLabel";
|
|
priceDressLabel.Size = new Size(58, 25);
|
|
priceDressLabel.TabIndex = 1;
|
|
priceDressLabel.Text = "Price:";
|
|
//
|
|
// nameDressTextBox
|
|
//
|
|
nameDressTextBox.Location = new Point(84, 11);
|
|
nameDressTextBox.Name = "nameDressTextBox";
|
|
nameDressTextBox.Size = new Size(287, 23);
|
|
nameDressTextBox.TabIndex = 2;
|
|
//
|
|
// priceDressTextBox
|
|
//
|
|
priceDressTextBox.Location = new Point(84, 48);
|
|
priceDressTextBox.Name = "priceDressTextBox";
|
|
priceDressTextBox.ReadOnly = true;
|
|
priceDressTextBox.Size = new Size(178, 23);
|
|
priceDressTextBox.TabIndex = 3;
|
|
//
|
|
// materialsGroupBox
|
|
//
|
|
materialsGroupBox.Controls.Add(RefreshButton);
|
|
materialsGroupBox.Controls.Add(deleteButton);
|
|
materialsGroupBox.Controls.Add(changeButton);
|
|
materialsGroupBox.Controls.Add(AddButton);
|
|
materialsGroupBox.Controls.Add(dressGridView);
|
|
materialsGroupBox.Location = new Point(16, 89);
|
|
materialsGroupBox.Name = "materialsGroupBox";
|
|
materialsGroupBox.Size = new Size(770, 301);
|
|
materialsGroupBox.TabIndex = 4;
|
|
materialsGroupBox.TabStop = false;
|
|
materialsGroupBox.Text = "Materials";
|
|
//
|
|
// RefreshButton
|
|
//
|
|
RefreshButton.Location = new Point(638, 225);
|
|
RefreshButton.Name = "RefreshButton";
|
|
RefreshButton.Size = new Size(103, 36);
|
|
RefreshButton.TabIndex = 4;
|
|
RefreshButton.Text = "Refresh";
|
|
RefreshButton.UseVisualStyleBackColor = true;
|
|
RefreshButton.Click += ButtonRefresh_Click;
|
|
//
|
|
// deleteButton
|
|
//
|
|
deleteButton.Location = new Point(638, 168);
|
|
deleteButton.Name = "deleteButton";
|
|
deleteButton.Size = new Size(103, 36);
|
|
deleteButton.TabIndex = 3;
|
|
deleteButton.Text = "Delete";
|
|
deleteButton.UseVisualStyleBackColor = true;
|
|
deleteButton.Click += ButtonDelete_Click;
|
|
//
|
|
// changeButton
|
|
//
|
|
changeButton.Location = new Point(638, 110);
|
|
changeButton.Name = "changeButton";
|
|
changeButton.Size = new Size(103, 36);
|
|
changeButton.TabIndex = 2;
|
|
changeButton.Text = "Change";
|
|
changeButton.UseVisualStyleBackColor = true;
|
|
changeButton.Click += ButtonUpdate_Click;
|
|
//
|
|
// AddButton
|
|
//
|
|
AddButton.Location = new Point(638, 56);
|
|
AddButton.Name = "AddButton";
|
|
AddButton.Size = new Size(103, 36);
|
|
AddButton.TabIndex = 1;
|
|
AddButton.Text = "Add";
|
|
AddButton.UseVisualStyleBackColor = true;
|
|
AddButton.Click += ButtonAdd_Click;
|
|
//
|
|
// dressGridView
|
|
//
|
|
dressGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dressGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnID, ColumnMaterial, ColumnQuantity });
|
|
dressGridView.Location = new Point(6, 22);
|
|
dressGridView.Name = "dressGridView";
|
|
dressGridView.RowTemplate.Height = 25;
|
|
dressGridView.Size = new Size(588, 273);
|
|
dressGridView.TabIndex = 0;
|
|
//
|
|
// ColumnID
|
|
//
|
|
ColumnID.HeaderText = "ID";
|
|
ColumnID.Name = "ColumnID";
|
|
ColumnID.Visible = false;
|
|
//
|
|
// ColumnMaterial
|
|
//
|
|
ColumnMaterial.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
ColumnMaterial.HeaderText = "Material";
|
|
ColumnMaterial.Name = "ColumnMaterial";
|
|
//
|
|
// ColumnQuantity
|
|
//
|
|
ColumnQuantity.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
ColumnQuantity.HeaderText = "Quantity";
|
|
ColumnQuantity.Name = "ColumnQuantity";
|
|
//
|
|
// saveButton
|
|
//
|
|
saveButton.Location = new Point(562, 407);
|
|
saveButton.Name = "saveButton";
|
|
saveButton.Size = new Size(89, 31);
|
|
saveButton.TabIndex = 5;
|
|
saveButton.Text = "Save";
|
|
saveButton.UseVisualStyleBackColor = true;
|
|
saveButton.Click += ButtonSave_Click;
|
|
//
|
|
// cancelButton
|
|
//
|
|
cancelButton.Location = new Point(657, 407);
|
|
cancelButton.Name = "cancelButton";
|
|
cancelButton.Size = new Size(89, 31);
|
|
cancelButton.TabIndex = 6;
|
|
cancelButton.Text = "Cancel";
|
|
cancelButton.UseVisualStyleBackColor = true;
|
|
cancelButton.Click += ButtonCancel_Click;
|
|
//
|
|
// FormDress
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(cancelButton);
|
|
Controls.Add(saveButton);
|
|
Controls.Add(materialsGroupBox);
|
|
Controls.Add(priceDressTextBox);
|
|
Controls.Add(nameDressTextBox);
|
|
Controls.Add(priceDressLabel);
|
|
Controls.Add(nameDressLabel);
|
|
Name = "FormDress";
|
|
Text = "Dress";
|
|
Load += FormDress_Load;
|
|
materialsGroupBox.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dressGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label nameDressLabel;
|
|
private Label priceDressLabel;
|
|
private TextBox nameDressTextBox;
|
|
private TextBox priceDressTextBox;
|
|
private GroupBox materialsGroupBox;
|
|
private Button RefreshButton;
|
|
private Button deleteButton;
|
|
private Button changeButton;
|
|
private Button AddButton;
|
|
private DataGridView dressGridView;
|
|
private DataGridViewTextBoxColumn ColumnID;
|
|
private DataGridViewTextBoxColumn ColumnMaterial;
|
|
private DataGridViewTextBoxColumn ColumnQuantity;
|
|
private Button saveButton;
|
|
private Button cancelButton;
|
|
}
|
|
} |