diff --git a/SushiBar/SushiBarView/FormImplementer.Designer.cs b/SushiBar/SushiBarView/FormImplementer.Designer.cs index 019198d..15664cd 100644 --- a/SushiBar/SushiBarView/FormImplementer.Designer.cs +++ b/SushiBar/SushiBarView/FormImplementer.Designer.cs @@ -28,18 +28,136 @@ /// private void InitializeComponent() { + buttonCancel = new Button(); + buttonSave = new Button(); + labelFIO = new Label(); + labelPassword = new Label(); + labelExp = new Label(); + labelQualification = new Label(); + textBoxFIO = new TextBox(); + textBoxPassword = new TextBox(); + numericUpDownExp = new NumericUpDown(); + numericUpDownQualification = new NumericUpDown(); + ((System.ComponentModel.ISupportInitialize)numericUpDownExp).BeginInit(); + ((System.ComponentModel.ISupportInitialize)numericUpDownQualification).BeginInit(); SuspendLayout(); // + // buttonCancel + // + buttonCancel.Location = new Point(68, 220); + buttonCancel.Name = "buttonCancel"; + buttonCancel.Size = new Size(124, 46); + buttonCancel.TabIndex = 0; + buttonCancel.Text = "Отмена"; + buttonCancel.UseVisualStyleBackColor = true; + // + // buttonSave + // + buttonSave.Location = new Point(287, 220); + buttonSave.Name = "buttonSave"; + buttonSave.Size = new Size(124, 46); + buttonSave.TabIndex = 1; + buttonSave.Text = "Сохранить"; + buttonSave.UseVisualStyleBackColor = true; + // + // labelFIO + // + labelFIO.AutoSize = true; + labelFIO.Location = new Point(21, 27); + labelFIO.Name = "labelFIO"; + labelFIO.Size = new Size(119, 15); + labelFIO.TabIndex = 2; + labelFIO.Text = "Исполнитель(ФИО):"; + // + // labelPassword + // + labelPassword.AutoSize = true; + labelPassword.Location = new Point(21, 63); + labelPassword.Name = "labelPassword"; + labelPassword.Size = new Size(52, 15); + labelPassword.TabIndex = 3; + labelPassword.Text = "Пароль:"; + // + // labelExp + // + labelExp.AutoSize = true; + labelExp.Location = new Point(21, 102); + labelExp.Name = "labelExp"; + labelExp.Size = new Size(82, 15); + labelExp.TabIndex = 4; + labelExp.Text = "Стаж работы:"; + // + // labelQualification + // + labelQualification.AutoSize = true; + labelQualification.Location = new Point(21, 143); + labelQualification.Name = "labelQualification"; + labelQualification.Size = new Size(91, 15); + labelQualification.TabIndex = 5; + labelQualification.Text = "Квалификация:"; + // + // textBoxFIO + // + textBoxFIO.Location = new Point(158, 24); + textBoxFIO.Name = "textBoxFIO"; + textBoxFIO.Size = new Size(306, 23); + textBoxFIO.TabIndex = 6; + // + // textBoxPassword + // + textBoxPassword.Location = new Point(158, 63); + textBoxPassword.Name = "textBoxPassword"; + textBoxPassword.Size = new Size(306, 23); + textBoxPassword.TabIndex = 7; + // + // numericUpDownExp + // + numericUpDownExp.Location = new Point(158, 100); + numericUpDownExp.Name = "numericUpDownExp"; + numericUpDownExp.Size = new Size(48, 23); + numericUpDownExp.TabIndex = 8; + // + // numericUpDownQualification + // + numericUpDownQualification.Location = new Point(158, 141); + numericUpDownQualification.Name = "numericUpDownQualification"; + numericUpDownQualification.Size = new Size(48, 23); + numericUpDownQualification.TabIndex = 9; + // // FormImplementer // AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(496, 278); + Controls.Add(numericUpDownQualification); + Controls.Add(numericUpDownExp); + Controls.Add(textBoxPassword); + Controls.Add(textBoxFIO); + Controls.Add(labelQualification); + Controls.Add(labelExp); + Controls.Add(labelPassword); + Controls.Add(labelFIO); + Controls.Add(buttonSave); + Controls.Add(buttonCancel); Name = "FormImplementer"; - Text = "FormImplementer"; + Text = "Исполнитель"; + ((System.ComponentModel.ISupportInitialize)numericUpDownExp).EndInit(); + ((System.ComponentModel.ISupportInitialize)numericUpDownQualification).EndInit(); ResumeLayout(false); + PerformLayout(); } #endregion + + private Button buttonCancel; + private Button buttonSave; + private Label labelFIO; + private Label labelPassword; + private Label labelExp; + private Label labelQualification; + private TextBox textBoxFIO; + private TextBox textBoxPassword; + private NumericUpDown numericUpDownExp; + private NumericUpDown numericUpDownQualification; } } \ No newline at end of file diff --git a/SushiBar/SushiBarView/FormImplementers.Designer.cs b/SushiBar/SushiBarView/FormImplementers.Designer.cs new file mode 100644 index 0000000..78a0f18 --- /dev/null +++ b/SushiBar/SushiBarView/FormImplementers.Designer.cs @@ -0,0 +1,107 @@ +namespace SushiBarView +{ + partial class FormImplementers + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + dataGridView1 = new DataGridView(); + buttonAdd = new Button(); + buttonUpd = new Button(); + buttonDel = new Button(); + buttonRef = new Button(); + ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit(); + SuspendLayout(); + // + // dataGridView1 + // + dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridView1.Location = new Point(2, 3); + dataGridView1.Name = "dataGridView1"; + dataGridView1.Size = new Size(469, 405); + dataGridView1.TabIndex = 0; + // + // buttonAdd + // + buttonAdd.Location = new Point(477, 12); + buttonAdd.Name = "buttonAdd"; + buttonAdd.Size = new Size(123, 52); + buttonAdd.TabIndex = 1; + buttonAdd.Text = "Добавить"; + buttonAdd.UseVisualStyleBackColor = true; + // + // buttonUpd + // + buttonUpd.Location = new Point(477, 70); + buttonUpd.Name = "buttonUpd"; + buttonUpd.Size = new Size(123, 52); + buttonUpd.TabIndex = 2; + buttonUpd.Text = "Изменить"; + buttonUpd.UseVisualStyleBackColor = true; + // + // buttonDel + // + buttonDel.Location = new Point(477, 128); + buttonDel.Name = "buttonDel"; + buttonDel.Size = new Size(123, 52); + buttonDel.TabIndex = 3; + buttonDel.Text = "Удалить"; + buttonDel.UseVisualStyleBackColor = true; + // + // buttonRef + // + buttonRef.Location = new Point(477, 186); + buttonRef.Name = "buttonRef"; + buttonRef.Size = new Size(123, 52); + buttonRef.TabIndex = 4; + buttonRef.Text = "Обновить"; + buttonRef.UseVisualStyleBackColor = true; + // + // FormImplementers + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(612, 411); + Controls.Add(buttonRef); + Controls.Add(buttonDel); + Controls.Add(buttonUpd); + Controls.Add(buttonAdd); + Controls.Add(dataGridView1); + Name = "FormImplementers"; + Text = "Исполнители"; + ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit(); + ResumeLayout(false); + } + + #endregion + + private DataGridView dataGridView1; + private Button buttonAdd; + private Button buttonUpd; + private Button buttonDel; + private Button buttonRef; + } +} \ No newline at end of file diff --git a/SushiBar/SushiBarView/FormImplementers.cs b/SushiBar/SushiBarView/FormImplementers.cs new file mode 100644 index 0000000..bd88f26 --- /dev/null +++ b/SushiBar/SushiBarView/FormImplementers.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace SushiBarView +{ + public partial class FormImplementers : Form + { + public FormImplementers() + { + InitializeComponent(); + } + } +} diff --git a/SushiBar/SushiBarView/FormImplementers.resx b/SushiBar/SushiBarView/FormImplementers.resx new file mode 100644 index 0000000..af32865 --- /dev/null +++ b/SushiBar/SushiBarView/FormImplementers.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file