diff --git a/SushiBar/ImplementationExtensions/SushiBarDatabaseImplement.dll b/SushiBar/ImplementationExtensions/SushiBarDatabaseImplement.dll
deleted file mode 100644
index 2c2cf67..0000000
Binary files a/SushiBar/ImplementationExtensions/SushiBarDatabaseImplement.dll and /dev/null differ
diff --git a/SushiBar/SushiBarView/FormClients.Designer.cs b/SushiBar/SushiBarView/FormClients.Designer.cs
index abe9b7a..73246c4 100644
--- a/SushiBar/SushiBarView/FormClients.Designer.cs
+++ b/SushiBar/SushiBarView/FormClients.Designer.cs
@@ -20,66 +20,66 @@
base.Dispose(disposing);
}
- #region Windows Form Designer generated code
+ #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()
- {
- buttonDel = new Button();
- buttonRef = new Button();
- dataGridView = new DataGridView();
- ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
- SuspendLayout();
- //
- // buttonDel
- //
- buttonDel.Location = new Point(382, 12);
- buttonDel.Name = "buttonDel";
- buttonDel.Size = new Size(119, 38);
- buttonDel.TabIndex = 0;
- buttonDel.Text = "Удалить";
- buttonDel.UseVisualStyleBackColor = true;
- buttonDel.Click += buttonDel_Click;
- //
- // buttonRef
- //
- buttonRef.Location = new Point(382, 56);
- buttonRef.Name = "buttonRef";
- buttonRef.Size = new Size(119, 37);
- buttonRef.TabIndex = 1;
- buttonRef.Text = "Обновить";
- buttonRef.UseVisualStyleBackColor = true;
- buttonRef.Click += buttonRef_Click;
- //
- // dataGridView
- //
- dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- dataGridView.Location = new Point(2, 2);
- dataGridView.Name = "dataGridView";
- dataGridView.Size = new Size(374, 447);
- dataGridView.TabIndex = 2;
- //
- // FormClients
- //
- AutoScaleDimensions = new SizeF(7F, 15F);
- AutoScaleMode = AutoScaleMode.Font;
- ClientSize = new Size(513, 450);
- Controls.Add(dataGridView);
- Controls.Add(buttonRef);
- Controls.Add(buttonDel);
- Name = "FormClients";
- Text = "Клиенты";
- Load += FormClients_Load;
- ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
- ResumeLayout(false);
- }
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ buttonDel = new Button();
+ buttonRef = new Button();
+ dataGridView = new DataGridView();
+ ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
+ SuspendLayout();
+ //
+ // buttonDel
+ //
+ buttonDel.Location = new Point(610, 12);
+ buttonDel.Name = "buttonDel";
+ buttonDel.Size = new Size(119, 38);
+ buttonDel.TabIndex = 0;
+ buttonDel.Text = "Удалить";
+ buttonDel.UseVisualStyleBackColor = true;
+ buttonDel.Click += buttonDel_Click;
+ //
+ // buttonRef
+ //
+ buttonRef.Location = new Point(610, 56);
+ buttonRef.Name = "buttonRef";
+ buttonRef.Size = new Size(119, 37);
+ buttonRef.TabIndex = 1;
+ buttonRef.Text = "Обновить";
+ buttonRef.UseVisualStyleBackColor = true;
+ buttonRef.Click += buttonRef_Click;
+ //
+ // dataGridView
+ //
+ dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ dataGridView.Location = new Point(2, 2);
+ dataGridView.Name = "dataGridView";
+ dataGridView.Size = new Size(602, 447);
+ dataGridView.TabIndex = 2;
+ //
+ // FormClients
+ //
+ AutoScaleDimensions = new SizeF(7F, 15F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(741, 450);
+ Controls.Add(dataGridView);
+ Controls.Add(buttonRef);
+ Controls.Add(buttonDel);
+ Name = "FormClients";
+ Text = "Клиенты";
+ Load += FormClients_Load;
+ ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
+ ResumeLayout(false);
+ }
- #endregion
+ #endregion
- private Button buttonDel;
+ private Button buttonDel;
private Button buttonRef;
private DataGridView dataGridView;
}
diff --git a/SushiBar/SushiBarView/FormImplementers.Designer.cs b/SushiBar/SushiBarView/FormImplementers.Designer.cs
index a686d6b..fa7f62b 100644
--- a/SushiBar/SushiBarView/FormImplementers.Designer.cs
+++ b/SushiBar/SushiBarView/FormImplementers.Designer.cs
@@ -20,90 +20,92 @@
base.Dispose(disposing);
}
- #region Windows Form Designer generated code
+ #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()
- {
- dataGridView = new DataGridView();
- buttonAdd = new Button();
- buttonUpd = new Button();
- buttonDel = new Button();
- buttonRef = new Button();
- ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
- SuspendLayout();
- //
- // dataGridView
- //
- dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- dataGridView.Location = new Point(2, 3);
- dataGridView.Name = "dataGridView";
- dataGridView.Size = new Size(469, 405);
- dataGridView.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;
- buttonAdd.Click += buttonAdd_Click;
- //
- // buttonUpd
- //
- buttonUpd.Location = new Point(477, 70);
- buttonUpd.Name = "buttonUpd";
- buttonUpd.Size = new Size(123, 52);
- buttonUpd.TabIndex = 2;
- buttonUpd.Text = "Изменить";
- buttonUpd.UseVisualStyleBackColor = true;
- buttonUpd.Click += buttonUpd_Click;
- //
- // buttonDel
- //
- buttonDel.Location = new Point(477, 128);
- buttonDel.Name = "buttonDel";
- buttonDel.Size = new Size(123, 52);
- buttonDel.TabIndex = 3;
- buttonDel.Text = "Удалить";
- buttonDel.UseVisualStyleBackColor = true;
- buttonDel.Click += buttonDel_Click;
- //
- // buttonRef
- //
- buttonRef.Location = new Point(477, 186);
- buttonRef.Name = "buttonRef";
- buttonRef.Size = new Size(123, 52);
- buttonRef.TabIndex = 4;
- buttonRef.Text = "Обновить";
- buttonRef.UseVisualStyleBackColor = true;
- buttonRef.Click += buttonRef_Click;
- //
- // 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(dataGridView);
- Name = "FormImplementers";
- Text = "Исполнители";
- Load += FormImplementers_Load;
- ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
- ResumeLayout(false);
- }
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ dataGridView = new DataGridView();
+ buttonAdd = new Button();
+ buttonUpd = new Button();
+ buttonDel = new Button();
+ buttonRef = new Button();
+ ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
+ SuspendLayout();
+ //
+ // dataGridView
+ //
+ dataGridView.AllowUserToAddRows = false;
+ dataGridView.AllowUserToDeleteRows = false;
+ dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ dataGridView.Location = new Point(0, 0);
+ dataGridView.Name = "dataGridView";
+ dataGridView.Size = new Size(679, 411);
+ dataGridView.TabIndex = 0;
+ //
+ // buttonAdd
+ //
+ buttonAdd.Location = new Point(685, 12);
+ buttonAdd.Name = "buttonAdd";
+ buttonAdd.Size = new Size(123, 52);
+ buttonAdd.TabIndex = 1;
+ buttonAdd.Text = "Добавить";
+ buttonAdd.UseVisualStyleBackColor = true;
+ buttonAdd.Click += buttonAdd_Click;
+ //
+ // buttonUpd
+ //
+ buttonUpd.Location = new Point(685, 70);
+ buttonUpd.Name = "buttonUpd";
+ buttonUpd.Size = new Size(123, 52);
+ buttonUpd.TabIndex = 2;
+ buttonUpd.Text = "Изменить";
+ buttonUpd.UseVisualStyleBackColor = true;
+ buttonUpd.Click += buttonUpd_Click;
+ //
+ // buttonDel
+ //
+ buttonDel.Location = new Point(685, 128);
+ buttonDel.Name = "buttonDel";
+ buttonDel.Size = new Size(123, 52);
+ buttonDel.TabIndex = 3;
+ buttonDel.Text = "Удалить";
+ buttonDel.UseVisualStyleBackColor = true;
+ buttonDel.Click += buttonDel_Click;
+ //
+ // buttonRef
+ //
+ buttonRef.Location = new Point(685, 186);
+ buttonRef.Name = "buttonRef";
+ buttonRef.Size = new Size(123, 52);
+ buttonRef.TabIndex = 4;
+ buttonRef.Text = "Обновить";
+ buttonRef.UseVisualStyleBackColor = true;
+ buttonRef.Click += buttonRef_Click;
+ //
+ // FormImplementers
+ //
+ AutoScaleDimensions = new SizeF(7F, 15F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(820, 411);
+ Controls.Add(buttonRef);
+ Controls.Add(buttonDel);
+ Controls.Add(buttonUpd);
+ Controls.Add(buttonAdd);
+ Controls.Add(dataGridView);
+ Name = "FormImplementers";
+ Text = "Исполнители";
+ Load += FormImplementers_Load;
+ ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
+ ResumeLayout(false);
+ }
- #endregion
+ #endregion
- private DataGridView dataGridView;
+ private DataGridView dataGridView;
private Button buttonAdd;
private Button buttonUpd;
private Button buttonDel;
diff --git a/SushiBar/SushiBarView/FormMain.Designer.cs b/SushiBar/SushiBarView/FormMain.Designer.cs
index f167b5e..b7bb3fa 100644
--- a/SushiBar/SushiBarView/FormMain.Designer.cs
+++ b/SushiBar/SushiBarView/FormMain.Designer.cs
@@ -44,6 +44,7 @@
ComponentSushisToolStripMenuItem = new ToolStripMenuItem();
OrdersToolStripMenuItem = new ToolStripMenuItem();
startWorkToolStripMenuItem = new ToolStripMenuItem();
+ createBackUpToolStripMenuItem = new ToolStripMenuItem();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
menuStrip.SuspendLayout();
SuspendLayout();
@@ -90,7 +91,7 @@
//
// menuStrip
//
- menuStrip.Items.AddRange(new ToolStripItem[] { toolStripMenuItem, ReportsToolStripMenuItem, startWorkToolStripMenuItem });
+ menuStrip.Items.AddRange(new ToolStripItem[] { toolStripMenuItem, ReportsToolStripMenuItem, startWorkToolStripMenuItem, createBackUpToolStripMenuItem });
menuStrip.Location = new Point(0, 0);
menuStrip.Name = "menuStrip";
menuStrip.Size = new Size(1381, 24);
@@ -107,35 +108,35 @@
// componentsToolStripMenuItem
//
componentsToolStripMenuItem.Name = "componentsToolStripMenuItem";
- componentsToolStripMenuItem.Size = new Size(180, 22);
+ componentsToolStripMenuItem.Size = new Size(149, 22);
componentsToolStripMenuItem.Text = "Компоненты";
componentsToolStripMenuItem.Click += componentsToolStripMenuItem_Click;
//
// sushiToolStripMenuItem
//
sushiToolStripMenuItem.Name = "sushiToolStripMenuItem";
- sushiToolStripMenuItem.Size = new Size(180, 22);
+ sushiToolStripMenuItem.Size = new Size(149, 22);
sushiToolStripMenuItem.Text = "Суши";
sushiToolStripMenuItem.Click += sushiToolStripMenuItem_Click;
//
// clientToolStripMenuItem
//
clientToolStripMenuItem.Name = "clientToolStripMenuItem";
- clientToolStripMenuItem.Size = new Size(180, 22);
+ clientToolStripMenuItem.Size = new Size(149, 22);
clientToolStripMenuItem.Text = "Клиент";
clientToolStripMenuItem.Click += clientToolStripMenuItem_Click;
//
// employersToolStripMenuItem
//
employersToolStripMenuItem.Name = "employersToolStripMenuItem";
- employersToolStripMenuItem.Size = new Size(180, 22);
+ employersToolStripMenuItem.Size = new Size(149, 22);
employersToolStripMenuItem.Text = "Исполнители";
employersToolStripMenuItem.Click += employersToolStripMenuItem_Click;
//
// mailToolStripMenuItem
//
mailToolStripMenuItem.Name = "mailToolStripMenuItem";
- mailToolStripMenuItem.Size = new Size(180, 22);
+ mailToolStripMenuItem.Size = new Size(149, 22);
mailToolStripMenuItem.Text = "Почта";
mailToolStripMenuItem.Click += mailToolStripMenuItem_Click;
//
@@ -174,6 +175,13 @@
startWorkToolStripMenuItem.Text = "Запуск работ";
startWorkToolStripMenuItem.Click += startWorkToolStripMenuItem_Click;
//
+ // createBackUpToolStripMenuItem
+ //
+ createBackUpToolStripMenuItem.Name = "createBackUpToolStripMenuItem";
+ createBackUpToolStripMenuItem.Size = new Size(97, 20);
+ createBackUpToolStripMenuItem.Text = "Создать бекап";
+ createBackUpToolStripMenuItem.Click += createBackUpToolStripMenuItem_Click;
+ //
// FormMain
//
AutoScaleDimensions = new SizeF(7F, 15F);
@@ -213,5 +221,6 @@
private ToolStripMenuItem startWorkToolStripMenuItem;
private ToolStripMenuItem employersToolStripMenuItem;
private ToolStripMenuItem mailToolStripMenuItem;
+ private ToolStripMenuItem createBackUpToolStripMenuItem;
}
}
\ No newline at end of file
diff --git a/SushiBar/SushiBarView/FormMain.cs b/SushiBar/SushiBarView/FormMain.cs
index 2b916d6..bf255fb 100644
--- a/SushiBar/SushiBarView/FormMain.cs
+++ b/SushiBar/SushiBarView/FormMain.cs
@@ -171,5 +171,10 @@ e)
MessageBoxIcon.Error);
}
}
+
+ private void создатьToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+
+ }
}
}
diff --git a/SushiBar/SushiBarView/SushiBarView.csproj b/SushiBar/SushiBarView/SushiBarView.csproj
index 087841a..d7ebe89 100644
--- a/SushiBar/SushiBarView/SushiBarView.csproj
+++ b/SushiBar/SushiBarView/SushiBarView.csproj
@@ -13,6 +13,9 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+