233 lines
8.6 KiB
C#
233 lines
8.6 KiB
C#
namespace SoftwareInstallationView
|
|
{
|
|
partial class FormSoftware
|
|
{
|
|
/// <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();
|
|
textBoxName = new TextBox();
|
|
labelPrice = new Label();
|
|
textBoxPrice = new TextBox();
|
|
groupBoxComponents = new GroupBox();
|
|
buttonRef = new Button();
|
|
buttonDel = new Button();
|
|
buttonUpd = new Button();
|
|
buttonAdd = new Button();
|
|
dataGridView = new DataGridView();
|
|
id = new DataGridViewTextBoxColumn();
|
|
Component = new DataGridViewTextBoxColumn();
|
|
Count = new DataGridViewTextBoxColumn();
|
|
buttonCancel = new Button();
|
|
buttonSave = new Button();
|
|
groupBoxComponents.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(16, 15);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(84, 20);
|
|
labelName.TabIndex = 0;
|
|
labelName.Text = "Название: ";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(112, 12);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(281, 27);
|
|
textBoxName.TabIndex = 1;
|
|
//
|
|
// labelPrice
|
|
//
|
|
labelPrice.AutoSize = true;
|
|
labelPrice.Location = new Point(16, 51);
|
|
labelPrice.Name = "labelPrice";
|
|
labelPrice.Size = new Size(90, 20);
|
|
labelPrice.TabIndex = 2;
|
|
labelPrice.Text = "Стоимость: ";
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
textBoxPrice.Location = new Point(112, 51);
|
|
textBoxPrice.Name = "textBoxPrice";
|
|
textBoxPrice.Size = new Size(154, 27);
|
|
textBoxPrice.TabIndex = 3;
|
|
//
|
|
// groupBoxComponents
|
|
//
|
|
groupBoxComponents.Controls.Add(buttonRef);
|
|
groupBoxComponents.Controls.Add(buttonDel);
|
|
groupBoxComponents.Controls.Add(buttonUpd);
|
|
groupBoxComponents.Controls.Add(buttonAdd);
|
|
groupBoxComponents.Controls.Add(dataGridView);
|
|
groupBoxComponents.Location = new Point(11, 84);
|
|
groupBoxComponents.Name = "groupBoxComponents";
|
|
groupBoxComponents.Size = new Size(642, 319);
|
|
groupBoxComponents.TabIndex = 4;
|
|
groupBoxComponents.TabStop = false;
|
|
groupBoxComponents.Text = "Компоненты";
|
|
//
|
|
// buttonRef
|
|
//
|
|
buttonRef.Location = new Point(502, 211);
|
|
buttonRef.Name = "buttonRef";
|
|
buttonRef.Size = new Size(126, 35);
|
|
buttonRef.TabIndex = 4;
|
|
buttonRef.Text = "Обновить";
|
|
buttonRef.UseVisualStyleBackColor = true;
|
|
buttonRef.Click += ButtonRef_Click;
|
|
//
|
|
// buttonDel
|
|
//
|
|
buttonDel.Location = new Point(502, 157);
|
|
buttonDel.Name = "buttonDel";
|
|
buttonDel.Size = new Size(126, 35);
|
|
buttonDel.TabIndex = 3;
|
|
buttonDel.Text = "Удалить";
|
|
buttonDel.UseVisualStyleBackColor = true;
|
|
buttonDel.Click += ButtonDel_Click;
|
|
//
|
|
// buttonUpd
|
|
//
|
|
buttonUpd.Location = new Point(502, 101);
|
|
buttonUpd.Name = "buttonUpd";
|
|
buttonUpd.Size = new Size(126, 35);
|
|
buttonUpd.TabIndex = 2;
|
|
buttonUpd.Text = "Изменить";
|
|
buttonUpd.UseVisualStyleBackColor = true;
|
|
buttonUpd.Click += ButtonUpd_Click;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Location = new Point(502, 47);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(126, 35);
|
|
buttonAdd.TabIndex = 1;
|
|
buttonAdd.Text = "Добавить";
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
buttonAdd.Click += ButtonAdd_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView.BackgroundColor = Color.White;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { id, Component, Count });
|
|
dataGridView.Location = new Point(6, 27);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.RowTemplate.Height = 29;
|
|
dataGridView.Size = new Size(475, 287);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// id
|
|
//
|
|
id.HeaderText = "id";
|
|
id.MinimumWidth = 6;
|
|
id.Name = "id";
|
|
id.ReadOnly = true;
|
|
id.Visible = false;
|
|
//
|
|
// Component
|
|
//
|
|
Component.HeaderText = "Компонент";
|
|
Component.MinimumWidth = 6;
|
|
Component.Name = "Component";
|
|
Component.ReadOnly = true;
|
|
//
|
|
// Count
|
|
//
|
|
Count.HeaderText = "Количество";
|
|
Count.MinimumWidth = 6;
|
|
Count.Name = "Count";
|
|
Count.ReadOnly = true;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(413, 417);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(126, 35);
|
|
buttonCancel.TabIndex = 5;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(280, 417);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(126, 35);
|
|
buttonSave.TabIndex = 6;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += ButtonSave_Click;
|
|
//
|
|
// FormSoftware
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(685, 463);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(groupBoxComponents);
|
|
Controls.Add(textBoxPrice);
|
|
Controls.Add(labelPrice);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelName);
|
|
Name = "FormSoftware";
|
|
Text = "ПО";
|
|
Load += FormSoftware_Load;
|
|
groupBoxComponents.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelName;
|
|
private TextBox textBoxName;
|
|
private Label labelPrice;
|
|
private TextBox textBoxPrice;
|
|
private GroupBox groupBoxComponents;
|
|
private Button buttonRef;
|
|
private Button buttonDel;
|
|
private Button buttonUpd;
|
|
private Button buttonAdd;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn Component;
|
|
private DataGridViewTextBoxColumn Count;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private DataGridViewTextBoxColumn id;
|
|
}
|
|
} |