Я выключаю телевизор, я пишу тебе письмо
Про то, что больше не могу смотреть на ... Про то, что больше нет сил Про то, что я почти запил, но не забыл тебя Про то, что телефон звонил, хотел, чтобы я встал Оделся и пошёл, а точнее — побежал Но только я его послал, сказал, что болен и устал И эту ночь не спал Я жду ответа Больше надежд нету Скоро кончится лето (Плагин загружает записи, но пока что никаких действий недоступно.)
This commit is contained in:
parent
cc2fa54e35
commit
944eb853aa
@ -24,6 +24,7 @@
|
|||||||
<ProjectReference Include="..\InternetShopOrdersBusinessLogic\InternetShopOrdersBusinessLogic.csproj" />
|
<ProjectReference Include="..\InternetShopOrdersBusinessLogic\InternetShopOrdersBusinessLogic.csproj" />
|
||||||
<ProjectReference Include="..\InternetShopOrdersContracts\InternetShopOrdersContracts.csproj" />
|
<ProjectReference Include="..\InternetShopOrdersContracts\InternetShopOrdersContracts.csproj" />
|
||||||
<ProjectReference Include="..\InternetShopOrdersDatabaseImplement\InternetShopOrdersDatabaseImplement.csproj" />
|
<ProjectReference Include="..\InternetShopOrdersDatabaseImplement\InternetShopOrdersDatabaseImplement.csproj" />
|
||||||
|
<ProjectReference Include="..\PluginsConventionLibrary\PluginsConventionLibrary.csproj" />
|
||||||
<ProjectReference Include="..\WinFormsLibraryVolkov\WinFormsLibraryVolkov.csproj" />
|
<ProjectReference Include="..\WinFormsLibraryVolkov\WinFormsLibraryVolkov.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
186
VolkovLabs/InternetShopOrdersApp/PluginsConvention.cs
Normal file
186
VolkovLabs/InternetShopOrdersApp/PluginsConvention.cs
Normal file
@ -0,0 +1,186 @@
|
|||||||
|
using ComponentsLibraryNet60.Core;
|
||||||
|
using ComponentsLibraryNet60.DocumentWithTable;
|
||||||
|
using ComponentsLibraryNet60.Models;
|
||||||
|
using ControlsLibraryNet60.Data;
|
||||||
|
using ControlsLibraryNet60.Models;
|
||||||
|
using FormLibrary;
|
||||||
|
using FormLibrary.HelperClasses;
|
||||||
|
using InternetShopOrdersBusinessLogic.BusinessLogics;
|
||||||
|
using InternetShopOrdersContracts.BusinessLogicContracts;
|
||||||
|
using InternetShopOrdersContracts.ViewModels;
|
||||||
|
using InternetShopOrdersDatabaseImplement.Implements;
|
||||||
|
using NevaevaLibrary.LogicalComponents;
|
||||||
|
using PluginsConventionLibrary;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using WinFormsLibraryVolkov.NonVisualComponents;
|
||||||
|
|
||||||
|
namespace InternetShopOrdersApp
|
||||||
|
{
|
||||||
|
public class PluginsConvention : IPluginsConvention
|
||||||
|
{
|
||||||
|
private readonly IOrderLogic _orderLogic;
|
||||||
|
private readonly ISelectedItemLogic _selecteditemLogic;
|
||||||
|
private readonly ControlDataTableTable _controlDataTableTable;
|
||||||
|
private readonly ExcelImagesComponent _excelImagesComponent;
|
||||||
|
private readonly ComponentDocumentWithTableHeaderRowWord _wordTableComponent;
|
||||||
|
private readonly ComponentHistogramToPdf _componentHistogramToPdf;
|
||||||
|
|
||||||
|
public string PluginName { get; set; } = "MyLabworkPlugin";
|
||||||
|
|
||||||
|
public UserControl GetControl
|
||||||
|
{
|
||||||
|
get { return _controlDataTableTable; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public PluginsConvention()
|
||||||
|
{
|
||||||
|
_orderLogic = new OrderLogic(new OrderStorage());
|
||||||
|
_selecteditemLogic = new SelectedItemLogic(new SelectedItemStorage());
|
||||||
|
_controlDataTableTable = new();
|
||||||
|
_excelImagesComponent = new();
|
||||||
|
_wordTableComponent = new();
|
||||||
|
_componentHistogramToPdf = new();
|
||||||
|
}
|
||||||
|
|
||||||
|
public PluginsConventionElement GetElement
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
int Id = _controlDataTableTable.GetSelectedObject<OrderViewModel>()!.Id;
|
||||||
|
byte[] bytes = new byte[16];
|
||||||
|
BitConverter.GetBytes(Id).CopyTo(bytes, 0);
|
||||||
|
Guid guid = new Guid(bytes);
|
||||||
|
return new PluginsConventionElement() { Id = guid };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Form GetForm(PluginsConventionElement element)
|
||||||
|
{
|
||||||
|
if (element == null)
|
||||||
|
{
|
||||||
|
return new FormOrder(_orderLogic, _selecteditemLogic);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
FormOrder form = new FormOrder(_orderLogic, _selecteditemLogic);
|
||||||
|
form.Id = element.Id.GetHashCode();
|
||||||
|
return form;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Form GetThesaurus()
|
||||||
|
{
|
||||||
|
return new FormSelectedItems(_selecteditemLogic);
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool DeleteElement(PluginsConventionElement element)
|
||||||
|
{
|
||||||
|
_orderLogic.Delete(new InternetShopOrdersContracts.BindingModels.OrderBindingModel { Id = element.GetHashCode() });
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ReloadData()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var orders = _orderLogic.ReadList(null);
|
||||||
|
if (_orderLogic != null)
|
||||||
|
{
|
||||||
|
_controlDataTableTable.Clear();
|
||||||
|
|
||||||
|
_controlDataTableTable.LoadColumns(new List<DataTableColumnConfig>
|
||||||
|
{
|
||||||
|
new DataTableColumnConfig { ColumnHeader = "", PropertyName = "Id", Visible = false, Width = 10 },
|
||||||
|
new DataTableColumnConfig { ColumnHeader = "ФИО заказчика", PropertyName = "Fullname", Visible = true, Width = 200 },
|
||||||
|
new DataTableColumnConfig { ColumnHeader = "Выбранный товар", PropertyName = "SelectedItemName", Visible = true, Width = 200 },
|
||||||
|
new DataTableColumnConfig { ColumnHeader = "Электронная почта", PropertyName = "Email", Visible = true, Width = 200 },
|
||||||
|
});
|
||||||
|
_controlDataTableTable.AddTable(orders);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool CreateSimpleDocument(PluginsConventionSaveDocument saveDocument)
|
||||||
|
{
|
||||||
|
List<string> orderImages = new List<string>();
|
||||||
|
foreach (var order in _orderLogic.ReadList(null))
|
||||||
|
{
|
||||||
|
orderImages.Add(order.OrderImage);
|
||||||
|
}
|
||||||
|
string path = saveDocument.FileName;
|
||||||
|
if (_excelImagesComponent.createWithImages(new ExcelImageInfo(path, "Фотокарточки товаров", orderImages.ToArray())))
|
||||||
|
{
|
||||||
|
MessageBox.Show("Документ с фотографиями заказов создан");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool CreateTableDocument(PluginsConventionSaveDocument saveDocument)
|
||||||
|
{
|
||||||
|
string path = saveDocument.FileName;
|
||||||
|
|
||||||
|
var orders = _orderLogic.ReadList(null);
|
||||||
|
ComponentDocumentWithTableHeaderRowWord table = new ComponentDocumentWithTableHeaderRowWord();
|
||||||
|
table.CreateDoc(new ComponentDocumentWithTableHeaderDataConfig<OrderViewModel>
|
||||||
|
{
|
||||||
|
FilePath = path,
|
||||||
|
Header = "Заказы",
|
||||||
|
UseUnion = true,
|
||||||
|
ColumnsRowsWidth = new List<(int, int)> { (5, 0), (10, 0), (10, 0), (10, 0) },
|
||||||
|
ColumnUnion = new List<(int StartIndex, int Count)> { (1, 2) },
|
||||||
|
Headers = new List<(int ColumnIndex, int RowIndex, string Header, string PropertyName)>
|
||||||
|
{
|
||||||
|
(0, 0, "Id", "Id"),
|
||||||
|
(1, 0, "Личные данные", ""),
|
||||||
|
(1, 1, "ФИО заказчика", "Fullname"),
|
||||||
|
(2, 1, "Электронная почта", "Email"),
|
||||||
|
(3, 0, "Выбранный товар", "SelectedItemName"),
|
||||||
|
},
|
||||||
|
Data = orders
|
||||||
|
});
|
||||||
|
MessageBox.Show("Word файл был успешно создан!", "Успех", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool CreateChartDocument(PluginsConventionSaveDocument saveDocument)
|
||||||
|
{
|
||||||
|
string filePath = saveDocument.FileName;
|
||||||
|
ComponentHistogramToPdf histogramGenerator = new ComponentHistogramToPdf();
|
||||||
|
|
||||||
|
var orders = _orderLogic.ReadList(null);
|
||||||
|
|
||||||
|
var itemCounts = new Dictionary<string, int>();
|
||||||
|
foreach (var order in orders)
|
||||||
|
{
|
||||||
|
if (!itemCounts.ContainsKey(order.SelectedItemName))
|
||||||
|
{
|
||||||
|
itemCounts[order.SelectedItemName] = 0;
|
||||||
|
}
|
||||||
|
itemCounts[order.SelectedItemName]++;
|
||||||
|
}
|
||||||
|
|
||||||
|
var sortedItemCounts = itemCounts.OrderBy(kvp => kvp.Key).ToList();
|
||||||
|
|
||||||
|
var chartData = sortedItemCounts.Select(kvp => new ChartData
|
||||||
|
{
|
||||||
|
SeriesName = kvp.Key, // Название товара
|
||||||
|
Data = new Dictionary<string, double> { { kvp.Key, kvp.Value } }
|
||||||
|
}).ToList();
|
||||||
|
|
||||||
|
|
||||||
|
histogramGenerator.CreateHistogramPdf(filePath, "", "Диаграмма заказов", OxyPlot.Legends.LegendPosition.BottomCenter, chartData);
|
||||||
|
MessageBox.Show("Pdf файл был успешно создан!", "Успех", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,7 @@
|
|||||||
namespace InternetShopOrdersAppPlugins
|
using static System.Net.Mime.MediaTypeNames;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace InternetShopOrdersAppPlugins
|
||||||
{
|
{
|
||||||
partial class FormMain
|
partial class FormMain
|
||||||
{
|
{
|
||||||
@ -28,12 +31,154 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.menuStrip = new System.Windows.Forms.MenuStrip();
|
||||||
|
this.ControlsStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.ActionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.ThesaurusToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.AddElementToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.UpdElementToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.DelElementToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.DocsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.SimpleDocToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.TableDocToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.ChartDocToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.panelControl = new System.Windows.Forms.Panel();
|
||||||
|
this.menuStrip.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// menuStrip
|
||||||
|
//
|
||||||
|
this.menuStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||||
|
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.ControlsStripMenuItem,
|
||||||
|
this.ActionsToolStripMenuItem,
|
||||||
|
this.DocsToolStripMenuItem});
|
||||||
|
this.menuStrip.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.menuStrip.Name = "menuStrip";
|
||||||
|
this.menuStrip.Padding = new System.Windows.Forms.Padding(7, 3, 0, 3);
|
||||||
|
this.menuStrip.Size = new System.Drawing.Size(914, 30);
|
||||||
|
this.menuStrip.TabIndex = 0;
|
||||||
|
this.menuStrip.Text = "Меню";
|
||||||
|
//
|
||||||
|
// ControlsStripMenuItem
|
||||||
|
//
|
||||||
|
this.ControlsStripMenuItem.Name = "ControlsStripMenuItem";
|
||||||
|
this.ControlsStripMenuItem.Size = new System.Drawing.Size(113, 24);
|
||||||
|
this.ControlsStripMenuItem.Text = "Компоненты";
|
||||||
|
//
|
||||||
|
// ActionsToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.ActionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.ThesaurusToolStripMenuItem,
|
||||||
|
this.AddElementToolStripMenuItem,
|
||||||
|
this.UpdElementToolStripMenuItem,
|
||||||
|
this.DelElementToolStripMenuItem});
|
||||||
|
this.ActionsToolStripMenuItem.Name = "ActionsToolStripMenuItem";
|
||||||
|
this.ActionsToolStripMenuItem.Size = new System.Drawing.Size(88, 24);
|
||||||
|
this.ActionsToolStripMenuItem.Text = "Действия";
|
||||||
|
//
|
||||||
|
// ThesaurusToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.ThesaurusToolStripMenuItem.Name = "ThesaurusToolStripMenuItem";
|
||||||
|
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.Text = "Справочник";
|
||||||
|
//
|
||||||
|
// AddElementToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.AddElementToolStripMenuItem.Name = "AddElementToolStripMenuItem";
|
||||||
|
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.Text = "Добавить";
|
||||||
|
//
|
||||||
|
// UpdElementToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.UpdElementToolStripMenuItem.Name = "UpdElementToolStripMenuItem";
|
||||||
|
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.Text = "Изменить";
|
||||||
|
//
|
||||||
|
// DelElementToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.DelElementToolStripMenuItem.Name = "DelElementToolStripMenuItem";
|
||||||
|
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.Text = "Удалить";
|
||||||
|
//
|
||||||
|
// DocsToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.DocsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.SimpleDocToolStripMenuItem,
|
||||||
|
this.TableDocToolStripMenuItem,
|
||||||
|
this.ChartDocToolStripMenuItem});
|
||||||
|
this.DocsToolStripMenuItem.Name = "DocsToolStripMenuItem";
|
||||||
|
this.DocsToolStripMenuItem.Size = new System.Drawing.Size(101, 24);
|
||||||
|
this.DocsToolStripMenuItem.Text = "Документы";
|
||||||
|
//
|
||||||
|
// SimpleDocToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.SimpleDocToolStripMenuItem.Name = "SimpleDocToolStripMenuItem";
|
||||||
|
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.Text = "Простой документ";
|
||||||
|
//
|
||||||
|
// TableDocToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.TableDocToolStripMenuItem.Name = "TableDocToolStripMenuItem";
|
||||||
|
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.Text = "Документ с таблицой";
|
||||||
|
//
|
||||||
|
// ChartDocToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.ChartDocToolStripMenuItem.Name = "ChartDocToolStripMenuItem";
|
||||||
|
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.Text = "Документ с диаграммой";
|
||||||
|
//
|
||||||
|
// panelControl
|
||||||
|
//
|
||||||
|
this.panelControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.panelControl.Location = new System.Drawing.Point(0, 30);
|
||||||
|
this.panelControl.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||||
|
this.panelControl.Name = "panelControl";
|
||||||
|
this.panelControl.Size = new System.Drawing.Size(914, 570);
|
||||||
|
this.panelControl.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// FormMain
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
||||||
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(914, 600);
|
||||||
this.Text = "FormMain";
|
this.Controls.Add(this.panelControl);
|
||||||
|
this.Controls.Add(this.menuStrip);
|
||||||
|
this.MainMenuStrip = this.menuStrip;
|
||||||
|
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||||
|
this.Name = "FormMain";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Главная форма";
|
||||||
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||||||
|
this.Load += new System.EventHandler(this.FormMain_Load);
|
||||||
|
this.menuStrip.ResumeLayout(false);
|
||||||
|
this.menuStrip.PerformLayout();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.MenuStrip menuStrip;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem ControlsStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem DocsToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem SimpleDocToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem TableDocToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem ChartDocToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.Panel panelControl;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem ActionsToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem ThesaurusToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem AddElementToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem UpdElementToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem DelElementToolStripMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,9 +1,11 @@
|
|||||||
using System;
|
using PluginsConventionLibrary;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Reflection;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
@ -12,9 +14,228 @@ namespace InternetShopOrdersAppPlugins
|
|||||||
{
|
{
|
||||||
public partial class FormMain : Form
|
public partial class FormMain : Form
|
||||||
{
|
{
|
||||||
|
private readonly Dictionary<string, IPluginsConvention> _plugins;
|
||||||
|
private string _selectedPlugin;
|
||||||
|
|
||||||
public FormMain()
|
public FormMain()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
_plugins = new();
|
||||||
|
LoadPlugins();
|
||||||
|
_selectedPlugin = string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LoadPlugins()
|
||||||
|
{
|
||||||
|
List<IPluginsConvention> pluginsList = GetPlugins();
|
||||||
|
|
||||||
|
foreach (var plugin in pluginsList)
|
||||||
|
{
|
||||||
|
_plugins[plugin.PluginName] = plugin;
|
||||||
|
CreateMenuItem(plugin.PluginName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private List<IPluginsConvention> GetPlugins()
|
||||||
|
{
|
||||||
|
string currentDir = Environment.CurrentDirectory;
|
||||||
|
string pluginsDir = Directory.GetParent(currentDir).Parent.Parent.Parent.FullName + "\\Plugins";
|
||||||
|
string[] dllFiles = Directory.GetFiles(
|
||||||
|
pluginsDir,
|
||||||
|
"*.dll",
|
||||||
|
SearchOption.AllDirectories
|
||||||
|
);
|
||||||
|
List<IPluginsConvention> plugins = new();
|
||||||
|
foreach (string dllFile in dllFiles)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Assembly assembly = Assembly.LoadFrom(dllFile);
|
||||||
|
Type[] types = assembly.GetTypes();
|
||||||
|
foreach (Type type in types)
|
||||||
|
{
|
||||||
|
if (typeof(IPluginsConvention).IsAssignableFrom(type) && !type.IsInterface)
|
||||||
|
{
|
||||||
|
if (Activator.CreateInstance(type) is IPluginsConvention plugin)
|
||||||
|
{
|
||||||
|
plugins.Add(plugin);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show(
|
||||||
|
ex.Message
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return plugins;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CreateMenuItem(string pluginName)
|
||||||
|
{
|
||||||
|
ToolStripMenuItem menuItem = new(pluginName);
|
||||||
|
menuItem.Click += (object? sender, EventArgs e) =>
|
||||||
|
{
|
||||||
|
UserControl userControl = _plugins[pluginName].GetControl;
|
||||||
|
if (userControl != null)
|
||||||
|
{
|
||||||
|
panelControl.Controls.Clear();
|
||||||
|
userControl.Dock = DockStyle.Fill;
|
||||||
|
_plugins[pluginName].ReloadData();
|
||||||
|
_selectedPlugin = pluginName;
|
||||||
|
panelControl.Controls.Add(userControl);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
ControlsStripMenuItem.DropDownItems.Add(menuItem);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void FormMain_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(_selectedPlugin) ||
|
||||||
|
!_plugins.ContainsKey(_selectedPlugin))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (!e.Control)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
switch (e.KeyCode)
|
||||||
|
{
|
||||||
|
case Keys.I:
|
||||||
|
ShowThesaurus();
|
||||||
|
break;
|
||||||
|
case Keys.A:
|
||||||
|
AddNewElement();
|
||||||
|
break;
|
||||||
|
case Keys.U:
|
||||||
|
UpdateElement();
|
||||||
|
break;
|
||||||
|
case Keys.D:
|
||||||
|
DeleteElement();
|
||||||
|
break;
|
||||||
|
case Keys.S:
|
||||||
|
CreateSimpleDoc();
|
||||||
|
break;
|
||||||
|
case Keys.T:
|
||||||
|
CreateTableDoc();
|
||||||
|
break;
|
||||||
|
case Keys.C:
|
||||||
|
CreateChartDoc();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ShowThesaurus()
|
||||||
|
{
|
||||||
|
_plugins[_selectedPlugin].GetThesaurus()?.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void AddNewElement()
|
||||||
|
{
|
||||||
|
var form = _plugins[_selectedPlugin].GetForm(null);
|
||||||
|
if (form != null && form.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
_plugins[_selectedPlugin].ReloadData();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void UpdateElement()
|
||||||
|
{
|
||||||
|
var element = _plugins[_selectedPlugin].GetElement;
|
||||||
|
if (element == null)
|
||||||
|
{
|
||||||
|
MessageBox.Show(
|
||||||
|
"Не выбран элемент для обновления",
|
||||||
|
"Ошибка",
|
||||||
|
MessageBoxButtons.OK,
|
||||||
|
MessageBoxIcon.Error
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var form = _plugins[_selectedPlugin].GetForm(element);
|
||||||
|
if (form != null && form.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
_plugins[_selectedPlugin].ReloadData();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DeleteElement()
|
||||||
|
{
|
||||||
|
if (MessageBox.Show(
|
||||||
|
"Удалить выбранный элемент?",
|
||||||
|
"Удаление",
|
||||||
|
MessageBoxButtons.YesNo,
|
||||||
|
MessageBoxIcon.Question) != DialogResult.Yes)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var element = _plugins[_selectedPlugin].GetElement;
|
||||||
|
if (element == null)
|
||||||
|
{
|
||||||
|
MessageBox.Show(
|
||||||
|
"Не выбран элемент для удаления",
|
||||||
|
"Ошибка",
|
||||||
|
MessageBoxButtons.OK,
|
||||||
|
MessageBoxIcon.Error
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (_plugins[_selectedPlugin].DeleteElement(element))
|
||||||
|
{
|
||||||
|
_plugins[_selectedPlugin].ReloadData();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CreateSimpleDoc()
|
||||||
|
{
|
||||||
|
SaveFileDialog saveFileDialog = new()
|
||||||
|
{
|
||||||
|
Filter = "Excel Files|*.xlsx"
|
||||||
|
};
|
||||||
|
if (saveFileDialog.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
_plugins[_selectedPlugin].CreateSimpleDocument(new PluginsConventionSaveDocument() { FileName = saveFileDialog.FileName });
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private void CreateTableDoc()
|
||||||
|
{
|
||||||
|
SaveFileDialog saveFileDialog = new()
|
||||||
|
{
|
||||||
|
Filter = "Word Files|*.docx"
|
||||||
|
};
|
||||||
|
if (saveFileDialog.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
_plugins[_selectedPlugin].CreateTableDocument(new PluginsConventionSaveDocument() { FileName = saveFileDialog.FileName });
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private void CreateChartDoc()
|
||||||
|
{
|
||||||
|
SaveFileDialog saveFileDialog = new()
|
||||||
|
{
|
||||||
|
Filter = "PDF Files|*.pdf"
|
||||||
|
};
|
||||||
|
if (saveFileDialog.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
_plugins[_selectedPlugin].CreateChartDocument(new PluginsConventionSaveDocument() { FileName = saveFileDialog.FileName });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ThesaurusToolStripMenuItem_Click(object sender, EventArgs e) => ShowThesaurus();
|
||||||
|
private void AddElementToolStripMenuItem_Click(object sender, EventArgs e) => AddNewElement();
|
||||||
|
private void UpdElementToolStripMenuItem_Click(object sender, EventArgs e) => UpdateElement();
|
||||||
|
private void DelElementToolStripMenuItem_Click(object sender, EventArgs e) => DeleteElement();
|
||||||
|
private void SimpleDocToolStripMenuItem_Click(object sender, EventArgs e) => CreateSimpleDoc();
|
||||||
|
private void TableDocToolStripMenuItem_Click(object sender, EventArgs e) => CreateTableDoc();
|
||||||
|
private void ChartDocToolStripMenuItem_Click(object sender, EventArgs e) => CreateChartDoc();
|
||||||
|
|
||||||
|
private void FormMain_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,64 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<root>
|
||||||
<root>
|
|
||||||
<!--
|
|
||||||
Microsoft ResX Schema
|
|
||||||
|
|
||||||
Version 2.0
|
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
|
||||||
that is mostly human readable. The generation and parsing of the
|
|
||||||
various data types are done through the TypeConverter classes
|
|
||||||
associated with the data types.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
||||||
<resheader name="version">2.0</resheader>
|
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
||||||
</data>
|
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
||||||
<comment>This is a comment</comment>
|
|
||||||
</data>
|
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
|
||||||
name/value pairs.
|
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
|
||||||
text/value conversion through the TypeConverter architecture.
|
|
||||||
Classes that don't support this are serialized and stored with the
|
|
||||||
mimetype set.
|
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
|
||||||
read any of the formats listed below.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
||||||
value : The object must be serialized into a byte array
|
|
||||||
: using a System.ComponentModel.TypeConverter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
-->
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
@ -117,4 +57,7 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
|
<metadata name="menuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
</root>
|
</root>
|
@ -8,6 +8,12 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="System.Text.Encoding.CodePages" Version="8.0.0" />
|
||||||
|
<PackageReference Include="System.Text.Encodings.Web" Version="8.0.0" />
|
||||||
|
<PackageReference Include="System.Text.Json" Version="8.0.5" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\PluginsConventionLibrary\PluginsConventionLibrary.csproj" />
|
<ProjectReference Include="..\PluginsConventionLibrary\PluginsConventionLibrary.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
BIN
VolkovLabs/Plugins/ComponentsLibraryNet60.dll
Normal file
BIN
VolkovLabs/Plugins/ComponentsLibraryNet60.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/ControlsLibraryNet60.dll
Normal file
BIN
VolkovLabs/Plugins/ControlsLibraryNet60.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/DocumentFormat.OpenXml.dll
Normal file
BIN
VolkovLabs/Plugins/DocumentFormat.OpenXml.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/FormLibrary.dll
Normal file
BIN
VolkovLabs/Plugins/FormLibrary.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Humanizer.dll
Normal file
BIN
VolkovLabs/Plugins/Humanizer.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/InternetShopDataModels.dll
Normal file
BIN
VolkovLabs/Plugins/InternetShopDataModels.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/InternetShopOrdersApp.dll
Normal file
BIN
VolkovLabs/Plugins/InternetShopOrdersApp.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/InternetShopOrdersAppPlugins.dll
Normal file
BIN
VolkovLabs/Plugins/InternetShopOrdersAppPlugins.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/InternetShopOrdersBusinessLogic.dll
Normal file
BIN
VolkovLabs/Plugins/InternetShopOrdersBusinessLogic.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/InternetShopOrdersContracts.dll
Normal file
BIN
VolkovLabs/Plugins/InternetShopOrdersContracts.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/InternetShopOrdersDataModels.dll
Normal file
BIN
VolkovLabs/Plugins/InternetShopOrdersDataModels.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/InternetShopOrdersDatabaseImplement.dll
Normal file
BIN
VolkovLabs/Plugins/InternetShopOrdersDatabaseImplement.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Interop.Microsoft.Office.Core.dll
Normal file
BIN
VolkovLabs/Plugins/Interop.Microsoft.Office.Core.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Interop.Microsoft.Office.Interop.Excel.dll
Normal file
BIN
VolkovLabs/Plugins/Interop.Microsoft.Office.Interop.Excel.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.Bcl.AsyncInterfaces.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.Bcl.AsyncInterfaces.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.CSharp.Workspaces.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.CSharp.Workspaces.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.CSharp.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.CSharp.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.CSharp.resources.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.CSharp.resources.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.Workspaces.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.Workspaces.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.resources.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.CodeAnalysis.resources.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.EntityFrameworkCore.Design.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.EntityFrameworkCore.Design.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.EntityFrameworkCore.Relational.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.EntityFrameworkCore.Relational.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.EntityFrameworkCore.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.EntityFrameworkCore.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Caching.Abstractions.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Caching.Abstractions.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Caching.Memory.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Caching.Memory.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.Extensions.DependencyInjection.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.Extensions.DependencyInjection.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.Extensions.DependencyModel.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.Extensions.DependencyModel.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Logging.Abstractions.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Logging.Abstractions.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Logging.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Options.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Options.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Primitives.dll
Normal file
BIN
VolkovLabs/Plugins/Microsoft.Extensions.Primitives.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/MigraDoc.DocumentObjectModel.dll
Normal file
BIN
VolkovLabs/Plugins/MigraDoc.DocumentObjectModel.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/MigraDoc.DocumentObjectModel.resources.dll
Normal file
BIN
VolkovLabs/Plugins/MigraDoc.DocumentObjectModel.resources.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/MigraDoc.Rendering.dll
Normal file
BIN
VolkovLabs/Plugins/MigraDoc.Rendering.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/MigraDoc.Rendering.resources.dll
Normal file
BIN
VolkovLabs/Plugins/MigraDoc.Rendering.resources.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Mono.TextTemplating.dll
Normal file
BIN
VolkovLabs/Plugins/Mono.TextTemplating.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/NevaevaLibrary.dll
Normal file
BIN
VolkovLabs/Plugins/NevaevaLibrary.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Npgsql.EntityFrameworkCore.PostgreSQL.dll
Normal file
BIN
VolkovLabs/Plugins/Npgsql.EntityFrameworkCore.PostgreSQL.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/Npgsql.dll
Normal file
BIN
VolkovLabs/Plugins/Npgsql.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/OxyPlot.WindowsForms.dll
Normal file
BIN
VolkovLabs/Plugins/OxyPlot.WindowsForms.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/OxyPlot.Wpf.Shared.dll
Normal file
BIN
VolkovLabs/Plugins/OxyPlot.Wpf.Shared.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/OxyPlot.Wpf.dll
Normal file
BIN
VolkovLabs/Plugins/OxyPlot.Wpf.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/OxyPlot.dll
Normal file
BIN
VolkovLabs/Plugins/OxyPlot.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/PdfSharp.Charting.dll
Normal file
BIN
VolkovLabs/Plugins/PdfSharp.Charting.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/PdfSharp.Charting.resources.dll
Normal file
BIN
VolkovLabs/Plugins/PdfSharp.Charting.resources.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/PdfSharp.dll
Normal file
BIN
VolkovLabs/Plugins/PdfSharp.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/PdfSharp.resources.dll
Normal file
BIN
VolkovLabs/Plugins/PdfSharp.resources.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/PluginsConventionLibrary.dll
Normal file
BIN
VolkovLabs/Plugins/PluginsConventionLibrary.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/System.Composition.AttributedModel.dll
Normal file
BIN
VolkovLabs/Plugins/System.Composition.AttributedModel.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/System.Composition.Convention.dll
Normal file
BIN
VolkovLabs/Plugins/System.Composition.Convention.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/System.Composition.Hosting.dll
Normal file
BIN
VolkovLabs/Plugins/System.Composition.Hosting.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/System.Composition.Runtime.dll
Normal file
BIN
VolkovLabs/Plugins/System.Composition.Runtime.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/System.Composition.TypedParts.dll
Normal file
BIN
VolkovLabs/Plugins/System.Composition.TypedParts.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/System.IO.Pipelines.dll
Normal file
BIN
VolkovLabs/Plugins/System.IO.Pipelines.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/System.Text.Json.dll
Normal file
BIN
VolkovLabs/Plugins/System.Text.Json.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/WinFormsLibraryVolkov.dll
Normal file
BIN
VolkovLabs/Plugins/WinFormsLibraryVolkov.dll
Normal file
Binary file not shown.
BIN
VolkovLabs/Plugins/WinFormsTestApp.dll
Normal file
BIN
VolkovLabs/Plugins/WinFormsTestApp.dll
Normal file
Binary file not shown.
@ -17,9 +17,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InternetShopDataModels", "I
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InternetShopOrdersApp", "InternetShopOrdersApp\InternetShopOrdersApp.csproj", "{13A6EC26-C739-4891-964C-4A0E5E8D43C3}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InternetShopOrdersApp", "InternetShopOrdersApp\InternetShopOrdersApp.csproj", "{13A6EC26-C739-4891-964C-4A0E5E8D43C3}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InternetShopOrdersAppPlugins", "InternetShopOrdersAppPlugins\InternetShopOrdersAppPlugins.csproj", "{765C2C20-1415-4D42-8053-4914D7AD4E75}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PluginsConventionLibrary", "PluginsConventionLibrary\PluginsConventionLibrary.csproj", "{B0E17F90-929D-4AA7-8FA5-5F5E037140BE}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PluginsConventionLibrary", "PluginsConventionLibrary\PluginsConventionLibrary.csproj", "{B0E17F90-929D-4AA7-8FA5-5F5E037140BE}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InternetShopOrdersAppPlugins", "InternetShopOrdersAppPlugins\InternetShopOrdersAppPlugins.csproj", "{0BBCEA03-CD1F-476B-984D-D7101CC7C1AC}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@ -55,14 +55,14 @@ Global
|
|||||||
{13A6EC26-C739-4891-964C-4A0E5E8D43C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{13A6EC26-C739-4891-964C-4A0E5E8D43C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{13A6EC26-C739-4891-964C-4A0E5E8D43C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{13A6EC26-C739-4891-964C-4A0E5E8D43C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{13A6EC26-C739-4891-964C-4A0E5E8D43C3}.Release|Any CPU.Build.0 = Release|Any CPU
|
{13A6EC26-C739-4891-964C-4A0E5E8D43C3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{765C2C20-1415-4D42-8053-4914D7AD4E75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{765C2C20-1415-4D42-8053-4914D7AD4E75}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{765C2C20-1415-4D42-8053-4914D7AD4E75}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{765C2C20-1415-4D42-8053-4914D7AD4E75}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{B0E17F90-929D-4AA7-8FA5-5F5E037140BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{B0E17F90-929D-4AA7-8FA5-5F5E037140BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{B0E17F90-929D-4AA7-8FA5-5F5E037140BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{B0E17F90-929D-4AA7-8FA5-5F5E037140BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{B0E17F90-929D-4AA7-8FA5-5F5E037140BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{B0E17F90-929D-4AA7-8FA5-5F5E037140BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{B0E17F90-929D-4AA7-8FA5-5F5E037140BE}.Release|Any CPU.Build.0 = Release|Any CPU
|
{B0E17F90-929D-4AA7-8FA5-5F5E037140BE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{0BBCEA03-CD1F-476B-984D-D7101CC7C1AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{0BBCEA03-CD1F-476B-984D-D7101CC7C1AC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{0BBCEA03-CD1F-476B-984D-D7101CC7C1AC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{0BBCEA03-CD1F-476B-984D-D7101CC7C1AC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
Loading…
Reference in New Issue
Block a user