создала основные классы для работы с приложением (плагином)

This commit is contained in:
Елена Бакальская 2024-11-30 22:09:21 +04:00
parent 1ba0759d3c
commit cd24c38f4a
5 changed files with 57 additions and 4 deletions

View File

@ -0,0 +1,16 @@
namespace Plugins
{
public interface IPluginsConvention
{
string PluginName { get; }
UserControl UserControl { get; }
PluginsConventionElement GetElement { get; }
Form GetForm(PluginsConventionElement element);
Form GetGuide();
bool DeleteElement(PluginsConventionElement element);
void ReloadData();
bool CreateSimpleDocument(PluginsConventionSaveDocument saveDocument);
bool CreateTableDocument(PluginsConventionSaveDocument saveDocument);
bool CreateChartDocument(PluginsConventionSaveDocument saveDocument);
}
}

View File

@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,7 @@
namespace Plugins
{
public class PluginsConventionElement
{
public Guid Id { get; set; }
}
}

View File

@ -0,0 +1,7 @@
namespace Plugins
{
public class PluginsConventionSaveDocument
{
public string FileName { get; set; } = string.Empty;
}
}

View File

@ -9,13 +9,17 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestAppForCheckComponentsWo
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AppShopInternetOption19", "AppShopInternetOption19\AppShopInternetOption19.csproj", "{C750EB42-23CA-434F-80AE-CBAF146C403B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShopBusinessLogic", "ShopBusinessLogic\ShopBusinessLogic.csproj", "{F4916AFC-E68D-487E-9FEB-D343502DD046}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShopBusinessLogic", "ShopBusinessLogic\ShopBusinessLogic.csproj", "{F4916AFC-E68D-487E-9FEB-D343502DD046}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShopContracts", "ShopContracts\ShopContracts.csproj", "{2A049430-7407-4B2C-8C77-5D360023C5D7}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShopContracts", "ShopContracts\ShopContracts.csproj", "{2A049430-7407-4B2C-8C77-5D360023C5D7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShopDataBaseImplements", "ShopDataBaseImplements\ShopDataBaseImplements.csproj", "{F154F51B-C281-48CC-8BD5-DE94EBA81727}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShopDataBaseImplements", "ShopDataBaseImplements\ShopDataBaseImplements.csproj", "{F154F51B-C281-48CC-8BD5-DE94EBA81727}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShopDataModels", "ShopDataModels\ShopDataModels.csproj", "{92FD9A75-09F0-48B2-AA7B-D14CF96A9030}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShopDataModels", "ShopDataModels\ShopDataModels.csproj", "{92FD9A75-09F0-48B2-AA7B-D14CF96A9030}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FormPlugins", "FormPlugins\FormPlugins.csproj", "{505F807B-32DC-46C6-BCAB-55B5056F41DC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugins", "Plugins\Plugins.csproj", "{B3B70EDB-AA21-4021-90FF-9B6DC8BFE651}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -51,6 +55,14 @@ Global
{92FD9A75-09F0-48B2-AA7B-D14CF96A9030}.Debug|Any CPU.Build.0 = Debug|Any CPU
{92FD9A75-09F0-48B2-AA7B-D14CF96A9030}.Release|Any CPU.ActiveCfg = Release|Any CPU
{92FD9A75-09F0-48B2-AA7B-D14CF96A9030}.Release|Any CPU.Build.0 = Release|Any CPU
{505F807B-32DC-46C6-BCAB-55B5056F41DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{505F807B-32DC-46C6-BCAB-55B5056F41DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{505F807B-32DC-46C6-BCAB-55B5056F41DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{505F807B-32DC-46C6-BCAB-55B5056F41DC}.Release|Any CPU.Build.0 = Release|Any CPU
{B3B70EDB-AA21-4021-90FF-9B6DC8BFE651}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B3B70EDB-AA21-4021-90FF-9B6DC8BFE651}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B3B70EDB-AA21-4021-90FF-9B6DC8BFE651}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B3B70EDB-AA21-4021-90FF-9B6DC8BFE651}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE