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()
|
|
|
|
|
{
|
|
|
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
|
|
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.labelName = new System.Windows.Forms.Label();
|
|
|
|
|
this.textBoxPrice = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.labelPrice = new System.Windows.Forms.Label();
|
|
|
|
|
this.groupBoxComponents = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.buttonRef = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonDel = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonUpd = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
|
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.ColumnId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.ColumnCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.groupBoxComponents.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
|
|
|
|
this.buttonCancel.Location = new System.Drawing.Point(455, 362);
|
|
|
|
|
this.buttonCancel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
|
|
|
this.buttonCancel.Size = new System.Drawing.Size(88, 27);
|
|
|
|
|
this.buttonCancel.TabIndex = 6;
|
|
|
|
|
this.buttonCancel.Text = "Отмена";
|
|
|
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
|
|
|
//
|
|
|
|
|
// buttonSave
|
|
|
|
|
//
|
|
|
|
|
this.buttonSave.Location = new System.Drawing.Point(360, 362);
|
|
|
|
|
this.buttonSave.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.buttonSave.Name = "buttonSave";
|
|
|
|
|
this.buttonSave.Size = new System.Drawing.Size(88, 27);
|
|
|
|
|
this.buttonSave.TabIndex = 5;
|
|
|
|
|
this.buttonSave.Text = "Сохранить";
|
|
|
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
|
|
|
|
//
|
|
|
|
|
// textBoxName
|
|
|
|
|
//
|
|
|
|
|
this.textBoxName.Location = new System.Drawing.Point(92, 7);
|
|
|
|
|
this.textBoxName.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.textBoxName.Name = "textBoxName";
|
|
|
|
|
this.textBoxName.Size = new System.Drawing.Size(252, 23);
|
|
|
|
|
this.textBoxName.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// labelName
|
|
|
|
|
//
|
|
|
|
|
this.labelName.AutoSize = true;
|
|
|
|
|
this.labelName.Location = new System.Drawing.Point(14, 10);
|
|
|
|
|
this.labelName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
|
|
this.labelName.Name = "labelName";
|
|
|
|
|
this.labelName.Size = new System.Drawing.Size(62, 15);
|
|
|
|
|
this.labelName.TabIndex = 0;
|
|
|
|
|
this.labelName.Text = "Название:";
|
|
|
|
|
//
|
|
|
|
|
// textBoxPrice
|
|
|
|
|
//
|
|
|
|
|
this.textBoxPrice.Enabled = false;
|
|
|
|
|
this.textBoxPrice.Location = new System.Drawing.Point(92, 37);
|
|
|
|
|
this.textBoxPrice.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.textBoxPrice.Name = "textBoxPrice";
|
|
|
|
|
this.textBoxPrice.Size = new System.Drawing.Size(147, 23);
|
|
|
|
|
this.textBoxPrice.TabIndex = 3;
|
|
|
|
|
//
|
|
|
|
|
// labelPrice
|
|
|
|
|
//
|
|
|
|
|
this.labelPrice.AutoSize = true;
|
|
|
|
|
this.labelPrice.Location = new System.Drawing.Point(14, 40);
|
|
|
|
|
this.labelPrice.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
|
|
this.labelPrice.Name = "labelPrice";
|
|
|
|
|
this.labelPrice.Size = new System.Drawing.Size(70, 15);
|
|
|
|
|
this.labelPrice.TabIndex = 2;
|
|
|
|
|
this.labelPrice.Text = "Стоимость:";
|
|
|
|
|
//
|
|
|
|
|
// groupBoxComponents
|
|
|
|
|
//
|
|
|
|
|
this.groupBoxComponents.Controls.Add(this.buttonRef);
|
|
|
|
|
this.groupBoxComponents.Controls.Add(this.buttonDel);
|
|
|
|
|
this.groupBoxComponents.Controls.Add(this.buttonUpd);
|
|
|
|
|
this.groupBoxComponents.Controls.Add(this.buttonAdd);
|
|
|
|
|
this.groupBoxComponents.Controls.Add(this.dataGridView);
|
|
|
|
|
this.groupBoxComponents.Location = new System.Drawing.Point(14, 67);
|
|
|
|
|
this.groupBoxComponents.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.groupBoxComponents.Name = "groupBoxComponents";
|
|
|
|
|
this.groupBoxComponents.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.groupBoxComponents.Size = new System.Drawing.Size(558, 288);
|
|
|
|
|
this.groupBoxComponents.TabIndex = 4;
|
|
|
|
|
this.groupBoxComponents.TabStop = false;
|
|
|
|
|
this.groupBoxComponents.Text = "Компоненты";
|
|
|
|
|
//
|
|
|
|
|
// buttonRef
|
|
|
|
|
//
|
|
|
|
|
this.buttonRef.Location = new System.Drawing.Point(441, 171);
|
|
|
|
|
this.buttonRef.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.buttonRef.Name = "buttonRef";
|
|
|
|
|
this.buttonRef.Size = new System.Drawing.Size(88, 27);
|
|
|
|
|
this.buttonRef.TabIndex = 4;
|
|
|
|
|
this.buttonRef.Text = "Обновить";
|
|
|
|
|
this.buttonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonRef.Click += new System.EventHandler(this.ButtonRef_Click);
|
|
|
|
|
//
|
|
|
|
|
// buttonDel
|
|
|
|
|
//
|
|
|
|
|
this.buttonDel.Location = new System.Drawing.Point(441, 123);
|
|
|
|
|
this.buttonDel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.buttonDel.Name = "buttonDel";
|
|
|
|
|
this.buttonDel.Size = new System.Drawing.Size(88, 27);
|
|
|
|
|
this.buttonDel.TabIndex = 3;
|
|
|
|
|
this.buttonDel.Text = "Удалить";
|
|
|
|
|
this.buttonDel.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonDel.Click += new System.EventHandler(this.ButtonDel_Click);
|
|
|
|
|
//
|
|
|
|
|
// buttonUpd
|
|
|
|
|
//
|
|
|
|
|
this.buttonUpd.Location = new System.Drawing.Point(441, 76);
|
|
|
|
|
this.buttonUpd.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.buttonUpd.Name = "buttonUpd";
|
|
|
|
|
this.buttonUpd.Size = new System.Drawing.Size(88, 27);
|
|
|
|
|
this.buttonUpd.TabIndex = 2;
|
|
|
|
|
this.buttonUpd.Text = "Изменить";
|
|
|
|
|
this.buttonUpd.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonUpd.Click += new System.EventHandler(this.ButtonUpd_Click);
|
|
|
|
|
//
|
|
|
|
|
// buttonAdd
|
|
|
|
|
//
|
|
|
|
|
this.buttonAdd.Location = new System.Drawing.Point(441, 32);
|
|
|
|
|
this.buttonAdd.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
|
|
|
this.buttonAdd.Size = new System.Drawing.Size(88, 27);
|
|
|
|
|
this.buttonAdd.TabIndex = 1;
|
|
|
|
|
this.buttonAdd.Text = "Добавить";
|
|
|
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
this.dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
this.dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
this.dataGridView.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
|
|
|
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.ColumnId,
|
|
|
|
|
this.ColumnName,
|
|
|
|
|
this.ColumnCount});
|
|
|
|
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Left;
|
|
|
|
|
this.dataGridView.Location = new System.Drawing.Point(4, 19);
|
|
|
|
|
this.dataGridView.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.dataGridView.MultiSelect = false;
|
|
|
|
|
this.dataGridView.Name = "dataGridView";
|
|
|
|
|
this.dataGridView.ReadOnly = true;
|
|
|
|
|
this.dataGridView.RowHeadersVisible = false;
|
|
|
|
|
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
this.dataGridView.Size = new System.Drawing.Size(408, 266);
|
|
|
|
|
this.dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// ColumnId
|
|
|
|
|
//
|
|
|
|
|
this.ColumnId.HeaderText = "Id";
|
|
|
|
|
this.ColumnId.Name = "ColumnId";
|
|
|
|
|
this.ColumnId.ReadOnly = true;
|
|
|
|
|
this.ColumnId.Visible = false;
|
|
|
|
|
//
|
|
|
|
|
// ColumnName
|
|
|
|
|
//
|
|
|
|
|
this.ColumnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.ColumnName.HeaderText = "Компонент";
|
|
|
|
|
this.ColumnName.Name = "ColumnName";
|
|
|
|
|
this.ColumnName.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// ColumnCount
|
|
|
|
|
//
|
|
|
|
|
this.ColumnCount.HeaderText = "Количество";
|
|
|
|
|
this.ColumnCount.Name = "ColumnCount";
|
|
|
|
|
this.ColumnCount.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// FormProduct
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(586, 402);
|
|
|
|
|
this.Controls.Add(this.groupBoxComponents);
|
|
|
|
|
this.Controls.Add(this.textBoxPrice);
|
|
|
|
|
this.Controls.Add(this.labelPrice);
|
|
|
|
|
this.Controls.Add(this.buttonCancel);
|
|
|
|
|
this.Controls.Add(this.buttonSave);
|
|
|
|
|
this.Controls.Add(this.textBoxName);
|
|
|
|
|
this.Controls.Add(this.labelName);
|
|
|
|
|
this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.Name = "FormProduct";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "Изделие";
|
|
|
|
|
this.Load += new System.EventHandler(this.FormProduct_Load);
|
|
|
|
|
this.groupBoxComponents.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Button buttonCancel;
|
|
|
|
|
private System.Windows.Forms.Button buttonSave;
|
|
|
|
|
private System.Windows.Forms.TextBox textBoxName;
|
|
|
|
|
private System.Windows.Forms.Label labelName;
|
|
|
|
|
private System.Windows.Forms.TextBox textBoxPrice;
|
|
|
|
|
private System.Windows.Forms.Label labelPrice;
|
|
|
|
|
private System.Windows.Forms.GroupBox groupBoxComponents;
|
|
|
|
|
private System.Windows.Forms.Button buttonRef;
|
|
|
|
|
private System.Windows.Forms.Button buttonDel;
|
|
|
|
|
private System.Windows.Forms.Button buttonUpd;
|
|
|
|
|
private System.Windows.Forms.Button buttonAdd;
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnId;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnName;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnCount;
|
|
|
|
|
}
|
|
|
|
|
}
|