Keep up, I'm too fast, I'm too fast
Push my foot up on that pedal, then I'm gone (G-g-g-gone, gone, gone) Keep up on my track, on my track Boy, I'll dust ya, keep my numbers going strong (Strong, strong, str-str-str-strong) (Я доделяль, вроде теперь все работает. Также прописал копирование dll файликов в папку Plugins)
This commit is contained in:
parent
944eb853aa
commit
0cc35afbac
@ -191,7 +191,7 @@ namespace InternetShopOrdersApp
|
|||||||
|
|
||||||
string filePath = saveFileDialog.FileName;
|
string filePath = saveFileDialog.FileName;
|
||||||
|
|
||||||
histogramGenerator.CreateHistogramPdf(filePath, "", "Диаграмма заказов", OxyPlot.Legends.LegendPosition.BottomCenter, chartData);
|
histogramGenerator.CreateHistogramPdf(filePath, "test", "Диаграмма заказов", OxyPlot.Legends.LegendPosition.BottomCenter, chartData);
|
||||||
|
|
||||||
MessageBox.Show("PDF успешно сгенерирован!", "Успех", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show("PDF успешно сгенерирован!", "Успех", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
}
|
}
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="ComponentsLibraryNet60" Version="1.0.0" />
|
<PackageReference Include="ComponentsLibraryNet60" Version="1.0.0" />
|
||||||
<PackageReference Include="ControlsLibraryNet60" Version="1.0.0" />
|
<PackageReference Include="ControlsLibraryNet60" Version="1.0.0" />
|
||||||
<PackageReference Include="FormLibrary" Version="1.0.0" />
|
<PackageReference Include="FormLibraryTikhonenkov" Version="1.0.0" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.10">
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.10">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
@ -28,4 +28,12 @@
|
|||||||
<ProjectReference Include="..\WinFormsLibraryVolkov\WinFormsLibraryVolkov.csproj" />
|
<ProjectReference Include="..\WinFormsLibraryVolkov\WinFormsLibraryVolkov.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="CreatePluginsFolder" BeforeTargets="PreBuildEvent" Condition="!Exists('$(SolutionDir)Plugins')">
|
||||||
|
<MakeDir Directories="$(SolutionDir)Plugins" />
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="CopyPlugins" AfterTargets="PostBuildEvent">
|
||||||
|
<Exec Command="copy /Y "$(TargetDir)*.dll" "$(SolutionDir)Plugins\*.dll"" />
|
||||||
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -177,7 +177,7 @@ namespace InternetShopOrdersApp
|
|||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
|
|
||||||
histogramGenerator.CreateHistogramPdf(filePath, "", "Диаграмма заказов", OxyPlot.Legends.LegendPosition.BottomCenter, chartData);
|
histogramGenerator.CreateHistogramPdf(filePath, "test", "Диаграмма заказов", OxyPlot.Legends.LegendPosition.BottomCenter, chartData);
|
||||||
MessageBox.Show("Pdf файл был успешно создан!", "Успех", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show("Pdf файл был успешно создан!", "Успех", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -83,6 +83,7 @@ namespace InternetShopOrdersAppPlugins
|
|||||||
this.ThesaurusToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)));
|
this.ThesaurusToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)));
|
||||||
this.ThesaurusToolStripMenuItem.Size = new System.Drawing.Size(223, 26);
|
this.ThesaurusToolStripMenuItem.Size = new System.Drawing.Size(223, 26);
|
||||||
this.ThesaurusToolStripMenuItem.Text = "Справочник";
|
this.ThesaurusToolStripMenuItem.Text = "Справочник";
|
||||||
|
this.ThesaurusToolStripMenuItem.Click += ThesaurusToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// AddElementToolStripMenuItem
|
// AddElementToolStripMenuItem
|
||||||
//
|
//
|
||||||
@ -90,6 +91,7 @@ namespace InternetShopOrdersAppPlugins
|
|||||||
this.AddElementToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
|
this.AddElementToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
|
||||||
this.AddElementToolStripMenuItem.Size = new System.Drawing.Size(223, 26);
|
this.AddElementToolStripMenuItem.Size = new System.Drawing.Size(223, 26);
|
||||||
this.AddElementToolStripMenuItem.Text = "Добавить";
|
this.AddElementToolStripMenuItem.Text = "Добавить";
|
||||||
|
this.AddElementToolStripMenuItem.Click += AddElementToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// UpdElementToolStripMenuItem
|
// UpdElementToolStripMenuItem
|
||||||
//
|
//
|
||||||
@ -97,6 +99,7 @@ namespace InternetShopOrdersAppPlugins
|
|||||||
this.UpdElementToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U)));
|
this.UpdElementToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U)));
|
||||||
this.UpdElementToolStripMenuItem.Size = new System.Drawing.Size(223, 26);
|
this.UpdElementToolStripMenuItem.Size = new System.Drawing.Size(223, 26);
|
||||||
this.UpdElementToolStripMenuItem.Text = "Изменить";
|
this.UpdElementToolStripMenuItem.Text = "Изменить";
|
||||||
|
this.UpdElementToolStripMenuItem.Click += UpdElementToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// DelElementToolStripMenuItem
|
// DelElementToolStripMenuItem
|
||||||
//
|
//
|
||||||
@ -104,6 +107,7 @@ namespace InternetShopOrdersAppPlugins
|
|||||||
this.DelElementToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D)));
|
this.DelElementToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D)));
|
||||||
this.DelElementToolStripMenuItem.Size = new System.Drawing.Size(223, 26);
|
this.DelElementToolStripMenuItem.Size = new System.Drawing.Size(223, 26);
|
||||||
this.DelElementToolStripMenuItem.Text = "Удалить";
|
this.DelElementToolStripMenuItem.Text = "Удалить";
|
||||||
|
this.DelElementToolStripMenuItem.Click += DelElementToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// DocsToolStripMenuItem
|
// DocsToolStripMenuItem
|
||||||
//
|
//
|
||||||
@ -121,13 +125,15 @@ namespace InternetShopOrdersAppPlugins
|
|||||||
this.SimpleDocToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
|
this.SimpleDocToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
|
||||||
this.SimpleDocToolStripMenuItem.Size = new System.Drawing.Size(313, 26);
|
this.SimpleDocToolStripMenuItem.Size = new System.Drawing.Size(313, 26);
|
||||||
this.SimpleDocToolStripMenuItem.Text = "Простой документ";
|
this.SimpleDocToolStripMenuItem.Text = "Простой документ";
|
||||||
|
this.SimpleDocToolStripMenuItem.Click += SimpleDocToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// TableDocToolStripMenuItem
|
// TableDocToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.TableDocToolStripMenuItem.Name = "TableDocToolStripMenuItem";
|
this.TableDocToolStripMenuItem.Name = "TableDocToolStripMenuItem";
|
||||||
this.TableDocToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T)));
|
this.TableDocToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T)));
|
||||||
this.TableDocToolStripMenuItem.Size = new System.Drawing.Size(313, 26);
|
this.TableDocToolStripMenuItem.Size = new System.Drawing.Size(313, 26);
|
||||||
this.TableDocToolStripMenuItem.Text = "Документ с таблицой";
|
this.TableDocToolStripMenuItem.Text = "Документ с таблицей";
|
||||||
|
this.TableDocToolStripMenuItem.Click += TableDocToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// ChartDocToolStripMenuItem
|
// ChartDocToolStripMenuItem
|
||||||
//
|
//
|
||||||
@ -135,6 +141,7 @@ namespace InternetShopOrdersAppPlugins
|
|||||||
this.ChartDocToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
|
this.ChartDocToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
|
||||||
this.ChartDocToolStripMenuItem.Size = new System.Drawing.Size(313, 26);
|
this.ChartDocToolStripMenuItem.Size = new System.Drawing.Size(313, 26);
|
||||||
this.ChartDocToolStripMenuItem.Text = "Документ с диаграммой";
|
this.ChartDocToolStripMenuItem.Text = "Документ с диаграммой";
|
||||||
|
this.ChartDocToolStripMenuItem.Click += ChartDocToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// panelControl
|
// panelControl
|
||||||
//
|
//
|
||||||
|
@ -6,7 +6,7 @@ namespace InternetShopOrdersContracts.BindingModels
|
|||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
public string Fullname { get; set; } = string.Empty;
|
public string Fullname { get; set; } = string.Empty;
|
||||||
public string OrderImage { get; set; }
|
public string OrderImage { get; set; } = string.Empty;
|
||||||
public int SelectedItemId { get; set; }
|
public int SelectedItemId { get; set; }
|
||||||
public string Email { get; set; } = string.Empty;
|
public string Email { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user