правки

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

View File

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

View File

@ -44,6 +44,7 @@
ComponentSushisToolStripMenuItem = new ToolStripMenuItem(); ComponentSushisToolStripMenuItem = new ToolStripMenuItem();
OrdersToolStripMenuItem = new ToolStripMenuItem(); OrdersToolStripMenuItem = new ToolStripMenuItem();
startWorkToolStripMenuItem = new ToolStripMenuItem(); startWorkToolStripMenuItem = new ToolStripMenuItem();
createBackUpToolStripMenuItem = new ToolStripMenuItem();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
menuStrip.SuspendLayout(); menuStrip.SuspendLayout();
SuspendLayout(); SuspendLayout();
@ -90,7 +91,7 @@
// //
// menuStrip // 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.Location = new Point(0, 0);
menuStrip.Name = "menuStrip"; menuStrip.Name = "menuStrip";
menuStrip.Size = new Size(1381, 24); menuStrip.Size = new Size(1381, 24);
@ -107,35 +108,35 @@
// componentsToolStripMenuItem // componentsToolStripMenuItem
// //
componentsToolStripMenuItem.Name = "componentsToolStripMenuItem"; componentsToolStripMenuItem.Name = "componentsToolStripMenuItem";
componentsToolStripMenuItem.Size = new Size(180, 22); componentsToolStripMenuItem.Size = new Size(149, 22);
componentsToolStripMenuItem.Text = "Компоненты"; componentsToolStripMenuItem.Text = "Компоненты";
componentsToolStripMenuItem.Click += componentsToolStripMenuItem_Click; componentsToolStripMenuItem.Click += componentsToolStripMenuItem_Click;
// //
// sushiToolStripMenuItem // sushiToolStripMenuItem
// //
sushiToolStripMenuItem.Name = "sushiToolStripMenuItem"; sushiToolStripMenuItem.Name = "sushiToolStripMenuItem";
sushiToolStripMenuItem.Size = new Size(180, 22); sushiToolStripMenuItem.Size = new Size(149, 22);
sushiToolStripMenuItem.Text = "Суши"; sushiToolStripMenuItem.Text = "Суши";
sushiToolStripMenuItem.Click += sushiToolStripMenuItem_Click; sushiToolStripMenuItem.Click += sushiToolStripMenuItem_Click;
// //
// clientToolStripMenuItem // clientToolStripMenuItem
// //
clientToolStripMenuItem.Name = "clientToolStripMenuItem"; clientToolStripMenuItem.Name = "clientToolStripMenuItem";
clientToolStripMenuItem.Size = new Size(180, 22); clientToolStripMenuItem.Size = new Size(149, 22);
clientToolStripMenuItem.Text = "Клиент"; clientToolStripMenuItem.Text = "Клиент";
clientToolStripMenuItem.Click += clientToolStripMenuItem_Click; clientToolStripMenuItem.Click += clientToolStripMenuItem_Click;
// //
// employersToolStripMenuItem // employersToolStripMenuItem
// //
employersToolStripMenuItem.Name = "employersToolStripMenuItem"; employersToolStripMenuItem.Name = "employersToolStripMenuItem";
employersToolStripMenuItem.Size = new Size(180, 22); employersToolStripMenuItem.Size = new Size(149, 22);
employersToolStripMenuItem.Text = "Исполнители"; employersToolStripMenuItem.Text = "Исполнители";
employersToolStripMenuItem.Click += employersToolStripMenuItem_Click; employersToolStripMenuItem.Click += employersToolStripMenuItem_Click;
// //
// mailToolStripMenuItem // mailToolStripMenuItem
// //
mailToolStripMenuItem.Name = "mailToolStripMenuItem"; mailToolStripMenuItem.Name = "mailToolStripMenuItem";
mailToolStripMenuItem.Size = new Size(180, 22); mailToolStripMenuItem.Size = new Size(149, 22);
mailToolStripMenuItem.Text = "Почта"; mailToolStripMenuItem.Text = "Почта";
mailToolStripMenuItem.Click += mailToolStripMenuItem_Click; mailToolStripMenuItem.Click += mailToolStripMenuItem_Click;
// //
@ -174,6 +175,13 @@
startWorkToolStripMenuItem.Text = "Запуск работ"; startWorkToolStripMenuItem.Text = "Запуск работ";
startWorkToolStripMenuItem.Click += startWorkToolStripMenuItem_Click; startWorkToolStripMenuItem.Click += startWorkToolStripMenuItem_Click;
// //
// createBackUpToolStripMenuItem
//
createBackUpToolStripMenuItem.Name = "createBackUpToolStripMenuItem";
createBackUpToolStripMenuItem.Size = new Size(97, 20);
createBackUpToolStripMenuItem.Text = "Создать бекап";
createBackUpToolStripMenuItem.Click += createBackUpToolStripMenuItem_Click;
//
// FormMain // FormMain
// //
AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleDimensions = new SizeF(7F, 15F);
@ -213,5 +221,6 @@
private ToolStripMenuItem startWorkToolStripMenuItem; private ToolStripMenuItem startWorkToolStripMenuItem;
private ToolStripMenuItem employersToolStripMenuItem; private ToolStripMenuItem employersToolStripMenuItem;
private ToolStripMenuItem mailToolStripMenuItem; private ToolStripMenuItem mailToolStripMenuItem;
private ToolStripMenuItem createBackUpToolStripMenuItem;
} }
} }

View File

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

View File

@ -13,6 +13,9 @@
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </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="NLog.Extensions.Logging" Version="5.3.8" />
<PackageReference Include="ReportViewerCore.WinForms" Version="15.1.19" /> <PackageReference Include="ReportViewerCore.WinForms" Version="15.1.19" />
</ItemGroup> </ItemGroup>