осталось тесты и 1000 тесты
This commit is contained in:
parent
dc00c34c57
commit
21ca8bae11
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.
BIN
1733550c50fb0b7c5.jpg
Normal file
BIN
1733550c50fb0b7c5.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 824 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = SportCompetitionsBusinessLogic
|
||||
build_property.ProjectDir = F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\
|
||||
build_property.ProjectDir = E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
dee6decc0148d80a81c45393639ca5db563b8db8
|
||||
85c1a2166ab92da8b083089fb7d16636cbcd3b07
|
||||
|
@ -15,3 +15,20 @@ F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\S
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\refint\SportCompetitionsBusinessLogic.dll
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.pdb
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\ref\SportCompetitionsBusinessLogic.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsBusinessLogic.deps.json
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsBusinessLogic.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsBusinessLogic.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsContracts.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsDataModels.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsContracts.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\bin\Debug\net7.0\SportCompetitionsDataModels.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.csproj.AssemblyReference.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.GeneratedMSBuildEditorConfig.editorconfig
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.AssemblyInfoInputs.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.AssemblyInfo.cs
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.csproj.CoreCompileInputs.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.csproj.CopyComplete
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\refint\SportCompetitionsBusinessLogic.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\SportCompetitionsBusinessLogic.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\obj\Debug\net7.0\ref\SportCompetitionsBusinessLogic.dll
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,17 +1,17 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {}
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectName": "SportCompetitionsBusinessLogic",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
@ -28,11 +28,11 @@
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -66,14 +66,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectName": "SportCompetitionsContracts",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
@ -90,8 +90,8 @@
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -125,14 +125,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectName": "SportCompetitionsDataModels",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
|
@ -51,11 +51,11 @@
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectName": "SportCompetitionsBusinessLogic",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
@ -72,11 +72,11 @@
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "EeSMBrv15H+BpdJAnB7z7LT5OlHKMR3tdaQ8Dj/XUyGJlqAoEAArRVHN5JUCdPthkct2OoBxVYhfPg2zqwIisg==",
|
||||
"dgSpecHash": "XqPAODN0gbgws5GNcKHkQOL3N6w0YWKks1SSvuV3CQJt42TIvQlOYcpLWN5f9B7XFC/Njb9/KHXiVwdFKh8ykg==",
|
||||
"success": true,
|
||||
"projectFilePath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectFilePath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
@ -11,7 +11,7 @@ namespace SportCompetitionsContracts.ViewModels
|
||||
public class ResultViewModel : IResultModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[DisplayName("Название результата")]
|
||||
[DisplayName("Описание результата")]
|
||||
public string? ResultName { get; set; }
|
||||
[DisplayName("Соревнование")]
|
||||
public int CompetitionId { get; set; }
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = SportCompetitionsContracts
|
||||
build_property.ProjectDir = F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\
|
||||
build_property.ProjectDir = E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
995306eab9233fbd497a9ad0fa6c74e9361c9110
|
||||
d0ede1a59c4b3b47cd20d380ef89e16a630730b9
|
||||
|
@ -13,3 +13,18 @@ F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\Sport
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\refint\SportCompetitionsContracts.dll
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.pdb
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\ref\SportCompetitionsContracts.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\bin\Debug\net7.0\SportCompetitionsContracts.deps.json
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\bin\Debug\net7.0\SportCompetitionsContracts.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\bin\Debug\net7.0\SportCompetitionsContracts.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\bin\Debug\net7.0\SportCompetitionsDataModels.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\bin\Debug\net7.0\SportCompetitionsDataModels.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.csproj.AssemblyReference.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.GeneratedMSBuildEditorConfig.editorconfig
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.AssemblyInfoInputs.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.AssemblyInfo.cs
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.csproj.CoreCompileInputs.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.csproj.CopyComplete
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\refint\SportCompetitionsContracts.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\SportCompetitionsContracts.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsContracts\obj\Debug\net7.0\ref\SportCompetitionsContracts.dll
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,17 +1,17 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {}
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectName": "SportCompetitionsContracts",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
@ -28,8 +28,8 @@
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -63,14 +63,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectName": "SportCompetitionsDataModels",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
|
@ -32,11 +32,11 @@
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectName": "SportCompetitionsContracts",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
@ -53,8 +53,8 @@
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "5EhweaXzQ7PvtlnsR9egwQOGOnH2M1FS1fBEHfzjGtrctM8mPuGxXV6THNqgEdTBTmcax2RYTU035XsojAJzdw==",
|
||||
"dgSpecHash": "0cwFivO8FP9xTz8RC2lmaCLjfAEJkQMrENLcgLs0HwCArLIlWiZ/Wo2g8dZxrHZcJFv2FObol9+75kWGbo7nVA==",
|
||||
"success": true,
|
||||
"projectFilePath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectFilePath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = SportCompetitionsDataModels
|
||||
build_property.ProjectDir = F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\
|
||||
build_property.ProjectDir = E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\
|
||||
|
Binary file not shown.
@ -9,3 +9,14 @@ F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\Spor
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\refint\SportCompetitionsDataModels.dll
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.pdb
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\ref\SportCompetitionsDataModels.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\bin\Debug\net7.0\SportCompetitionsDataModels.deps.json
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\bin\Debug\net7.0\SportCompetitionsDataModels.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\bin\Debug\net7.0\SportCompetitionsDataModels.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.GeneratedMSBuildEditorConfig.editorconfig
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.AssemblyInfoInputs.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.AssemblyInfo.cs
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.csproj.CoreCompileInputs.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\refint\SportCompetitionsDataModels.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\SportCompetitionsDataModels.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDataModels\obj\Debug\net7.0\ref\SportCompetitionsDataModels.dll
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,17 +1,17 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {}
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectName": "SportCompetitionsDataModels",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
|
@ -13,11 +13,11 @@
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectName": "SportCompetitionsDataModels",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "uXpC3iu3zkJptwl9kCv1Nml6pCj0CTgJiPsngH9VyJPKkNkBsusAdS6ctJZKUii4ZJuCVeyI3QRyJmyn6NKySA==",
|
||||
"dgSpecHash": "2a0aIroBDw8LLxjbs7O2NikXKh78IUWNjUNdt5ERYa1ZAqep/JjZohPmEqxVw0Buh8EjqUpf8yhH/7XgRPD1kg==",
|
||||
"success": true,
|
||||
"projectFilePath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectFilePath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
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.
@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = SportCompetitionsDatabaseImplement
|
||||
build_property.ProjectDir = F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\
|
||||
build_property.ProjectDir = E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
d89e18ed28ccf4ae959e922b6f0a3c8811f846a1
|
||||
90cfa5a488149b0f3923ae43fa9e51e33ab69aa3
|
||||
|
@ -19,3 +19,24 @@ F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.pdb
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.genruntimeconfig.cache
|
||||
F:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\ref\SportCompetitionsDatabaseImplement.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDatabaseImplement.deps.json
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDatabaseImplement.runtimeconfig.json
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDatabaseImplement.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDatabaseImplement.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsBusinessLogic.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsContracts.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDataModels.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsBusinessLogic.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsContracts.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\bin\Debug\net7.0\SportCompetitionsDataModels.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.csproj.AssemblyReference.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.GeneratedMSBuildEditorConfig.editorconfig
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.AssemblyInfoInputs.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.AssemblyInfo.cs
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.csproj.CoreCompileInputs.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.csproj.CopyComplete
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\refint\SportCompetitionsDatabaseImplement.dll
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.pdb
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\SportCompetitionsDatabaseImplement.genruntimeconfig.cache
|
||||
E:\SUBD\lab4\SportCompetitions\SportCompetitionsDatabaseImplement\obj\Debug\net7.0\ref\SportCompetitionsDatabaseImplement.dll
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
77beb39bbb4dcc88c7f1fe9f9c66a68ef7ef7729
|
||||
5d90c0faaee054edba0f29a8e2f336b561118d79
|
||||
|
Binary file not shown.
@ -1,17 +1,17 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj": {}
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectName": "SportCompetitionsBusinessLogic",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
@ -28,11 +28,11 @@
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -66,14 +66,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectName": "SportCompetitionsContracts",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
@ -90,8 +90,8 @@
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -125,14 +125,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj": {
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||
"projectName": "SportCompetitionsDatabaseImplement",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
@ -149,14 +149,14 @@
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj"
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -206,14 +206,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectName": "SportCompetitionsDataModels",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
|
@ -1087,11 +1087,11 @@
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||
"projectUniqueName": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||
"projectName": "SportCompetitionsDatabaseImplement",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\obj\\",
|
||||
"outputPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
@ -1108,14 +1108,14 @@
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj"
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
"E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "lLiugfcPzmZXwdZv1oP6fwytLV4f18DxdUFAajjNJHslzExtFN7FxY7giWKs5fDnKy8nSYlSY7RdKBoYNSdNVQ==",
|
||||
"dgSpecHash": "DPjeYvNXpLNwtLQ/zV7RCOsYTyxaFKNoIU32QGLX9JdkxO/L06EfgZzLzxEMOADBJw7CwGHLNwl+8mjv3Qu60w==",
|
||||
"success": true,
|
||||
"projectFilePath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||
"projectFilePath": "E:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDatabaseImplement\\SportCompetitionsDatabaseImplement.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\Леонид\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512",
|
||||
"C:\\Users\\Леонид\\.nuget\\packages\\microsoft.entityframeworkcore\\7.0.11\\microsoft.entityframeworkcore.7.0.11.nupkg.sha512",
|
||||
|
51
SportCompetitionsView/FormMain.Designer.cs
generated
51
SportCompetitionsView/FormMain.Designer.cs
generated
@ -28,28 +28,18 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
dataGridView1 = new DataGridView();
|
||||
menuStrip1 = new MenuStrip();
|
||||
toolStripMenuItem1 = new ToolStripMenuItem();
|
||||
toolStripMenuItem2 = new ToolStripMenuItem();
|
||||
мемберToolStripMenuItem = new ToolStripMenuItem();
|
||||
button1 = new Button();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
||||
рекордыToolStripMenuItem = new ToolStripMenuItem();
|
||||
результатыToolStripMenuItem = new ToolStripMenuItem();
|
||||
menuStrip1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridView1.Location = new Point(12, 41);
|
||||
dataGridView1.Name = "dataGridView1";
|
||||
dataGridView1.RowTemplate.Height = 25;
|
||||
dataGridView1.Size = new Size(583, 397);
|
||||
dataGridView1.TabIndex = 0;
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
menuStrip1.Items.AddRange(new ToolStripItem[] { toolStripMenuItem1, toolStripMenuItem2, мемберToolStripMenuItem });
|
||||
menuStrip1.Items.AddRange(new ToolStripItem[] { toolStripMenuItem1, toolStripMenuItem2, мемберToolStripMenuItem, рекордыToolStripMenuItem, результатыToolStripMenuItem });
|
||||
menuStrip1.Location = new Point(0, 0);
|
||||
menuStrip1.Name = "menuStrip1";
|
||||
menuStrip1.Size = new Size(800, 24);
|
||||
@ -73,31 +63,33 @@
|
||||
// мемберToolStripMenuItem
|
||||
//
|
||||
мемберToolStripMenuItem.Name = "мемберToolStripMenuItem";
|
||||
мемберToolStripMenuItem.Size = new Size(47, 20);
|
||||
мемберToolStripMenuItem.Text = "мем)";
|
||||
мемберToolStripMenuItem.Size = new Size(77, 20);
|
||||
мемберToolStripMenuItem.Text = "Участники";
|
||||
мемберToolStripMenuItem.Click += MembersToolStripMenuItem_Click;
|
||||
//
|
||||
// button1
|
||||
// рекордыToolStripMenuItem
|
||||
//
|
||||
button1.Location = new Point(620, 41);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(138, 41);
|
||||
button1.TabIndex = 2;
|
||||
button1.Text = "button1";
|
||||
button1.UseVisualStyleBackColor = true;
|
||||
рекордыToolStripMenuItem.Name = "рекордыToolStripMenuItem";
|
||||
рекордыToolStripMenuItem.Size = new Size(67, 20);
|
||||
рекордыToolStripMenuItem.Text = "Рекорды";
|
||||
рекордыToolStripMenuItem.Click += RecordsToolStripMenuItem_Click;
|
||||
//
|
||||
// результатыToolStripMenuItem
|
||||
//
|
||||
результатыToolStripMenuItem.Name = "результатыToolStripMenuItem";
|
||||
результатыToolStripMenuItem.Size = new Size(81, 20);
|
||||
результатыToolStripMenuItem.Text = "Результаты";
|
||||
результатыToolStripMenuItem.Click += ResultsToolStripMenuItem_Click;
|
||||
//
|
||||
// FormMain
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(800, 450);
|
||||
Controls.Add(button1);
|
||||
Controls.Add(dataGridView1);
|
||||
ClientSize = new Size(800, 334);
|
||||
Controls.Add(menuStrip1);
|
||||
MainMenuStrip = menuStrip1;
|
||||
Name = "FormMain";
|
||||
Text = "Form1";
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
||||
Text = "ГлавнаяФорма";
|
||||
menuStrip1.ResumeLayout(false);
|
||||
menuStrip1.PerformLayout();
|
||||
ResumeLayout(false);
|
||||
@ -105,12 +97,11 @@
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DataGridView dataGridView1;
|
||||
private MenuStrip menuStrip1;
|
||||
private ToolStripMenuItem toolStripMenuItem1;
|
||||
private ToolStripMenuItem toolStripMenuItem2;
|
||||
private Button button1;
|
||||
private ToolStripMenuItem мемберToolStripMenuItem;
|
||||
private ToolStripMenuItem рекордыToolStripMenuItem;
|
||||
private ToolStripMenuItem результатыToolStripMenuItem;
|
||||
}
|
||||
}
|
@ -43,5 +43,22 @@ namespace SportCompetitionsView
|
||||
form.ShowDialog();
|
||||
}
|
||||
}
|
||||
private void RecordsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var service = Program.ServiceProvider?.GetService(typeof(FormRecords));
|
||||
if (service is FormRecords form)
|
||||
{
|
||||
form.ShowDialog();
|
||||
}
|
||||
}
|
||||
|
||||
private void ResultsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var service = Program.ServiceProvider?.GetService(typeof(FormResults));
|
||||
if (service is FormResults form)
|
||||
{
|
||||
form.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
185
SportCompetitionsView/FormRecord.Designer.cs
generated
Normal file
185
SportCompetitionsView/FormRecord.Designer.cs
generated
Normal file
@ -0,0 +1,185 @@
|
||||
namespace SportCompetitionsView
|
||||
{
|
||||
partial class FormRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
textBox2 = new TextBox();
|
||||
label1 = new Label();
|
||||
textBox1 = new TextBox();
|
||||
label2 = new Label();
|
||||
label4 = new Label();
|
||||
comboBoxMember = new ComboBox();
|
||||
dateTimePicker1 = new DateTimePicker();
|
||||
textBox3 = new TextBox();
|
||||
label3 = new Label();
|
||||
label5 = new Label();
|
||||
buttonCanc = new Button();
|
||||
button1 = new Button();
|
||||
SuspendLayout();
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
textBox2.Location = new Point(123, 24);
|
||||
textBox2.Name = "textBox2";
|
||||
textBox2.Size = new Size(200, 23);
|
||||
textBox2.TabIndex = 3;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new Point(27, 27);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(59, 15);
|
||||
label1.TabIndex = 2;
|
||||
label1.Text = "Название";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
textBox1.Location = new Point(123, 68);
|
||||
textBox1.Name = "textBox1";
|
||||
textBox1.Size = new Size(200, 23);
|
||||
textBox1.TabIndex = 5;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new Point(27, 71);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new Size(62, 15);
|
||||
label2.TabIndex = 4;
|
||||
label2.Text = "Описание";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Location = new Point(27, 117);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new Size(58, 15);
|
||||
label4.TabIndex = 9;
|
||||
label4.Text = "Участник";
|
||||
//
|
||||
// comboBoxMember
|
||||
//
|
||||
comboBoxMember.FormattingEnabled = true;
|
||||
comboBoxMember.Location = new Point(123, 114);
|
||||
comboBoxMember.Name = "comboBoxMember";
|
||||
comboBoxMember.Size = new Size(200, 23);
|
||||
comboBoxMember.TabIndex = 8;
|
||||
//
|
||||
// dateTimePicker1
|
||||
//
|
||||
dateTimePicker1.Location = new Point(123, 153);
|
||||
dateTimePicker1.Name = "dateTimePicker1";
|
||||
dateTimePicker1.Size = new Size(200, 23);
|
||||
dateTimePicker1.TabIndex = 13;
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
textBox3.Location = new Point(123, 196);
|
||||
textBox3.Name = "textBox3";
|
||||
textBox3.Size = new Size(200, 23);
|
||||
textBox3.TabIndex = 12;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Location = new Point(27, 199);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new Size(60, 15);
|
||||
label3.TabIndex = 11;
|
||||
label3.Text = "Значение";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
label5.AutoSize = true;
|
||||
label5.Location = new Point(6, 159);
|
||||
label5.Name = "label5";
|
||||
label5.Size = new Size(111, 15);
|
||||
label5.TabIndex = 10;
|
||||
label5.Text = "Дата установления";
|
||||
//
|
||||
// buttonCanc
|
||||
//
|
||||
buttonCanc.Location = new Point(229, 236);
|
||||
buttonCanc.Name = "buttonCanc";
|
||||
buttonCanc.Size = new Size(94, 40);
|
||||
buttonCanc.TabIndex = 15;
|
||||
buttonCanc.Text = "Отмена";
|
||||
buttonCanc.UseVisualStyleBackColor = true;
|
||||
buttonCanc.Click += buttonCancel_Click;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
button1.Location = new Point(123, 236);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(100, 40);
|
||||
button1.TabIndex = 14;
|
||||
button1.Text = "Сохранить";
|
||||
button1.UseVisualStyleBackColor = true;
|
||||
button1.Click += buttonSave_Click;
|
||||
//
|
||||
// FormRecord
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(355, 310);
|
||||
Controls.Add(buttonCanc);
|
||||
Controls.Add(button1);
|
||||
Controls.Add(dateTimePicker1);
|
||||
Controls.Add(textBox3);
|
||||
Controls.Add(label3);
|
||||
Controls.Add(label5);
|
||||
Controls.Add(label4);
|
||||
Controls.Add(comboBoxMember);
|
||||
Controls.Add(textBox1);
|
||||
Controls.Add(label2);
|
||||
Controls.Add(textBox2);
|
||||
Controls.Add(label1);
|
||||
Name = "FormRecord";
|
||||
Text = "Рекорд";
|
||||
Load += FormRecord_Load;
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private TextBox textBox2;
|
||||
private Label label1;
|
||||
private TextBox textBox1;
|
||||
private Label label2;
|
||||
private Label label4;
|
||||
private ComboBox comboBoxMember;
|
||||
private DateTimePicker dateTimePicker1;
|
||||
private TextBox textBox3;
|
||||
private Label label3;
|
||||
private Label label5;
|
||||
private Button buttonCanc;
|
||||
private Button button1;
|
||||
}
|
||||
}
|
75
SportCompetitionsView/FormRecord.cs
Normal file
75
SportCompetitionsView/FormRecord.cs
Normal file
@ -0,0 +1,75 @@
|
||||
using SportCompetitionsContracts.BindingModels;
|
||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SportCompetitionsView
|
||||
{
|
||||
public partial class FormRecord : Form
|
||||
{
|
||||
private readonly IRecordLogic _recordLogic;
|
||||
private readonly IMemberLogic _memberLogic;
|
||||
private int? _id;
|
||||
public int Id { set { _id = value; } }
|
||||
public FormRecord(IMemberLogic memberLogic, IRecordLogic recordLogic)
|
||||
{
|
||||
InitializeComponent();
|
||||
_memberLogic = memberLogic;
|
||||
_recordLogic = recordLogic;
|
||||
}
|
||||
|
||||
private void FormRecord_Load(object sender, EventArgs e)
|
||||
{
|
||||
var _listP = _memberLogic.ReadList(null);
|
||||
if (_listP != null)
|
||||
{
|
||||
comboBoxMember.DisplayMember = "MemberFCs";
|
||||
comboBoxMember.ValueMember = "Id";
|
||||
comboBoxMember.DataSource = _listP;
|
||||
comboBoxMember.SelectedItem = null;
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
var model = new RecordBindingModel
|
||||
{
|
||||
Id = _id ?? 0,
|
||||
RecordName = textBox2.Text,
|
||||
RecordDate = dateTimePicker1.Value,
|
||||
RecordDecriptiption = textBox1.Text,
|
||||
MemberId = comboBoxMember.SelectedIndex,
|
||||
RecordValue = Convert.ToInt32(textBox3.Text),
|
||||
};
|
||||
var operationResult = _id.HasValue ? _recordLogic.Update(model) : _recordLogic.Create(model);
|
||||
if (!operationResult)
|
||||
{
|
||||
throw new Exception("Ошибка при сохранении. Доп информация в логах");
|
||||
}
|
||||
MessageBox.Show("Сохранение прошло успешно", "Сообщение", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void buttonCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
120
SportCompetitionsView/FormRecord.resx
Normal file
120
SportCompetitionsView/FormRecord.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
100
SportCompetitionsView/FormRecords.Designer.cs
generated
Normal file
100
SportCompetitionsView/FormRecords.Designer.cs
generated
Normal file
@ -0,0 +1,100 @@
|
||||
namespace SportCompetitionsView
|
||||
{
|
||||
partial class FormRecords
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
buttonDel = new Button();
|
||||
buttonEdit = new Button();
|
||||
buttonAdd = new Button();
|
||||
dataGridView1 = new DataGridView();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// buttonDel
|
||||
//
|
||||
buttonDel.Location = new Point(727, 146);
|
||||
buttonDel.Name = "buttonDel";
|
||||
buttonDel.Size = new Size(128, 42);
|
||||
buttonDel.TabIndex = 10;
|
||||
buttonDel.Text = "Удалить";
|
||||
buttonDel.UseVisualStyleBackColor = true;
|
||||
buttonDel.Click += buttonDel_Click;
|
||||
//
|
||||
// buttonEdit
|
||||
//
|
||||
buttonEdit.Location = new Point(727, 83);
|
||||
buttonEdit.Name = "buttonEdit";
|
||||
buttonEdit.Size = new Size(128, 44);
|
||||
buttonEdit.TabIndex = 9;
|
||||
buttonEdit.Text = "Изменить";
|
||||
buttonEdit.UseVisualStyleBackColor = true;
|
||||
buttonEdit.Click += buttonUpd_Click;
|
||||
//
|
||||
// buttonAdd
|
||||
//
|
||||
buttonAdd.Location = new Point(727, 21);
|
||||
buttonAdd.Name = "buttonAdd";
|
||||
buttonAdd.Size = new Size(128, 43);
|
||||
buttonAdd.TabIndex = 8;
|
||||
buttonAdd.Text = "Добавить";
|
||||
buttonAdd.UseVisualStyleBackColor = true;
|
||||
buttonAdd.Click += buttonAdd_Click;
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridView1.Location = new Point(21, 21);
|
||||
dataGridView1.Name = "dataGridView1";
|
||||
dataGridView1.RowTemplate.Height = 25;
|
||||
dataGridView1.Size = new Size(655, 408);
|
||||
dataGridView1.TabIndex = 7;
|
||||
//
|
||||
// FormRecords
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(915, 450);
|
||||
Controls.Add(buttonDel);
|
||||
Controls.Add(buttonEdit);
|
||||
Controls.Add(buttonAdd);
|
||||
Controls.Add(dataGridView1);
|
||||
Name = "FormRecords";
|
||||
Text = "Рекорды";
|
||||
Load += FormRecords_Load;
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Button buttonDel;
|
||||
private Button buttonEdit;
|
||||
private Button buttonAdd;
|
||||
private DataGridView dataGridView1;
|
||||
}
|
||||
}
|
100
SportCompetitionsView/FormRecords.cs
Normal file
100
SportCompetitionsView/FormRecords.cs
Normal file
@ -0,0 +1,100 @@
|
||||
using SportCompetitionsContracts.BindingModels;
|
||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SportCompetitionsView
|
||||
{
|
||||
public partial class FormRecords : Form
|
||||
{
|
||||
private readonly IRecordLogic _logic;
|
||||
|
||||
public FormRecords(IRecordLogic logic)
|
||||
{
|
||||
InitializeComponent();
|
||||
_logic = logic;
|
||||
}
|
||||
|
||||
private void FormRecords_Load(object sender, EventArgs e)
|
||||
{
|
||||
LoadData();
|
||||
}
|
||||
|
||||
private void LoadData()
|
||||
{
|
||||
try
|
||||
{
|
||||
var list = _logic.ReadList(null);
|
||||
if (list != null)
|
||||
{
|
||||
dataGridView1.DataSource = list;
|
||||
dataGridView1.Columns["Id"].Visible = false;
|
||||
dataGridView1.Columns["RecordDecriptiption"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
var service = Program.ServiceProvider?.GetService(typeof(FormRecord));
|
||||
if (service is FormRecord form)
|
||||
{
|
||||
if (form.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
LoadData();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonUpd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (dataGridView1.SelectedRows.Count == 1)
|
||||
{
|
||||
var service = Program.ServiceProvider?.GetService(typeof(FormRecord));
|
||||
if (service is FormRecord form)
|
||||
{
|
||||
form.Id = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["Id"].Value);
|
||||
if (form.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
LoadData();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (dataGridView1.SelectedRows.Count == 1)
|
||||
{
|
||||
if (MessageBox.Show("Удалить запись?", "Вопрос", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
int id = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["Id"].Value);
|
||||
try
|
||||
{
|
||||
if (!_logic.Delete(new RecordBindingModel { Id = id }))
|
||||
{
|
||||
throw new Exception("Ошибка при удалении. Доп информация в логах");
|
||||
}
|
||||
LoadData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
120
SportCompetitionsView/FormRecords.resx
Normal file
120
SportCompetitionsView/FormRecords.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
165
SportCompetitionsView/FormResult.Designer.cs
generated
Normal file
165
SportCompetitionsView/FormResult.Designer.cs
generated
Normal file
@ -0,0 +1,165 @@
|
||||
namespace SportCompetitionsView
|
||||
{
|
||||
partial class FormResult
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
buttonCanc = new Button();
|
||||
button1 = new Button();
|
||||
textBox = new TextBox();
|
||||
label3 = new Label();
|
||||
label4 = new Label();
|
||||
comboBox2 = new ComboBox();
|
||||
textBox1 = new TextBox();
|
||||
label1 = new Label();
|
||||
label2 = new Label();
|
||||
comboBox1 = new ComboBox();
|
||||
SuspendLayout();
|
||||
//
|
||||
// buttonCanc
|
||||
//
|
||||
buttonCanc.Location = new Point(238, 198);
|
||||
buttonCanc.Name = "buttonCanc";
|
||||
buttonCanc.Size = new Size(94, 40);
|
||||
buttonCanc.TabIndex = 27;
|
||||
buttonCanc.Text = "Отмена";
|
||||
buttonCanc.UseVisualStyleBackColor = true;
|
||||
buttonCanc.Click += buttonCancel_Click;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
button1.Location = new Point(132, 198);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(100, 40);
|
||||
button1.TabIndex = 26;
|
||||
button1.Text = "Сохранить";
|
||||
button1.UseVisualStyleBackColor = true;
|
||||
button1.Click += buttonSave_Click;
|
||||
//
|
||||
// textBox
|
||||
//
|
||||
textBox.Location = new Point(132, 158);
|
||||
textBox.Name = "textBox";
|
||||
textBox.Size = new Size(200, 23);
|
||||
textBox.TabIndex = 24;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Location = new Point(36, 161);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new Size(60, 15);
|
||||
label3.TabIndex = 23;
|
||||
label3.Text = "Значение";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Location = new Point(36, 119);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new Size(55, 15);
|
||||
label4.TabIndex = 21;
|
||||
label4.Text = "Команда";
|
||||
//
|
||||
// comboBox2
|
||||
//
|
||||
comboBox2.FormattingEnabled = true;
|
||||
comboBox2.Location = new Point(132, 116);
|
||||
comboBox2.Name = "comboBox2";
|
||||
comboBox2.Size = new Size(200, 23);
|
||||
comboBox2.TabIndex = 20;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
textBox1.Location = new Point(132, 26);
|
||||
textBox1.Name = "textBox1";
|
||||
textBox1.Size = new Size(200, 23);
|
||||
textBox1.TabIndex = 17;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new Point(36, 29);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(62, 15);
|
||||
label1.TabIndex = 16;
|
||||
label1.Text = "Описание";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new Point(36, 75);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new Size(87, 15);
|
||||
label2.TabIndex = 29;
|
||||
label2.Text = "Соревнование";
|
||||
//
|
||||
// comboBox1
|
||||
//
|
||||
comboBox1.FormattingEnabled = true;
|
||||
comboBox1.Location = new Point(132, 72);
|
||||
comboBox1.Name = "comboBox1";
|
||||
comboBox1.Size = new Size(200, 23);
|
||||
comboBox1.TabIndex = 28;
|
||||
//
|
||||
// FormResult
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(395, 261);
|
||||
Controls.Add(label2);
|
||||
Controls.Add(comboBox1);
|
||||
Controls.Add(buttonCanc);
|
||||
Controls.Add(button1);
|
||||
Controls.Add(textBox);
|
||||
Controls.Add(label3);
|
||||
Controls.Add(label4);
|
||||
Controls.Add(comboBox2);
|
||||
Controls.Add(textBox1);
|
||||
Controls.Add(label1);
|
||||
Name = "FormResult";
|
||||
Text = "Результат";
|
||||
Load += FormResult_Load;
|
||||
Click += FormResult_Load;
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Button buttonCanc;
|
||||
private Button button1;
|
||||
private TextBox textBox;
|
||||
private Label label3;
|
||||
private Label label4;
|
||||
private ComboBox comboBox2;
|
||||
private TextBox textBox1;
|
||||
private Label label1;
|
||||
private Label label2;
|
||||
private ComboBox comboBox1;
|
||||
}
|
||||
}
|
85
SportCompetitionsView/FormResult.cs
Normal file
85
SportCompetitionsView/FormResult.cs
Normal file
@ -0,0 +1,85 @@
|
||||
using SportCompetitionsContracts.BindingModels;
|
||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
|
||||
|
||||
namespace SportCompetitionsView
|
||||
{
|
||||
public partial class FormResult : Form
|
||||
{
|
||||
private readonly ICompetitionLogic _logicC;
|
||||
private readonly ITeamLogic _teamLogic;
|
||||
private readonly IResultLogic _resultLogic;
|
||||
private int? _id;
|
||||
public int Id { set { _id = value; } }
|
||||
public FormResult(ICompetitionLogic _logicC2, ITeamLogic _teamLogic2, IResultLogic _resultLogic2)
|
||||
{
|
||||
InitializeComponent();
|
||||
_logicC = _logicC2;
|
||||
_teamLogic = _teamLogic2;
|
||||
_resultLogic = _resultLogic2;
|
||||
}
|
||||
|
||||
private void FormResult_Load(object sender, EventArgs e)
|
||||
{
|
||||
var _listP = _logicC.ReadList(null);
|
||||
if (_listP != null)
|
||||
{
|
||||
comboBox1.DisplayMember = "CompetitionName";
|
||||
comboBox1.ValueMember = "Id";
|
||||
comboBox1.DataSource = _listP;
|
||||
comboBox1.SelectedItem = null;
|
||||
}
|
||||
var _listP2 = _teamLogic.ReadList(null);
|
||||
if (_listP2 != null)
|
||||
{
|
||||
comboBox2.DisplayMember = "TeamName";
|
||||
comboBox2.ValueMember = "Id";
|
||||
comboBox2.DataSource = _listP2;
|
||||
comboBox2.SelectedItem = null;
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
var model = new ResultBindingModel
|
||||
{
|
||||
Id = _id ?? 0,
|
||||
CompetitionId = comboBox1.SelectedIndex,
|
||||
TeamId = comboBox2.SelectedIndex,
|
||||
ResultName = textBox1.Text,
|
||||
ResultPosition = Convert.ToInt32(textBox.Text),
|
||||
};
|
||||
var operationResult = _id.HasValue ? _resultLogic.Update(model) : _resultLogic.Create(model);
|
||||
if (!operationResult)
|
||||
{
|
||||
throw new Exception("Ошибка при сохранении. Доп информация в логах");
|
||||
}
|
||||
MessageBox.Show("Сохранение прошло успешно", "Сообщение", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void buttonCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
120
SportCompetitionsView/FormResult.resx
Normal file
120
SportCompetitionsView/FormResult.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
100
SportCompetitionsView/FormResults.Designer.cs
generated
Normal file
100
SportCompetitionsView/FormResults.Designer.cs
generated
Normal file
@ -0,0 +1,100 @@
|
||||
namespace SportCompetitionsView
|
||||
{
|
||||
partial class FormResults
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
buttonDel = new Button();
|
||||
buttonEdit = new Button();
|
||||
buttonAdd = new Button();
|
||||
dataGridView1 = new DataGridView();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// buttonDel
|
||||
//
|
||||
buttonDel.Location = new Point(773, 137);
|
||||
buttonDel.Name = "buttonDel";
|
||||
buttonDel.Size = new Size(128, 42);
|
||||
buttonDel.TabIndex = 14;
|
||||
buttonDel.Text = "Удалить";
|
||||
buttonDel.UseVisualStyleBackColor = true;
|
||||
buttonDel.Click += buttonDel_Click;
|
||||
//
|
||||
// buttonEdit
|
||||
//
|
||||
buttonEdit.Location = new Point(773, 74);
|
||||
buttonEdit.Name = "buttonEdit";
|
||||
buttonEdit.Size = new Size(128, 44);
|
||||
buttonEdit.TabIndex = 13;
|
||||
buttonEdit.Text = "Изменить";
|
||||
buttonEdit.UseVisualStyleBackColor = true;
|
||||
buttonEdit.Click += buttonUpd_Click;
|
||||
//
|
||||
// buttonAdd
|
||||
//
|
||||
buttonAdd.Location = new Point(773, 12);
|
||||
buttonAdd.Name = "buttonAdd";
|
||||
buttonAdd.Size = new Size(128, 43);
|
||||
buttonAdd.TabIndex = 12;
|
||||
buttonAdd.Text = "Добавить";
|
||||
buttonAdd.UseVisualStyleBackColor = true;
|
||||
buttonAdd.Click += buttonAdd_Click;
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridView1.Location = new Point(22, 12);
|
||||
dataGridView1.Name = "dataGridView1";
|
||||
dataGridView1.RowTemplate.Height = 25;
|
||||
dataGridView1.Size = new Size(702, 408);
|
||||
dataGridView1.TabIndex = 11;
|
||||
//
|
||||
// FormResults
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(961, 450);
|
||||
Controls.Add(buttonDel);
|
||||
Controls.Add(buttonEdit);
|
||||
Controls.Add(buttonAdd);
|
||||
Controls.Add(dataGridView1);
|
||||
Name = "FormResults";
|
||||
Text = "Результаты";
|
||||
Load += FormResults_Load;
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Button buttonDel;
|
||||
private Button buttonEdit;
|
||||
private Button buttonAdd;
|
||||
private DataGridView dataGridView1;
|
||||
}
|
||||
}
|
100
SportCompetitionsView/FormResults.cs
Normal file
100
SportCompetitionsView/FormResults.cs
Normal file
@ -0,0 +1,100 @@
|
||||
using SportCompetitionsContracts.BindingModels;
|
||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SportCompetitionsView
|
||||
{
|
||||
public partial class FormResults : Form
|
||||
{
|
||||
private readonly IResultLogic _logic;
|
||||
|
||||
public FormResults(IResultLogic logic)
|
||||
{
|
||||
InitializeComponent();
|
||||
_logic = logic;
|
||||
}
|
||||
|
||||
private void FormResults_Load(object sender, EventArgs e)
|
||||
{
|
||||
LoadData();
|
||||
}
|
||||
|
||||
private void LoadData()
|
||||
{
|
||||
try
|
||||
{
|
||||
var list = _logic.ReadList(null);
|
||||
if (list != null)
|
||||
{
|
||||
dataGridView1.DataSource = list;
|
||||
dataGridView1.Columns["Id"].Visible = false;
|
||||
dataGridView1.Columns["ResultName"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
var service = Program.ServiceProvider?.GetService(typeof(FormResult));
|
||||
if (service is FormResult form)
|
||||
{
|
||||
if (form.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
LoadData();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonUpd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (dataGridView1.SelectedRows.Count == 1)
|
||||
{
|
||||
var service = Program.ServiceProvider?.GetService(typeof(FormResult));
|
||||
if (service is FormResult form)
|
||||
{
|
||||
form.Id = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["Id"].Value);
|
||||
if (form.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
LoadData();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (dataGridView1.SelectedRows.Count == 1)
|
||||
{
|
||||
if (MessageBox.Show("Удалить запись?", "Вопрос", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
int id = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["Id"].Value);
|
||||
try
|
||||
{
|
||||
if (!_logic.Delete(new ResultBindingModel { Id = id }))
|
||||
{
|
||||
throw new Exception("Ошибка при удалении. Доп информация в логах");
|
||||
}
|
||||
LoadData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
120
SportCompetitionsView/FormResults.resx
Normal file
120
SportCompetitionsView/FormResults.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
@ -51,6 +51,12 @@ namespace SportCompetitionsView
|
||||
services.AddTransient<FormTeam>();
|
||||
services.AddTransient<FormTeams>();
|
||||
|
||||
services.AddTransient<FormRecord>();
|
||||
services.AddTransient<FormRecords>();
|
||||
|
||||
services.AddTransient<FormResult>();
|
||||
services.AddTransient<FormResults>();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
63
SportCompetitionsView/Properties/Resources.Designer.cs
generated
Normal file
63
SportCompetitionsView/Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,63 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Этот код создан программой.
|
||||
// Исполняемая версия:4.0.30319.42000
|
||||
//
|
||||
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||
// повторной генерации кода.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SportCompetitionsView.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
|
||||
/// </summary>
|
||||
// Этот класс создан автоматически классом StronglyTypedResourceBuilder
|
||||
// с помощью такого средства, как ResGen или Visual Studio.
|
||||
// Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
|
||||
// с параметром /str или перестройте свой проект VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SportCompetitionsView.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Перезаписывает свойство CurrentUICulture текущего потока для всех
|
||||
/// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
120
SportCompetitionsView/Properties/Resources.resx
Normal file
120
SportCompetitionsView/Properties/Resources.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
@ -25,4 +25,19 @@
|
||||
<ProjectReference Include="..\SportCompetitionsDataModels\SportCompetitionsDataModels.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="Properties\Resources.Designer.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -16,6 +16,18 @@
|
||||
<Compile Update="FormMembers.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Update="FormRecord.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Update="FormRecords.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Update="FormResult.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Update="FormResults.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Update="FormTeam.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -23,4 +35,9 @@
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="FormMain.resx">
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
</Project>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user