2024-02-14 00:11:21 +04:00
|
|
|
|
namespace LawFirmView
|
2024-02-11 18:24:54 +04:00
|
|
|
|
{
|
2024-02-14 00:11:21 +04:00
|
|
|
|
partial class FormDocument
|
2024-02-11 18:24:54 +04:00
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
2024-02-28 09:04:02 +04:00
|
|
|
|
groupBox1 = new GroupBox();
|
|
|
|
|
buttonRef = new Button();
|
|
|
|
|
buttonDel = new Button();
|
|
|
|
|
buttonUpd = new Button();
|
|
|
|
|
buttonAdd = new Button();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
Column1 = new DataGridViewTextBoxColumn();
|
|
|
|
|
Column2 = new DataGridViewTextBoxColumn();
|
|
|
|
|
Column3 = new DataGridViewTextBoxColumn();
|
|
|
|
|
buttonSave = new Button();
|
|
|
|
|
buttonCancel = new Button();
|
|
|
|
|
textBoxName = new TextBox();
|
|
|
|
|
textBoxPrice = new TextBox();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
label2 = new Label();
|
|
|
|
|
groupBox1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-27 19:44:44 +04:00
|
|
|
|
// groupBox1
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
groupBox1.Controls.Add(buttonRef);
|
|
|
|
|
groupBox1.Controls.Add(buttonDel);
|
|
|
|
|
groupBox1.Controls.Add(buttonUpd);
|
|
|
|
|
groupBox1.Controls.Add(buttonAdd);
|
|
|
|
|
groupBox1.Controls.Add(dataGridView);
|
|
|
|
|
groupBox1.Location = new Point(66, 131);
|
|
|
|
|
groupBox1.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
groupBox1.Name = "groupBox1";
|
|
|
|
|
groupBox1.Padding = new Padding(3, 4, 3, 4);
|
|
|
|
|
groupBox1.Size = new Size(691, 384);
|
|
|
|
|
groupBox1.TabIndex = 0;
|
|
|
|
|
groupBox1.TabStop = false;
|
|
|
|
|
groupBox1.Text = "Компоненты";
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
// buttonRef
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
buttonRef.Location = new Point(544, 208);
|
|
|
|
|
buttonRef.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonRef.Name = "buttonRef";
|
|
|
|
|
buttonRef.Size = new Size(86, 31);
|
|
|
|
|
buttonRef.TabIndex = 4;
|
|
|
|
|
buttonRef.Text = "Обновить";
|
|
|
|
|
buttonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRef.Click += buttonRef_Click;
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
// buttonDel
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
buttonDel.Location = new Point(544, 144);
|
|
|
|
|
buttonDel.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonDel.Name = "buttonDel";
|
|
|
|
|
buttonDel.Size = new Size(86, 31);
|
|
|
|
|
buttonDel.TabIndex = 3;
|
|
|
|
|
buttonDel.Text = "Удалить";
|
|
|
|
|
buttonDel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDel.Click += buttonDel_Click;
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
// buttonUpd
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
buttonUpd.Location = new Point(544, 81);
|
|
|
|
|
buttonUpd.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonUpd.Name = "buttonUpd";
|
|
|
|
|
buttonUpd.Size = new Size(86, 31);
|
|
|
|
|
buttonUpd.TabIndex = 2;
|
|
|
|
|
buttonUpd.Text = "Изменить";
|
|
|
|
|
buttonUpd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUpd.Click += buttonUpd_Click;
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
// buttonAdd
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
buttonAdd.Location = new Point(544, 25);
|
|
|
|
|
buttonAdd.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonAdd.Name = "buttonAdd";
|
|
|
|
|
buttonAdd.Size = new Size(86, 31);
|
|
|
|
|
buttonAdd.TabIndex = 1;
|
|
|
|
|
buttonAdd.Text = "Добавить";
|
|
|
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAdd.Click += buttonAdd_Click;
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
// dataGridView
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { Column1, Column2, Column3 });
|
|
|
|
|
dataGridView.Location = new Point(3, 25);
|
|
|
|
|
dataGridView.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 25;
|
|
|
|
|
dataGridView.Size = new Size(472, 339);
|
|
|
|
|
dataGridView.TabIndex = 0;
|
2024-02-27 19:44:44 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
// Column1
|
2024-02-27 19:44:44 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
Column1.HeaderText = "id";
|
|
|
|
|
Column1.MinimumWidth = 6;
|
|
|
|
|
Column1.Name = "Column1";
|
|
|
|
|
Column1.Visible = false;
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
// Column2
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
Column2.HeaderText = "Компонент";
|
|
|
|
|
Column2.MinimumWidth = 6;
|
|
|
|
|
Column2.Name = "Column2";
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
// Column3
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
Column3.HeaderText = "Количество";
|
|
|
|
|
Column3.MinimumWidth = 6;
|
|
|
|
|
Column3.Name = "Column3";
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-27 19:44:44 +04:00
|
|
|
|
// buttonSave
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
buttonSave.Location = new Point(488, 537);
|
|
|
|
|
buttonSave.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonSave.Name = "buttonSave";
|
|
|
|
|
buttonSave.Size = new Size(94, 31);
|
|
|
|
|
buttonSave.TabIndex = 1;
|
|
|
|
|
buttonSave.Text = "Сохранить";
|
|
|
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSave.Click += buttonSave_Click;
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-27 19:44:44 +04:00
|
|
|
|
// buttonCancel
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
buttonCancel.Location = new Point(610, 537);
|
|
|
|
|
buttonCancel.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonCancel.Name = "buttonCancel";
|
|
|
|
|
buttonCancel.Size = new Size(86, 31);
|
|
|
|
|
buttonCancel.TabIndex = 2;
|
|
|
|
|
buttonCancel.Text = "Отмена";
|
|
|
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCancel.Click += buttonCancel_Click;
|
2024-02-27 19:44:44 +04:00
|
|
|
|
//
|
|
|
|
|
// textBoxName
|
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
textBoxName.Location = new Point(117, 16);
|
|
|
|
|
textBoxName.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
textBoxName.Name = "textBoxName";
|
|
|
|
|
textBoxName.Size = new Size(234, 27);
|
|
|
|
|
textBoxName.TabIndex = 3;
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-27 19:44:44 +04:00
|
|
|
|
// textBoxPrice
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
textBoxPrice.Location = new Point(117, 55);
|
|
|
|
|
textBoxPrice.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
textBoxPrice.Name = "textBoxPrice";
|
|
|
|
|
textBoxPrice.Size = new Size(172, 27);
|
|
|
|
|
textBoxPrice.TabIndex = 4;
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-27 19:44:44 +04:00
|
|
|
|
// label1
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(14, 16);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(80, 20);
|
|
|
|
|
label1.TabIndex = 5;
|
|
|
|
|
label1.Text = "Название:";
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-27 19:44:44 +04:00
|
|
|
|
// label2
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
label2.AutoSize = true;
|
|
|
|
|
label2.Location = new Point(14, 55);
|
|
|
|
|
label2.Name = "label2";
|
|
|
|
|
label2.Size = new Size(86, 20);
|
|
|
|
|
label2.TabIndex = 6;
|
|
|
|
|
label2.Text = "Стоимость:";
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-27 19:44:44 +04:00
|
|
|
|
// FormDocument
|
2024-02-11 18:24:54 +04:00
|
|
|
|
//
|
2024-02-28 09:04:02 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(790, 600);
|
|
|
|
|
Controls.Add(label2);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(textBoxPrice);
|
|
|
|
|
Controls.Add(textBoxName);
|
|
|
|
|
Controls.Add(buttonCancel);
|
|
|
|
|
Controls.Add(buttonSave);
|
|
|
|
|
Controls.Add(groupBox1);
|
|
|
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
Name = "FormDocument";
|
|
|
|
|
Text = "Пакет документов";
|
|
|
|
|
Load += FormDocument_Load;
|
|
|
|
|
groupBox1.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2024-02-11 18:24:54 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2024-02-27 19:44:44 +04:00
|
|
|
|
private GroupBox groupBox1;
|
|
|
|
|
private Button buttonRef;
|
|
|
|
|
private Button buttonDel;
|
|
|
|
|
private Button buttonUpd;
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private DataGridViewTextBoxColumn Column1;
|
|
|
|
|
private DataGridViewTextBoxColumn Column2;
|
|
|
|
|
private DataGridViewTextBoxColumn Column3;
|
|
|
|
|
private Button buttonSave;
|
|
|
|
|
private Button buttonCancel;
|
|
|
|
|
private TextBox textBoxName;
|
|
|
|
|
private TextBox textBoxPrice;
|
|
|
|
|
private Label label1;
|
|
|
|
|
private Label label2;
|
2024-02-11 18:24:54 +04:00
|
|
|
|
}
|
|
|
|
|
}
|