226 lines
7.1 KiB
C#
226 lines
7.1 KiB
C#
|
namespace TaskTrackerView
|
|||
|
{
|
|||
|
partial class FormOrganization
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
textBoxName = new TextBox();
|
|||
|
groupBoxComponents = new GroupBox();
|
|||
|
buttonUpd = new Button();
|
|||
|
buttonDel = 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();
|
|||
|
labelName = new Label();
|
|||
|
groupBoxComponents.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
textBoxName.Location = new Point(109, 21);
|
|||
|
textBoxName.Margin = new Padding(3, 2, 3, 2);
|
|||
|
textBoxName.Name = "textBoxName";
|
|||
|
textBoxName.Size = new Size(260, 23);
|
|||
|
textBoxName.TabIndex = 2;
|
|||
|
//
|
|||
|
// groupBoxComponents
|
|||
|
//
|
|||
|
groupBoxComponents.Controls.Add(buttonUpd);
|
|||
|
groupBoxComponents.Controls.Add(buttonDel);
|
|||
|
groupBoxComponents.Controls.Add(buttonEdit);
|
|||
|
groupBoxComponents.Controls.Add(buttonAdd);
|
|||
|
groupBoxComponents.Controls.Add(dataGridView);
|
|||
|
groupBoxComponents.Location = new Point(25, 62);
|
|||
|
groupBoxComponents.Margin = new Padding(3, 2, 3, 2);
|
|||
|
groupBoxComponents.Name = "groupBoxComponents";
|
|||
|
groupBoxComponents.Padding = new Padding(3, 2, 3, 2);
|
|||
|
groupBoxComponents.Size = new Size(620, 236);
|
|||
|
groupBoxComponents.TabIndex = 4;
|
|||
|
groupBoxComponents.TabStop = false;
|
|||
|
groupBoxComponents.Text = "Проекты";
|
|||
|
//
|
|||
|
// buttonUpd
|
|||
|
//
|
|||
|
buttonUpd.Location = new Point(507, 152);
|
|||
|
buttonUpd.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonUpd.Name = "buttonUpd";
|
|||
|
buttonUpd.Size = new Size(107, 40);
|
|||
|
buttonUpd.TabIndex = 4;
|
|||
|
buttonUpd.Text = "Обновить";
|
|||
|
buttonUpd.UseVisualStyleBackColor = true;
|
|||
|
buttonUpd.Click += ButtonUpd_Click;
|
|||
|
//
|
|||
|
// buttonDel
|
|||
|
//
|
|||
|
buttonDel.Location = new Point(507, 108);
|
|||
|
buttonDel.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonDel.Name = "buttonDel";
|
|||
|
buttonDel.Size = new Size(107, 40);
|
|||
|
buttonDel.TabIndex = 3;
|
|||
|
buttonDel.Text = "Удалить";
|
|||
|
buttonDel.UseVisualStyleBackColor = true;
|
|||
|
buttonDel.Click += ButtonDel_Click;
|
|||
|
//
|
|||
|
// buttonEdit
|
|||
|
//
|
|||
|
buttonEdit.Location = new Point(507, 64);
|
|||
|
buttonEdit.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonEdit.Name = "buttonEdit";
|
|||
|
buttonEdit.Size = new Size(107, 40);
|
|||
|
buttonEdit.TabIndex = 2;
|
|||
|
buttonEdit.Text = "Изменить";
|
|||
|
buttonEdit.UseVisualStyleBackColor = true;
|
|||
|
buttonEdit.Click += ButtonEdit_Click;
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
buttonAdd.Location = new Point(507, 20);
|
|||
|
buttonAdd.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonAdd.Name = "buttonAdd";
|
|||
|
buttonAdd.Size = new Size(107, 40);
|
|||
|
buttonAdd.TabIndex = 1;
|
|||
|
buttonAdd.Text = "Добавить";
|
|||
|
buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
buttonAdd.Click += ButtonAdd_Click;
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.AllowUserToAddRows = false;
|
|||
|
dataGridView.AllowUserToDeleteRows = false;
|
|||
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnId, ColumnName, ColumnCount });
|
|||
|
dataGridView.Location = new Point(5, 20);
|
|||
|
dataGridView.Margin = new Padding(3, 2, 3, 2);
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.ReadOnly = true;
|
|||
|
dataGridView.RowHeadersVisible = false;
|
|||
|
dataGridView.RowHeadersWidth = 51;
|
|||
|
dataGridView.RowTemplate.Height = 29;
|
|||
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|||
|
dataGridView.Size = new Size(496, 208);
|
|||
|
dataGridView.TabIndex = 0;
|
|||
|
//
|
|||
|
// ColumnId
|
|||
|
//
|
|||
|
ColumnId.HeaderText = "Id";
|
|||
|
ColumnId.MinimumWidth = 6;
|
|||
|
ColumnId.Name = "ColumnId";
|
|||
|
ColumnId.ReadOnly = true;
|
|||
|
ColumnId.Visible = false;
|
|||
|
ColumnId.Width = 125;
|
|||
|
//
|
|||
|
// ColumnName
|
|||
|
//
|
|||
|
ColumnName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|||
|
ColumnName.FillWeight = 100.53476F;
|
|||
|
ColumnName.HeaderText = "Проект";
|
|||
|
ColumnName.MinimumWidth = 6;
|
|||
|
ColumnName.Name = "ColumnName";
|
|||
|
ColumnName.ReadOnly = true;
|
|||
|
//
|
|||
|
// ColumnCount
|
|||
|
//
|
|||
|
ColumnCount.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|||
|
ColumnCount.HeaderText = "Количество сотрудников";
|
|||
|
ColumnCount.MinimumWidth = 6;
|
|||
|
ColumnCount.Name = "ColumnCount";
|
|||
|
ColumnCount.ReadOnly = true;
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
buttonSave.Location = new Point(419, 302);
|
|||
|
buttonSave.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonSave.Name = "buttonSave";
|
|||
|
buttonSave.Size = new Size(107, 40);
|
|||
|
buttonSave.TabIndex = 5;
|
|||
|
buttonSave.Text = "Сохранить";
|
|||
|
buttonSave.UseVisualStyleBackColor = true;
|
|||
|
buttonSave.Click += ButtonSave_Click;
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(532, 302);
|
|||
|
buttonCancel.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(107, 40);
|
|||
|
buttonCancel.TabIndex = 6;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
buttonCancel.Click += ButtonCancel_Click;
|
|||
|
//
|
|||
|
// labelName
|
|||
|
//
|
|||
|
labelName.AutoSize = true;
|
|||
|
labelName.Location = new Point(25, 23);
|
|||
|
labelName.Name = "labelName";
|
|||
|
labelName.Size = new Size(65, 15);
|
|||
|
labelName.TabIndex = 7;
|
|||
|
labelName.Text = "Название :";
|
|||
|
//
|
|||
|
// FormOrganization
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(655, 368);
|
|||
|
Controls.Add(labelName);
|
|||
|
Controls.Add(buttonSave);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(groupBoxComponents);
|
|||
|
Controls.Add(textBoxName);
|
|||
|
Margin = new Padding(3, 2, 3, 2);
|
|||
|
Name = "FormOrganization";
|
|||
|
Text = "Организация";
|
|||
|
Load += FormReinforced_Load;
|
|||
|
groupBoxComponents.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
private TextBox textBoxName;
|
|||
|
private GroupBox groupBoxComponents;
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Button buttonUpd;
|
|||
|
private Button buttonDel;
|
|||
|
private Button buttonEdit;
|
|||
|
private Button buttonAdd;
|
|||
|
private Button buttonSave;
|
|||
|
private Button buttonCancel;
|
|||
|
private Label labelName;
|
|||
|
private DataGridViewTextBoxColumn ColumnId;
|
|||
|
private DataGridViewTextBoxColumn ColumnName;
|
|||
|
private DataGridViewTextBoxColumn ColumnCount;
|
|||
|
}
|
|||
|
}
|