87 lines
3.1 KiB
C#
87 lines
3.1 KiB
C#
namespace PortalAccountsView
|
|
{
|
|
partial class FormRoles
|
|
{
|
|
/// <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()
|
|
{
|
|
dataGridView = new DataGridView();
|
|
NameCol = new DataGridViewTextBoxColumn();
|
|
Id = new DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { NameCol, Id });
|
|
dataGridView.Dock = DockStyle.Fill;
|
|
dataGridView.Location = new Point(0, 0);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.RowTemplate.Height = 29;
|
|
dataGridView.Size = new Size(800, 450);
|
|
dataGridView.TabIndex = 0;
|
|
dataGridView.CellValueChanged += DataGridView_CellValueChanged;
|
|
dataGridView.UserDeletingRow += DataGridView_UserDeletingRow;
|
|
dataGridView.KeyUp += DataGridView_KeyUp;
|
|
//
|
|
// NameCol
|
|
//
|
|
NameCol.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
NameCol.HeaderText = "Название";
|
|
NameCol.MinimumWidth = 6;
|
|
NameCol.Name = "NameCol";
|
|
//
|
|
// Id
|
|
//
|
|
Id.HeaderText = "Id";
|
|
Id.MinimumWidth = 6;
|
|
Id.Name = "Id";
|
|
Id.Visible = false;
|
|
Id.Width = 6;
|
|
//
|
|
// FormRoles
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(dataGridView);
|
|
Name = "FormRoles";
|
|
Text = "FormRoles";
|
|
Load += FormRoles_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn NameCol;
|
|
private DataGridViewTextBoxColumn Id;
|
|
}
|
|
} |