229 lines
8.9 KiB
C#
229 lines
8.9 KiB
C#
|
namespace SecuritySystemView
|
|||
|
{
|
|||
|
partial class FormSecure
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
labelSecureName = new Label();
|
|||
|
labelSecurePrice = new Label();
|
|||
|
textBoxName = new TextBox();
|
|||
|
textBoxPrice = new TextBox();
|
|||
|
groupBoxComponentsControl = new GroupBox();
|
|||
|
buttonRefresh = new Button();
|
|||
|
buttonDelete = new Button();
|
|||
|
buttonEdit = new Button();
|
|||
|
buttonAdd = new Button();
|
|||
|
dataGridView = new DataGridView();
|
|||
|
ColumnId = new DataGridViewTextBoxColumn();
|
|||
|
ColumnName = new DataGridViewTextBoxColumn();
|
|||
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|||
|
buttonSave = new Button();
|
|||
|
buttonCancel = new Button();
|
|||
|
groupBoxComponentsControl.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// labelSecureName
|
|||
|
//
|
|||
|
labelSecureName.AutoSize = true;
|
|||
|
labelSecureName.Location = new Point(12, 9);
|
|||
|
labelSecureName.Name = "labelSecureName";
|
|||
|
labelSecureName.Size = new Size(80, 20);
|
|||
|
labelSecureName.TabIndex = 0;
|
|||
|
labelSecureName.Text = "Название:";
|
|||
|
//
|
|||
|
// labelSecurePrice
|
|||
|
//
|
|||
|
labelSecurePrice.AutoSize = true;
|
|||
|
labelSecurePrice.Location = new Point(12, 46);
|
|||
|
labelSecurePrice.Name = "labelSecurePrice";
|
|||
|
labelSecurePrice.Size = new Size(86, 20);
|
|||
|
labelSecurePrice.TabIndex = 1;
|
|||
|
labelSecurePrice.Text = "Стоимость:";
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
textBoxName.Location = new Point(108, 6);
|
|||
|
textBoxName.Name = "textBoxName";
|
|||
|
textBoxName.Size = new Size(368, 27);
|
|||
|
textBoxName.TabIndex = 2;
|
|||
|
//
|
|||
|
// textBoxPrice
|
|||
|
//
|
|||
|
textBoxPrice.Enabled = false;
|
|||
|
textBoxPrice.Location = new Point(108, 43);
|
|||
|
textBoxPrice.Name = "textBoxPrice";
|
|||
|
textBoxPrice.Size = new Size(143, 27);
|
|||
|
textBoxPrice.TabIndex = 3;
|
|||
|
//
|
|||
|
// groupBoxComponentsControl
|
|||
|
//
|
|||
|
groupBoxComponentsControl.Controls.Add(buttonRefresh);
|
|||
|
groupBoxComponentsControl.Controls.Add(buttonDelete);
|
|||
|
groupBoxComponentsControl.Controls.Add(buttonEdit);
|
|||
|
groupBoxComponentsControl.Controls.Add(buttonAdd);
|
|||
|
groupBoxComponentsControl.Controls.Add(dataGridView);
|
|||
|
groupBoxComponentsControl.Location = new Point(12, 76);
|
|||
|
groupBoxComponentsControl.Name = "groupBoxComponentsControl";
|
|||
|
groupBoxComponentsControl.Size = new Size(776, 317);
|
|||
|
groupBoxComponentsControl.TabIndex = 5;
|
|||
|
groupBoxComponentsControl.TabStop = false;
|
|||
|
groupBoxComponentsControl.Text = "Компоненты";
|
|||
|
//
|
|||
|
// buttonRefresh
|
|||
|
//
|
|||
|
buttonRefresh.Location = new Point(668, 197);
|
|||
|
buttonRefresh.Name = "buttonRefresh";
|
|||
|
buttonRefresh.Size = new Size(94, 29);
|
|||
|
buttonRefresh.TabIndex = 4;
|
|||
|
buttonRefresh.Text = "Обновить";
|
|||
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|||
|
buttonRefresh.Click += ButtonRefresh_Click;
|
|||
|
//
|
|||
|
// buttonDelete
|
|||
|
//
|
|||
|
buttonDelete.Location = new Point(668, 147);
|
|||
|
buttonDelete.Name = "buttonDelete";
|
|||
|
buttonDelete.Size = new Size(94, 29);
|
|||
|
buttonDelete.TabIndex = 3;
|
|||
|
buttonDelete.Text = "Удалить";
|
|||
|
buttonDelete.UseVisualStyleBackColor = true;
|
|||
|
buttonDelete.Click += ButtonDelete_Click;
|
|||
|
//
|
|||
|
// buttonEdit
|
|||
|
//
|
|||
|
buttonEdit.Location = new Point(668, 99);
|
|||
|
buttonEdit.Name = "buttonEdit";
|
|||
|
buttonEdit.Size = new Size(94, 29);
|
|||
|
buttonEdit.TabIndex = 2;
|
|||
|
buttonEdit.Text = "Изменить";
|
|||
|
buttonEdit.UseVisualStyleBackColor = true;
|
|||
|
buttonEdit.Click += ButtonEdit_Click;
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
buttonAdd.Location = new Point(668, 48);
|
|||
|
buttonAdd.Name = "buttonAdd";
|
|||
|
buttonAdd.Size = new Size(94, 29);
|
|||
|
buttonAdd.TabIndex = 1;
|
|||
|
buttonAdd.Text = "Добавить";
|
|||
|
buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
buttonAdd.Click += ButtonAdd_Click;
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnId, ColumnName, ColumnCount });
|
|||
|
dataGridView.Location = new Point(6, 26);
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.RowHeadersVisible = false;
|
|||
|
dataGridView.RowHeadersWidth = 51;
|
|||
|
dataGridView.RowTemplate.Height = 29;
|
|||
|
dataGridView.Size = new Size(627, 285);
|
|||
|
dataGridView.TabIndex = 0;
|
|||
|
//
|
|||
|
// ColumnId
|
|||
|
//
|
|||
|
ColumnId.HeaderText = "Id";
|
|||
|
ColumnId.MinimumWidth = 6;
|
|||
|
ColumnId.Name = "ColumnId";
|
|||
|
ColumnId.Visible = false;
|
|||
|
ColumnId.Width = 125;
|
|||
|
//
|
|||
|
// ColumnName
|
|||
|
//
|
|||
|
ColumnName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|||
|
ColumnName.HeaderText = "Компонент";
|
|||
|
ColumnName.MinimumWidth = 6;
|
|||
|
ColumnName.Name = "ColumnName";
|
|||
|
//
|
|||
|
// ColumnCount
|
|||
|
//
|
|||
|
ColumnCount.HeaderText = "Количество";
|
|||
|
ColumnCount.MinimumWidth = 6;
|
|||
|
ColumnCount.Name = "ColumnCount";
|
|||
|
ColumnCount.Width = 125;
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
buttonSave.Location = new Point(537, 409);
|
|||
|
buttonSave.Name = "buttonSave";
|
|||
|
buttonSave.Size = new Size(108, 29);
|
|||
|
buttonSave.TabIndex = 5;
|
|||
|
buttonSave.Text = "Сохранить";
|
|||
|
buttonSave.UseVisualStyleBackColor = true;
|
|||
|
buttonSave.Click += ButtonSave_Click;
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(665, 409);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(109, 29);
|
|||
|
buttonCancel.TabIndex = 6;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
buttonCancel.Click += ButtonCancel_Click;
|
|||
|
//
|
|||
|
// FormSecure
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(800, 450);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(buttonSave);
|
|||
|
Controls.Add(groupBoxComponentsControl);
|
|||
|
Controls.Add(textBoxPrice);
|
|||
|
Controls.Add(textBoxName);
|
|||
|
Controls.Add(labelSecurePrice);
|
|||
|
Controls.Add(labelSecureName);
|
|||
|
Name = "FormSecure";
|
|||
|
Text = "Изделие";
|
|||
|
groupBoxComponentsControl.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Label labelSecureName;
|
|||
|
private Label labelSecurePrice;
|
|||
|
private TextBox textBoxName;
|
|||
|
private TextBox textBoxPrice;
|
|||
|
private GroupBox groupBoxComponentsControl;
|
|||
|
private Button buttonRefresh;
|
|||
|
private Button buttonDelete;
|
|||
|
private Button buttonEdit;
|
|||
|
private Button buttonAdd;
|
|||
|
private DataGridView dataGridView;
|
|||
|
private DataGridViewTextBoxColumn ColumnId;
|
|||
|
private DataGridViewTextBoxColumn ColumnName;
|
|||
|
private DataGridViewTextBoxColumn ColumnCount;
|
|||
|
private Button buttonSave;
|
|||
|
private Button buttonCancel;
|
|||
|
}
|
|||
|
}
|