правки

This commit is contained in:
Андрей Байгулов 2024-06-02 23:27:47 +04:00
parent d8e2b0aa2e
commit 56cbd4bfcd
6 changed files with 163 additions and 144 deletions

View File

@ -36,7 +36,7 @@
//
// buttonDel
//
buttonDel.Location = new Point(382, 12);
buttonDel.Location = new Point(610, 12);
buttonDel.Name = "buttonDel";
buttonDel.Size = new Size(119, 38);
buttonDel.TabIndex = 0;
@ -46,7 +46,7 @@
//
// buttonRef
//
buttonRef.Location = new Point(382, 56);
buttonRef.Location = new Point(610, 56);
buttonRef.Name = "buttonRef";
buttonRef.Size = new Size(119, 37);
buttonRef.TabIndex = 1;
@ -59,14 +59,14 @@
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Location = new Point(2, 2);
dataGridView.Name = "dataGridView";
dataGridView.Size = new Size(374, 447);
dataGridView.Size = new Size(602, 447);
dataGridView.TabIndex = 2;
//
// FormClients
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(513, 450);
ClientSize = new Size(741, 450);
Controls.Add(dataGridView);
Controls.Add(buttonRef);
Controls.Add(buttonDel);

View File

@ -38,15 +38,17 @@
//
// dataGridView
//
dataGridView.AllowUserToAddRows = false;
dataGridView.AllowUserToDeleteRows = false;
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Location = new Point(2, 3);
dataGridView.Location = new Point(0, 0);
dataGridView.Name = "dataGridView";
dataGridView.Size = new Size(469, 405);
dataGridView.Size = new Size(679, 411);
dataGridView.TabIndex = 0;
//
// buttonAdd
//
buttonAdd.Location = new Point(477, 12);
buttonAdd.Location = new Point(685, 12);
buttonAdd.Name = "buttonAdd";
buttonAdd.Size = new Size(123, 52);
buttonAdd.TabIndex = 1;
@ -56,7 +58,7 @@
//
// buttonUpd
//
buttonUpd.Location = new Point(477, 70);
buttonUpd.Location = new Point(685, 70);
buttonUpd.Name = "buttonUpd";
buttonUpd.Size = new Size(123, 52);
buttonUpd.TabIndex = 2;
@ -66,7 +68,7 @@
//
// buttonDel
//
buttonDel.Location = new Point(477, 128);
buttonDel.Location = new Point(685, 128);
buttonDel.Name = "buttonDel";
buttonDel.Size = new Size(123, 52);
buttonDel.TabIndex = 3;
@ -76,7 +78,7 @@
//
// buttonRef
//
buttonRef.Location = new Point(477, 186);
buttonRef.Location = new Point(685, 186);
buttonRef.Name = "buttonRef";
buttonRef.Size = new Size(123, 52);
buttonRef.TabIndex = 4;
@ -88,7 +90,7 @@
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(612, 411);
ClientSize = new Size(820, 411);
Controls.Add(buttonRef);
Controls.Add(buttonDel);
Controls.Add(buttonUpd);

View File

@ -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;
}
}

View File

@ -171,5 +171,10 @@ e)
MessageBoxIcon.Error);
}
}
private void создатьToolStripMenuItem_Click(object sender, EventArgs e)
{
}
}
}

View File

@ -13,6 +13,9 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.8" />
<PackageReference Include="ReportViewerCore.WinForms" Version="15.1.19" />
</ItemGroup>