Edit main form

Complete lab 3
This commit is contained in:
Viltskaa 2023-02-27 17:15:26 +04:00
parent 45235c7a82
commit 9b712685ba
2 changed files with 25 additions and 25 deletions

View File

@ -31,13 +31,13 @@
this.dataGridView = new System.Windows.Forms.DataGridView(); this.dataGridView = new System.Windows.Forms.DataGridView();
this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.directoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.directoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.componentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.sushiToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.buttonCreateOrder = new System.Windows.Forms.Button(); this.buttonCreateOrder = new System.Windows.Forms.Button();
this.buttonSubmit = new System.Windows.Forms.Button(); this.buttonSubmit = new System.Windows.Forms.Button();
this.buttonReady = new System.Windows.Forms.Button(); this.buttonReady = new System.Windows.Forms.Button();
this.buttonIssue = new System.Windows.Forms.Button(); this.buttonIssue = new System.Windows.Forms.Button();
this.buttonReload = new System.Windows.Forms.Button(); this.buttonReload = new System.Windows.Forms.Button();
this.componentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.sushiToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
this.menuStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
@ -48,7 +48,7 @@
this.dataGridView.Location = new System.Drawing.Point(12, 27); this.dataGridView.Location = new System.Drawing.Point(12, 27);
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
this.dataGridView.RowTemplate.Height = 25; this.dataGridView.RowTemplate.Height = 25;
this.dataGridView.Size = new System.Drawing.Size(656, 411); this.dataGridView.Size = new System.Drawing.Size(796, 411);
this.dataGridView.TabIndex = 0; this.dataGridView.TabIndex = 0;
// //
// menuStrip1 // menuStrip1
@ -57,7 +57,7 @@
this.directoryToolStripMenuItem}); this.directoryToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(800, 24); this.menuStrip1.Size = new System.Drawing.Size(940, 24);
this.menuStrip1.TabIndex = 1; this.menuStrip1.TabIndex = 1;
this.menuStrip1.Text = "menuStrip1"; this.menuStrip1.Text = "menuStrip1";
// //
@ -70,9 +70,23 @@
this.directoryToolStripMenuItem.Size = new System.Drawing.Size(67, 20); this.directoryToolStripMenuItem.Size = new System.Drawing.Size(67, 20);
this.directoryToolStripMenuItem.Text = "Directory"; this.directoryToolStripMenuItem.Text = "Directory";
// //
// componentsToolStripMenuItem
//
this.componentsToolStripMenuItem.Name = "componentsToolStripMenuItem";
this.componentsToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
this.componentsToolStripMenuItem.Text = "Components";
this.componentsToolStripMenuItem.Click += new System.EventHandler(this.ComponentsToolStripMenuItem_Click);
//
// sushiToolStripMenuItem
//
this.sushiToolStripMenuItem.Name = "sushiToolStripMenuItem";
this.sushiToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
this.sushiToolStripMenuItem.Text = "Sushi";
this.sushiToolStripMenuItem.Click += new System.EventHandler(this.SushiToolStripMenuItem_Click);
//
// buttonCreateOrder // buttonCreateOrder
// //
this.buttonCreateOrder.Location = new System.Drawing.Point(674, 27); this.buttonCreateOrder.Location = new System.Drawing.Point(814, 27);
this.buttonCreateOrder.Name = "buttonCreateOrder"; this.buttonCreateOrder.Name = "buttonCreateOrder";
this.buttonCreateOrder.Size = new System.Drawing.Size(114, 23); this.buttonCreateOrder.Size = new System.Drawing.Size(114, 23);
this.buttonCreateOrder.TabIndex = 2; this.buttonCreateOrder.TabIndex = 2;
@ -82,7 +96,7 @@
// //
// buttonSubmit // buttonSubmit
// //
this.buttonSubmit.Location = new System.Drawing.Point(674, 56); this.buttonSubmit.Location = new System.Drawing.Point(814, 56);
this.buttonSubmit.Name = "buttonSubmit"; this.buttonSubmit.Name = "buttonSubmit";
this.buttonSubmit.Size = new System.Drawing.Size(114, 23); this.buttonSubmit.Size = new System.Drawing.Size(114, 23);
this.buttonSubmit.TabIndex = 3; this.buttonSubmit.TabIndex = 3;
@ -92,7 +106,7 @@
// //
// buttonReady // buttonReady
// //
this.buttonReady.Location = new System.Drawing.Point(674, 85); this.buttonReady.Location = new System.Drawing.Point(814, 85);
this.buttonReady.Name = "buttonReady"; this.buttonReady.Name = "buttonReady";
this.buttonReady.Size = new System.Drawing.Size(114, 23); this.buttonReady.Size = new System.Drawing.Size(114, 23);
this.buttonReady.TabIndex = 4; this.buttonReady.TabIndex = 4;
@ -102,7 +116,7 @@
// //
// buttonIssue // buttonIssue
// //
this.buttonIssue.Location = new System.Drawing.Point(674, 114); this.buttonIssue.Location = new System.Drawing.Point(814, 114);
this.buttonIssue.Name = "buttonIssue"; this.buttonIssue.Name = "buttonIssue";
this.buttonIssue.Size = new System.Drawing.Size(114, 23); this.buttonIssue.Size = new System.Drawing.Size(114, 23);
this.buttonIssue.TabIndex = 5; this.buttonIssue.TabIndex = 5;
@ -112,7 +126,7 @@
// //
// buttonReload // buttonReload
// //
this.buttonReload.Location = new System.Drawing.Point(674, 143); this.buttonReload.Location = new System.Drawing.Point(814, 143);
this.buttonReload.Name = "buttonReload"; this.buttonReload.Name = "buttonReload";
this.buttonReload.Size = new System.Drawing.Size(114, 23); this.buttonReload.Size = new System.Drawing.Size(114, 23);
this.buttonReload.TabIndex = 6; this.buttonReload.TabIndex = 6;
@ -120,25 +134,11 @@
this.buttonReload.UseVisualStyleBackColor = true; this.buttonReload.UseVisualStyleBackColor = true;
this.buttonReload.Click += new System.EventHandler(this.ButtonReload_Click); this.buttonReload.Click += new System.EventHandler(this.ButtonReload_Click);
// //
// componentsToolStripMenuItem
//
this.componentsToolStripMenuItem.Name = "componentsToolStripMenuItem";
this.componentsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.componentsToolStripMenuItem.Text = "Components";
this.componentsToolStripMenuItem.Click += new System.EventHandler(this.ComponentsToolStripMenuItem_Click);
//
// sushiToolStripMenuItem
//
this.sushiToolStripMenuItem.Name = "sushiToolStripMenuItem";
this.sushiToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.sushiToolStripMenuItem.Text = "Sushi";
this.sushiToolStripMenuItem.Click += new System.EventHandler(this.SushiToolStripMenuItem_Click);
//
// FormMain // FormMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450); this.ClientSize = new System.Drawing.Size(940, 450);
this.Controls.Add(this.buttonReload); this.Controls.Add(this.buttonReload);
this.Controls.Add(this.buttonIssue); this.Controls.Add(this.buttonIssue);
this.Controls.Add(this.buttonReady); this.Controls.Add(this.buttonReady);

View File

@ -4,7 +4,7 @@ using NLog.Extensions.Logging;
using SushiBarBusinessLogic.BusinessLogics; using SushiBarBusinessLogic.BusinessLogics;
using SushiBarContracts.BusinessLogicsContracts; using SushiBarContracts.BusinessLogicsContracts;
using SushiBarContracts.StoragesContracts; using SushiBarContracts.StoragesContracts;
using SushiBarFileImplement.Implements; using SushiBarDatabaseImplement.Implements;
namespace SushiBar namespace SushiBar
{ {