2024-02-26 00:11:41 +04:00
|
|
|
|
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);
|
2024-03-24 16:45:53 +04:00
|
|
|
|
textBoxName.TabIndex = 0;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
//
|
|
|
|
|
// textBoxPrice
|
|
|
|
|
//
|
|
|
|
|
textBoxPrice.Enabled = false;
|
|
|
|
|
textBoxPrice.Location = new Point(108, 43);
|
|
|
|
|
textBoxPrice.Name = "textBoxPrice";
|
|
|
|
|
textBoxPrice.Size = new Size(143, 27);
|
2024-03-24 16:45:53 +04:00
|
|
|
|
textBoxPrice.TabIndex = 1;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
//
|
|
|
|
|
// 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);
|
2024-03-24 16:45:53 +04:00
|
|
|
|
buttonRefresh.TabIndex = 5;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
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);
|
2024-03-24 16:45:53 +04:00
|
|
|
|
buttonDelete.TabIndex = 4;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
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);
|
2024-03-24 16:45:53 +04:00
|
|
|
|
buttonEdit.TabIndex = 3;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
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);
|
2024-03-24 16:45:53 +04:00
|
|
|
|
buttonAdd.TabIndex = 2;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
buttonAdd.Text = "Добавить";
|
|
|
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAdd.Click += ButtonAdd_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-02-26 09:02:50 +04:00
|
|
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
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;
|
2024-02-26 01:20:07 +04:00
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
dataGridView.Size = new Size(627, 285);
|
2024-03-24 16:45:53 +04:00
|
|
|
|
dataGridView.TabIndex = 8;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
//
|
|
|
|
|
// ColumnId
|
|
|
|
|
//
|
|
|
|
|
ColumnId.HeaderText = "Id";
|
|
|
|
|
ColumnId.MinimumWidth = 6;
|
|
|
|
|
ColumnId.Name = "ColumnId";
|
|
|
|
|
ColumnId.Visible = false;
|
|
|
|
|
//
|
|
|
|
|
// ColumnName
|
|
|
|
|
//
|
|
|
|
|
ColumnName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
ColumnName.HeaderText = "Компонент";
|
|
|
|
|
ColumnName.MinimumWidth = 6;
|
|
|
|
|
ColumnName.Name = "ColumnName";
|
|
|
|
|
//
|
|
|
|
|
// ColumnCount
|
|
|
|
|
//
|
|
|
|
|
ColumnCount.HeaderText = "Количество";
|
|
|
|
|
ColumnCount.MinimumWidth = 6;
|
|
|
|
|
ColumnCount.Name = "ColumnCount";
|
|
|
|
|
//
|
|
|
|
|
// buttonSave
|
|
|
|
|
//
|
|
|
|
|
buttonSave.Location = new Point(537, 409);
|
|
|
|
|
buttonSave.Name = "buttonSave";
|
|
|
|
|
buttonSave.Size = new Size(108, 29);
|
2024-03-24 16:45:53 +04:00
|
|
|
|
buttonSave.TabIndex = 6;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
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);
|
2024-03-24 16:45:53 +04:00
|
|
|
|
buttonCancel.TabIndex = 7;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
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 = "Изделие";
|
2024-02-26 00:47:21 +04:00
|
|
|
|
Load += FormSecure_Load;
|
2024-02-26 00:11:41 +04:00
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|