complete project with 4x4 table function

This commit is contained in:
4.E Zatko Dominik 2025-10-01 10:45:43 +02:00
parent ae3370ac44
commit 9cb42200f3
130 changed files with 3706 additions and 2 deletions

BIN
.vs/4E/v17/.wsuo Normal file

Binary file not shown.

3
.vs/ProjectSettings.json Normal file
View file

@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}

View file

@ -0,0 +1,8 @@
{
"ExpandedNodes": [
"",
"\\Chaser"
],
"SelectedNode": "\\Chaser\\Chaser.sln",
"PreviewInSolutionExplorer": false
}

BIN
.vs/slnx.sqlite Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Chaser/.vs/Chaser/v17/.suo Normal file

Binary file not shown.

View file

@ -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"
}
]
}
]
}
]
}

View file

@ -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": ""
}
]
}
]
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

31
Chaser/Chaser.sln Normal file
View file

@ -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

View file

@ -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);
}
}
}

View file

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="9.0.9" />
</ItemGroup>
</Project>

View file

@ -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();
}
}

View file

@ -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);
}
}

View file

@ -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);
}
}
}

View file

@ -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);
}
}
}

View file

@ -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"
}
}
}
}
}

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\dominik.zatko\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.3</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\dominik.zatko\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)system.drawing.common\9.0.9\buildTransitive\netcoreapp2.0\System.Drawing.Common.targets" Condition="Exists('$(NuGetPackageRoot)system.drawing.common\9.0.9\buildTransitive\netcoreapp2.0\System.Drawing.Common.targets')" />
</ImportGroup>
</Project>

View file

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]

View file

@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
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

View file

@ -0,0 +1 @@
07bbe709d57155b0bbdd9e387974ccc0dbab9cce5f1ad7ffa4a5254f7eaeb34d

View file

@ -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 =

View file

@ -0,0 +1,8 @@
// <auto-generated/>
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;

View file

@ -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"
}
}
}
}

View file

@ -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": []
}

View file

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

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Compile Update="Form1.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
</Project>

59
Chaser/ChaserWinForms/Form1.Designer.cs generated Normal file
View file

@ -0,0 +1,59 @@
namespace ChaserWinForms
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
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;
}
}

View file

@ -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();
}
}
}

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -0,0 +1,17 @@
namespace ChaserWinForms
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[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());
}
}
}

View file

@ -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"
}
}
}
}
}

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\dominik.zatko\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.3</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\dominik.zatko\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View file

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View file

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]

View file

@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
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

View file

@ -0,0 +1 @@
c980e78ad47851a1234cd744fffea75d378c7dfeddbe73742d901bef062b70a2

View file

@ -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 =

View file

@ -0,0 +1,10 @@
// <auto-generated/>
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;

View file

@ -0,0 +1,11 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {}
},
"libraries": {}
}

View file

@ -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
}
}
}

View file

@ -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"
}
}
}
}

View file

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "z5Bx4nq4qDk=",
"success": true,
"projectFilePath": "R:\\PRG\\4E\\Chaser\\ChaserWinForms\\ChaserWinForms.csproj",
"expectedPackageFiles": [],
"logs": []
}

Binary file not shown.

View file

@ -1,2 +1,213 @@
// See https://aka.ms/new-console-template for more information using System;
Console.WriteLine("Hello, World!"); 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>();
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<string>();
var colsBits = new List<string>();
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);
}
}

View file

@ -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": ""
}
}
}

View file

@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net7.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "7.0.0"
}
}
}

View file

@ -0,0 +1 @@
bebd180e892a60a2c4d7b1f2348e353d67625ebd

View file

@ -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

View file

@ -0,0 +1 @@
bfdd802bc978199342623fbe5f0d183caf24d9f2

Binary file not shown.

View file

@ -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"
}
]
}
]
}
]
}

View file

@ -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"
}
]
}
]
}
]
}

View file

@ -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

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>

View file

@ -0,0 +1,374 @@
namespace priserky
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
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;
}
}

View file

@ -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);
}
}
}

View file

@ -0,0 +1,363 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="KrysaPictureBox.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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=
</value>
</data>
<metadata name="krysaTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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==
</value>
</data>
</root>

View file

@ -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
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

View file

@ -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")]

View file

@ -0,0 +1,163 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
namespace priserky.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 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() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("priserky.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap doleva_30x30 {
get {
object obj = ResourceManager.GetObject("doleva 30x30", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap dolevaDolu_30x30 {
get {
object obj = ResourceManager.GetObject("dolevaDolu 30x30", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap dolevaNahoru_30x30 {
get {
object obj = ResourceManager.GetObject("dolevaNahoru 30x30", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Dolu_30x30 {
get {
object obj = ResourceManager.GetObject("Dolu 30x30", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap doprava_30x30 {
get {
object obj = ResourceManager.GetObject("doprava 30x30", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap dopravaDolu_30x30 {
get {
object obj = ResourceManager.GetObject("dopravaDolu 30x30", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap dopravaNahoru_30x30 {
get {
object obj = ResourceManager.GetObject("dopravaNahoru 30x30", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap pridat_30x30 {
get {
object obj = ResourceManager.GetObject("pridat 30x30", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap priserka_50x50 {
get {
object obj = ResourceManager.GetObject("priserka 50x50", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap tlacitko30x30 {
get {
object obj = ResourceManager.GetObject("tlacitko30x30", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View file

@ -0,0 +1,151 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="dopravaNahoru 30x30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\dopravaNahoru 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="dolevaNahoru 30x30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\dolevaNahoru 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="tlacitko30x30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\tlacitko30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="doleva 30x30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\doleva 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="dolevaDolu 30x30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\dolevaDolu 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Dolu 30x30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Dolu 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="pridat 30x30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\pridat 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="dopravaDolu 30x30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\dopravaDolu 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="doprava 30x30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\doprava 30x30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="priserka 50x50" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\priserka 50x50.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View file

@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
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;
}
}
}
}

View file

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Some files were not shown because too many files have changed in this diff Show more