95 lines
3.7 KiB
C#
95 lines
3.7 KiB
C#
using DataBaseImplements.Models;
|
|
|
|
namespace COP3_
|
|
{
|
|
partial class FormGuide
|
|
{
|
|
/// <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()
|
|
{
|
|
dataGridViewGuide = new DataGridView();
|
|
OrderStatus = new DataGridViewTextBoxColumn();
|
|
ID = new DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewGuide).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// dataGridViewGuide
|
|
//
|
|
dataGridViewGuide.AllowUserToAddRows = false;
|
|
dataGridViewGuide.AllowUserToDeleteRows = false;
|
|
dataGridViewGuide.AllowUserToResizeColumns = false;
|
|
dataGridViewGuide.AllowUserToResizeRows = false;
|
|
dataGridViewGuide.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
dataGridViewGuide.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridViewGuide.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridViewGuide.Columns.AddRange(new DataGridViewColumn[] { OrderStatus, ID });
|
|
dataGridViewGuide.EditMode = DataGridViewEditMode.EditOnF2;
|
|
dataGridViewGuide.Location = new Point(12, 11);
|
|
dataGridViewGuide.MultiSelect = false;
|
|
dataGridViewGuide.Name = "dataGridViewGuide";
|
|
dataGridViewGuide.RowHeadersVisible = false;
|
|
dataGridViewGuide.RowHeadersWidth = 51;
|
|
dataGridViewGuide.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridViewGuide.Size = new Size(282, 411);
|
|
dataGridViewGuide.TabIndex = 0;
|
|
dataGridViewGuide.CellEndEdit += dataGridViewGuide_CellEndEdit;
|
|
dataGridViewGuide.CellValidating += dataGridViewGuide_CellValidating;
|
|
dataGridViewGuide.KeyDown += dataGridViewGuide_KeyDown;
|
|
|
|
//
|
|
// ID
|
|
//
|
|
ID.HeaderText = "Id";
|
|
ID.MinimumWidth = 6;
|
|
ID.Name = "Id";
|
|
ID.Visible = false;
|
|
//
|
|
// OrderStatus
|
|
//
|
|
OrderStatus.HeaderText = "Статус заказа";
|
|
OrderStatus.MinimumWidth = 6;
|
|
OrderStatus.Name = "OrderStatus";
|
|
|
|
//
|
|
// FormGuide
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(306, 435);
|
|
Controls.Add(dataGridViewGuide);
|
|
Name = "FormGuide";
|
|
Text = "Справочник";
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewGuide).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DataGridView dataGridViewGuide;
|
|
private DataGridViewTextBoxColumn OrderStatus;
|
|
private DataGridViewTextBoxColumn ID;
|
|
}
|
|
} |