198 lines
7.5 KiB
C#
198 lines
7.5 KiB
C#
|
namespace TaskTrackerView
|
|||
|
{
|
|||
|
partial class FormMain
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
menuStrip = new MenuStrip();
|
|||
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
изделияToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
клиентыToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
dataGridView = new DataGridView();
|
|||
|
buttonCreateOrder = new Button();
|
|||
|
buttonTakeOrderInWork = new Button();
|
|||
|
buttonOrderReady = new Button();
|
|||
|
buttonIssuedOrder = new Button();
|
|||
|
buttonUpd = new Button();
|
|||
|
menuStrip.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// menuStrip
|
|||
|
//
|
|||
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
|||
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem });
|
|||
|
menuStrip.Location = new Point(0, 0);
|
|||
|
menuStrip.Name = "menuStrip";
|
|||
|
menuStrip.Padding = new Padding(5, 2, 0, 2);
|
|||
|
menuStrip.Size = new Size(1100, 24);
|
|||
|
menuStrip.TabIndex = 0;
|
|||
|
menuStrip.Text = "menuStrip1";
|
|||
|
//
|
|||
|
// справочникиToolStripMenuItem
|
|||
|
//
|
|||
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem, клиентыToolStripMenuItem });
|
|||
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|||
|
справочникиToolStripMenuItem.Size = new Size(53, 20);
|
|||
|
справочникиToolStripMenuItem.Text = "Меню";
|
|||
|
//
|
|||
|
// компонентыToolStripMenuItem
|
|||
|
//
|
|||
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
|||
|
компонентыToolStripMenuItem.Size = new Size(152, 22);
|
|||
|
компонентыToolStripMenuItem.Text = "Проекты";
|
|||
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// изделияToolStripMenuItem
|
|||
|
//
|
|||
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
|||
|
изделияToolStripMenuItem.Size = new Size(152, 22);
|
|||
|
изделияToolStripMenuItem.Text = "Организации";
|
|||
|
изделияToolStripMenuItem.Click += ИзделияToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// клиентыToolStripMenuItem
|
|||
|
//
|
|||
|
клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem";
|
|||
|
клиентыToolStripMenuItem.Size = new Size(152, 22);
|
|||
|
клиентыToolStripMenuItem.Text = "Пользователи";
|
|||
|
клиентыToolStripMenuItem.Click += КлиентыToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.AllowUserToAddRows = false;
|
|||
|
dataGridView.AllowUserToDeleteRows = false;
|
|||
|
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|||
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Location = new Point(12, 26);
|
|||
|
dataGridView.Margin = new Padding(3, 2, 3, 2);
|
|||
|
dataGridView.MultiSelect = false;
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.ReadOnly = true;
|
|||
|
dataGridView.RowHeadersVisible = false;
|
|||
|
dataGridView.RowHeadersWidth = 51;
|
|||
|
dataGridView.RowTemplate.Height = 29;
|
|||
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|||
|
dataGridView.Size = new Size(891, 323);
|
|||
|
dataGridView.TabIndex = 0;
|
|||
|
//
|
|||
|
// buttonCreateOrder
|
|||
|
//
|
|||
|
buttonCreateOrder.Location = new Point(909, 26);
|
|||
|
buttonCreateOrder.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|||
|
buttonCreateOrder.Size = new Size(179, 40);
|
|||
|
buttonCreateOrder.TabIndex = 1;
|
|||
|
buttonCreateOrder.Text = "Создать задачу";
|
|||
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|||
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
|||
|
//
|
|||
|
// buttonTakeOrderInWork
|
|||
|
//
|
|||
|
buttonTakeOrderInWork.Location = new Point(909, 70);
|
|||
|
buttonTakeOrderInWork.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|||
|
buttonTakeOrderInWork.Size = new Size(179, 40);
|
|||
|
buttonTakeOrderInWork.TabIndex = 2;
|
|||
|
buttonTakeOrderInWork.Text = "Задача выполняется";
|
|||
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|||
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
|||
|
//
|
|||
|
// buttonOrderReady
|
|||
|
//
|
|||
|
buttonOrderReady.Location = new Point(909, 114);
|
|||
|
buttonOrderReady.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonOrderReady.Name = "buttonOrderReady";
|
|||
|
buttonOrderReady.Size = new Size(179, 40);
|
|||
|
buttonOrderReady.TabIndex = 3;
|
|||
|
buttonOrderReady.Text = "Задача готова";
|
|||
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|||
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
|||
|
//
|
|||
|
// buttonIssuedOrder
|
|||
|
//
|
|||
|
buttonIssuedOrder.Location = new Point(909, 158);
|
|||
|
buttonIssuedOrder.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|||
|
buttonIssuedOrder.Size = new Size(179, 40);
|
|||
|
buttonIssuedOrder.TabIndex = 4;
|
|||
|
buttonIssuedOrder.Text = "Задача проверена";
|
|||
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|||
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
|||
|
//
|
|||
|
// buttonUpd
|
|||
|
//
|
|||
|
buttonUpd.Location = new Point(909, 202);
|
|||
|
buttonUpd.Margin = new Padding(3, 2, 3, 2);
|
|||
|
buttonUpd.Name = "buttonUpd";
|
|||
|
buttonUpd.Size = new Size(179, 40);
|
|||
|
buttonUpd.TabIndex = 5;
|
|||
|
buttonUpd.Text = "Обновить список";
|
|||
|
buttonUpd.UseVisualStyleBackColor = true;
|
|||
|
buttonUpd.Click += ButtonUpd_Click;
|
|||
|
//
|
|||
|
// FormMain
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(1100, 366);
|
|||
|
Controls.Add(buttonUpd);
|
|||
|
Controls.Add(buttonIssuedOrder);
|
|||
|
Controls.Add(buttonOrderReady);
|
|||
|
Controls.Add(buttonTakeOrderInWork);
|
|||
|
Controls.Add(buttonCreateOrder);
|
|||
|
Controls.Add(dataGridView);
|
|||
|
Controls.Add(menuStrip);
|
|||
|
MainMenuStrip = menuStrip;
|
|||
|
Margin = new Padding(3, 2, 3, 2);
|
|||
|
Name = "FormMain";
|
|||
|
StartPosition = FormStartPosition.CenterScreen;
|
|||
|
Text = "Таск-трекер";
|
|||
|
Load += FormMain_Load;
|
|||
|
menuStrip.ResumeLayout(false);
|
|||
|
menuStrip.PerformLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private MenuStrip menuStrip;
|
|||
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|||
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
|||
|
private ToolStripMenuItem изделияToolStripMenuItem;
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Button buttonCreateOrder;
|
|||
|
private Button buttonTakeOrderInWork;
|
|||
|
private Button buttonOrderReady;
|
|||
|
private Button buttonIssuedOrder;
|
|||
|
private Button buttonUpd;
|
|||
|
private ToolStripMenuItem клиентыToolStripMenuItem;
|
|||
|
}
|
|||
|
}
|