diff --git a/.vs/4E/v17/.wsuo b/.vs/4E/v17/.wsuo new file mode 100644 index 0000000..94dacf0 Binary files /dev/null and b/.vs/4E/v17/.wsuo differ diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 0000000..f8b4888 --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} \ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..05b0a46 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,8 @@ +{ + "ExpandedNodes": [ + "", + "\\Chaser" + ], + "SelectedNode": "\\Chaser\\Chaser.sln", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..304840c Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/Chaser/.vs/Chaser/DesignTimeBuild/.dtbcache.v2 b/Chaser/.vs/Chaser/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..e29042e Binary files /dev/null and b/Chaser/.vs/Chaser/DesignTimeBuild/.dtbcache.v2 differ diff --git a/Chaser/.vs/Chaser/FileContentIndex/3d618bb6-2205-49b2-bb45-d45a85c0982e.vsidx b/Chaser/.vs/Chaser/FileContentIndex/3d618bb6-2205-49b2-bb45-d45a85c0982e.vsidx new file mode 100644 index 0000000..70aef67 Binary files /dev/null and b/Chaser/.vs/Chaser/FileContentIndex/3d618bb6-2205-49b2-bb45-d45a85c0982e.vsidx differ diff --git a/Chaser/.vs/Chaser/FileContentIndex/caa92d46-808a-40b7-8e15-e151dd01d4af.vsidx b/Chaser/.vs/Chaser/FileContentIndex/caa92d46-808a-40b7-8e15-e151dd01d4af.vsidx new file mode 100644 index 0000000..7962848 Binary files /dev/null and b/Chaser/.vs/Chaser/FileContentIndex/caa92d46-808a-40b7-8e15-e151dd01d4af.vsidx differ diff --git a/Chaser/.vs/Chaser/FileContentIndex/e4b91383-4a59-48e7-a274-933e7a9a9ffe.vsidx b/Chaser/.vs/Chaser/FileContentIndex/e4b91383-4a59-48e7-a274-933e7a9a9ffe.vsidx new file mode 100644 index 0000000..b5e03eb Binary files /dev/null and b/Chaser/.vs/Chaser/FileContentIndex/e4b91383-4a59-48e7-a274-933e7a9a9ffe.vsidx differ diff --git a/Chaser/.vs/Chaser/FileContentIndex/fed7a67b-1478-49d9-a905-11dc3abc51c8.vsidx b/Chaser/.vs/Chaser/FileContentIndex/fed7a67b-1478-49d9-a905-11dc3abc51c8.vsidx new file mode 100644 index 0000000..02c4fec Binary files /dev/null and b/Chaser/.vs/Chaser/FileContentIndex/fed7a67b-1478-49d9-a905-11dc3abc51c8.vsidx differ diff --git a/Chaser/.vs/Chaser/v17/.futdcache.v2 b/Chaser/.vs/Chaser/v17/.futdcache.v2 new file mode 100644 index 0000000..3b36e55 Binary files /dev/null and b/Chaser/.vs/Chaser/v17/.futdcache.v2 differ diff --git a/Chaser/.vs/Chaser/v17/.suo b/Chaser/.vs/Chaser/v17/.suo new file mode 100644 index 0000000..b0c2a6e Binary files /dev/null and b/Chaser/.vs/Chaser/v17/.suo differ diff --git a/Chaser/.vs/Chaser/v17/DocumentLayout.backup.json b/Chaser/.vs/Chaser/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..aae2b9c --- /dev/null +++ b/Chaser/.vs/Chaser/v17/DocumentLayout.backup.json @@ -0,0 +1,101 @@ +{ + "Version": 1, + "WorkspaceRootPath": "M:\\Chaser\\Chaser\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|m:\\chaser\\chaser\\chaserlibrary\\painterwinform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|solutionrelative:chaserlibrary\\painterwinform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|m:\\chaser\\chaser\\chaserlibrary\\ipaintable.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|solutionrelative:chaserlibrary\\ipaintable.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|m:\\chaser\\chaser\\chaserlibrary\\player.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|solutionrelative:chaserlibrary\\player.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|m:\\chaser\\chaser\\chaserlibrary\\beast.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|solutionrelative:chaserlibrary\\beast.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|m:\\chaser\\chaser\\chaserlibrary\\entity.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|solutionrelative:chaserlibrary\\entity.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "PainterWinform.cs", + "DocumentMoniker": "M:\\Chaser\\Chaser\\ChaserLibrary\\PainterWinform.cs", + "RelativeDocumentMoniker": "ChaserLibrary\\PainterWinform.cs", + "ToolTip": "M:\\Chaser\\Chaser\\ChaserLibrary\\PainterWinform.cs", + "RelativeToolTip": "ChaserLibrary\\PainterWinform.cs", + "ViewState": "AgIAAAMAAAAAAAAAAAAAAAsAAAAnAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T08:23:13.439Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "IPaintable.cs", + "DocumentMoniker": "M:\\Chaser\\Chaser\\ChaserLibrary\\IPaintable.cs", + "RelativeDocumentMoniker": "ChaserLibrary\\IPaintable.cs", + "ToolTip": "M:\\Chaser\\Chaser\\ChaserLibrary\\IPaintable.cs", + "RelativeToolTip": "ChaserLibrary\\IPaintable.cs", + "ViewState": "AQIAAAYAAAAAAAAAAAAAAAkAAAAFAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T08:04:39.095Z" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "Player.cs", + "DocumentMoniker": "M:\\Chaser\\Chaser\\ChaserLibrary\\Player.cs", + "RelativeDocumentMoniker": "ChaserLibrary\\Player.cs", + "ToolTip": "M:\\Chaser\\Chaser\\ChaserLibrary\\Player.cs", + "RelativeToolTip": "ChaserLibrary\\Player.cs", + "ViewState": "AQIAAAYAAAAAAAAAAAAAABEAAAArAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T08:04:12.377Z" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "Beast.cs", + "DocumentMoniker": "M:\\Chaser\\Chaser\\ChaserLibrary\\Beast.cs", + "RelativeDocumentMoniker": "ChaserLibrary\\Beast.cs", + "ToolTip": "M:\\Chaser\\Chaser\\ChaserLibrary\\Beast.cs", + "RelativeToolTip": "ChaserLibrary\\Beast.cs", + "ViewState": "AQIAABAAAAAAAAAAAAAgwBYAAAAkAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T08:04:12.814Z" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "Entity.cs", + "DocumentMoniker": "M:\\Chaser\\Chaser\\ChaserLibrary\\Entity.cs", + "RelativeDocumentMoniker": "ChaserLibrary\\Entity.cs", + "ToolTip": "M:\\Chaser\\Chaser\\ChaserLibrary\\Entity.cs", + "RelativeToolTip": "ChaserLibrary\\Entity.cs", + "ViewState": "AQIAAAAAAAAAAAAAAAAAAAUAAAAwAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T08:04:13.181Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Chaser/.vs/Chaser/v17/DocumentLayout.json b/Chaser/.vs/Chaser/v17/DocumentLayout.json new file mode 100644 index 0000000..518a63b --- /dev/null +++ b/Chaser/.vs/Chaser/v17/DocumentLayout.json @@ -0,0 +1,153 @@ +{ + "Version": 1, + "WorkspaceRootPath": "R:\\PRG\\4E\\Chaser\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{AB935682-A48E-4DEE-857A-1E18E5A82EA9}|ChaserWinForms\\ChaserWinForms.csproj|r:\\prg\\4e\\chaser\\chaserwinforms\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{AB935682-A48E-4DEE-857A-1E18E5A82EA9}|ChaserWinForms\\ChaserWinForms.csproj|solutionrelative:chaserwinforms\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{AB935682-A48E-4DEE-857A-1E18E5A82EA9}|ChaserWinForms\\ChaserWinForms.csproj|r:\\prg\\4e\\chaser\\chaserwinforms\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", + "RelativeMoniker": "D:0:0:{AB935682-A48E-4DEE-857A-1E18E5A82EA9}|ChaserWinForms\\ChaserWinForms.csproj|solutionrelative:chaserwinforms\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" + }, + { + "AbsoluteMoniker": "D:0:0:{AB935682-A48E-4DEE-857A-1E18E5A82EA9}|ChaserWinForms\\ChaserWinForms.csproj|r:\\prg\\4e\\chaser\\chaserwinforms\\chaserwinforms.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{AB935682-A48E-4DEE-857A-1E18E5A82EA9}|ChaserWinForms\\ChaserWinForms.csproj|solutionrelative:chaserwinforms\\chaserwinforms.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|r:\\prg\\4e\\chaser\\chaserlibrary\\painterwinform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|solutionrelative:chaserlibrary\\painterwinform.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|r:\\prg\\4e\\chaser\\chaserlibrary\\entity.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|solutionrelative:chaserlibrary\\entity.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|r:\\prg\\4e\\chaser\\chaserlibrary\\beast.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|solutionrelative:chaserlibrary\\beast.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|r:\\prg\\4e\\chaser\\chaserlibrary\\ipaintable.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|solutionrelative:chaserlibrary\\ipaintable.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|r:\\prg\\4e\\chaser\\chaserlibrary\\player.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{638A00A5-E9B2-4A36-83B2-D358681DA6E9}|ChaserLibrary\\ChaserLibrary.csproj|solutionrelative:chaserlibrary\\player.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 1, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "ChaserWinForms", + "DocumentMoniker": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\ChaserWinForms.csproj", + "RelativeDocumentMoniker": "ChaserWinForms\\ChaserWinForms.csproj", + "ToolTip": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\ChaserWinForms.csproj", + "RelativeToolTip": "ChaserWinForms\\ChaserWinForms.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-09-10T09:38:54.169Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Form1.cs", + "DocumentMoniker": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\Form1.cs", + "RelativeDocumentMoniker": "ChaserWinForms\\Form1.cs", + "ToolTip": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\Form1.cs", + "RelativeToolTip": "ChaserWinForms\\Form1.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T09:28:45.401Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "Form1.cs [N\u00E1vrh]", + "DocumentMoniker": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\Form1.cs", + "RelativeDocumentMoniker": "ChaserWinForms\\Form1.cs", + "ToolTip": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\Form1.cs [N\u00E1vrh]", + "RelativeToolTip": "ChaserWinForms\\Form1.cs [N\u00E1vrh]", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T09:28:30.011Z", + "EditorCaption": " [N\u00E1vrh]" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "PainterWinform.cs", + "DocumentMoniker": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\PainterWinform.cs", + "RelativeDocumentMoniker": "ChaserLibrary\\PainterWinform.cs", + "ToolTip": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\PainterWinform.cs", + "RelativeToolTip": "ChaserLibrary\\PainterWinform.cs", + "ViewState": "AgIAAAMAAAAAAAAAAAAAAAsAAAAnAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T08:23:13.439Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "IPaintable.cs", + "DocumentMoniker": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\IPaintable.cs", + "RelativeDocumentMoniker": "ChaserLibrary\\IPaintable.cs", + "ToolTip": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\IPaintable.cs", + "RelativeToolTip": "ChaserLibrary\\IPaintable.cs", + "ViewState": "AQIAAAYAAAAAAAAAAAAAAAkAAAAFAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T08:04:39.095Z" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "Player.cs", + "DocumentMoniker": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\Player.cs", + "RelativeDocumentMoniker": "ChaserLibrary\\Player.cs", + "ToolTip": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\Player.cs", + "RelativeToolTip": "ChaserLibrary\\Player.cs", + "ViewState": "AQIAAAYAAAAAAAAAAAAAABEAAAArAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T08:04:12.377Z" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "Beast.cs", + "DocumentMoniker": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\Beast.cs", + "RelativeDocumentMoniker": "ChaserLibrary\\Beast.cs", + "ToolTip": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\Beast.cs", + "RelativeToolTip": "ChaserLibrary\\Beast.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T08:04:12.814Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "Entity.cs", + "DocumentMoniker": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\Entity.cs", + "RelativeDocumentMoniker": "ChaserLibrary\\Entity.cs", + "ToolTip": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\Entity.cs", + "RelativeToolTip": "ChaserLibrary\\Entity.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAASAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-10T08:04:13.181Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Chaser/.vs/ProjectEvaluation/chaser.metadata.v7.bin b/Chaser/.vs/ProjectEvaluation/chaser.metadata.v7.bin new file mode 100644 index 0000000..061394c Binary files /dev/null and b/Chaser/.vs/ProjectEvaluation/chaser.metadata.v7.bin differ diff --git a/Chaser/.vs/ProjectEvaluation/chaser.metadata.v9.bin b/Chaser/.vs/ProjectEvaluation/chaser.metadata.v9.bin new file mode 100644 index 0000000..a541a85 Binary files /dev/null and b/Chaser/.vs/ProjectEvaluation/chaser.metadata.v9.bin differ diff --git a/Chaser/.vs/ProjectEvaluation/chaser.projects.v7.bin b/Chaser/.vs/ProjectEvaluation/chaser.projects.v7.bin new file mode 100644 index 0000000..aeaf02b Binary files /dev/null and b/Chaser/.vs/ProjectEvaluation/chaser.projects.v7.bin differ diff --git a/Chaser/.vs/ProjectEvaluation/chaser.projects.v9.bin b/Chaser/.vs/ProjectEvaluation/chaser.projects.v9.bin new file mode 100644 index 0000000..7fb6fed Binary files /dev/null and b/Chaser/.vs/ProjectEvaluation/chaser.projects.v9.bin differ diff --git a/Chaser/.vs/ProjectEvaluation/chaser.strings.v9.bin b/Chaser/.vs/ProjectEvaluation/chaser.strings.v9.bin new file mode 100644 index 0000000..eeee619 Binary files /dev/null and b/Chaser/.vs/ProjectEvaluation/chaser.strings.v9.bin differ diff --git a/Chaser/Chaser.sln b/Chaser/Chaser.sln new file mode 100644 index 0000000..dddb2ee --- /dev/null +++ b/Chaser/Chaser.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34018.315 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChaserLibrary", "ChaserLibrary\ChaserLibrary.csproj", "{638A00A5-E9B2-4A36-83B2-D358681DA6E9}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChaserWinForms", "ChaserWinForms\ChaserWinForms.csproj", "{AB935682-A48E-4DEE-857A-1E18E5A82EA9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {638A00A5-E9B2-4A36-83B2-D358681DA6E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {638A00A5-E9B2-4A36-83B2-D358681DA6E9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {638A00A5-E9B2-4A36-83B2-D358681DA6E9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {638A00A5-E9B2-4A36-83B2-D358681DA6E9}.Release|Any CPU.Build.0 = Release|Any CPU + {AB935682-A48E-4DEE-857A-1E18E5A82EA9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AB935682-A48E-4DEE-857A-1E18E5A82EA9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AB935682-A48E-4DEE-857A-1E18E5A82EA9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AB935682-A48E-4DEE-857A-1E18E5A82EA9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5D004D93-38EA-42B5-B5ED-4A95CC3D3887} + EndGlobalSection +EndGlobal diff --git a/Chaser/ChaserLibrary/Beast.cs b/Chaser/ChaserLibrary/Beast.cs new file mode 100644 index 0000000..2613bc0 --- /dev/null +++ b/Chaser/ChaserLibrary/Beast.cs @@ -0,0 +1,32 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ChaserLibrary +{ + public class Beast : Entity + { + private Player PlayerToKill; + + public Beast(double x, double) : base(x, y) + { + + } + public void ChangeVelocity() + { + + } + + public override void Update() + { + ChangeVelocity(); + Move(); + } + public override void Draw() + { + Painter?.PaintCross(X, Y); + } + } +} diff --git a/Chaser/ChaserLibrary/ChaserLibrary.csproj b/Chaser/ChaserLibrary/ChaserLibrary.csproj new file mode 100644 index 0000000..088f126 --- /dev/null +++ b/Chaser/ChaserLibrary/ChaserLibrary.csproj @@ -0,0 +1,13 @@ + + + + net6.0 + enable + enable + + + + + + + diff --git a/Chaser/ChaserLibrary/Entity.cs b/Chaser/ChaserLibrary/Entity.cs new file mode 100644 index 0000000..d22bb07 --- /dev/null +++ b/Chaser/ChaserLibrary/Entity.cs @@ -0,0 +1,25 @@ +namespace ChaserLibrary +{ + public abstract class Entity + { + + public IPaintable? Painter { get; set; } + public double X { get; private set; } + public double Y { get; private set; } + public double VelocityX { get; set; } + public double VelocityY { get; set; } + + public Entity(double x, double y) + { + X = x; + Y = y; + } + public void Move() + { + X += VelocityX; + Y += VelocityY; + } + public abstract void Update(); + public abstract void Draw(); + } +} \ No newline at end of file diff --git a/Chaser/ChaserLibrary/IPaintable.cs b/Chaser/ChaserLibrary/IPaintable.cs new file mode 100644 index 0000000..67eba72 --- /dev/null +++ b/Chaser/ChaserLibrary/IPaintable.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ChaserLibrary +{ + public interface IPaintable + { + public void PaintCircle(double X, double Y, int radius); + + public void PaintCross(double X, double Y); + + } +} diff --git a/Chaser/ChaserLibrary/PainterWinform.cs b/Chaser/ChaserLibrary/PainterWinform.cs new file mode 100644 index 0000000..7db65d6 --- /dev/null +++ b/Chaser/ChaserLibrary/PainterWinform.cs @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ChaserLibrary +{ + public class PainterWinform : IPaintable + { + Graphics PainterG { get; set; } + static Pen PenG { get; set; } = new Pen(Color.Black); + + public PainterWinform(Graphics painterG) + { + PainterG = painterG; + } + + public void PaintCircle(double X, double Y, int radius) + { + PainterG.DrawEllipse(PenG, new Rectangle((int) X, (int) Y, radius, radius)); + } + + public void PaintCross(double X, double Y) + { + int x = (int) X; + int y = (int) Y; + PainterG.DrawLine(PenG, x - 5, y - 5, x + 5, y + 5); + PainterG.DrawLine(PenG, x + 5, y - 5, x - 5, y + 5); + } + + } +} diff --git a/Chaser/ChaserLibrary/Player.cs b/Chaser/ChaserLibrary/Player.cs new file mode 100644 index 0000000..6f239eb --- /dev/null +++ b/Chaser/ChaserLibrary/Player.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ChaserLibrary +{ + public class Player : Entity + { + public override void Update() + { + throw new NotImplementedException(); + } + + public override void Draw() + { + Painter?.PaintCircle(X, Y, 10); + } + + } +} diff --git a/Chaser/ChaserLibrary/obj/ChaserLibrary.csproj.nuget.dgspec.json b/Chaser/ChaserLibrary/obj/ChaserLibrary.csproj.nuget.dgspec.json new file mode 100644 index 0000000..13f601f --- /dev/null +++ b/Chaser/ChaserLibrary/obj/ChaserLibrary.csproj.nuget.dgspec.json @@ -0,0 +1,94 @@ +{ + "format": 1, + "restore": { + "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\ChaserLibrary.csproj": {} + }, + "projects": { + "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\ChaserLibrary.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\ChaserLibrary.csproj", + "projectName": "ChaserLibrary", + "projectPath": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\ChaserLibrary.csproj", + "packagesPath": "C:\\Users\\dominik.zatko\\.nuget\\packages\\", + "outputPath": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\dominik.zatko\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "9.0.100" + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "System.Drawing.Common": { + "target": "Package", + "version": "[9.0.9, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[6.0.36, 6.0.36]" + }, + { + "name": "Microsoft.NETCore.App.Ref", + "version": "[6.0.36, 6.0.36]" + }, + { + "name": "Microsoft.WindowsDesktop.App.Ref", + "version": "[6.0.36, 6.0.36]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Chaser/ChaserLibrary/obj/ChaserLibrary.csproj.nuget.g.props b/Chaser/ChaserLibrary/obj/ChaserLibrary.csproj.nuget.g.props new file mode 100644 index 0000000..d0d0676 --- /dev/null +++ b/Chaser/ChaserLibrary/obj/ChaserLibrary.csproj.nuget.g.props @@ -0,0 +1,16 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\dominik.zatko\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.12.3 + + + + + + \ No newline at end of file diff --git a/Chaser/ChaserLibrary/obj/ChaserLibrary.csproj.nuget.g.targets b/Chaser/ChaserLibrary/obj/ChaserLibrary.csproj.nuget.g.targets new file mode 100644 index 0000000..0b5aa32 --- /dev/null +++ b/Chaser/ChaserLibrary/obj/ChaserLibrary.csproj.nuget.g.targets @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Chaser/ChaserLibrary/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/Chaser/ChaserLibrary/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..ed92695 --- /dev/null +++ b/Chaser/ChaserLibrary/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] diff --git a/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.AssemblyInfo.cs b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.AssemblyInfo.cs new file mode 100644 index 0000000..da6fa6b --- /dev/null +++ b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Tento kód byl generován nástrojem. +// Verze modulu runtime:4.0.30319.42000 +// +// Změny tohoto souboru mohou způsobit nesprávné chování a budou ztraceny, +// dojde-li k novému generování kódu. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("ChaserLibrary")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("ChaserLibrary")] +[assembly: System.Reflection.AssemblyTitleAttribute("ChaserLibrary")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Vygenerované třídou WriteCodeFragment nástroje MSBuild + diff --git a/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.AssemblyInfoInputs.cache b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.AssemblyInfoInputs.cache new file mode 100644 index 0000000..afdc43b --- /dev/null +++ b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +07bbe709d57155b0bbdd9e387974ccc0dbab9cce5f1ad7ffa4a5254f7eaeb34d diff --git a/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.GeneratedMSBuildEditorConfig.editorconfig b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..fbed984 --- /dev/null +++ b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,15 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = ChaserLibrary +build_property.ProjectDir = R:\PRG\4E\Chaser\ChaserLibrary\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.EffectiveAnalysisLevelStyle = 6.0 +build_property.EnableCodeStyleSeverity = diff --git a/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.GlobalUsings.g.cs b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.assets.cache b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.assets.cache new file mode 100644 index 0000000..e6950ef Binary files /dev/null and b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.assets.cache differ diff --git a/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.csproj.AssemblyReference.cache b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.csproj.AssemblyReference.cache new file mode 100644 index 0000000..9ead06c Binary files /dev/null and b/Chaser/ChaserLibrary/obj/Debug/net6.0/ChaserLibrary.csproj.AssemblyReference.cache differ diff --git a/Chaser/ChaserLibrary/obj/project.assets.json b/Chaser/ChaserLibrary/obj/project.assets.json new file mode 100644 index 0000000..261e094 --- /dev/null +++ b/Chaser/ChaserLibrary/obj/project.assets.json @@ -0,0 +1,162 @@ +{ + "version": 3, + "targets": { + "net6.0": { + "System.Drawing.Common/9.0.9": { + "type": "package", + "compile": { + "lib/netstandard2.0/System.Drawing.Common.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Drawing.Common.dll": { + "related": ".pdb;.xml" + } + }, + "build": { + "buildTransitive/netcoreapp2.0/System.Drawing.Common.targets": {} + } + } + } + }, + "libraries": { + "System.Drawing.Common/9.0.9": { + "sha512": "BS17VFUf4RS9G/JoA6br+79jAjyTj0UaomgXCVNJJn9EWIvmHkn0ZCqAynxwloO00yPIvWgXBF9SBjcM06bl1w==", + "type": "package", + "path": "system.drawing.common/9.0.9", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Drawing.Common.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Drawing.Common.targets", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net462/System.Drawing.Common.dll", + "lib/net462/System.Drawing.Common.pdb", + "lib/net462/System.Drawing.Common.xml", + "lib/net8.0/System.Drawing.Common.dll", + "lib/net8.0/System.Drawing.Common.pdb", + "lib/net8.0/System.Drawing.Common.xml", + "lib/net8.0/System.Private.Windows.Core.dll", + "lib/net8.0/System.Private.Windows.Core.xml", + "lib/net9.0/System.Drawing.Common.dll", + "lib/net9.0/System.Drawing.Common.pdb", + "lib/net9.0/System.Drawing.Common.xml", + "lib/net9.0/System.Private.Windows.Core.dll", + "lib/net9.0/System.Private.Windows.Core.xml", + "lib/netstandard2.0/System.Drawing.Common.dll", + "lib/netstandard2.0/System.Drawing.Common.pdb", + "lib/netstandard2.0/System.Drawing.Common.xml", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "system.drawing.common.9.0.9.nupkg.sha512", + "system.drawing.common.nuspec", + "useSharedDesignerContext.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net6.0": [ + "System.Drawing.Common >= 9.0.9" + ] + }, + "packageFolders": { + "C:\\Users\\dominik.zatko\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\ChaserLibrary.csproj", + "projectName": "ChaserLibrary", + "projectPath": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\ChaserLibrary.csproj", + "packagesPath": "C:\\Users\\dominik.zatko\\.nuget\\packages\\", + "outputPath": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\dominik.zatko\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "9.0.100" + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "System.Drawing.Common": { + "target": "Package", + "version": "[9.0.9, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[6.0.36, 6.0.36]" + }, + { + "name": "Microsoft.NETCore.App.Ref", + "version": "[6.0.36, 6.0.36]" + }, + { + "name": "Microsoft.WindowsDesktop.App.Ref", + "version": "[6.0.36, 6.0.36]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Chaser/ChaserLibrary/obj/project.nuget.cache b/Chaser/ChaserLibrary/obj/project.nuget.cache new file mode 100644 index 0000000..913ec16 --- /dev/null +++ b/Chaser/ChaserLibrary/obj/project.nuget.cache @@ -0,0 +1,13 @@ +{ + "version": 2, + "dgSpecHash": "dJuFmX9oU5k=", + "success": true, + "projectFilePath": "R:\\PRG\\4E\\Chaser\\ChaserLibrary\\ChaserLibrary.csproj", + "expectedPackageFiles": [ + "C:\\Users\\dominik.zatko\\.nuget\\packages\\system.drawing.common\\9.0.9\\system.drawing.common.9.0.9.nupkg.sha512", + "C:\\Users\\dominik.zatko\\.nuget\\packages\\microsoft.windowsdesktop.app.ref\\6.0.36\\microsoft.windowsdesktop.app.ref.6.0.36.nupkg.sha512", + "C:\\Users\\dominik.zatko\\.nuget\\packages\\microsoft.netcore.app.ref\\6.0.36\\microsoft.netcore.app.ref.6.0.36.nupkg.sha512", + "C:\\Users\\dominik.zatko\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\6.0.36\\microsoft.aspnetcore.app.ref.6.0.36.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/Chaser/ChaserWinForms/ChaserWinForms.csproj b/Chaser/ChaserWinForms/ChaserWinForms.csproj new file mode 100644 index 0000000..663fdb8 --- /dev/null +++ b/Chaser/ChaserWinForms/ChaserWinForms.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/Chaser/ChaserWinForms/ChaserWinForms.csproj.user b/Chaser/ChaserWinForms/ChaserWinForms.csproj.user new file mode 100644 index 0000000..7814ea2 --- /dev/null +++ b/Chaser/ChaserWinForms/ChaserWinForms.csproj.user @@ -0,0 +1,8 @@ + + + + + Form + + + diff --git a/Chaser/ChaserWinForms/Form1.Designer.cs b/Chaser/ChaserWinForms/Form1.Designer.cs new file mode 100644 index 0000000..30fc837 --- /dev/null +++ b/Chaser/ChaserWinForms/Form1.Designer.cs @@ -0,0 +1,59 @@ +namespace ChaserWinForms +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + button1 = new Button(); + SuspendLayout(); + // + // button1 + // + button1.Location = new Point(174, 147); + button1.Name = "button1"; + button1.Size = new Size(75, 23); + button1.TabIndex = 0; + button1.Text = "Add Beast"; + button1.UseVisualStyleBackColor = true; + button1.Click += button1_Click; + // + // Form1 + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 450); + Controls.Add(button1); + Name = "Form1"; + Text = "Form1"; + ResumeLayout(false); + } + + #endregion + + private Button button1; + } +} diff --git a/Chaser/ChaserWinForms/Form1.cs b/Chaser/ChaserWinForms/Form1.cs new file mode 100644 index 0000000..c8a8d12 --- /dev/null +++ b/Chaser/ChaserWinForms/Form1.cs @@ -0,0 +1,17 @@ +namespace ChaserWinForms +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + Painter = new PainterWinform(this.CreateGraphics()); + } + + private void button1_Click(object sender, EventArgs e) + { + Beast beast = new Beast(100, 100); + beast.Draw(); + } + } +} diff --git a/Chaser/ChaserWinForms/Form1.resx b/Chaser/ChaserWinForms/Form1.resx new file mode 100644 index 0000000..8b2ff64 --- /dev/null +++ b/Chaser/ChaserWinForms/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Chaser/ChaserWinForms/Program.cs b/Chaser/ChaserWinForms/Program.cs new file mode 100644 index 0000000..ab34a44 --- /dev/null +++ b/Chaser/ChaserWinForms/Program.cs @@ -0,0 +1,17 @@ +namespace ChaserWinForms +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new Form1()); + } + } +} \ No newline at end of file diff --git a/Chaser/ChaserWinForms/obj/ChaserWinForms.csproj.nuget.dgspec.json b/Chaser/ChaserWinForms/obj/ChaserWinForms.csproj.nuget.dgspec.json new file mode 100644 index 0000000..8257ba2 --- /dev/null +++ b/Chaser/ChaserWinForms/obj/ChaserWinForms.csproj.nuget.dgspec.json @@ -0,0 +1,77 @@ +{ + "format": 1, + "restore": { + "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\ChaserWinForms.csproj": {} + }, + "projects": { + "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\ChaserWinForms.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\ChaserWinForms.csproj", + "projectName": "ChaserWinForms", + "projectPath": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\ChaserWinForms.csproj", + "packagesPath": "C:\\Users\\dominik.zatko\\.nuget\\packages\\", + "outputPath": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\dominik.zatko\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0-windows" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "9.0.100" + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WindowsForms": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Chaser/ChaserWinForms/obj/ChaserWinForms.csproj.nuget.g.props b/Chaser/ChaserWinForms/obj/ChaserWinForms.csproj.nuget.g.props new file mode 100644 index 0000000..d0d0676 --- /dev/null +++ b/Chaser/ChaserWinForms/obj/ChaserWinForms.csproj.nuget.g.props @@ -0,0 +1,16 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\dominik.zatko\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.12.3 + + + + + + \ No newline at end of file diff --git a/Chaser/ChaserWinForms/obj/ChaserWinForms.csproj.nuget.g.targets b/Chaser/ChaserWinForms/obj/ChaserWinForms.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Chaser/ChaserWinForms/obj/ChaserWinForms.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2217181 --- /dev/null +++ b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.AssemblyInfo.cs b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.AssemblyInfo.cs new file mode 100644 index 0000000..883fa95 --- /dev/null +++ b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.AssemblyInfo.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// Tento kód byl generován nástrojem. +// Verze modulu runtime:4.0.30319.42000 +// +// Změny tohoto souboru mohou způsobit nesprávné chování a budou ztraceny, +// dojde-li k novému generování kódu. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("ChaserWinForms")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("ChaserWinForms")] +[assembly: System.Reflection.AssemblyTitleAttribute("ChaserWinForms")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Vygenerované třídou WriteCodeFragment nástroje MSBuild + diff --git a/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.AssemblyInfoInputs.cache b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.AssemblyInfoInputs.cache new file mode 100644 index 0000000..2b243f0 --- /dev/null +++ b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +c980e78ad47851a1234cd744fffea75d378c7dfeddbe73742d901bef062b70a2 diff --git a/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.GeneratedMSBuildEditorConfig.editorconfig b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..77550f0 --- /dev/null +++ b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,22 @@ +is_global = true +build_property.ApplicationManifest = +build_property.StartupObject = +build_property.ApplicationDefaultFont = +build_property.ApplicationHighDpiMode = +build_property.ApplicationUseCompatibleTextRendering = +build_property.ApplicationVisualStyles = +build_property.TargetFramework = net8.0-windows +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = ChaserWinForms +build_property.ProjectDir = R:\PRG\4E\Chaser\ChaserWinForms\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.CsWinRTUseWindowsUIXamlProjections = false +build_property.EffectiveAnalysisLevelStyle = 8.0 +build_property.EnableCodeStyleSeverity = diff --git a/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.GlobalUsings.g.cs b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.GlobalUsings.g.cs new file mode 100644 index 0000000..84bbb89 --- /dev/null +++ b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.GlobalUsings.g.cs @@ -0,0 +1,10 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.Drawing; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; +global using global::System.Windows.Forms; diff --git a/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.assets.cache b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.assets.cache new file mode 100644 index 0000000..445f8cf Binary files /dev/null and b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.assets.cache differ diff --git a/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.designer.deps.json b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.designer.deps.json new file mode 100644 index 0000000..8599efd --- /dev/null +++ b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.designer.deps.json @@ -0,0 +1,11 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v8.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v8.0": {} + }, + "libraries": {} +} \ No newline at end of file diff --git a/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.designer.runtimeconfig.json b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.designer.runtimeconfig.json new file mode 100644 index 0000000..104bc75 --- /dev/null +++ b/Chaser/ChaserWinForms/obj/Debug/net8.0-windows/ChaserWinForms.designer.runtimeconfig.json @@ -0,0 +1,25 @@ +{ + "runtimeOptions": { + "tfm": "net8.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "8.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "8.0.0" + } + ], + "additionalProbingPaths": [ + "C:\\Users\\dominik.zatko\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\dominik.zatko\\.nuget\\packages", + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configProperties": { + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true, + "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false, + "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true + } + } +} \ No newline at end of file diff --git a/Chaser/ChaserWinForms/obj/project.assets.json b/Chaser/ChaserWinForms/obj/project.assets.json new file mode 100644 index 0000000..4ad249e --- /dev/null +++ b/Chaser/ChaserWinForms/obj/project.assets.json @@ -0,0 +1,83 @@ +{ + "version": 3, + "targets": { + "net8.0-windows7.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net8.0-windows7.0": [] + }, + "packageFolders": { + "C:\\Users\\dominik.zatko\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\ChaserWinForms.csproj", + "projectName": "ChaserWinForms", + "projectPath": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\ChaserWinForms.csproj", + "packagesPath": "C:\\Users\\dominik.zatko\\.nuget\\packages\\", + "outputPath": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\dominik.zatko\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0-windows" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "9.0.100" + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WindowsForms": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Chaser/ChaserWinForms/obj/project.nuget.cache b/Chaser/ChaserWinForms/obj/project.nuget.cache new file mode 100644 index 0000000..da011f5 --- /dev/null +++ b/Chaser/ChaserWinForms/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "z5Bx4nq4qDk=", + "success": true, + "projectFilePath": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\ChaserWinForms.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/KarnaughMap/.vs/KarnaughMap/FileContentIndex/5fe77bbe-d380-41c8-88de-f017807a995c.vsidx b/KarnaughMap/.vs/KarnaughMap/FileContentIndex/5fe77bbe-d380-41c8-88de-f017807a995c.vsidx new file mode 100644 index 0000000..fbcffd1 Binary files /dev/null and b/KarnaughMap/.vs/KarnaughMap/FileContentIndex/5fe77bbe-d380-41c8-88de-f017807a995c.vsidx differ diff --git a/KarnaughMap/.vs/KarnaughMap/FileContentIndex/74ee1064-2018-4b30-b117-0547a64a2025.vsidx b/KarnaughMap/.vs/KarnaughMap/FileContentIndex/74ee1064-2018-4b30-b117-0547a64a2025.vsidx deleted file mode 100644 index f2555f7..0000000 Binary files a/KarnaughMap/.vs/KarnaughMap/FileContentIndex/74ee1064-2018-4b30-b117-0547a64a2025.vsidx and /dev/null differ diff --git a/KarnaughMap/.vs/KarnaughMap/v17/.suo b/KarnaughMap/.vs/KarnaughMap/v17/.suo index 5f641d1..a8d0815 100644 Binary files a/KarnaughMap/.vs/KarnaughMap/v17/.suo and b/KarnaughMap/.vs/KarnaughMap/v17/.suo differ diff --git a/KarnaughMap/KarnaughMap/Program.cs b/KarnaughMap/KarnaughMap/Program.cs index 3751555..baa8d5f 100644 --- a/KarnaughMap/KarnaughMap/Program.cs +++ b/KarnaughMap/KarnaughMap/Program.cs @@ -1,2 +1,213 @@ -// See https://aka.ms/new-console-template for more information -Console.WriteLine("Hello, World!"); +using System; +using System.Collections.Generic; +using System.Linq; + +class Program +{ + static string Overbar(string s) + { + return s switch + { + "A" => "Ā", + "B" => "B̄", + "C" => "C̄", + "D" => "D̄", + _ => s + }; + } + + static void Main() + { + do + { + string[,] map = new string[4, 4]; + // Inicializace na N (not specified yet) + for (int r = 0; r < 4; r++) + for (int c = 0; c < 4; c++) + map[r, c] = "N"; + + // Input for Karnaugh map cells + for (int r = 0; r < 4; r++) + { + for (int c = 0; c < 4; c++) + { + Console.Clear(); + map[r, c] = "K"; // Mark current cell + PrintMap(map, true); + Console.Write($"Zadej hodnotu pro ({r},{c}) [0 = záporná, 1 = kladná, X = nevadí]: "); + string input = Console.ReadLine()!.Trim().ToUpper(); + if (input != "0" && input != "1" && input != "X") input = "0"; + map[r, c] = input; + } + } + + Console.Clear(); + Console.WriteLine("Karnaughova mapa:"); + PrintMap(map, false); + + Console.WriteLine("\nZjednodušený výraz:"); + string result = CalculateExpression(map); + Console.WriteLine(result); + + // Prompt to restart or exit + Console.WriteLine("\nPokračovat? (Y/N nebo Escape)"); + ConsoleKeyInfo keyInfo = Console.ReadKey(true); + if (keyInfo.Key == ConsoleKey.N || keyInfo.Key == ConsoleKey.Escape) + break; + } while (true); + } + + static void PrintMap(string[,] map, bool showInstructions) + { + string[] rowLabels = { "(ĀB̄)", "(ĀB)", "(AB)", "(A B̄)" }; + string[] colLabels = { "(C̄D̄)", "(C̄D)", "(CD)", "(C D̄)" }; + Console.Write(" "); + foreach (var col in colLabels) + Console.Write(col.PadRight(6)); + Console.WriteLine(); + + for (int r = 0; r < 4; r++) + { + Console.Write(rowLabels[r].PadRight(8)); + for (int c = 0; c < 4; c++) + Console.Write(map[r, c].PadRight(6)); + Console.WriteLine(); + } + + if (showInstructions) + { + Console.WriteLine(); + Console.WriteLine("Legenda:"); + Console.WriteLine("0 = záporná hodnota (FALSE)"); + Console.WriteLine("1 = kladná hodnota (TRUE)"); + Console.WriteLine("X = nevadí (Don't Care) - může být 0 nebo 1"); + Console.WriteLine("K = aktuální vybraná buňka"); + Console.WriteLine("N = zatím nezadáno (není specifikováno)"); + Console.WriteLine(); + } + } + + static string CalculateExpression(string[,] map) + { + int[,] binMap = new int[4, 4]; + for (int r = 0; r < 4; r++) + for (int c = 0; c < 4; c++) + binMap[r, c] = map[r, c] == "1" ? 1 : map[r, c] == "X" ? -1 : 0; + + var terms = new List(); + string[] rowGray = { "00", "01", "11", "10" }; + string[] colGray = { "00", "01", "11", "10" }; + + bool[,] used = new bool[4, 4]; + + // Check if all cells in the group are 1 or X and group contains at least one 1 + bool CheckGroup(int rStart, int cStart, int height, int width) + { + bool hasOne = false; + for (int dr = 0; dr < height; dr++) + { + for (int dc = 0; dc < width; dc++) + { + int rr = (rStart + dr) % 4; + int cc = (cStart + dc) % 4; + if (binMap[rr, cc] == 0) return false; + if (binMap[rr, cc] == 1) hasOne = true; + } + } + return hasOne; + } + + void MarkUsed(int rStart, int cStart, int height, int width) + { + for (int dr = 0; dr < height; dr++) + for (int dc = 0; dc < width; dc++) + { + int rr = (rStart + dr) % 4; + int cc = (cStart + dc) % 4; + used[rr, cc] = true; + } + } + + string GroupToTerm(int rStart, int cStart, int height, int width) + { + var rowsBits = new List(); + var colsBits = new List(); + for (int dr = 0; dr < height; dr++) + rowsBits.Add(rowGray[(rStart + dr) % 4]); + for (int dc = 0; dc < width; dc++) + colsBits.Add(colGray[(cStart + dc) % 4]); + + string term = ""; + + bool A_const = true; + char A_val = rowsBits[0][0]; + foreach (var rb in rowsBits) + if (rb[0] != A_val) A_const = false; + if (A_const) term += A_val == '0' ? Overbar("A") : "A"; + + bool B_const = true; + char B_val = rowsBits[0][1]; + foreach (var rb in rowsBits) + if (rb[1] != B_val) B_const = false; + if (B_const) term += B_val == '0' ? Overbar("B") : "B"; + + bool C_const = true; + char C_val = colsBits[0][0]; + foreach (var cb in colsBits) + if (cb[0] != C_val) C_const = false; + if (C_const) term += C_val == '0' ? Overbar("C") : "C"; + + bool D_const = true; + char D_val = colsBits[0][1]; + foreach (var cb in colsBits) + if (cb[1] != D_val) D_const = false; + if (D_const) term += D_val == '0' ? Overbar("D") : "D"; + + if (term == "") + term = "1"; + + return term; + } + + var blockSizes = new List<(int h, int w)> + { + (4, 4), + (4, 2), (2, 4), + (4, 1), (1, 4), + (2, 2), + (2, 1), (1, 2), + (1,1) + }; + + foreach (var (h, w) in blockSizes) + { + for (int r0 = 0; r0 < 4; r0++) + { + for (int c0 = 0; c0 < 4; c0++) + { + if (CheckGroup(r0, c0, h, w)) + { + string term = GroupToTerm(r0, c0, h, w); + bool coversNew = false; + for (int dr = 0; dr < h; dr++) + for (int dc = 0; dc < w; dc++) + { + int rr = (r0 + dr) % 4; + int cc = (c0 + dc) % 4; + if (!used[rr, cc]) coversNew = true; + } + if (coversNew && !terms.Contains(term)) + { + terms.Add(term); + MarkUsed(r0, c0, h, w); + } + } + } + } + } + + if (terms.Count == 0) + return "0"; + return string.Join(" + ", terms); + } +} diff --git a/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.deps.json b/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.deps.json new file mode 100644 index 0000000..59d0d83 --- /dev/null +++ b/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v7.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v7.0": { + "KarnaughMap/1.0.0": { + "runtime": { + "KarnaughMap.dll": {} + } + } + } + }, + "libraries": { + "KarnaughMap/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.dll b/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.dll new file mode 100644 index 0000000..3c6ed59 Binary files /dev/null and b/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.dll differ diff --git a/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.exe b/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.exe new file mode 100644 index 0000000..9905b5e Binary files /dev/null and b/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.exe differ diff --git a/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.pdb b/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.pdb new file mode 100644 index 0000000..67e736b Binary files /dev/null and b/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.pdb differ diff --git a/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.runtimeconfig.json b/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.runtimeconfig.json new file mode 100644 index 0000000..184be8b --- /dev/null +++ b/KarnaughMap/KarnaughMap/bin/Debug/net7.0/KarnaughMap.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net7.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "7.0.0" + } + } +} \ No newline at end of file diff --git a/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.BuildWithSkipAnalyzers b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.CoreCompileInputs.cache b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..a7008c2 --- /dev/null +++ b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +bebd180e892a60a2c4d7b1f2348e353d67625ebd diff --git a/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.FileListAbsolute.txt b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..03f50d9 --- /dev/null +++ b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +R:\PRG\4E\KarnaughMap\KarnaughMap\bin\Debug\net7.0\KarnaughMap.exe +R:\PRG\4E\KarnaughMap\KarnaughMap\bin\Debug\net7.0\KarnaughMap.deps.json +R:\PRG\4E\KarnaughMap\KarnaughMap\bin\Debug\net7.0\KarnaughMap.runtimeconfig.json +R:\PRG\4E\KarnaughMap\KarnaughMap\bin\Debug\net7.0\KarnaughMap.dll +R:\PRG\4E\KarnaughMap\KarnaughMap\bin\Debug\net7.0\KarnaughMap.pdb +R:\PRG\4E\KarnaughMap\KarnaughMap\obj\Debug\net7.0\KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig +R:\PRG\4E\KarnaughMap\KarnaughMap\obj\Debug\net7.0\KarnaughMap.AssemblyInfoInputs.cache +R:\PRG\4E\KarnaughMap\KarnaughMap\obj\Debug\net7.0\KarnaughMap.AssemblyInfo.cs +R:\PRG\4E\KarnaughMap\KarnaughMap\obj\Debug\net7.0\KarnaughMap.csproj.CoreCompileInputs.cache +R:\PRG\4E\KarnaughMap\KarnaughMap\obj\Debug\net7.0\KarnaughMap.dll +R:\PRG\4E\KarnaughMap\KarnaughMap\obj\Debug\net7.0\refint\KarnaughMap.dll +R:\PRG\4E\KarnaughMap\KarnaughMap\obj\Debug\net7.0\KarnaughMap.pdb +R:\PRG\4E\KarnaughMap\KarnaughMap\obj\Debug\net7.0\KarnaughMap.genruntimeconfig.cache +R:\PRG\4E\KarnaughMap\KarnaughMap\obj\Debug\net7.0\ref\KarnaughMap.dll diff --git a/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.dll b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.dll new file mode 100644 index 0000000..3c6ed59 Binary files /dev/null and b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.dll differ diff --git a/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.genruntimeconfig.cache b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.genruntimeconfig.cache new file mode 100644 index 0000000..b22ce33 --- /dev/null +++ b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.genruntimeconfig.cache @@ -0,0 +1 @@ +bfdd802bc978199342623fbe5f0d183caf24d9f2 diff --git a/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.pdb b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.pdb new file mode 100644 index 0000000..67e736b Binary files /dev/null and b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/KarnaughMap.pdb differ diff --git a/KarnaughMap/KarnaughMap/obj/Debug/net7.0/apphost.exe b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/apphost.exe new file mode 100644 index 0000000..9905b5e Binary files /dev/null and b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/apphost.exe differ diff --git a/KarnaughMap/KarnaughMap/obj/Debug/net7.0/ref/KarnaughMap.dll b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/ref/KarnaughMap.dll new file mode 100644 index 0000000..902a31a Binary files /dev/null and b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/ref/KarnaughMap.dll differ diff --git a/KarnaughMap/KarnaughMap/obj/Debug/net7.0/refint/KarnaughMap.dll b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/refint/KarnaughMap.dll new file mode 100644 index 0000000..902a31a Binary files /dev/null and b/KarnaughMap/KarnaughMap/obj/Debug/net7.0/refint/KarnaughMap.dll differ diff --git a/priserky-dedicnost/priserky-dedicnost/.vs/priserky/FileContentIndex/96fbe49f-bc4b-4d5d-85a8-d285065355f8.vsidx b/priserky-dedicnost/priserky-dedicnost/.vs/priserky/FileContentIndex/96fbe49f-bc4b-4d5d-85a8-d285065355f8.vsidx new file mode 100644 index 0000000..ec0f585 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/.vs/priserky/FileContentIndex/96fbe49f-bc4b-4d5d-85a8-d285065355f8.vsidx differ diff --git a/priserky-dedicnost/priserky-dedicnost/.vs/priserky/v17/.suo b/priserky-dedicnost/priserky-dedicnost/.vs/priserky/v17/.suo new file mode 100644 index 0000000..219b186 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/.vs/priserky/v17/.suo differ diff --git a/priserky-dedicnost/priserky-dedicnost/.vs/priserky/v17/DocumentLayout.backup.json b/priserky-dedicnost/priserky-dedicnost/.vs/priserky/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..8d8398f --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/.vs/priserky/v17/DocumentLayout.backup.json @@ -0,0 +1,105 @@ +{ + "Version": 1, + "WorkspaceRootPath": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|r:\\prg\\4e\\priserky-dedicnost\\priserky-dedicnost\\priserky\\priserky.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|solutionrelative:priserky\\priserky.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednapriserkazmatena.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|solutionrelative:priserky\\jednapriserkazmatena.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednapriserkazbabela.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|solutionrelative:priserky\\jednapriserkazbabela.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednapriserkastatecna.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|solutionrelative:priserky\\jednapriserkastatecna.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednapriserka.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|solutionrelative:priserky\\jednapriserka.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "priserky.cs", + "DocumentMoniker": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\priserky.cs", + "RelativeDocumentMoniker": "priserky\\priserky.cs", + "ToolTip": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\priserky.cs", + "RelativeToolTip": "priserky\\priserky.cs", + "ViewState": "AgIAAGsAAAAAAAAAAAAswAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T08:58:28.846Z", + "EditorCaption": "" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "jednaPriserkaZmatena.cs", + "DocumentMoniker": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaZmatena.cs", + "RelativeDocumentMoniker": "priserky\\jednaPriserkaZmatena.cs", + "ToolTip": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaZmatena.cs", + "RelativeToolTip": "priserky\\jednaPriserkaZmatena.cs", + "ViewState": "AgIAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T09:03:30.741Z" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "jednaPriserkaZbabela.cs", + "DocumentMoniker": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaZbabela.cs", + "RelativeDocumentMoniker": "priserky\\jednaPriserkaZbabela.cs", + "ToolTip": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaZbabela.cs", + "RelativeToolTip": "priserky\\jednaPriserkaZbabela.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T09:03:30.084Z" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "jednaPriserkaStatecna.cs", + "DocumentMoniker": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaStatecna.cs", + "RelativeDocumentMoniker": "priserky\\jednaPriserkaStatecna.cs", + "ToolTip": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaStatecna.cs", + "RelativeToolTip": "priserky\\jednaPriserkaStatecna.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T09:03:26.093Z" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "jednaPriserka.cs", + "DocumentMoniker": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserka.cs", + "RelativeDocumentMoniker": "priserky\\jednaPriserka.cs", + "ToolTip": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserka.cs", + "RelativeToolTip": "priserky\\jednaPriserka.cs", + "ViewState": "AgIAAIMAAAAAAAAAAADwvwAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T08:58:22.809Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/priserky-dedicnost/priserky-dedicnost/.vs/priserky/v17/DocumentLayout.json b/priserky-dedicnost/priserky-dedicnost/.vs/priserky/v17/DocumentLayout.json new file mode 100644 index 0000000..13e1b3a --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/.vs/priserky/v17/DocumentLayout.json @@ -0,0 +1,101 @@ +{ + "Version": 1, + "WorkspaceRootPath": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|r:\\prg\\4e\\priserky-dedicnost\\priserky-dedicnost\\priserky\\priserky.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|solutionrelative:priserky\\priserky.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednapriserkazmatena.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|solutionrelative:priserky\\jednapriserkazmatena.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednapriserkazbabela.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|solutionrelative:priserky\\jednapriserkazbabela.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednapriserkastatecna.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|solutionrelative:priserky\\jednapriserkastatecna.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednapriserka.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{BA19814A-9433-41FA-8751-53A5F2F27683}|priserky\\priserky.csproj|solutionrelative:priserky\\jednapriserka.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "priserky.cs", + "DocumentMoniker": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\priserky.cs", + "RelativeDocumentMoniker": "priserky\\priserky.cs", + "ToolTip": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\priserky.cs", + "RelativeToolTip": "priserky\\priserky.cs", + "ViewState": "AgIAAGsAAAAAAAAAAAAswAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T08:58:28.846Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "jednaPriserkaZmatena.cs", + "DocumentMoniker": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaZmatena.cs", + "RelativeDocumentMoniker": "priserky\\jednaPriserkaZmatena.cs", + "ToolTip": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaZmatena.cs", + "RelativeToolTip": "priserky\\jednaPriserkaZmatena.cs", + "ViewState": "AgIAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T09:03:30.741Z" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "jednaPriserkaZbabela.cs", + "DocumentMoniker": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaZbabela.cs", + "RelativeDocumentMoniker": "priserky\\jednaPriserkaZbabela.cs", + "ToolTip": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaZbabela.cs", + "RelativeToolTip": "priserky\\jednaPriserkaZbabela.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T09:03:30.084Z" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "jednaPriserkaStatecna.cs", + "DocumentMoniker": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaStatecna.cs", + "RelativeDocumentMoniker": "priserky\\jednaPriserkaStatecna.cs", + "ToolTip": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserkaStatecna.cs", + "RelativeToolTip": "priserky\\jednaPriserkaStatecna.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T09:03:26.093Z" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "jednaPriserka.cs", + "DocumentMoniker": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserka.cs", + "RelativeDocumentMoniker": "priserky\\jednaPriserka.cs", + "ToolTip": "R:\\PRG\\4E\\priserky-dedicnost\\priserky-dedicnost\\priserky\\jednaPriserka.cs", + "RelativeToolTip": "priserky\\jednaPriserka.cs", + "ViewState": "AgIAAIMAAAAAAAAAAADwvwAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T08:58:22.809Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/priserky-dedicnost/priserky-dedicnost/priserky.sln b/priserky-dedicnost/priserky-dedicnost/priserky.sln new file mode 100644 index 0000000..e0edf94 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "priserky", "priserky\priserky.csproj", "{BA19814A-9433-41FA-8751-53A5F2F27683}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BA19814A-9433-41FA-8751-53A5F2F27683}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BA19814A-9433-41FA-8751-53A5F2F27683}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BA19814A-9433-41FA-8751-53A5F2F27683}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BA19814A-9433-41FA-8751-53A5F2F27683}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/App.config b/priserky-dedicnost/priserky-dedicnost/priserky/App.config new file mode 100644 index 0000000..4bfa005 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Form1.Designer.cs b/priserky-dedicnost/priserky-dedicnost/priserky/Form1.Designer.cs new file mode 100644 index 0000000..b317331 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/Form1.Designer.cs @@ -0,0 +1,374 @@ +namespace priserky +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); + this.pridejPic = new System.Windows.Forms.PictureBox(); + this.nahoruPic = new System.Windows.Forms.PictureBox(); + this.vlevoNahoruPic = new System.Windows.Forms.PictureBox(); + this.dopravaNahoruPic = new System.Windows.Forms.PictureBox(); + this.dopravaPic = new System.Windows.Forms.PictureBox(); + this.DoluPic = new System.Windows.Forms.PictureBox(); + this.dolevaPic = new System.Windows.Forms.PictureBox(); + this.dolevaDoluPic = new System.Windows.Forms.PictureBox(); + this.dopravaDoluPic = new System.Windows.Forms.PictureBox(); + this.label1 = new System.Windows.Forms.Label(); + this.KrysaPictureBox = new System.Windows.Forms.PictureBox(); + this.krysaTimer = new System.Windows.Forms.Timer(this.components); + this.KrysaLabel = new System.Windows.Forms.Label(); + this.smerKRadioButton = new System.Windows.Forms.RadioButton(); + this.smerOdRadioButton = new System.Windows.Forms.RadioButton(); + this.smerGroupBox = new System.Windows.Forms.GroupBox(); + this.rychlostGroupBox = new System.Windows.Forms.GroupBox(); + this.pomaluRadioButton = new System.Windows.Forms.RadioButton(); + this.rychleRadioButton = new System.Windows.Forms.RadioButton(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.malyRadioButton = new System.Windows.Forms.RadioButton(); + this.velkyRadioButton = new System.Windows.Forms.RadioButton(); + this.zmateneRadioButton = new System.Windows.Forms.RadioButton(); + ((System.ComponentModel.ISupportInitialize)(this.pridejPic)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nahoruPic)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.vlevoNahoruPic)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dopravaNahoruPic)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dopravaPic)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.DoluPic)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dolevaPic)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dolevaDoluPic)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dopravaDoluPic)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.KrysaPictureBox)).BeginInit(); + this.smerGroupBox.SuspendLayout(); + this.rychlostGroupBox.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.SuspendLayout(); + // + // pridejPic + // + this.pridejPic.Image = global::priserky.Properties.Resources.pridat_30x30; + this.pridejPic.Location = new System.Drawing.Point(898, 48); + this.pridejPic.Name = "pridejPic"; + this.pridejPic.Size = new System.Drawing.Size(30, 30); + this.pridejPic.TabIndex = 8; + this.pridejPic.TabStop = false; + this.pridejPic.Click += new System.EventHandler(this.pridejPic_Click); + // + // nahoruPic + // + this.nahoruPic.Image = global::priserky.Properties.Resources.tlacitko30x30; + this.nahoruPic.Location = new System.Drawing.Point(898, 12); + this.nahoruPic.Name = "nahoruPic"; + this.nahoruPic.Size = new System.Drawing.Size(30, 30); + this.nahoruPic.TabIndex = 7; + this.nahoruPic.TabStop = false; + this.nahoruPic.Click += new System.EventHandler(this.nahoruPic_Click); + // + // vlevoNahoruPic + // + this.vlevoNahoruPic.Image = global::priserky.Properties.Resources.dolevaNahoru_30x30; + this.vlevoNahoruPic.Location = new System.Drawing.Point(862, 12); + this.vlevoNahoruPic.Name = "vlevoNahoruPic"; + this.vlevoNahoruPic.Size = new System.Drawing.Size(30, 30); + this.vlevoNahoruPic.TabIndex = 6; + this.vlevoNahoruPic.TabStop = false; + this.vlevoNahoruPic.Click += new System.EventHandler(this.vlevoNahoruPic_Click); + // + // dopravaNahoruPic + // + this.dopravaNahoruPic.Image = global::priserky.Properties.Resources.dopravaNahoru_30x30; + this.dopravaNahoruPic.Location = new System.Drawing.Point(934, 12); + this.dopravaNahoruPic.Name = "dopravaNahoruPic"; + this.dopravaNahoruPic.Size = new System.Drawing.Size(30, 30); + this.dopravaNahoruPic.TabIndex = 5; + this.dopravaNahoruPic.TabStop = false; + this.dopravaNahoruPic.Click += new System.EventHandler(this.dopravaNahoruPic_Click); + // + // dopravaPic + // + this.dopravaPic.Image = global::priserky.Properties.Resources.doprava_30x30; + this.dopravaPic.Location = new System.Drawing.Point(934, 48); + this.dopravaPic.Name = "dopravaPic"; + this.dopravaPic.Size = new System.Drawing.Size(30, 30); + this.dopravaPic.TabIndex = 4; + this.dopravaPic.TabStop = false; + this.dopravaPic.Click += new System.EventHandler(this.dopravaPic_Click); + // + // DoluPic + // + this.DoluPic.Image = global::priserky.Properties.Resources.Dolu_30x30; + this.DoluPic.Location = new System.Drawing.Point(898, 84); + this.DoluPic.Name = "DoluPic"; + this.DoluPic.Size = new System.Drawing.Size(30, 30); + this.DoluPic.TabIndex = 3; + this.DoluPic.TabStop = false; + this.DoluPic.Click += new System.EventHandler(this.DoluPic_Click); + // + // dolevaPic + // + this.dolevaPic.Image = global::priserky.Properties.Resources.doleva_30x30; + this.dolevaPic.Location = new System.Drawing.Point(862, 48); + this.dolevaPic.Name = "dolevaPic"; + this.dolevaPic.Size = new System.Drawing.Size(30, 30); + this.dolevaPic.TabIndex = 2; + this.dolevaPic.TabStop = false; + this.dolevaPic.Click += new System.EventHandler(this.dolevaPic_Click); + // + // dolevaDoluPic + // + this.dolevaDoluPic.Image = global::priserky.Properties.Resources.dolevaDolu_30x30; + this.dolevaDoluPic.Location = new System.Drawing.Point(862, 84); + this.dolevaDoluPic.Name = "dolevaDoluPic"; + this.dolevaDoluPic.Size = new System.Drawing.Size(30, 30); + this.dolevaDoluPic.TabIndex = 1; + this.dolevaDoluPic.TabStop = false; + this.dolevaDoluPic.Click += new System.EventHandler(this.dolevaDoluPic_Click); + // + // dopravaDoluPic + // + this.dopravaDoluPic.Image = global::priserky.Properties.Resources.dopravaDolu_30x30; + this.dopravaDoluPic.Location = new System.Drawing.Point(934, 84); + this.dopravaDoluPic.Name = "dopravaDoluPic"; + this.dopravaDoluPic.Size = new System.Drawing.Size(30, 30); + this.dopravaDoluPic.TabIndex = 0; + this.dopravaDoluPic.TabStop = false; + this.dopravaDoluPic.Click += new System.EventHandler(this.dopravaDoluPic_Click); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(859, 132); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(0, 13); + this.label1.TabIndex = 9; + // + // KrysaPictureBox + // + this.KrysaPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("KrysaPictureBox.Image"))); + this.KrysaPictureBox.Location = new System.Drawing.Point(904, 165); + this.KrysaPictureBox.Name = "KrysaPictureBox"; + this.KrysaPictureBox.Size = new System.Drawing.Size(60, 60); + this.KrysaPictureBox.TabIndex = 10; + this.KrysaPictureBox.TabStop = false; + this.KrysaPictureBox.Click += new System.EventHandler(this.KrysaPictureBox_Click); + // + // krysaTimer + // + this.krysaTimer.Tick += new System.EventHandler(this.KrysaTimer_Tick); + // + // KrysaLabel + // + this.KrysaLabel.AutoSize = true; + this.KrysaLabel.Location = new System.Drawing.Point(859, 147); + this.KrysaLabel.Name = "KrysaLabel"; + this.KrysaLabel.Size = new System.Drawing.Size(70, 13); + this.KrysaLabel.TabIndex = 11; + this.KrysaLabel.Text = "Poloha krysy:"; + // + // smerKRadioButton + // + this.smerKRadioButton.AutoSize = true; + this.smerKRadioButton.Checked = true; + this.smerKRadioButton.Location = new System.Drawing.Point(7, 19); + this.smerKRadioButton.Name = "smerKRadioButton"; + this.smerKRadioButton.Size = new System.Drawing.Size(65, 17); + this.smerKRadioButton.TabIndex = 12; + this.smerKRadioButton.TabStop = true; + this.smerKRadioButton.Text = "ke kryse"; + this.smerKRadioButton.UseVisualStyleBackColor = true; + // + // smerOdRadioButton + // + this.smerOdRadioButton.AutoSize = true; + this.smerOdRadioButton.Location = new System.Drawing.Point(78, 19); + this.smerOdRadioButton.Name = "smerOdRadioButton"; + this.smerOdRadioButton.Size = new System.Drawing.Size(64, 17); + this.smerOdRadioButton.TabIndex = 13; + this.smerOdRadioButton.Text = "od krysy"; + this.smerOdRadioButton.UseVisualStyleBackColor = true; + // + // smerGroupBox + // + this.smerGroupBox.Controls.Add(this.zmateneRadioButton); + this.smerGroupBox.Controls.Add(this.smerKRadioButton); + this.smerGroupBox.Controls.Add(this.smerOdRadioButton); + this.smerGroupBox.Location = new System.Drawing.Point(702, 14); + this.smerGroupBox.Name = "smerGroupBox"; + this.smerGroupBox.Size = new System.Drawing.Size(142, 64); + this.smerGroupBox.TabIndex = 14; + this.smerGroupBox.TabStop = false; + this.smerGroupBox.Text = "Směr"; + // + // rychlostGroupBox + // + this.rychlostGroupBox.Controls.Add(this.pomaluRadioButton); + this.rychlostGroupBox.Controls.Add(this.rychleRadioButton); + this.rychlostGroupBox.Location = new System.Drawing.Point(702, 84); + this.rychlostGroupBox.Name = "rychlostGroupBox"; + this.rychlostGroupBox.Size = new System.Drawing.Size(142, 61); + this.rychlostGroupBox.TabIndex = 15; + this.rychlostGroupBox.TabStop = false; + this.rychlostGroupBox.Text = "Rychlost"; + // + // pomaluRadioButton + // + this.pomaluRadioButton.AutoSize = true; + this.pomaluRadioButton.Location = new System.Drawing.Point(78, 19); + this.pomaluRadioButton.Name = "pomaluRadioButton"; + this.pomaluRadioButton.Size = new System.Drawing.Size(59, 17); + this.pomaluRadioButton.TabIndex = 1; + this.pomaluRadioButton.Text = "pomalu"; + this.pomaluRadioButton.UseVisualStyleBackColor = true; + // + // rychleRadioButton + // + this.rychleRadioButton.AutoSize = true; + this.rychleRadioButton.Checked = true; + this.rychleRadioButton.Location = new System.Drawing.Point(7, 19); + this.rychleRadioButton.Name = "rychleRadioButton"; + this.rychleRadioButton.Size = new System.Drawing.Size(53, 17); + this.rychleRadioButton.TabIndex = 0; + this.rychleRadioButton.TabStop = true; + this.rychleRadioButton.Text = "rychle"; + this.rychleRadioButton.UseVisualStyleBackColor = true; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.malyRadioButton); + this.groupBox1.Controls.Add(this.velkyRadioButton); + this.groupBox1.Location = new System.Drawing.Point(702, 151); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(142, 61); + this.groupBox1.TabIndex = 16; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Velikost"; + // + // malyRadioButton + // + this.malyRadioButton.AutoSize = true; + this.malyRadioButton.Location = new System.Drawing.Point(78, 19); + this.malyRadioButton.Name = "malyRadioButton"; + this.malyRadioButton.Size = new System.Drawing.Size(46, 17); + this.malyRadioButton.TabIndex = 1; + this.malyRadioButton.Text = "malý"; + this.malyRadioButton.UseVisualStyleBackColor = true; + // + // velkyRadioButton + // + this.velkyRadioButton.AutoSize = true; + this.velkyRadioButton.Checked = true; + this.velkyRadioButton.Location = new System.Drawing.Point(7, 19); + this.velkyRadioButton.Name = "velkyRadioButton"; + this.velkyRadioButton.Size = new System.Drawing.Size(50, 17); + this.velkyRadioButton.TabIndex = 0; + this.velkyRadioButton.TabStop = true; + this.velkyRadioButton.Text = "velký"; + this.velkyRadioButton.UseVisualStyleBackColor = true; + // + // zmateneRadioButton + // + this.zmateneRadioButton.AutoSize = true; + this.zmateneRadioButton.Location = new System.Drawing.Point(40, 41); + this.zmateneRadioButton.Name = "zmateneRadioButton"; + this.zmateneRadioButton.Size = new System.Drawing.Size(65, 17); + this.zmateneRadioButton.TabIndex = 14; + this.zmateneRadioButton.Text = "zmateně"; + this.zmateneRadioButton.UseVisualStyleBackColor = true; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(976, 526); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.rychlostGroupBox); + this.Controls.Add(this.smerGroupBox); + this.Controls.Add(this.KrysaLabel); + this.Controls.Add(this.KrysaPictureBox); + this.Controls.Add(this.label1); + this.Controls.Add(this.pridejPic); + this.Controls.Add(this.nahoruPic); + this.Controls.Add(this.vlevoNahoruPic); + this.Controls.Add(this.dopravaNahoruPic); + this.Controls.Add(this.dopravaPic); + this.Controls.Add(this.DoluPic); + this.Controls.Add(this.dolevaPic); + this.Controls.Add(this.dolevaDoluPic); + this.Controls.Add(this.dopravaDoluPic); + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Name = "Form1"; + this.Text = "Form1"; + this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseMove); + ((System.ComponentModel.ISupportInitialize)(this.pridejPic)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nahoruPic)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.vlevoNahoruPic)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dopravaNahoruPic)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dopravaPic)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.DoluPic)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dolevaPic)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dolevaDoluPic)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dopravaDoluPic)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.KrysaPictureBox)).EndInit(); + this.smerGroupBox.ResumeLayout(false); + this.smerGroupBox.PerformLayout(); + this.rychlostGroupBox.ResumeLayout(false); + this.rychlostGroupBox.PerformLayout(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.PictureBox dopravaDoluPic; + private System.Windows.Forms.PictureBox dolevaDoluPic; + private System.Windows.Forms.PictureBox dolevaPic; + private System.Windows.Forms.PictureBox DoluPic; + private System.Windows.Forms.PictureBox dopravaPic; + private System.Windows.Forms.PictureBox dopravaNahoruPic; + private System.Windows.Forms.PictureBox vlevoNahoruPic; + private System.Windows.Forms.PictureBox nahoruPic; + private System.Windows.Forms.PictureBox pridejPic; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.PictureBox KrysaPictureBox; + private System.Windows.Forms.Timer krysaTimer; + private System.Windows.Forms.Label KrysaLabel; + private System.Windows.Forms.RadioButton smerKRadioButton; + private System.Windows.Forms.RadioButton smerOdRadioButton; + private System.Windows.Forms.GroupBox smerGroupBox; + private System.Windows.Forms.GroupBox rychlostGroupBox; + private System.Windows.Forms.RadioButton pomaluRadioButton; + private System.Windows.Forms.RadioButton rychleRadioButton; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.RadioButton malyRadioButton; + private System.Windows.Forms.RadioButton velkyRadioButton; + private System.Windows.Forms.RadioButton zmateneRadioButton; + } +} + diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Form1.cs b/priserky-dedicnost/priserky-dedicnost/priserky/Form1.cs new file mode 100644 index 0000000..a0fe306 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/Form1.cs @@ -0,0 +1,138 @@ +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 priserky +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + potvurky = new priserky(this); + } + + priserky potvurky = null; + + private void vlevoNahoruPic_Click(object sender, EventArgs e) + { + potvurky.vseDolevaNahoru(); + } + + private void nahoruPic_Click(object sender, EventArgs e) + { + potvurky.vseNahoru(); + } + + private void dopravaNahoruPic_Click(object sender, EventArgs e) + { + potvurky.vseDopravaNahoru(); + } + + private void dolevaPic_Click(object sender, EventArgs e) + { + potvurky.vseDoleva(); + } + + private void pridejPic_Click(object sender, EventArgs e) + { + jednaPriserka novaPriserka; + + if (smerKRadioButton.Checked) + { + novaPriserka = new jednaPriserkaStatecna(); + } + else if (smerOdRadioButton.Checked) + { + novaPriserka = new jednaPriserkaZbabela(); + } else { + novaPriserka = new jednaPriserkaZmatena(); + } + + + Random rnd = new Random(); + novaPriserka.posY = rnd.Next(novaPriserka.minX,novaPriserka.maxX); + novaPriserka.posX = rnd.Next(novaPriserka.minY, novaPriserka.maxY); + if (rychleRadioButton.Checked) + { + novaPriserka.nastavRychlost(10); + } + else + { + novaPriserka.nastavRychlost(5); + } + + // cely if-else se da v jednodussich pripadech napsat tak, jak mas o radek niz: + novaPriserka.nastavVelikost(velkyRadioButton.Checked ? 50 : 30); + // obecny zapis: nejakaPromenna = podminka ? coVratitKdyJePodminkaTrue : coVratitKdyJePodminkaFalse; + + // a znovu pouziji zkraceny if, tentokrat jako parametr funkce: + //novaPriserka.nastavSmer(smerKRadioButton.Checked ? 0 : 1); + + + + + this.potvurky.pridejPriserku(novaPriserka); + label1.Text = "pocet priserek: "+potvurky.pocetPriserek.ToString(); + } + + private void dopravaPic_Click(object sender, EventArgs e) + { + potvurky.vseDoprava(); + } + + private void dolevaDoluPic_Click(object sender, EventArgs e) + { + potvurky.vseDolevaDolu(); + } + + private void DoluPic_Click(object sender, EventArgs e) + { + potvurky.vseDolu(); + } + + private void dopravaDoluPic_Click(object sender, EventArgs e) + { + potvurky.vseDopravaDolu(); + } + + + Boolean zaKrysou = false; + int KrysaX = 0; + int KrysaY = 0; + + private void KrysaPictureBox_Click(object sender, EventArgs e) + { + zaKrysou = !zaKrysou; + if (zaKrysou) + { + KrysaPictureBox.BorderStyle = BorderStyle.FixedSingle; + } + else + { + KrysaPictureBox.BorderStyle = BorderStyle.None; + } + krysaTimer.Enabled = zaKrysou; + } + + private void Form1_MouseMove(object sender, MouseEventArgs e) + { + KrysaX = e.Location.X; + KrysaY = e.Location.Y; + KrysaLabel.Text = "Poloha krysy: " + KrysaX.ToString() + "; " + KrysaY.ToString(); + } + + private void KrysaTimer_Tick(object sender, EventArgs e) + { + potvurky.vseHejbejSe(KrysaX, KrysaY); + } + + + } +} diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Form1.resx b/priserky-dedicnost/priserky-dedicnost/priserky/Form1.resx new file mode 100644 index 0000000..9ce540a --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/Form1.resx @@ -0,0 +1,363 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL + DwAACw8BkvkDpQAAAAd0SU1FB+EBGwwfEpxNHRsAAAvKSURBVGhD1Zp5UNXXFceTtNOk7fRvNS51G21n + 0unYdjppk9gm6ZLq1CQGkCUaFXiAaIzapDGpM6TRVm2zorKDLIJsyo7KIrLvPHiALLI84DFq1Em1jm3i + eHq+F37w473fe7/7HqDWmTsP3+/ec8/nnnPPPee+3yOPzNC/3h1/mCLJHOz9JLdnuPlzi+B2gdsgtzvc + /jve8De+wzP0QV+MmacW1hHiPkNazrAYhn6Mld3F7QtuNM12FbIY9rEZVnP64lixNdyqud2dJqTWIkEm + ZK+ZvqYuSFC7lznYazUr0jkLkPa8o53nWq2ofd9cHW7GE9feR1DrBai5b67OkFu5/fsBwirwt1iHzS44 + qdwQ81vesGr8QwBqbe048/trHpWjkOw1vMPjcQYdfQhhFfgRs8H7cUkcx90Y8tvjZ+V0j5nZHj9wKdj7 + iWlBm4Nff4JhBx5iy1ovYr852NM1S18JXv8og1r+j2AV+GHW2fk9zYPiZGEtBjfqfP9Nqjr6CZ0/Hk1F + SfF0NiGWzoaHUu2H79FI0AYa2uZl16XxbDjAg1r376XyqKNUwmPPsYxzsZFUdORjatm3mywB7s5siRgp + 11YOcoR7OVgvMoX8iQrTUym78Azl5uVTXl4e5ebmis/8/Dw6nZNLKRkZVP23fTSwY6ON0oPbfaj54D4e + k0M5BYVinFpGXn4+ZWTnUHryCWrmueT0QlrrtQnQjQaDY/bxpAJnnEPhQ2y14oQ4AYeWlZVFiYmJFBUV + RREREaIdP36cMjMzxXN8piXE0+CO1yflMmxhetqEDPSJi4ubGB8ZGSlkQjZkpKWlUVZslENvUel9i2H1 + XZsH1OnDetK5lCRh0ezsbKFkeHj4hKIKMD7xfUxMDGWwlU+dOkXpJ1Oo/e9/oXa26tkctiqD4Bn6OJKB + OTBXBi9KZlw0DckVJ9UOzcugz+nB4nlJQoyAhUXsKamGTkpKojNnzlBjYyM1NzdTo9FIDS1Gqq2tpcrK + SmE9WFI9RutvzIVFS0tPp+yYKFn3ftYuNMO06gFjz0JBrLYeLFyyoqJCgDpqDQ0NVFZWRsXFxVO2hD1o + uHhycrLsnm7WBGbQl/RgRzgaF2aM7bnY2Fi7FsFCxMfHU319vS6seiGwOKWlpZSQkOBwMeHe6Wzl1BNJ + stH7dxPQFBIi/mbYSj3gDj56EI1hXUfuB4WE6+pY1vp5U1MTlZeX04ULF6YEL625RJA8mSqOLD29wTbF + ygyNJONrvYFVRz6iXD4mHO23Y8eOUXV1tdOwCjzc+/z588LSYWFhdhcWOpxMTaVzn/9TBvhr6/unnXqw + eI6kAmek+uixXn1Y3xXrqq1dU1MjoBGg7HkSdMAxlR0WKgOMPjsmoPk/N2SASxLHzl1H7oyo66wra/VH + ECsqKnI4Vypb+FRkOPUEbpCBvqbs3fkysGPHkWNgRGXsw5kAxl4GNGTaW2BY+HRkGLX6uskAo8+TCFbP + ygKXcW4Ll46OjrZRApEZK24NjD2JaI1Pewuh1aeqqkoAIxprHX/QIS0tlXKOfCqA+4Ps5+oqvmcAHCAL + XP/RARG0UlJSbJSAUnB3NbCRE4zLly/TzZs3qb+/3y40nqEP+mIMFka9j62B8X/okMJR+tzhDwVwp7+H + TPblD+BIWeCePX5jRYLGPoYSBQUFU4Bv3LhBV65cERnZnTt3aHBw0MbK+A7P0Ad9MQbAyMIQuOwlOPg+ + kT2qbpdBABu3Srl1BIDLZYFHuIQriee0koGRWFjnzFBCbWGA7N+/n+bNmye+v3r1qg0wvsMz9Dlw4ICA + BzCONgBrpa9ITLB9TkeHk+mNlwUwWhfrp8NSBmCnbjQ63w3mPHqsBFTvZa09fO3aNRodHRVJBEDgutb7 + GN/hGfqgL8agj7KHEZjULo3jCAt7IjmFavcETsAC2OSnWzP3A9i5K9cgTyrlQh/QmFgdRVHxqM9gWO76 + 9et0+/Ztu3sYAQvQ6ANYxUOQZiJoWZeLOVxhIeHIO/oZtW1ZPwVYBC8HFw3MehPATv880mVwp+KoMC7Y + CwgKIJFXSkHraIz/K81RlLbuoxxLinUxB7wqFZXSsVBq3fqaDSyA2x1b+a5LwOZt3mTa9DKVfXKQchlY + uelAXYtgMxPnMKxbUlIijiUchWOWTaPCjw9O2bfK/lV/Dti3sgB2zqXHC+92f/ex6GjwpOKYiIl9PZ08 + Wr1QCFgAhlUBfToqnFoCvTWtag3dE2A38xIuzVebzv+02RvoScbx6Ni2+VUyBnpRw25/qk9JpMZpZlt1 + dXVUysCVLKt2t4Gag3zItOVVKVjAt/m50RBfH2lw9QEYP0brhXOb57hiaRsHVq+w8YN3+EajdVpuLeri + cr44+OteacgpOrBel9ggGlziWJJOPKwFwHVs9hBbu9HUPi1gUR5WVbOlxraNK62Dt5wGsEg8DK5YGGMQ + HGyU2bSOmvKyBLCSI8sGMeTccGcAV2RlUhvLcgVWGaPB5QdgvFPhtEsrY3DYTyjF1m194xVqC/+UTCYT + 9fX10cjIiFR93NLSIvr29vaKYqMpko8eZFGQ6aKVuww2wUsUD3j5xGVgHPTIY007t1BfZjJZzIMiYwJs + a6vzexle0d3dTRaLRciCTMh2FXpQxcZxZ+xlGQZ2/iWUt/1p+EQ0WZrqycIFgLm6nLpDD1P7u9vJyJZp + aRzLoKC4TI2MPugL2AquhY1sWciCTMi2mAdoqKGWeuMjyPTmZukF6JssG6+obzyCnLXyUIeJBooL6eLh + EFbuFTL6rKVWdu/OA++RuaaSRrouUhcrD1eV2cMAhnWN7BUjvd0MWSFkQSZkG3mrXPxHiJhzmOeWtTiC + 1/il/eRvLrKXeOpFURIPMTHntD3RoTTKFhpqbqAOLjCgaE9Pj3BvmTsu9EHf9s5OMbaDrQtZkAnZmEMW + 0vqIGtjm/ZXWNa10mQhwHEkmTjQGy4rIMmSmS6kJ1P7nbdTi+RJ1hR4iy0A/9ZjaJtwZQAhkSD9xp42G + v/GdsiDlfD3b3tIsxnZ9fkjIgkzIxhyYq33PWP3rTOP8usbmMp4hfuuMWw/6v0bDXZ3UmxglEnnjxnVi + zw011gnLYDFwZ9zY2ibc+tChQ7RixQpasGABLVy4UDT8vXLlSjp8+LCof0s54WgIeUeMhQzsWRETWDbm + wFwjPKdx4x+dA/Z3c7P360ODM9Bd44kHAkx/ToZwv86QtycrGS4wWs/kU0BAAC1dupSWL1+u2ZYsWUJr + 166lmoLcybOXASELMiEbczhjVaUvp5mXHP229AtngPu5Nu6J/IxGh4fF6rdxPt26depeKw7wocWLF9uF + xSIsWrSI5syZQ3m+nlOhWBZkQjbmwFz2ykJ7i8Hu/KLeL4h4zU/uXN7jS0McTU1v+dpNEHC5tumF1bRk + 2TK71p0zdy6t/dkq6uREQVNxti7mQORuC94obWnO9bt03wQYj9g3ZaFRNcm42q9/ukoTeP78+bTqByuk + ZMjMM+HKvm7/AYtDYOWHNT63fGSB0U+rarJWrtbXndb88mlaPL6Xl7HF5/LF3c9/9BRVbnbtyHG0AOzK + 4qcVhUnX0gwSLgsNt5VZ/Q522Q/W/Z5+85Mf06+e+iHtfPE5vnjzmKirZWTI9OH8Pk0X0KZDMCHlxMvb + uvsZt/7KZYCMQrPZh6PyteEAn286D4wcO8jzWwzcowc9tJ3vuPiWYTZBJGTf461l6Qn0+I5LsMogc/Am + vI2nCy0bvCQUd2nhANu7fcP3pgU7CS1eLnV4Ya95GeBkCujqYrAbf9Ht5/HdGYFVC2HoI47ce0pBcZ9g + OUCd/HLXxm/MOOyEtbd7ezH0l1rgXJW45I6uWJZd+A4fPYGzBmotmIE1X4KZcuUzS1ZmWNN9A7Vy8aet + wZWCwhWr6Y3hxexgqz7/QGCtwJ9n8ApuXw3ijmsGLYssjlsDx4f1DxxUSwE+kw0d/h7/0rOW3nO+k77b + 4ee296GE1FKKr0gXsQu+wG0XHxuJDNDM7RZb654qwb+H77hPC38moi/GdBrcvz9boP8Dr8Uv7NomJfQA + AAAASUVORK5CYII= + + + + 17, 17 + + + 25 + + + + AAABAAEAMjIAAAEAIADIKAAAFgAAACgAAAAyAAAAZAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AADs7OwA2NjYANnZ2QDY2NgA3NzcANbW1gDW1tYA1dXVAM7OzgDU1NQA2NjYANTU1ADc3NwA1tbWANnZ + 2QDg4OAA2traANDQ0ADZ2dkA2dnZANbW1gDl5eUA////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////APb29gDo6OgA5OTkAObm5gDm5uYA4eHhAOTk5ADj4+MA4+PjAO7u + 7gDv7+8A5OTkAODg4ADh4eEA5OTkAN/f3wDl5eUB5eXlAePj4wDk5OQA5+fnAOvr6wD+/v4A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP7+/gD8/PwA/v7+AP39 + /QD+/v4A/v7+AP7+/gD+/v4A/v7+AP7+/gD+/v4A/v7+AP7+/gD+/v4A/Pz8AP7+/gD+/v4A/v7+AP7+ + /gD+/v4A/Pz8AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD+/v4A/v7+AP7+/gD+/v4A////AP///wD///8A////AP// + /wD///8A////AP///wD+/v4A/v7+AP7+/gD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A/v7+AP7+/gD9/f0A6+vrqtjY2P/Pz8//0NDQ/93d + 3f/x8fEA/v7+AP7+/gD///8A/v7+APj4+ADt7e1m5OTk/9zc3P/Y2Nj/2tra/+Pj4//x8fEA/f39AP7+ + /gD+/v4A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP7+/gDz8/MAr6+v/3Z2 + dv9dXV3/YGBg/2lpaf9nZ2f/XV1d/2JiYv+AgID/wMDA//39/QDZ2dn/cnJy/1paWv9aWlr/XV1d/19f + X/9eXl7/W1tb/19fX/93d3f/pqam/+Xl5f39/f0A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A+fn5AHNzc+hubm7+rKys/+Dg4P/09PT/+/v7//r6+v/w8PD/2NjY/56env9nZ2f/r6+v/5OT + k/+BgYH/4uLi/+zs7P/z8/P/9fX1//T09P/t7e3/3Nzc/7Ozs/94eHj/ZmZm8a6urov+/v4A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP7+/gDb29sjXFxcve3t7fv+/v7//v7+//7+/v////////////7+ + /v/+/v7//v7+/6ioqP9+fn7/enp6/7W1tf/+/v7//v7+//7+/v/////////////////+/v7//v7+//39 + /f+2trbnZWVlWuzs7AT+/v4A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A/v7+ANTU1BllZWWy+Pj4+v// + ///////////////////////////////////+/v7/xcXF/29vb/9qamr/y8vL//7+/v////////////// + //////////////////////////////Hx8fJbW1uC39/fD/7+/gD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD+/v4A0NDQF2hoaLH6+vr6//////////////////////////////////////7+/v/Ozs7/SEhI/1JS + Uv/c3Nz//v7+////////////////////////////////////////////8vLy+VtbW6be3t4V////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP7+/gDNzc0Qa2trs/v7+/v///////////////////////////// + /////////v7+//39/f/Jycn/z8/P//39/f/+/v7///////////////////////////////////////// + ///t7e39Wlpa2eTk5FX///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A/v7+AMrKyjhtbW3Z/Pz8/v// + /////////////////////////////////////////v7+///////+/v7//v7+//////////////////// + /////////////////////////v7+/9bW1v9iYmL48PDwAP7+/gD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD+/v4Ax8fHOG9vb+H8/Pz///////////////////////////////////////////////////////// + //////////////////////////////////////////////7+/v/9/f3/fn5+/zY2Nv6Xl5ftycnJjvz8 + /AD+/v4A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wDFxcUfcnJy1f39/f////////////////////////////// + /////////////////////////////////////////////////////////////////////////v7+/8DA + wP8hISH/eXl5/4yMjP1lZWXbd3d3W+Li4gj+/v4A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A/v7+AMDAwB90dHTU/f39//// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////+/v7/ioqK/yoqKv/m5ub//v7+/+7u7vyFhYW8cXFxJPj4+AD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD+/v4Au7u7MHd3d9z+/v7///////////////////////////////////////////////////////// + //////////////////////////////////////////////7+/v9/f3//Hh4e/8/Pz//+/v7//v7+//T0 + 9ONhYWFF0NDQA/7+/gD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP7+/gC2trYwenp62/7+/v////////////////////////////// + /////////////////////////////////////////////////////////////////////////v7+/7Ky + sv8SEhL/gICA//7+/v///////f395m5ubkzCwsID/v7+AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A/v7+AK+vr0R+fn7i/v7+//// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////+/v7/+/v7/2xsbP86Ojr/6urq//7+/v/19fXtYmJiadPT0w/+/v4A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD+/v4AqKioUISEhOf+/v7///////////////////////////////////////////////////////// + ///////////////////////////////////////////////////+/v7/tra2/y0tLf/e3t7//v7+/9PT + 0+ViYmJL8vLyAP7+/gD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP7+/gCgoKBljIyM7P7+/v////////////////////////////// + //////////////////////////////////////////////////////////////////////////////7+ + /v/S0tL/Ojo6/+Hh4f/+/v7/p6en639/f2b+/v4A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A/v7+AJeXl02VlZXn/v7+//// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////v7+/8jIyP9UVFT/8PDw//7+/v+AgID5qKiou/7+/gD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD+/v4Ai4uLWqCgoOn+/v7///////////////////////////////////////////////////////// + ///////////////////////////////////////////////////+/v7/wsLC/4+Pj//+/v7/+fn5/2lp + affNzc2u/v7+AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD+/v4A/v7+AMrKyjpdXV20tra2+f7+/v////////////7+/v/+/v7///////7+ + /v///////v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+ + /v/w8PD/5+fn//7+/v/t7e3/W1tb7OLi4mz+/v4A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A/v7+APv7+wCdnZ1FbGxssp2dnfT8/Pz//v7+//// + ///+/v7/7+/v/7W1tf+dnZ3/mpqa/5iYmP+Wlpb/k5OT/5CQkP+Ojo7/jIyM/4uLi/+IiIj/hoaG/4OD + g/+AgID/g4OD/5qamv/T09P//v7+//7+/v/+/v7//////+Li4v9aWlrp7u7uGf///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP7+/gDd3d0oc3NzfG1t + bcvKysr3/v7+//7+/v///////v7+//Ly8v9nZ2f/MDAw/0FBQf8KCgr/AQEB/xUVFf8+Pj7/AQEB/wEB + Af87Ozv/AwMD/wAAAP8LCwv/Ghoa/wAAAP8CAgL/Nzc3/zU1Nf+ysrL//v7+///////+/v7/2dnZ/2Bg + YOz19fUA////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD+/v4AxMTEHG1tbXiKiord8/Pz+/7+/v/////////////////+/v7/y8vL/yUlJf+xsbH/9PT0/4uL + i/8NDQ3/g4OD/+vr6/9oaGj/TExM/+Li4v9xcXH/CgoK/4eHh/+lpaX/Hh4e/3Nzc//o6Oj/VlZW/1ZW + Vv/19fX///////7+/v/Q0ND/Z2dn8/r6+gD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A/v7+ANvb21NqamqUpKSk3/7+/v3+/v7//v7+//7+/v/9/f3//v7+//7+ + /v/Gxsb/MzMz/+Li4v/+/v7//Pz8/76+vv/w8PD//v7+/+vr6//Z2dn//v7+/+vr6/+/v7//+vr6//39 + /f/Kysr/8PDw//7+/v+cnJz/KSkp/+Li4v///////v7+/8vLy/9sbGz8+/v7AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD+/v4AgoKCd4qKiuf9/f3+/v7+//7+ + /v/r6+v/k5OT/8PDw//+/v7//v7+/8/Pz/8uLi7/19fX//7+/v/+/v7///////7+/v///////v7+//7+ + /v///////v7+//7+/v////////////7+/v/+/v7//////8PDw/8qKir/2tra////////////ycnJ/21t + bfz8/PwA////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AOrq + 6g9fX1+g3d3d9/7+/v//////8PDw/2pqav8pKSn/pqam//7+/v/+/v7/19fX/ysrK//Kysr///////// + ////////////////////////////////////////////////////////////////////////0NDQ/y0t + Lf/W1tb///////7+/v/Ly8v/bGxs9vv7+wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD+/v4A0NDQTWVlZdv4+Pj+//////7+/v+tra3/b29v/35+fv+vr6///v7+//7+ + /v/e3t7/KSkp/7i4uP/+/v7///////////////////////////////////////////////////////// + ///////////////////b29v/MjIy/9HR0f///////v7+/9DQ0P9oaGj5+vr6AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP7+/gDDw8OtcXFx+v39/f///////v7+/4mJ + if+goKD/fn5+/7Kysv/+/v7//////+Xl5f8rKyv/oqKi//7+/v////////////////////////////// + /////////////////////////////////////////////+Tk5P86Ojr/zs7O////////////2NjY/2Bg + YP729vYA////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A/v7+AMTE + xLZwcHD6/Pz8///////+/v7/hYWF/6ioqP+CgoL/q6ur//7+/v//////6+vr/zExMf+Ojo7//v7+//7+ + /v/+/v7//v7+///////+/v7//v7+///////+/v7//v7+//7+/v/+/v7/+vr6//7+/v//////7e3t/0JC + Qv/IyMj////////////i4uL/Wlpa/e7u7jj///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD+/v4A0tLSh2RkZPL39/f///////7+/v+ampr/i4uL/4yMjP+enp7//v7+//// + ///x8fH/Pj4+/3h4eP/+/v7/5OTk/7Ozs//8/Pz//v7+/+np6f/ExMT//f39/97e3v+Xl5f/5eXl//Hx + 8f+Hh4f/qamp//7+/v/z8/P/TU1N/76+vv/+/v7//v7+/+3t7f9bW1vz4uLiif7+/gD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wDn5+dYW1tb6OXl5f///////v7+/8PD + w/9sbGz/m5ub/4mJif/+/v7///////39/f93d3f/S0tL/9/f3/9ycnL/CwsL/4+Pj//z8/P/dXV1/x8f + H/+lpaX/jIyM/wICAv9ycnL/n5+f/w8PD/8lJSX/oaGh//Dw8P9ISEj/uLi4//7+/v//////+Pj4/2dn + Z+HQ0NBC/v7+AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////APv7 + +wBwcHDjuLi4//7+/v//////6enp/15eXv+dnZ3/c3Nz//39/f///////v7+/9ra2v9oaGj/TU1N/xIS + Ev8PDw//GRkZ/0hISP8TExP/Dw8P/ykpKf8mJib/Dw8P/xAQEP8lJSX/Dw8P/xAQEP8iIiL/V1dX/1tb + W//f39///v7+///////+/v7/d3d35be3t0r+/v4A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A/v7+AKKiot55eXn//f39///////9/f3/e3t7/4KCgv9fX1//7+/v//7+ + /v///////v7+//f39//Q0ND/ysrK/8jIyP/IyMj/ycnJ/8jIyP/IyMj/ycnJ/8jIyP/IyMj/ycnJ/8jI + yP/IyMj/ycnJ/8nJyf/Ozs7/6+vr//7+/v////////////7+/v+FhYXuqKioa/7+/gD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A4+PjwWNjY/bb29v+/v7+//7+ + /v+zs7P/bm5u/2VlZf/Ly8v//v7+///////+/v7/qKio/1tbW/+Tk5P//v7+//////////////////// + /////////////////////////////////////////v7+/83Nzf+wsLD/6enp//7+/v///////v7+/4KC + guWqqqpJ/v7+AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD9/f0Ah4eHsoSEhO38/Pz+/v7+/7q6uv9zc3P/ioqK/4eHh//+/v7///////Ly8v9RUVH/AAAA/ysr + K//i4uL//v7+///////////////////////////////////////////////////////j4+P/QkJC/wMD + A/95eXn//Pz8///////8/Pz/bm5u1cHBwST+/v4A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP7+/gDj4+M+bW1tsHh4ePKQkJDzampq8aampvDY2Nj3aWlp/sTE + xP/+/v7//f39/4mJif8iIiL/cHBw//f39/////////////////////////////////////////////// + /////////////+Dg4P81NTX/AQEB/3Jycv/7+/v//v7+/9fX1/9iYmLY5eXlKv7+/gD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP7+/gDn5+dmoKCgvJOT + k5S/v7+E/v7+AP7+/gCkpKTjbW1t/MfHx//9/f3//f39/97e3v/09PT//v7+//////////////////// + /////////////////////////////////////////v7+/7y8vP+enp7/3Nzc//7+/v/5+fn/dXV1/4yM + jPH+/v4A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP7+/gD+/v4A/v7+AP7+/gD///8A////AP7+/gChoaHMampq9Zqamv7p6en//v7+//7+ + /v///////////////////////////////////////////////////////////////////////v7+//39 + /f/6+vr/yMjI/3Fxcf9wcHD/8vLyAP7+/gD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP7+ + /gDKysqUd3d31WBgYPV/f3/9srKy/9jY2P/p6en/8vLy//j4+P/7+/v//Pz8//z8/P/9/f3//f39//39 + /f/9/f3/+/v7//Dw8P/V1dX/n5+f/21tbf9kZGT/mpqa//b29gD+/v4A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A/v7+AP7+/gD9/f0A2NjYnaGhoeJ4eHjzYmJi7llZWelcXFzmY2Nj22pq + auZvb2/pcnJy43V1deJ4eHjleXl55XZ2dttsbGzWXV1d6mJiYvyBgYH/u7u7/+7u7kT+/v4A/v7+AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD+/v4A/v7+AP39 + /QDz8/MA6OjoWN3d3VDU1NQtzc3NU8jIyFzExMRJwcHBQry8vEi4uLhKu7u7LMrKyifd3d1i8vLyAP7+ + /gD+/v4A/v7+AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP// + /wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////////wAD//z/////AAP// + /////8AA////////wAD////////AAP/+D8D//8AA//gBAA//wAD/8AAAB//AAP/gAAAD/8AA/+AAAAP/ + wAD/4AAAA//AAP/gAAAD/8AA/+AAAAf/wAD/4AAAAf/AAP/gAAAAf8AA/+AAAAB/wAD/4AAAAD/AAP/g + AAAAP8AA/+AAAAA/wAD/4AAAAH/AAP/gAAAAf8AA/+AAAAB/wAD/4AAAAH/AAP/AAAAAf8AA/4AAAAB/ + wAD+AAAAAP/AAPwAAAAA/8AA+AAAAAD/wAD4AAAAAP/AAPAAAAAA/8AA8AAAAAD/wADwAAAAAP/AAPAA + AAAAf8AA8AAAAAB/wADwAAAAAH/AAPgAAAAAf8AA+AAAAAB/wAD4AAAAAH/AAPwAAAAAf8AA/AAAAAB/ + wAD+GAAAAP/AAP/8AAAB/8AA//4AAAP/wAD//4AAB//AAP//+AB//8AA////////wAD////////AAP// + /////8AA////////wAD////////AAA== + + + \ No newline at end of file diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Program.cs b/priserky-dedicnost/priserky-dedicnost/priserky/Program.cs new file mode 100644 index 0000000..0ac7904 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace priserky +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Properties/AssemblyInfo.cs b/priserky-dedicnost/priserky-dedicnost/priserky/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..4e9c836 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("priserky")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("priserky")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("ba19814a-9433-41fa-8751-53a5f2f27683")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Resources.Designer.cs b/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4eb5d42 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Resources.Designer.cs @@ -0,0 +1,163 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace priserky.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [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() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("priserky.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap doleva_30x30 { + get { + object obj = ResourceManager.GetObject("doleva 30x30", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap dolevaDolu_30x30 { + get { + object obj = ResourceManager.GetObject("dolevaDolu 30x30", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap dolevaNahoru_30x30 { + get { + object obj = ResourceManager.GetObject("dolevaNahoru 30x30", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Dolu_30x30 { + get { + object obj = ResourceManager.GetObject("Dolu 30x30", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap doprava_30x30 { + get { + object obj = ResourceManager.GetObject("doprava 30x30", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap dopravaDolu_30x30 { + get { + object obj = ResourceManager.GetObject("dopravaDolu 30x30", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap dopravaNahoru_30x30 { + get { + object obj = ResourceManager.GetObject("dopravaNahoru 30x30", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap pridat_30x30 { + get { + object obj = ResourceManager.GetObject("pridat 30x30", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap priserka_50x50 { + get { + object obj = ResourceManager.GetObject("priserka 50x50", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap tlacitko30x30 { + get { + object obj = ResourceManager.GetObject("tlacitko30x30", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Resources.resx b/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Resources.resx new file mode 100644 index 0000000..4ab2b88 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Resources.resx @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\dopravaNahoru 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\dolevaNahoru 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\tlacitko30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\doleva 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\dolevaDolu 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Dolu 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\pridat 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\dopravaDolu 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\doprava 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\priserka 50x50.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Settings.Designer.cs b/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Settings.Designer.cs new file mode 100644 index 0000000..0e1ebd6 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace priserky.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Settings.settings b/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/Creative-Tail-Animal-mouse.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/Creative-Tail-Animal-mouse.png new file mode 100644 index 0000000..2b9f6b6 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/Creative-Tail-Animal-mouse.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/Dolu 30x30.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/Dolu 30x30.png new file mode 100644 index 0000000..98d43b9 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/Dolu 30x30.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/doleva 30x30.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/doleva 30x30.png new file mode 100644 index 0000000..6a2982c Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/doleva 30x30.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dolevaDolu 30x30.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dolevaDolu 30x30.png new file mode 100644 index 0000000..1ffd631 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dolevaDolu 30x30.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dolevaNahoru 30x30.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dolevaNahoru 30x30.png new file mode 100644 index 0000000..f350520 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dolevaNahoru 30x30.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/doprava 30x30.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/doprava 30x30.png new file mode 100644 index 0000000..3d9b49b Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/doprava 30x30.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dopravaDolu 30x30.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dopravaDolu 30x30.png new file mode 100644 index 0000000..c292178 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dopravaDolu 30x30.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dopravaNahoru 30x30.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dopravaNahoru 30x30.png new file mode 100644 index 0000000..4a037ca Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/dopravaNahoru 30x30.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/pridat 30x30.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/pridat 30x30.png new file mode 100644 index 0000000..97c7e96 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/pridat 30x30.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/priserka 50x50.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/priserka 50x50.png new file mode 100644 index 0000000..84e3eff Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/priserka 50x50.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/Resources/tlacitko30x30.png b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/tlacitko30x30.png new file mode 100644 index 0000000..40ca0fe Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/Resources/tlacitko30x30.png differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.exe b/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.exe new file mode 100644 index 0000000..318432a Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.exe differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.exe.config b/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.exe.config new file mode 100644 index 0000000..4bfa005 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.exe.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.pdb b/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.pdb new file mode 100644 index 0000000..1146597 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.pdb differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.vshost.exe b/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.vshost.exe new file mode 100644 index 0000000..681ab77 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.vshost.exe differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.vshost.exe.config b/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.vshost.exe.config new file mode 100644 index 0000000..88fa402 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/bin/Debug/priserky.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserka.cs b/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserka.cs new file mode 100644 index 0000000..6f1454a --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserka.cs @@ -0,0 +1,166 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace priserky +{ + public abstract class jednaPriserka + { + public int posY; + + public int posX; + + public int maxX = 500; + + public int minX = 20; + + public int maxY = 800; + + public int minY = 20; + + PictureBox _grafickaReprezentace; + + + public PictureBox grafickaReprezentace + { + get + { + return _grafickaReprezentace; + } + set + { + _grafickaReprezentace = value; + if (_grafickaReprezentace != null) + { + _grafickaReprezentace.Height = _grafickaReprezentace.Width = size; + _grafickaReprezentace.SizeMode = PictureBoxSizeMode.StretchImage; + + } + } + } + + int krok = 10; + + int rychlost = 10; + + int smerPriserky; + + int size; + + public void dolu() + { + posY += krok; + if (posY>maxX) + { + posY = maxX; + } + kresli(); + } + + public void doprava() + { + posX += krok; + if (posX>maxY) + { + posX = maxY; + } + kresli(); + } + + public void nahoru() + { + posY -= krok; + if (posY < minX) + { + posY = minX; + } + kresli(); + } + public void doleva() + { + posX -= krok; + if (posX < minY) + { + posX = minY; + } + kresli(); + } + + public void dolevaNahoru() + { + doleva(); + nahoru(); + kresli(); + } + + public void dolevaDolu() + { + doleva(); + dolu(); + kresli(); + } + + public void dopravaNahoru() + { + doprava(); + nahoru(); + kresli(); + } + + public void dopravaDolu() + { + doprava(); + dolu(); + kresli(); + } + + public abstract void hybejSeSCilem(int cilX, int cilY); + + public void kresli() + { + if(grafickaReprezentace!=null) + { + grafickaReprezentace.Top = posY; + grafickaReprezentace.Left = posX; + } + } + + public void nastavRychlost(int rychlost) + { + this.rychlost = rychlost; + krok = rychlost; + } + + public void nastavVelikost(int velikost) + { + size = velikost; + } + + public void nastavSmer(int smer) + { + smerPriserky = smer; + + /*smerK = smer == 0; + zkratka za zapis: + + if (smer == 0) + { + smerK = true; + } + else + { + smerK = false; + } + + + jesnejsi to bude se zavorkama: smerK = (smerK == 0); + + */ + + } + + } +} diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserkaStatecna.cs b/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserkaStatecna.cs new file mode 100644 index 0000000..f44a361 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserkaStatecna.cs @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace priserky +{ + class jednaPriserkaStatecna : jednaPriserka + { + public override void hybejSeSCilem(int cilX, int cilY) + { + if (cilX > posX) + { + doprava(); + } + else + { + doleva(); + } + if (cilY > posY) + { + dolu(); + } + else + { + nahoru(); + } + kresli(); + } + + } +} diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserkaZbabela.cs b/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserkaZbabela.cs new file mode 100644 index 0000000..0739c7a --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserkaZbabela.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace priserky +{ + class jednaPriserkaZbabela : jednaPriserka + { + public override void hybejSeSCilem(int cilX, int cilY) + { + if (cilX < posX) + { + doprava(); + } + else + { + doleva(); + } + if (cilY < posY) + { + dolu(); + } + else + { + nahoru(); + } + kresli(); + } + } +} diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserkaZmatena.cs b/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserkaZmatena.cs new file mode 100644 index 0000000..6e9a0c7 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/jednaPriserkaZmatena.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace priserky +{ + class jednaPriserkaZmatena : jednaPriserka + { + + int zmatekZbyvaKroku = 0; + Boolean zmatekSmerK = true; + + public override void hybejSeSCilem(int cilX, int cilY) + { + if (zmatekZbyvaKroku <= 0) + { + // menime smer + zmatekSmerK = !zmatekSmerK; + // nahodne zvolime pocet kroku (cislo od 1 do 10) + zmatekZbyvaKroku = (new Random()).Next(1, 11); + } + + if ((cilX > posX && zmatekSmerK) || (cilX < posX && !zmatekSmerK)) + { + doprava(); + } + else + { + doleva(); + } + if ((cilY > posY && zmatekSmerK) || (cilY < posY && !zmatekSmerK)) + { + dolu(); + } + else + { + nahoru(); + } + + kresli(); + zmatekZbyvaKroku--; + } + } +} diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/.NETFramework,Version=v4.5.2.AssemblyAttributes.cs b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/.NETFramework,Version=v4.5.2.AssemblyAttributes.cs new file mode 100644 index 0000000..97d0f21 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/.NETFramework,Version=v4.5.2.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5.2", FrameworkDisplayName = "")] diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..15efebf --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..5a13ae1 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..5478314 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..086a17f Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.Form1.resources b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.Form1.resources new file mode 100644 index 0000000..0dd3de4 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.Form1.resources differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.Properties.Resources.resources b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.Properties.Resources.resources new file mode 100644 index 0000000..f8f4cd4 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.Properties.Resources.resources differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.AssemblyReference.cache b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.AssemblyReference.cache new file mode 100644 index 0000000..2bfaebc Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.AssemblyReference.cache differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.CoreCompileInputs.cache b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..a5620cb --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +931e44c8af3358b3220a020caf08f2b3aef64f9a424c76dab618509cf663e5d9 diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.FileListAbsolute.txt b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..283f295 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.FileListAbsolute.txt @@ -0,0 +1,65 @@ +c:\users\zbynek\documents\visual studio 2015\Projects\priserky\priserky\bin\Debug\priserky.exe.config +c:\users\zbynek\documents\visual studio 2015\Projects\priserky\priserky\bin\Debug\priserky.exe +c:\users\zbynek\documents\visual studio 2015\Projects\priserky\priserky\bin\Debug\priserky.pdb +c:\users\zbynek\documents\visual studio 2015\Projects\priserky\priserky\obj\Debug\priserky.csprojResolveAssemblyReference.cache +c:\users\zbynek\documents\visual studio 2015\Projects\priserky\priserky\obj\Debug\priserky.Form1.resources +c:\users\zbynek\documents\visual studio 2015\Projects\priserky\priserky\obj\Debug\priserky.Properties.Resources.resources +c:\users\zbynek\documents\visual studio 2015\Projects\priserky\priserky\obj\Debug\priserky.csproj.GenerateResource.Cache +c:\users\zbynek\documents\visual studio 2015\Projects\priserky\priserky\obj\Debug\priserky.exe +c:\users\zbynek\documents\visual studio 2015\Projects\priserky\priserky\obj\Debug\priserky.pdb +D:\Dokumenty\DUST\priserky\priserky\bin\Debug\priserky.exe.config +D:\Dokumenty\DUST\priserky\priserky\obj\Debug\priserky.exe +D:\Dokumenty\DUST\priserky\priserky\obj\Debug\priserky.pdb +D:\Dokumenty\DUST\priserky\priserky\bin\Debug\priserky.exe +D:\Dokumenty\DUST\priserky\priserky\bin\Debug\priserky.pdb +D:\Dokumenty\DUST\priserky\priserky\obj\Debug\priserky.csprojResolveAssemblyReference.cache +D:\Dokumenty\DUST\priserky\priserky\obj\Debug\priserky.Form1.resources +D:\Dokumenty\DUST\priserky\priserky\obj\Debug\priserky.Properties.Resources.resources +D:\Dokumenty\DUST\priserky\priserky\obj\Debug\priserky.csproj.GenerateResource.Cache +C:\Users\zbynek\Desktop\priserky\priserky\bin\Debug\priserky.exe.config +C:\Users\zbynek\Desktop\priserky\priserky\obj\Debug\priserky.exe +C:\Users\zbynek\Desktop\priserky\priserky\obj\Debug\priserky.pdb +C:\Users\zbynek\Desktop\priserky\priserky\bin\Debug\priserky.exe +C:\Users\zbynek\Desktop\priserky\priserky\bin\Debug\priserky.pdb +C:\Users\zbynek\Desktop\priserky\priserky\obj\Debug\priserky.csprojResolveAssemblyReference.cache +C:\Users\zbynek\Desktop\priserky\priserky\obj\Debug\priserky.Form1.resources +C:\Users\zbynek\Desktop\priserky\priserky\obj\Debug\priserky.Properties.Resources.resources +C:\Users\zbynek\Desktop\priserky\priserky\obj\Debug\priserky.csproj.GenerateResource.Cache +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky\priserky\bin\Debug\priserky.exe.config +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky\priserky\obj\Debug\priserky.exe +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky\priserky\obj\Debug\priserky.pdb +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky\priserky\obj\Debug\priserky.csprojResolveAssemblyReference.cache +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky\priserky\obj\Debug\priserky.Form1.resources +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky\priserky\obj\Debug\priserky.Properties.Resources.resources +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky\priserky\obj\Debug\priserky.csproj.GenerateResource.Cache +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky\priserky\bin\Debug\priserky.exe +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky\priserky\bin\Debug\priserky.pdb +C:\Users\zbynek\Desktop\priserky tom\priserky\bin\Debug\priserky.exe.config +C:\Users\zbynek\Desktop\priserky tom\priserky\obj\Debug\priserky.exe +C:\Users\zbynek\Desktop\priserky tom\priserky\obj\Debug\priserky.pdb +C:\Users\zbynek\Desktop\priserky tom\priserky\bin\Debug\priserky.exe +C:\Users\zbynek\Desktop\priserky tom\priserky\bin\Debug\priserky.pdb +C:\Users\zbynek\Desktop\priserky tom\priserky\obj\Debug\priserky.csprojResolveAssemblyReference.cache +C:\Users\zbynek\Desktop\priserky tom\priserky\obj\Debug\priserky.Form1.resources +C:\Users\zbynek\Desktop\priserky tom\priserky\obj\Debug\priserky.Properties.Resources.resources +C:\Users\zbynek\Desktop\priserky tom\priserky\obj\Debug\priserky.csproj.GenerateResource.Cache +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky-dedicnost\priserky\bin\Debug\priserky.exe.config +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky-dedicnost\priserky\obj\Debug\priserky.exe +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky-dedicnost\priserky\obj\Debug\priserky.pdb +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky-dedicnost\priserky\bin\Debug\priserky.exe +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky-dedicnost\priserky\bin\Debug\priserky.pdb +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky-dedicnost\priserky\obj\Debug\priserky.csprojResolveAssemblyReference.cache +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky-dedicnost\priserky\obj\Debug\priserky.Form1.resources +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky-dedicnost\priserky\obj\Debug\priserky.Properties.Resources.resources +D:\Users\tata\Documents\Visual Studio 2015\Projects\priserky-dedicnost\priserky\obj\Debug\priserky.csproj.GenerateResource.Cache +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\bin\Debug\priserky.exe.config +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\bin\Debug\priserky.exe +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\bin\Debug\priserky.pdb +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\obj\Debug\priserky.csproj.AssemblyReference.cache +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\obj\Debug\priserky.exe.config +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\obj\Debug\priserky.Form1.resources +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\obj\Debug\priserky.Properties.Resources.resources +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\obj\Debug\priserky.csproj.GenerateResource.cache +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\obj\Debug\priserky.csproj.CoreCompileInputs.cache +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\obj\Debug\priserky.exe +C:\Users\tomas\source\repos\priserky-dedicnost\priserky\obj\Debug\priserky.pdb diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.GenerateResource.cache b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.GenerateResource.cache new file mode 100644 index 0000000..21afb83 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csproj.GenerateResource.cache differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csprojResolveAssemblyReference.cache b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..5e1e642 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.csprojResolveAssemblyReference.cache differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.exe b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.exe new file mode 100644 index 0000000..318432a Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.exe differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.exe.config b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.exe.config new file mode 100644 index 0000000..4bfa005 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.exe.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.pdb b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.pdb new file mode 100644 index 0000000..1146597 Binary files /dev/null and b/priserky-dedicnost/priserky-dedicnost/priserky/obj/Debug/priserky.pdb differ diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/priserky.cs b/priserky-dedicnost/priserky-dedicnost/priserky/priserky.cs new file mode 100644 index 0000000..39fc6ad --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/priserky.cs @@ -0,0 +1,127 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace priserky +{ + class priserky + { + Form formular = null; + + public priserky(Form formular) + { + this.formular = formular; + } + + List priserkyList = new List(); + + public int pocetPriserek + { + get + { + return priserkyList.Count; + } + } + + public int dovolenyPocet = 999999; + + public void pridejPriserku(jednaPriserka priserka) + { + if(pocetPriserek + + + + Debug + AnyCPU + {BA19814A-9433-41FA-8751-53A5F2F27683} + WinExe + Properties + priserky + priserky + v4.8 + 512 + true + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/priserky-dedicnost/priserky-dedicnost/priserky/priserky.csproj.user b/priserky-dedicnost/priserky-dedicnost/priserky/priserky.csproj.user new file mode 100644 index 0000000..5283ef1 --- /dev/null +++ b/priserky-dedicnost/priserky-dedicnost/priserky/priserky.csproj.user @@ -0,0 +1,6 @@ + + + + ShowAllFiles + + \ No newline at end of file