Compare commits
71 Commits
7200bf711d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63f7dff9c2 | ||
|
|
c1a5f01a3a | ||
|
|
18b6ad86b2 | ||
|
|
286ea045d5 | ||
|
|
ae3a73d55c | ||
|
|
bbd66b3c1a | ||
|
|
486f343518 | ||
|
|
4644da4212 | ||
|
|
3df13eabe6 | ||
|
|
45866fb212 | ||
|
|
806cec4e0a | ||
|
|
5c776bdac7 | ||
|
|
0c13e46d4a | ||
|
|
2134005486 | ||
|
|
e855b0fa00 | ||
|
|
deb3b3d48f | ||
|
|
16faf57a92 | ||
|
|
4134809662 | ||
|
|
0fc2b5f641 | ||
|
|
21cb07657d | ||
|
|
6c466bc3f4 | ||
|
|
4593dacbef | ||
|
|
bf8fe573a3 | ||
|
|
bfcd5595b1 | ||
|
|
33563aceba | ||
|
|
9239fcb71d | ||
|
|
7a859a9aaf | ||
|
|
553b8ccc94 | ||
|
|
1c5c967ccf | ||
|
|
306c0efbb7 | ||
|
|
b5ae918593 | ||
|
|
affd565abf | ||
|
|
97d51cdc15 | ||
|
|
0a1a02d48b | ||
|
|
630904fdf1 | ||
|
|
d802eb4b67 | ||
|
|
152126ad18 | ||
|
|
db1b67ebf8 | ||
|
|
89f67d62d9 | ||
|
|
ce936f62c7 | ||
|
|
a4c2fd505a | ||
|
|
9d05ca3229 | ||
|
|
5452d2423b | ||
|
|
4e53886e57 | ||
|
|
39090a199e | ||
|
|
e328bf3c49 | ||
|
|
0ff66b2775 | ||
|
|
ae4801ec45 | ||
|
|
6bc4e13d38 | ||
|
|
bcd8982b11 | ||
|
|
a3c88b8404 | ||
|
|
15e2a5bae3 | ||
|
|
82fc6b674f | ||
|
|
0c4c5300eb | ||
|
|
4ea517eedb | ||
|
|
3e10d7c768 | ||
|
|
fa6e106910 | ||
|
|
a0d873af59 | ||
|
|
b62deda57c | ||
|
|
c59f7fe309 | ||
|
|
40d3601e7f | ||
|
|
1ac18d6715 | ||
|
|
011436e3de | ||
|
|
1bd4104c41 | ||
|
|
a65445d666 | ||
|
|
7d37ac1ade | ||
|
|
ee16187e24 | ||
|
|
c45c3d0253 | ||
|
|
da9bf843d6 | ||
|
|
eeb77e7a81 | ||
|
|
9929eb2537 |
83
2.feladat.txt
Normal file
83
2.feladat.txt
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
1.
|
||||||
|
A devops két szó egyvelege: development, operations.
|
||||||
|
Ez igazából egy szemléletmód vagy praktika amit a mai modern cégek előszeretettel használnak,
|
||||||
|
ugyanis célja hogy a szofter fejlesztése és az üzemeltetése együttműködjön.
|
||||||
|
Ez a szemléletmód kölcsönösen segíti a fejlesztést és az üzemeltetést is,
|
||||||
|
ugyanis a hibákat is könnyebb kijavítani ha gyakran tesztelünk.
|
||||||
|
2.
|
||||||
|
Rövid fejlesztési is kiadási ciklusok: gyors piacra jutás
|
||||||
|
- Manapság fontos az, hogyha van egy ötletünk amiből "kézzel fogható" szoftvert akarunk csinálni,
|
||||||
|
azt mihamarabb kiadjuk, különben mások megelőzhetnek minket,
|
||||||
|
ami pénzkiesést jelenthet egy kisebb vagy akár egy nagyobb cégnek is.
|
||||||
|
|
||||||
|
Automatizált fejlesztés, tesztelés és telepítés
|
||||||
|
- Ezek a fejlesztési technikák segítik elő a gyorsabb piacrajutást.
|
||||||
|
|
||||||
|
Hibák gyorsabb felfedezése, helyreállítás idejének javítása
|
||||||
|
- Ha a "kész" szoftverben a felhasználók hibát találnak,
|
||||||
|
de azt a fejlesztői csapat gyorsan kijavítja akkor a szoftver értéke és megbízhatósága nő,
|
||||||
|
ami növeli a cég értékét is.
|
||||||
|
A nap végén minden cégnek csak az számít hogy hogyan tud minél rövidebb idő alatt minél több pénzt keresni,
|
||||||
|
ezért is fontos a fejlesztés sebessége, a hibák minimalizálásával.
|
||||||
|
|
||||||
|
Monitorozás: Jelentések, metrikák és logok biztosítása
|
||||||
|
-Fontos a felhasználók monitorozása a jövőbeli hibák elkerülése érdekében.
|
||||||
|
Könnyedén lehetséges olyan elem a szoftverben ami a későbbiekben szűk keresztmetszet lehet,
|
||||||
|
monitorozással ezek a problémák felderülnek, és ki lehet azokat javítani mielőtt ténylegesen felmerülnének.
|
||||||
|
|
||||||
|
Rugalmasság: Felhasználói igények folyamatos kiszolgálása, piaci versenyhez igazodás
|
||||||
|
-Minél jobban addiktív egy szoftver annál több pénzt lehet a felhasználókból kicsikarni.
|
||||||
|
Minden cég számára fontos, hogy a felhasználói megelégedettek legyenek az általuk értékesített termékkel.
|
||||||
|
|
||||||
|
Folyamatos fejlődés és tanulás
|
||||||
|
- Egybefügg a rugalmassággal, tanulni kell a csapat hibáiból, a felhasználó igényeire kell fejleszteni a szoftvert.
|
||||||
|
|
||||||
|
Továbbá fontos a csapatmunka is a devops szemléletben ugyanis a nagyvállalati szoftvereket nem egyetlen ember írja.
|
||||||
|
3.
|
||||||
|
A megrendelésre elkészült szoftvereket továbbították a megrendelőnek,
|
||||||
|
akinek önerőből kellett üzemeltetnie az alkalmazást.
|
||||||
|
Ehhez kellett valaki aki ért az üzemeltetéshez, kiépíti a futtatási környezetet a cégen belül.
|
||||||
|
|
||||||
|
Ezzel szemben a devops ezt megkönnyíti, ugyanis a devops célja az is hogy az üzemeltetést is megkönnyítse.
|
||||||
|
A fejlesztők létrehoznak egy konténert ami minden speciális futtatási környezeti változót tartalmaz,
|
||||||
|
így gyakorlatilag csak futtatnia kell a megrendelőnek a konténert és máris elérhető a szoftver a felhasználók számára.
|
||||||
|
4.
|
||||||
|
Az agilis módszertan a vevő/felhasználó és a fejlesztő között teremt kapcsolatot.
|
||||||
|
Fontos a folyamatos kommunikáció a két fél között a hibák elkerülése érdekében.
|
||||||
|
|
||||||
|
A devops ugyan ezen az elven működik csak a kommunikáció a fejlesztő és az üzemeltető között zajlik le.
|
||||||
|
Gyakorlatilag ha a fejlesztési kapcsolatok egy hárompontú gráffal lenne jellemezve,
|
||||||
|
akkor az agilis felelne meg az egyik élnek, a devops a másiknak.
|
||||||
|
|
||||||
|
agilis devops
|
||||||
|
megrendelő <------> fejlesztő <-------> üzemeltető
|
||||||
|
|
||||||
|
5.
|
||||||
|
A pipeline hasonlóan működik a devopsban mint a bash scriptben.
|
||||||
|
Ha egy folyamat kész annak a végterméke lesz a következő folyamat alapállapota.
|
||||||
|
Igazából csak egy soros végrehajtást ír le amit követni kell.
|
||||||
|
Végigvezeti a fejlesztőt a kezdeti kódtól egészen a kész szoftverig.
|
||||||
|
A következő képpen néz ki a pipeline:
|
||||||
|
Code -> Build -> Test -> Release -> Deploy -> Monitoring
|
||||||
|
|
||||||
|
Két részre osztható:
|
||||||
|
CI (Folyamatos integráció)
|
||||||
|
célja a kód továbbépítése a projektbe.
|
||||||
|
megvalósítás:
|
||||||
|
folyamatos verziókövetés
|
||||||
|
ci eszköz automatikusan buildel
|
||||||
|
unit illetve integrációs tesztek
|
||||||
|
dokumentálás
|
||||||
|
|
||||||
|
CD (Folyamatos szállítás)
|
||||||
|
célja az agilis rendszer fenntartása.
|
||||||
|
Ha hiba van a szoftverben jó ha hamar kiderül.
|
||||||
|
Ha jó a változtatás akkor meg a felhasználók örülhetnek az új featurenek.
|
||||||
|
megvalósítás
|
||||||
|
build átvétele
|
||||||
|
csomag készítése
|
||||||
|
verzió megjelölése
|
||||||
|
átfogóbb tesztek végzése
|
||||||
|
tesztkörnyezetbe való telepítés és tesztelés
|
||||||
|
éles telepítés
|
||||||
|
monitorozás
|
||||||
BIN
20240527/ConsoleApp1/.vs/ConsoleApp1/v16/.suo
Normal file
BIN
20240527/ConsoleApp1/.vs/ConsoleApp1/v16/.suo
Normal file
Binary file not shown.
25
20240527/ConsoleApp1/ConsoleApp1.sln
Normal file
25
20240527/ConsoleApp1/ConsoleApp1.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.34729.46
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{D216FBE7-57E2-44FE-9589-59ACE0865655}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{D216FBE7-57E2-44FE-9589-59ACE0865655}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{D216FBE7-57E2-44FE-9589-59ACE0865655}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{D216FBE7-57E2-44FE-9589-59ACE0865655}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{D216FBE7-57E2-44FE-9589-59ACE0865655}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {BC24084B-F151-4ECF-95BD-EEDEE846CC8F}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
6
20240527/ConsoleApp1/ConsoleApp1/App.config
Normal file
6
20240527/ConsoleApp1/ConsoleApp1/App.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
53
20240527/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj
Normal file
53
20240527/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{D216FBE7-57E2-44FE-9589-59ACE0865655}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||||
|
<AssemblyName>ConsoleApp1</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
19
20240527/ConsoleApp1/ConsoleApp1/Program.cs
Normal file
19
20240527/ConsoleApp1/ConsoleApp1/Program.cs
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace ConsoleApp1
|
||||||
|
{
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Random random = new Random();
|
||||||
|
Console.WriteLine(random.Next(1, 6));
|
||||||
|
Console.ReadKey();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
20240527/ConsoleApp1/ConsoleApp1/Properties/AssemblyInfo.cs
Normal file
36
20240527/ConsoleApp1/ConsoleApp1/Properties/AssemblyInfo.cs
Normal 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("ConsoleApp1")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("ConsoleApp1")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2024")]
|
||||||
|
[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("d216fbe7-57e2-44fe-9589-59ace0865655")]
|
||||||
|
|
||||||
|
// 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")]
|
||||||
BIN
20240527/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.exe
Normal file
BIN
20240527/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.exe
Normal file
Binary file not shown.
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
BIN
20240527/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.pdb
Normal file
BIN
20240527/ConsoleApp1/ConsoleApp1/bin/Debug/ConsoleApp1.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
7f4b213b428f4c013f19137338418ee1f5525793
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\ConsoleApp1\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||||
BIN
20240527/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.exe
Normal file
BIN
20240527/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.exe
Normal file
Binary file not shown.
BIN
20240527/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.pdb
Normal file
BIN
20240527/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.pdb
Normal file
Binary file not shown.
Binary file not shown.
BIN
20240527/Dolgozat/Dolgozat.pdf
Normal file
BIN
20240527/Dolgozat/Dolgozat.pdf
Normal file
Binary file not shown.
181
20240527/Dolgozat/oscar.csv
Normal file
181
20240527/Dolgozat/oscar.csv
Normal file
@@ -0,0 +1,181 @@
|
|||||||
|
azon;cim;ev;dij;jelol
|
||||||
|
Ark81;Raiders of the Lost Ark;1981;4;8
|
||||||
|
Day91;Terminator 2: Judgment Day;1991;4;6
|
||||||
|
End92;Howards End;1992;3;9
|
||||||
|
Kid69;Butch Cassidy and the Sundance Kid;1969;4;7
|
||||||
|
Man88;Rain Man;1988;4;8
|
||||||
|
Men07;No Country for Old Men;2007;4;8
|
||||||
|
Men49;All the King's Men;1949;3;7
|
||||||
|
Men76;All the President's Men;1976;4;8
|
||||||
|
War02;The Fog of War;2002;6;13
|
||||||
|
Way44;Going My Way;1944;7;10
|
||||||
|
Won63;How the West Was Won;1963;3;8
|
||||||
|
abia62;Lawrence of Arabia;1962;7;10
|
||||||
|
acus60;Spartacus;1960;4;6
|
||||||
|
adre48;The Treasure of the Sierra Madre;1948;3;4
|
||||||
|
agon00;Crouching Tiger, Hidden Dragon;2000;4;10
|
||||||
|
aire08;Slumdog Millionaire;2008;8;10
|
||||||
|
aisy89;Driving Miss Daisy;1989;4;9
|
||||||
|
ambs91;The Silence of the Lambs;1991;5;7
|
||||||
|
amer79;Kramer vs. Kramer;1979;5;9
|
||||||
|
anca43;Casablanca;1943;3;8
|
||||||
|
andy42;Yankee Doodle Dandy;1942;3;8
|
||||||
|
anic97;Titanic;1997;11;14
|
||||||
|
aret72;Cabaret;1972;8;10
|
||||||
|
Argo12;Argo;2012;3;7
|
||||||
|
aris51;An American in Paris;1951;6;8
|
||||||
|
arty55;Marty;1955;4;8
|
||||||
|
atar09;Avatar;2009;3;9
|
||||||
|
ator00;Gladiator;2000;5;12
|
||||||
|
ator04;The Aviator;2004;5;11
|
||||||
|
atra63;Cleopatra;1963;4;9
|
||||||
|
atum07;The Bourne Ultimatum;2007;3;3
|
||||||
|
auty99;American Beauty;1999;5;8
|
||||||
|
aven27;7th Heaven;1927;3;5
|
||||||
|
Baby04;Million Dollar Baby;2004;4;7
|
||||||
|
bbit88;Who Framed Roger Rabbit;1988;3;6
|
||||||
|
bird62;To Kill a Mockingbird;1962;3;8
|
||||||
|
bles12;Les Mis‚rables;2012;3;8
|
||||||
|
cade33;Cavalcade;1933;3;4
|
||||||
|
cago02;Chicago;2002;6;13
|
||||||
|
cker09;The Hurt Locker;2009;6;9
|
||||||
|
Club13;Dallas Buyers Club;2013;3;6
|
||||||
|
cula92;Bram Stoker's Dracula;1992;3;4
|
||||||
|
Days56;Around the World in Eighty Days;1956;5;8
|
||||||
|
der 83;Fanny & Alexander ;1983;4;6
|
||||||
|
deus84;Amadeus;1984;8;11
|
||||||
|
dman14;Birdman;2014;4;9
|
||||||
|
eart95;Braveheart;1995;5;10
|
||||||
|
eech10;The King's Speech;2010;4;12
|
||||||
|
elds84;The Killing Fields;1984;3;7
|
||||||
|
elot67;Camelot;1967;3;5
|
||||||
|
erno74;The Towering Inferno;1974;3;8
|
||||||
|
eror87;The Last Emperor;1987;9;9
|
||||||
|
erse36;Anthony Adverse;1936;4;7
|
||||||
|
ette43;The Song of Bernadette;1943;4;12
|
||||||
|
Eve50;All About Eve;1950;6;14
|
||||||
|
f Pi12;Life of Pi;2012;4;11
|
||||||
|
feld36;The Great Ziegfeld;1936;3;7
|
||||||
|
ffic00;Traffic;2000;4;5
|
||||||
|
Fire81;Chariots of Fire;1981;4;7
|
||||||
|
ful 98;Life Is Beautiful ;1998;3;7
|
||||||
|
gdad40;The Thief of Bagdad;1940;3;4
|
||||||
|
Gigi58;Gigi;1958;9;9
|
||||||
|
Gump94;Forrest Gump;1994;6;13
|
||||||
|
Hall77;Annie Hall;1977;4;5
|
||||||
|
hing55;Love Is a Many-Splendored Thing;1955;3;8
|
||||||
|
Home78;Coming Home;1978;3;8
|
||||||
|
Hood38;The Adventures of Robin Hood;1938;3;4
|
||||||
|
Hud63;Hud;1963;3;7
|
||||||
|
Hugo11;Hugo;2011;5;11
|
||||||
|
Hur59;Ben-Hur;1959;11;12
|
||||||
|
iano93;The Piano;1993;3;8
|
||||||
|
iday53;Roman Holiday;1953;3;10
|
||||||
|
ient96;The English Patient;1996;9;12
|
||||||
|
iful52;The Bad and the Beautiful;1952;5;6
|
||||||
|
ight16;Moonlight;2016;3;8
|
||||||
|
ight34;It Happened One Night;1934;5;5
|
||||||
|
ight67;In the Heat of the Night;1967;5;7
|
||||||
|
inth06;Pan's Labyrinth;2006;3;6
|
||||||
|
isha05;Memoirs of a Geisha;2005;3;6
|
||||||
|
iven92;Unforgiven;1992;4;9
|
||||||
|
iver42;Mrs. Miniver;1942;6;12
|
||||||
|
ives46;The Best Years of Our Lives;1946;7;8
|
||||||
|
Jaws75;Jaws;1975;3;4
|
||||||
|
Jazz79;All That Jazz;1979;4;9
|
||||||
|
kend45;The Lost Weekend;1945;4;7
|
||||||
|
King03;The Lord of the Rings: The Return of the King;2003;11;11
|
||||||
|
Kong05;King Kong;2005;3;4
|
||||||
|
Kwai57;The Bridge on the River Kwai;1957;7;8
|
||||||
|
Lady64;My Fair Lady;1964;8;12
|
||||||
|
Land16;La La Land;2016;6;14
|
||||||
|
lash14;Whiplash;2014;3;5
|
||||||
|
lave13;12 Years a Slave;2013;3;9
|
||||||
|
ling65;Darling;1965;3;5
|
||||||
|
List93;Schindler's List;1993;7;12
|
||||||
|
lley41;How Green Was My Valley;1941;5;10
|
||||||
|
lory89;Glory;1989;3;5
|
||||||
|
Love98;Shakespeare in Love;1998;7;13
|
||||||
|
lson44;Wilson;1944;5;10
|
||||||
|
lves90;Dances with Wolves;1990;7;12
|
||||||
|
lly!69;Hello, Dolly!;1969;3;7
|
||||||
|
ment47;Gentleman's Agreement;1947;3;8
|
||||||
|
ment60;The Apartment;1960;5;10
|
||||||
|
ment83;Terms of Endearment;1983;5;11
|
||||||
|
Mind01;A Beautiful Mind;2001;4;8
|
||||||
|
mlet48;Hamlet;1948;4;7
|
||||||
|
nant15;The Revenant;2015;3;12
|
||||||
|
nara57;Sayonara;1957;4;10
|
||||||
|
nd I56;The King and I;1956;5;9
|
||||||
|
ndhi82;Gandhi;1982;8;11
|
||||||
|
ndon75;Barry Lyndon;1975;4;7
|
||||||
|
Nest75;One Flew over the Cuckoo's Nest;1975;5;9
|
||||||
|
nist02;The Pianist;2002;3;7
|
||||||
|
nity53;From Here to Eternity;1953;8;13
|
||||||
|
Noon52;High Noon;1952;4;7
|
||||||
|
nter68;The Lion in Winter;1968;3;7
|
||||||
|
nter78;The Deer Hunter;1978;5;9
|
||||||
|
ntry60;Elmer Gantry;1960;3;5
|
||||||
|
ocky76;Rocky;1976;3;10
|
||||||
|
olf?66;Who's Afraid of Virginia Woolf?;1966;5;13
|
||||||
|
ones63;Tom Jones;1963;4;10
|
||||||
|
ople80;Ordinary People;1980;4;6
|
||||||
|
otel14;The Grand Budapest Hotel;2014;4;9
|
||||||
|
Park93;Jurassic Park;1993;3;3
|
||||||
|
pins64;Mary Poppins;1964;5;13
|
||||||
|
Pond81;On Golden Pond;1981;3;10
|
||||||
|
Prix66;Grand Prix;1966;3;3
|
||||||
|
racy90;Dick Tracy;1990;3;7
|
||||||
|
rank59;The Diary of Anne Frank;1959;3;8
|
||||||
|
rash05;Crash;2005;3;6
|
||||||
|
Reds81;Reds;1981;3;12
|
||||||
|
reek64;Zorba the Greek;1964;3;7
|
||||||
|
reet47;Miracle on 34th Street;1947;3;4
|
||||||
|
ress49;The Heiress;1949;4;8
|
||||||
|
rial82;E.T.: The Extra-Terrestrial;1982;4;9
|
||||||
|
rica85;Out of Africa;1985;7;11
|
||||||
|
Ring01;The Lord of the Rings: The Fellowship of the Ring;2001;4;13
|
||||||
|
rise27;Sunrise;1927;3;4
|
||||||
|
rmer35;The Informer;1935;4;6
|
||||||
|
Road15;Mad Max: Fury Road;2015;6;10
|
||||||
|
ront54;On the Waterfront;1954;8;12
|
||||||
|
Roof71;Fiddler on the Roof;1971;3;8
|
||||||
|
rron31;Cimarron;1931;3;7
|
||||||
|
rted06;The Departed;2006;4;5
|
||||||
|
ruck87;Moonstruck;1987;3;6
|
||||||
|
Ryan98;Saving Private Ryan;1998;5;11
|
||||||
|
sire51;A Streetcar Named Desire;1951;4;12
|
||||||
|
sons66;A Man for All Seasons;1966;6;8
|
||||||
|
sons88;Dangerous Liaisons;1988;3;7
|
||||||
|
Sun51;A Place in the Sun;1951;6;9
|
||||||
|
t II74;The Godfather Part II;1974;6;11
|
||||||
|
tain05;Brokeback Mountain;2005;3;8
|
||||||
|
ters86;Hannah and Her Sisters;1986;3;7
|
||||||
|
Tess80;Tess;1980;3;6
|
||||||
|
teur36;The Story of Louis Pasteur;1936;3;4
|
||||||
|
ther72;The Godfather;1972;3;10
|
||||||
|
ting73;The Sting;1973;7;10
|
||||||
|
tion10;Inception;2010;4;8
|
||||||
|
tion71;The French Connection;1971;5;8
|
||||||
|
tist11;The Artist;2011;5;10
|
||||||
|
toon86;Platoon;1986;4;8
|
||||||
|
tory61;West Side Story;1961;10;11
|
||||||
|
trix99;The Matrix;1999;4;4
|
||||||
|
tton08;The Curious Case of Benjamin Button;2008;3;13
|
||||||
|
tton70;Patton;1970;7;10
|
||||||
|
ttoo55;The Rose Tattoo;1955;3;8
|
||||||
|
tuff83;The Right Stuff;1983;4;8
|
||||||
|
ulia77;Julia;1977;3;11
|
||||||
|
usic65;The Sound of Music;1965;5;10
|
||||||
|
vago65;Doctor Zhivago;1965;5;10
|
||||||
|
vard50;Sunset Boulevard;1950;3;11
|
||||||
|
ver!68;Oliver!;1968;5;11
|
||||||
|
View86;A Room with a View;1986;3;8
|
||||||
|
vity13;Gravity;2013;7;10
|
||||||
|
Wars77;Star Wars;1977;6;10
|
||||||
|
wboy69;Midnight Cowboy;1969;3;7
|
||||||
|
Wind39;Gone with the Wind;1939;8;13
|
||||||
|
work10;The Social Network;2010;3;8
|
||||||
|
work76;Network;1976;4;10
|
||||||
|
Zola37;The Life of Emile Zola;1937;3;10
|
||||||
|
9699;Avatar;2020;5;5
|
||||||
|
BIN
20240527/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo
Normal file
BIN
20240527/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo
Normal file
Binary file not shown.
25
20240527/WindowsFormsApp1/WindowsFormsApp1.sln
Normal file
25
20240527/WindowsFormsApp1/WindowsFormsApp1.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.34729.46
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApp1", "WindowsFormsApp1\WindowsFormsApp1.csproj", "{2D2DF893-A709-4F19-A835-BD6154F3EF8E}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{2D2DF893-A709-4F19-A835-BD6154F3EF8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{2D2DF893-A709-4F19-A835-BD6154F3EF8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{2D2DF893-A709-4F19-A835-BD6154F3EF8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{2D2DF893-A709-4F19-A835-BD6154F3EF8E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {397597E6-8498-4570-AF67-05D82DEBFFD1}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
6
20240527/WindowsFormsApp1/WindowsFormsApp1/App.config
Normal file
6
20240527/WindowsFormsApp1/WindowsFormsApp1/App.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
272
20240527/WindowsFormsApp1/WindowsFormsApp1/Form1.Designer.cs
generated
Normal file
272
20240527/WindowsFormsApp1/WindowsFormsApp1/Form1.Designer.cs
generated
Normal file
@@ -0,0 +1,272 @@
|
|||||||
|
|
||||||
|
namespace WindowsFormsApp1
|
||||||
|
{
|
||||||
|
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.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.listBox1 = new System.Windows.Forms.ListBox();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
|
this.Film_cime = new System.Windows.Forms.Label();
|
||||||
|
this.button3 = new System.Windows.Forms.Button();
|
||||||
|
this.Talalat = new System.Windows.Forms.Label();
|
||||||
|
this.listBox2 = new System.Windows.Forms.ListBox();
|
||||||
|
this.button4 = new System.Windows.Forms.Button();
|
||||||
|
this.Cim = new System.Windows.Forms.TextBox();
|
||||||
|
this.Ev = new System.Windows.Forms.TextBox();
|
||||||
|
this.Jelolesek = new System.Windows.Forms.TextBox();
|
||||||
|
this.Dijak = new System.Windows.Forms.TextBox();
|
||||||
|
this.Searched = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBox6 = new System.Windows.Forms.TextBox();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(22, 23);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(91, 13);
|
||||||
|
this.label1.TabIndex = 0;
|
||||||
|
this.label1.Text = "Oscar-díjas filmek";
|
||||||
|
this.label1.Click += new System.EventHandler(this.label1_Click);
|
||||||
|
//
|
||||||
|
// listBox1
|
||||||
|
//
|
||||||
|
this.listBox1.FormattingEnabled = true;
|
||||||
|
this.listBox1.Location = new System.Drawing.Point(12, 57);
|
||||||
|
this.listBox1.Name = "listBox1";
|
||||||
|
this.listBox1.Size = new System.Drawing.Size(198, 368);
|
||||||
|
this.listBox1.TabIndex = 1;
|
||||||
|
this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(283, 23);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(32, 13);
|
||||||
|
this.label2.TabIndex = 2;
|
||||||
|
this.label2.Text = "Címe";
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(283, 66);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(20, 13);
|
||||||
|
this.label3.TabIndex = 3;
|
||||||
|
this.label3.Text = "Év";
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.Location = new System.Drawing.Point(283, 103);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(92, 13);
|
||||||
|
this.label4.TabIndex = 4;
|
||||||
|
this.label4.Text = "Jelölésekm száma";
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.Location = new System.Drawing.Point(283, 146);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(66, 13);
|
||||||
|
this.label5.TabIndex = 5;
|
||||||
|
this.label5.Text = "Díjak száma";
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(286, 190);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(261, 33);
|
||||||
|
this.button1.TabIndex = 6;
|
||||||
|
this.button1.Text = "Új film felvétele";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.Location = new System.Drawing.Point(435, 246);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(112, 33);
|
||||||
|
this.button2.TabIndex = 7;
|
||||||
|
this.button2.Text = "Legtöbb díjat kapta";
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||||
|
//
|
||||||
|
// Film_cime
|
||||||
|
//
|
||||||
|
this.Film_cime.AutoSize = true;
|
||||||
|
this.Film_cime.Location = new System.Drawing.Point(283, 256);
|
||||||
|
this.Film_cime.Name = "Film_cime";
|
||||||
|
this.Film_cime.Size = new System.Drawing.Size(55, 13);
|
||||||
|
this.Film_cime.TabIndex = 8;
|
||||||
|
this.Film_cime.Text = "Film címe:";
|
||||||
|
//
|
||||||
|
// button3
|
||||||
|
//
|
||||||
|
this.button3.Location = new System.Drawing.Point(469, 303);
|
||||||
|
this.button3.Name = "button3";
|
||||||
|
this.button3.Size = new System.Drawing.Size(56, 22);
|
||||||
|
this.button3.TabIndex = 9;
|
||||||
|
this.button3.Text = "keres";
|
||||||
|
this.button3.UseVisualStyleBackColor = true;
|
||||||
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||||
|
//
|
||||||
|
// Talalat
|
||||||
|
//
|
||||||
|
this.Talalat.AutoSize = true;
|
||||||
|
this.Talalat.Location = new System.Drawing.Point(283, 357);
|
||||||
|
this.Talalat.Name = "Talalat";
|
||||||
|
this.Talalat.Size = new System.Drawing.Size(74, 13);
|
||||||
|
this.Talalat.TabIndex = 10;
|
||||||
|
this.Talalat.Text = "Találat kiírása";
|
||||||
|
//
|
||||||
|
// listBox2
|
||||||
|
//
|
||||||
|
this.listBox2.FormattingEnabled = true;
|
||||||
|
this.listBox2.Location = new System.Drawing.Point(590, 57);
|
||||||
|
this.listBox2.Name = "listBox2";
|
||||||
|
this.listBox2.Size = new System.Drawing.Size(198, 329);
|
||||||
|
this.listBox2.TabIndex = 11;
|
||||||
|
//
|
||||||
|
// button4
|
||||||
|
//
|
||||||
|
this.button4.Location = new System.Drawing.Point(629, 392);
|
||||||
|
this.button4.Name = "button4";
|
||||||
|
this.button4.Size = new System.Drawing.Size(56, 22);
|
||||||
|
this.button4.TabIndex = 12;
|
||||||
|
this.button4.Text = "listázz";
|
||||||
|
this.button4.UseVisualStyleBackColor = true;
|
||||||
|
this.button4.Click += new System.EventHandler(this.button4_Click);
|
||||||
|
//
|
||||||
|
// Cim
|
||||||
|
//
|
||||||
|
this.Cim.Location = new System.Drawing.Point(388, 15);
|
||||||
|
this.Cim.Name = "Cim";
|
||||||
|
this.Cim.Size = new System.Drawing.Size(159, 20);
|
||||||
|
this.Cim.TabIndex = 13;
|
||||||
|
//
|
||||||
|
// Ev
|
||||||
|
//
|
||||||
|
this.Ev.Location = new System.Drawing.Point(388, 57);
|
||||||
|
this.Ev.Name = "Ev";
|
||||||
|
this.Ev.Size = new System.Drawing.Size(159, 20);
|
||||||
|
this.Ev.TabIndex = 14;
|
||||||
|
//
|
||||||
|
// Jelolesek
|
||||||
|
//
|
||||||
|
this.Jelolesek.Location = new System.Drawing.Point(388, 100);
|
||||||
|
this.Jelolesek.Name = "Jelolesek";
|
||||||
|
this.Jelolesek.Size = new System.Drawing.Size(159, 20);
|
||||||
|
this.Jelolesek.TabIndex = 15;
|
||||||
|
//
|
||||||
|
// Dijak
|
||||||
|
//
|
||||||
|
this.Dijak.Location = new System.Drawing.Point(388, 146);
|
||||||
|
this.Dijak.Name = "Dijak";
|
||||||
|
this.Dijak.Size = new System.Drawing.Size(159, 20);
|
||||||
|
this.Dijak.TabIndex = 16;
|
||||||
|
//
|
||||||
|
// Searched
|
||||||
|
//
|
||||||
|
this.Searched.Location = new System.Drawing.Point(286, 303);
|
||||||
|
this.Searched.Name = "Searched";
|
||||||
|
this.Searched.Size = new System.Drawing.Size(159, 20);
|
||||||
|
this.Searched.TabIndex = 17;
|
||||||
|
//
|
||||||
|
// textBox6
|
||||||
|
//
|
||||||
|
this.textBox6.Location = new System.Drawing.Point(590, 12);
|
||||||
|
this.textBox6.Name = "textBox6";
|
||||||
|
this.textBox6.Size = new System.Drawing.Size(198, 20);
|
||||||
|
this.textBox6.TabIndex = 18;
|
||||||
|
this.textBox6.TextChanged += new System.EventHandler(this.textBox6_TextChanged);
|
||||||
|
//
|
||||||
|
// Form1
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.textBox6);
|
||||||
|
this.Controls.Add(this.Searched);
|
||||||
|
this.Controls.Add(this.Dijak);
|
||||||
|
this.Controls.Add(this.Jelolesek);
|
||||||
|
this.Controls.Add(this.Ev);
|
||||||
|
this.Controls.Add(this.Cim);
|
||||||
|
this.Controls.Add(this.button4);
|
||||||
|
this.Controls.Add(this.listBox2);
|
||||||
|
this.Controls.Add(this.Talalat);
|
||||||
|
this.Controls.Add(this.button3);
|
||||||
|
this.Controls.Add(this.Film_cime);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.label5);
|
||||||
|
this.Controls.Add(this.label4);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.listBox1);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Name = "Form1";
|
||||||
|
this.Text = "Form1";
|
||||||
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.ListBox listBox1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
private System.Windows.Forms.Label Film_cime;
|
||||||
|
private System.Windows.Forms.Button button3;
|
||||||
|
private System.Windows.Forms.Label Talalat;
|
||||||
|
private System.Windows.Forms.ListBox listBox2;
|
||||||
|
private System.Windows.Forms.Button button4;
|
||||||
|
private System.Windows.Forms.TextBox Cim;
|
||||||
|
private System.Windows.Forms.TextBox Ev;
|
||||||
|
private System.Windows.Forms.TextBox Jelolesek;
|
||||||
|
private System.Windows.Forms.TextBox Dijak;
|
||||||
|
private System.Windows.Forms.TextBox Searched;
|
||||||
|
private System.Windows.Forms.TextBox textBox6;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
192
20240527/WindowsFormsApp1/WindowsFormsApp1/Form1.cs
Normal file
192
20240527/WindowsFormsApp1/WindowsFormsApp1/Form1.cs
Normal file
@@ -0,0 +1,192 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
namespace WindowsFormsApp1
|
||||||
|
{
|
||||||
|
public partial class Form1 : Form
|
||||||
|
{
|
||||||
|
public Form1()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void label1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
FileStream fileStream = new FileStream("oscar.csv", FileMode.Open, FileAccess.Read);
|
||||||
|
StreamReader streamReader = new StreamReader(fileStream);
|
||||||
|
|
||||||
|
string line = streamReader.ReadLine();
|
||||||
|
line = streamReader.ReadLine();
|
||||||
|
|
||||||
|
while (line != null)
|
||||||
|
{
|
||||||
|
string[] content = line.Split(';');
|
||||||
|
|
||||||
|
Film film = new Film(content[0], content[1], Convert.ToInt32(content[2]), Convert.ToInt32(content[3]), Convert.ToInt32(content[4]));
|
||||||
|
|
||||||
|
Data.films.Add(film);
|
||||||
|
|
||||||
|
line = streamReader.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
streamReader.Close();
|
||||||
|
fileStream.Close();
|
||||||
|
|
||||||
|
foreach (var item in Data.films)
|
||||||
|
{
|
||||||
|
Data.filmnames.Add(item.cim);
|
||||||
|
}
|
||||||
|
|
||||||
|
Data.filmnames.Sort();
|
||||||
|
|
||||||
|
foreach (var item in Data.filmnames)
|
||||||
|
{
|
||||||
|
listBox1.Items.Add(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (Cim.Text != null && Ev.Text != null && Jelolesek.Text != null && Dijak.Text != null)
|
||||||
|
{
|
||||||
|
char[] azon = new char[6];
|
||||||
|
for (int i = Cim.Text.Length - 1, j = 0; i > Cim.Text.Length - 4; i--, j++)
|
||||||
|
{
|
||||||
|
azon[j] = Cim.Text[i];
|
||||||
|
}
|
||||||
|
azon[4] = Ev.Text[Ev.Text.Length - 1];
|
||||||
|
azon[5] = Ev.Text[Ev.Text.Length - 2];
|
||||||
|
|
||||||
|
string azonosito = azon.ToString();
|
||||||
|
|
||||||
|
Film film = new Film(azonosito, Cim.Text, Convert.ToInt32(Ev.Text), Convert.ToInt32(Jelolesek.Text), Convert.ToInt32(Dijak.Text));
|
||||||
|
Data.films.Add(film);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
MessageBox.Show("ERROR");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Film_cime.Text = $"Film címe: {Data.films[Filmname_index()].cim}";
|
||||||
|
}
|
||||||
|
|
||||||
|
private int Filmname_index()
|
||||||
|
{
|
||||||
|
int max = Data.films[0].dij;
|
||||||
|
foreach (var item in Data.films)
|
||||||
|
{
|
||||||
|
if (item.dij > max)
|
||||||
|
{
|
||||||
|
max = item.dij;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return max;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button3_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string cim = Search(Searched.Text);
|
||||||
|
string talalat = $"Találat kiírása: {cim}";
|
||||||
|
|
||||||
|
Talalat.Text = talalat;
|
||||||
|
}
|
||||||
|
|
||||||
|
private string Search(string searched_word)
|
||||||
|
{
|
||||||
|
string pattrern = $"{searched_word}".ToLower();
|
||||||
|
Regex regex = new Regex(pattrern);
|
||||||
|
if (searched_word == "")
|
||||||
|
{
|
||||||
|
MessageBox.Show("ERROR");
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach (var item in Data.filmnames)
|
||||||
|
{
|
||||||
|
if (regex.IsMatch(item.ToLower()))
|
||||||
|
{
|
||||||
|
return item;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button4_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox6.Text = Searched.Text;
|
||||||
|
Search2(textBox6.Text);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void textBox6_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Search2(string searched_word)
|
||||||
|
{
|
||||||
|
string pattrern = $"{searched_word}".ToLower();
|
||||||
|
Regex regex = new Regex(pattrern);
|
||||||
|
if (searched_word == "")
|
||||||
|
{
|
||||||
|
MessageBox.Show("ERROR");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach (var item in Data.filmnames)
|
||||||
|
{
|
||||||
|
if (regex.IsMatch(item.ToLower()))
|
||||||
|
{
|
||||||
|
listBox2.Items.Add(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Data
|
||||||
|
{
|
||||||
|
public static List<Film> films = new List<Film>();
|
||||||
|
public static List<string> filmnames = new List<string>();
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Film
|
||||||
|
{
|
||||||
|
public string azonosito;
|
||||||
|
public string cim;
|
||||||
|
public int ev;
|
||||||
|
public int dij;
|
||||||
|
public int jelolt;
|
||||||
|
|
||||||
|
public Film(string azonosito, string cim, int ev, int dij, int jelolt)
|
||||||
|
{
|
||||||
|
this.azonosito = azonosito;
|
||||||
|
this.cim = cim;
|
||||||
|
this.ev = ev;
|
||||||
|
this.dij = dij;
|
||||||
|
this.jelolt = jelolt;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
20240527/WindowsFormsApp1/WindowsFormsApp1/Form1.resx
Normal file
120
20240527/WindowsFormsApp1/WindowsFormsApp1/Form1.resx
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
22
20240527/WindowsFormsApp1/WindowsFormsApp1/Program.cs
Normal file
22
20240527/WindowsFormsApp1/WindowsFormsApp1/Program.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace WindowsFormsApp1
|
||||||
|
{
|
||||||
|
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());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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("WindowsFormsApp1")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("WindowsFormsApp1")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2024")]
|
||||||
|
[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("2d2df893-a709-4f19-a835-bd6154f3ef8e")]
|
||||||
|
|
||||||
|
// 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")]
|
||||||
70
20240527/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.Designer.cs
generated
Normal file
70
20240527/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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 WindowsFormsApp1.Properties
|
||||||
|
{
|
||||||
|
/// <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", "4.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 ((resourceMan == null))
|
||||||
|
{
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApp1.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,117 @@
|
|||||||
|
<?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.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: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" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</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" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
29
20240527/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.Designer.cs
generated
Normal file
29
20240527/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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 WindowsFormsApp1.Properties
|
||||||
|
{
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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>
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{2D2DF893-A709-4F19-A835-BD6154F3EF8E}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>WindowsFormsApp1</RootNamespace>
|
||||||
|
<AssemblyName>WindowsFormsApp1</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Form1.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form1.Designer.cs">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<EmbeddedResource Include="Form1.resx">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
Binary file not shown.
181
20240527/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/oscar.csv
Normal file
181
20240527/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/oscar.csv
Normal file
@@ -0,0 +1,181 @@
|
|||||||
|
azon;cim;ev;dij;jelol
|
||||||
|
Ark81;Raiders of the Lost Ark;1981;4;8
|
||||||
|
Day91;Terminator 2: Judgment Day;1991;4;6
|
||||||
|
End92;Howards End;1992;3;9
|
||||||
|
Kid69;Butch Cassidy and the Sundance Kid;1969;4;7
|
||||||
|
Man88;Rain Man;1988;4;8
|
||||||
|
Men07;No Country for Old Men;2007;4;8
|
||||||
|
Men49;All the King's Men;1949;3;7
|
||||||
|
Men76;All the President's Men;1976;4;8
|
||||||
|
War02;The Fog of War;2002;6;13
|
||||||
|
Way44;Going My Way;1944;7;10
|
||||||
|
Won63;How the West Was Won;1963;3;8
|
||||||
|
abia62;Lawrence of Arabia;1962;7;10
|
||||||
|
acus60;Spartacus;1960;4;6
|
||||||
|
adre48;The Treasure of the Sierra Madre;1948;3;4
|
||||||
|
agon00;Crouching Tiger, Hidden Dragon;2000;4;10
|
||||||
|
aire08;Slumdog Millionaire;2008;8;10
|
||||||
|
aisy89;Driving Miss Daisy;1989;4;9
|
||||||
|
ambs91;The Silence of the Lambs;1991;5;7
|
||||||
|
amer79;Kramer vs. Kramer;1979;5;9
|
||||||
|
anca43;Casablanca;1943;3;8
|
||||||
|
andy42;Yankee Doodle Dandy;1942;3;8
|
||||||
|
anic97;Titanic;1997;11;14
|
||||||
|
aret72;Cabaret;1972;8;10
|
||||||
|
Argo12;Argo;2012;3;7
|
||||||
|
aris51;An American in Paris;1951;6;8
|
||||||
|
arty55;Marty;1955;4;8
|
||||||
|
atar09;Avatar;2009;3;9
|
||||||
|
ator00;Gladiator;2000;5;12
|
||||||
|
ator04;The Aviator;2004;5;11
|
||||||
|
atra63;Cleopatra;1963;4;9
|
||||||
|
atum07;The Bourne Ultimatum;2007;3;3
|
||||||
|
auty99;American Beauty;1999;5;8
|
||||||
|
aven27;7th Heaven;1927;3;5
|
||||||
|
Baby04;Million Dollar Baby;2004;4;7
|
||||||
|
bbit88;Who Framed Roger Rabbit;1988;3;6
|
||||||
|
bird62;To Kill a Mockingbird;1962;3;8
|
||||||
|
bles12;Les Mis‚rables;2012;3;8
|
||||||
|
cade33;Cavalcade;1933;3;4
|
||||||
|
cago02;Chicago;2002;6;13
|
||||||
|
cker09;The Hurt Locker;2009;6;9
|
||||||
|
Club13;Dallas Buyers Club;2013;3;6
|
||||||
|
cula92;Bram Stoker's Dracula;1992;3;4
|
||||||
|
Days56;Around the World in Eighty Days;1956;5;8
|
||||||
|
der 83;Fanny & Alexander ;1983;4;6
|
||||||
|
deus84;Amadeus;1984;8;11
|
||||||
|
dman14;Birdman;2014;4;9
|
||||||
|
eart95;Braveheart;1995;5;10
|
||||||
|
eech10;The King's Speech;2010;4;12
|
||||||
|
elds84;The Killing Fields;1984;3;7
|
||||||
|
elot67;Camelot;1967;3;5
|
||||||
|
erno74;The Towering Inferno;1974;3;8
|
||||||
|
eror87;The Last Emperor;1987;9;9
|
||||||
|
erse36;Anthony Adverse;1936;4;7
|
||||||
|
ette43;The Song of Bernadette;1943;4;12
|
||||||
|
Eve50;All About Eve;1950;6;14
|
||||||
|
f Pi12;Life of Pi;2012;4;11
|
||||||
|
feld36;The Great Ziegfeld;1936;3;7
|
||||||
|
ffic00;Traffic;2000;4;5
|
||||||
|
Fire81;Chariots of Fire;1981;4;7
|
||||||
|
ful 98;Life Is Beautiful ;1998;3;7
|
||||||
|
gdad40;The Thief of Bagdad;1940;3;4
|
||||||
|
Gigi58;Gigi;1958;9;9
|
||||||
|
Gump94;Forrest Gump;1994;6;13
|
||||||
|
Hall77;Annie Hall;1977;4;5
|
||||||
|
hing55;Love Is a Many-Splendored Thing;1955;3;8
|
||||||
|
Home78;Coming Home;1978;3;8
|
||||||
|
Hood38;The Adventures of Robin Hood;1938;3;4
|
||||||
|
Hud63;Hud;1963;3;7
|
||||||
|
Hugo11;Hugo;2011;5;11
|
||||||
|
Hur59;Ben-Hur;1959;11;12
|
||||||
|
iano93;The Piano;1993;3;8
|
||||||
|
iday53;Roman Holiday;1953;3;10
|
||||||
|
ient96;The English Patient;1996;9;12
|
||||||
|
iful52;The Bad and the Beautiful;1952;5;6
|
||||||
|
ight16;Moonlight;2016;3;8
|
||||||
|
ight34;It Happened One Night;1934;5;5
|
||||||
|
ight67;In the Heat of the Night;1967;5;7
|
||||||
|
inth06;Pan's Labyrinth;2006;3;6
|
||||||
|
isha05;Memoirs of a Geisha;2005;3;6
|
||||||
|
iven92;Unforgiven;1992;4;9
|
||||||
|
iver42;Mrs. Miniver;1942;6;12
|
||||||
|
ives46;The Best Years of Our Lives;1946;7;8
|
||||||
|
Jaws75;Jaws;1975;3;4
|
||||||
|
Jazz79;All That Jazz;1979;4;9
|
||||||
|
kend45;The Lost Weekend;1945;4;7
|
||||||
|
King03;The Lord of the Rings: The Return of the King;2003;11;11
|
||||||
|
Kong05;King Kong;2005;3;4
|
||||||
|
Kwai57;The Bridge on the River Kwai;1957;7;8
|
||||||
|
Lady64;My Fair Lady;1964;8;12
|
||||||
|
Land16;La La Land;2016;6;14
|
||||||
|
lash14;Whiplash;2014;3;5
|
||||||
|
lave13;12 Years a Slave;2013;3;9
|
||||||
|
ling65;Darling;1965;3;5
|
||||||
|
List93;Schindler's List;1993;7;12
|
||||||
|
lley41;How Green Was My Valley;1941;5;10
|
||||||
|
lory89;Glory;1989;3;5
|
||||||
|
Love98;Shakespeare in Love;1998;7;13
|
||||||
|
lson44;Wilson;1944;5;10
|
||||||
|
lves90;Dances with Wolves;1990;7;12
|
||||||
|
lly!69;Hello, Dolly!;1969;3;7
|
||||||
|
ment47;Gentleman's Agreement;1947;3;8
|
||||||
|
ment60;The Apartment;1960;5;10
|
||||||
|
ment83;Terms of Endearment;1983;5;11
|
||||||
|
Mind01;A Beautiful Mind;2001;4;8
|
||||||
|
mlet48;Hamlet;1948;4;7
|
||||||
|
nant15;The Revenant;2015;3;12
|
||||||
|
nara57;Sayonara;1957;4;10
|
||||||
|
nd I56;The King and I;1956;5;9
|
||||||
|
ndhi82;Gandhi;1982;8;11
|
||||||
|
ndon75;Barry Lyndon;1975;4;7
|
||||||
|
Nest75;One Flew over the Cuckoo's Nest;1975;5;9
|
||||||
|
nist02;The Pianist;2002;3;7
|
||||||
|
nity53;From Here to Eternity;1953;8;13
|
||||||
|
Noon52;High Noon;1952;4;7
|
||||||
|
nter68;The Lion in Winter;1968;3;7
|
||||||
|
nter78;The Deer Hunter;1978;5;9
|
||||||
|
ntry60;Elmer Gantry;1960;3;5
|
||||||
|
ocky76;Rocky;1976;3;10
|
||||||
|
olf?66;Who's Afraid of Virginia Woolf?;1966;5;13
|
||||||
|
ones63;Tom Jones;1963;4;10
|
||||||
|
ople80;Ordinary People;1980;4;6
|
||||||
|
otel14;The Grand Budapest Hotel;2014;4;9
|
||||||
|
Park93;Jurassic Park;1993;3;3
|
||||||
|
pins64;Mary Poppins;1964;5;13
|
||||||
|
Pond81;On Golden Pond;1981;3;10
|
||||||
|
Prix66;Grand Prix;1966;3;3
|
||||||
|
racy90;Dick Tracy;1990;3;7
|
||||||
|
rank59;The Diary of Anne Frank;1959;3;8
|
||||||
|
rash05;Crash;2005;3;6
|
||||||
|
Reds81;Reds;1981;3;12
|
||||||
|
reek64;Zorba the Greek;1964;3;7
|
||||||
|
reet47;Miracle on 34th Street;1947;3;4
|
||||||
|
ress49;The Heiress;1949;4;8
|
||||||
|
rial82;E.T.: The Extra-Terrestrial;1982;4;9
|
||||||
|
rica85;Out of Africa;1985;7;11
|
||||||
|
Ring01;The Lord of the Rings: The Fellowship of the Ring;2001;4;13
|
||||||
|
rise27;Sunrise;1927;3;4
|
||||||
|
rmer35;The Informer;1935;4;6
|
||||||
|
Road15;Mad Max: Fury Road;2015;6;10
|
||||||
|
ront54;On the Waterfront;1954;8;12
|
||||||
|
Roof71;Fiddler on the Roof;1971;3;8
|
||||||
|
rron31;Cimarron;1931;3;7
|
||||||
|
rted06;The Departed;2006;4;5
|
||||||
|
ruck87;Moonstruck;1987;3;6
|
||||||
|
Ryan98;Saving Private Ryan;1998;5;11
|
||||||
|
sire51;A Streetcar Named Desire;1951;4;12
|
||||||
|
sons66;A Man for All Seasons;1966;6;8
|
||||||
|
sons88;Dangerous Liaisons;1988;3;7
|
||||||
|
Sun51;A Place in the Sun;1951;6;9
|
||||||
|
t II74;The Godfather Part II;1974;6;11
|
||||||
|
tain05;Brokeback Mountain;2005;3;8
|
||||||
|
ters86;Hannah and Her Sisters;1986;3;7
|
||||||
|
Tess80;Tess;1980;3;6
|
||||||
|
teur36;The Story of Louis Pasteur;1936;3;4
|
||||||
|
ther72;The Godfather;1972;3;10
|
||||||
|
ting73;The Sting;1973;7;10
|
||||||
|
tion10;Inception;2010;4;8
|
||||||
|
tion71;The French Connection;1971;5;8
|
||||||
|
tist11;The Artist;2011;5;10
|
||||||
|
toon86;Platoon;1986;4;8
|
||||||
|
tory61;West Side Story;1961;10;11
|
||||||
|
trix99;The Matrix;1999;4;4
|
||||||
|
tton08;The Curious Case of Benjamin Button;2008;3;13
|
||||||
|
tton70;Patton;1970;7;10
|
||||||
|
ttoo55;The Rose Tattoo;1955;3;8
|
||||||
|
tuff83;The Right Stuff;1983;4;8
|
||||||
|
ulia77;Julia;1977;3;11
|
||||||
|
usic65;The Sound of Music;1965;5;10
|
||||||
|
vago65;Doctor Zhivago;1965;5;10
|
||||||
|
vard50;Sunset Boulevard;1950;3;11
|
||||||
|
ver!68;Oliver!;1968;5;11
|
||||||
|
View86;A Room with a View;1986;3;8
|
||||||
|
vity13;Gravity;2013;7;10
|
||||||
|
Wars77;Star Wars;1977;6;10
|
||||||
|
wboy69;Midnight Cowboy;1969;3;7
|
||||||
|
Wind39;Gone with the Wind;1939;8;13
|
||||||
|
work10;The Social Network;2010;3;8
|
||||||
|
work76;Network;1976;4;10
|
||||||
|
Zola37;The Life of Emile Zola;1937;3;10
|
||||||
|
9699;Avatar;2020;5;5
|
||||||
|
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
8069502011d0681850e57a53d5a1673222f430a6
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe.config
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.pdb
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Form1.resources
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Properties.Resources.resources
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.GenerateResource.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.exe
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240527\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
20240603/Feladat.pdf
Normal file
BIN
20240603/Feladat.pdf
Normal file
Binary file not shown.
BIN
20240603/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo
Normal file
BIN
20240603/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo
Normal file
Binary file not shown.
25
20240603/WindowsFormsApp1/WindowsFormsApp1.sln
Normal file
25
20240603/WindowsFormsApp1/WindowsFormsApp1.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.34729.46
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApp1", "WindowsFormsApp1\WindowsFormsApp1.csproj", "{3BBA8D35-4251-430B-A103-BF85E8EA8731}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{3BBA8D35-4251-430B-A103-BF85E8EA8731}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{3BBA8D35-4251-430B-A103-BF85E8EA8731}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{3BBA8D35-4251-430B-A103-BF85E8EA8731}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{3BBA8D35-4251-430B-A103-BF85E8EA8731}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {E914A7CA-8706-410E-A47B-33149094F64E}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
6
20240603/WindowsFormsApp1/WindowsFormsApp1/App.config
Normal file
6
20240603/WindowsFormsApp1/WindowsFormsApp1/App.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
187
20240603/WindowsFormsApp1/WindowsFormsApp1/Form1.Designer.cs
generated
Normal file
187
20240603/WindowsFormsApp1/WindowsFormsApp1/Form1.Designer.cs
generated
Normal file
@@ -0,0 +1,187 @@
|
|||||||
|
|
||||||
|
namespace WindowsFormsApp1
|
||||||
|
{
|
||||||
|
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.listBox1 = new System.Windows.Forms.ListBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBox4 = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBox5 = new System.Windows.Forms.TextBox();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// listBox1
|
||||||
|
//
|
||||||
|
this.listBox1.FormattingEnabled = true;
|
||||||
|
this.listBox1.Location = new System.Drawing.Point(385, 57);
|
||||||
|
this.listBox1.Name = "listBox1";
|
||||||
|
this.listBox1.Size = new System.Drawing.Size(403, 381);
|
||||||
|
this.listBox1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(21, 25);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(27, 13);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "Név";
|
||||||
|
this.label1.Click += new System.EventHandler(this.label1_Click);
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(112, 18);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(233, 20);
|
||||||
|
this.textBox1.TabIndex = 2;
|
||||||
|
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(21, 71);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(41, 13);
|
||||||
|
this.label2.TabIndex = 3;
|
||||||
|
this.label2.Text = "Osztály";
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(21, 130);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(48, 13);
|
||||||
|
this.label3.TabIndex = 4;
|
||||||
|
this.label3.Text = "Első nap";
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.Location = new System.Drawing.Point(21, 186);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(58, 13);
|
||||||
|
this.label4.TabIndex = 5;
|
||||||
|
this.label4.Text = "Utolsó nap";
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.Location = new System.Drawing.Point(21, 240);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(79, 13);
|
||||||
|
this.label5.TabIndex = 6;
|
||||||
|
this.label5.Text = "Mulasztott órák";
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(112, 296);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(233, 40);
|
||||||
|
this.button1.TabIndex = 7;
|
||||||
|
this.button1.Text = "Hiányzás rögzítése";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// textBox2
|
||||||
|
//
|
||||||
|
this.textBox2.Location = new System.Drawing.Point(112, 71);
|
||||||
|
this.textBox2.Name = "textBox2";
|
||||||
|
this.textBox2.Size = new System.Drawing.Size(233, 20);
|
||||||
|
this.textBox2.TabIndex = 8;
|
||||||
|
//
|
||||||
|
// textBox3
|
||||||
|
//
|
||||||
|
this.textBox3.Location = new System.Drawing.Point(112, 130);
|
||||||
|
this.textBox3.Name = "textBox3";
|
||||||
|
this.textBox3.Size = new System.Drawing.Size(233, 20);
|
||||||
|
this.textBox3.TabIndex = 9;
|
||||||
|
//
|
||||||
|
// textBox4
|
||||||
|
//
|
||||||
|
this.textBox4.Location = new System.Drawing.Point(112, 183);
|
||||||
|
this.textBox4.Name = "textBox4";
|
||||||
|
this.textBox4.Size = new System.Drawing.Size(233, 20);
|
||||||
|
this.textBox4.TabIndex = 10;
|
||||||
|
//
|
||||||
|
// textBox5
|
||||||
|
//
|
||||||
|
this.textBox5.Location = new System.Drawing.Point(112, 237);
|
||||||
|
this.textBox5.Name = "textBox5";
|
||||||
|
this.textBox5.Size = new System.Drawing.Size(233, 20);
|
||||||
|
this.textBox5.TabIndex = 11;
|
||||||
|
//
|
||||||
|
// Form1
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.textBox5);
|
||||||
|
this.Controls.Add(this.textBox4);
|
||||||
|
this.Controls.Add(this.textBox3);
|
||||||
|
this.Controls.Add(this.textBox2);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.label5);
|
||||||
|
this.Controls.Add(this.label4);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.listBox1);
|
||||||
|
this.Name = "Form1";
|
||||||
|
this.Text = "Form1";
|
||||||
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.ListBox listBox1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.TextBox textBox2;
|
||||||
|
private System.Windows.Forms.TextBox textBox3;
|
||||||
|
private System.Windows.Forms.TextBox textBox4;
|
||||||
|
private System.Windows.Forms.TextBox textBox5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
145
20240603/WindowsFormsApp1/WindowsFormsApp1/Form1.cs
Normal file
145
20240603/WindowsFormsApp1/WindowsFormsApp1/Form1.cs
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
|
namespace WindowsFormsApp1
|
||||||
|
{
|
||||||
|
public partial class Form1 : Form
|
||||||
|
{
|
||||||
|
public Form1()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
FileRead();
|
||||||
|
ListBoxFill();
|
||||||
|
}
|
||||||
|
|
||||||
|
void FileRead()
|
||||||
|
{
|
||||||
|
string path = @"C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\szeptember.csv";
|
||||||
|
FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read);
|
||||||
|
StreamReader streamReader = new StreamReader(fileStream);
|
||||||
|
|
||||||
|
string line = streamReader.ReadLine();
|
||||||
|
Data.header = line.Split(';');
|
||||||
|
line = streamReader.ReadLine();
|
||||||
|
while (line != null)
|
||||||
|
{
|
||||||
|
string[] datas = line.Split(';');
|
||||||
|
int elso = Convert.ToInt32(datas[2]);
|
||||||
|
int utolso = Convert.ToInt32(datas[3]);
|
||||||
|
int mulasztott = Convert.ToInt32(datas[4]);
|
||||||
|
|
||||||
|
Tanulo diak = new Tanulo(datas[0], datas[1], elso, utolso, mulasztott);
|
||||||
|
Data.tanulok.Add(diak);
|
||||||
|
line = streamReader.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
streamReader.Close();
|
||||||
|
fileStream.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListBoxFill()
|
||||||
|
{
|
||||||
|
string header = $"{Data.header[0]}\t\t{Data.header[1]}\t{Data.header[2]}\t{Data.header[3]}\t{Data.header[4]}";
|
||||||
|
listBox1.Items.Add(header);
|
||||||
|
foreach (var item in Data.tanulok)
|
||||||
|
{
|
||||||
|
string pattern = $"{item.nev}\t{item.osztaly}\t{item.elso}\t{item.utolso}\t\t{item.mulasztott}";
|
||||||
|
listBox1.Items.Add(pattern);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void label1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void textBox1_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (IsNotEmpty())
|
||||||
|
{
|
||||||
|
int elso, utolso, mulasztas;
|
||||||
|
if (int.TryParse(textBox3.Text, out elso) && int.TryParse(textBox4.Text, out utolso) && int.TryParse(textBox5.Text, out mulasztas))
|
||||||
|
{
|
||||||
|
if (elso > 0 && utolso < 32 && utolso > 0 && elso < 32 && utolso > elso)
|
||||||
|
{
|
||||||
|
Tanulo diak = new Tanulo(textBox1.Text, textBox2.Text, elso, utolso, mulasztas);
|
||||||
|
Data.tanulok.Add(diak);
|
||||||
|
|
||||||
|
string path = @"C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\szeptember.csv";
|
||||||
|
string addedline = $"{diak.nev};{diak.osztaly};{diak.elso};{diak.utolso};{diak.mulasztott}";
|
||||||
|
using (StreamWriter streamWriter = File.AppendText(path))
|
||||||
|
{
|
||||||
|
streamWriter.WriteLine(addedline);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
MessageBox.Show("Az adatot sikeresen rögzítettük.");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBox.Show("Az utolsó nap nagyobb legyen mint az első!");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBox.Show("Hiba. Kérem a mezőkbe a megfelelő adatot szolgáltasson!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBox.Show("Hiba. Valamelyik mezőt nem töltötte ki.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool IsNotEmpty()
|
||||||
|
{
|
||||||
|
if (textBox1.Text != "" && textBox2.Text != "" && textBox3.Text != "" && textBox4.Text != "" && textBox5.Text != "")
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Data
|
||||||
|
{
|
||||||
|
public static List<Tanulo> tanulok = new List<Tanulo>();
|
||||||
|
public static string[] header;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Tanulo
|
||||||
|
{
|
||||||
|
public string nev;
|
||||||
|
public string osztaly;
|
||||||
|
public int elso;
|
||||||
|
public int utolso;
|
||||||
|
public int mulasztott;
|
||||||
|
|
||||||
|
public Tanulo(string nev, string osztaly, int elso, int utolso, int mulasztott)
|
||||||
|
{
|
||||||
|
this.nev = nev;
|
||||||
|
this.osztaly = osztaly;
|
||||||
|
this.elso = elso;
|
||||||
|
this.utolso = utolso;
|
||||||
|
this.mulasztott = mulasztott;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
20240603/WindowsFormsApp1/WindowsFormsApp1/Form1.resx
Normal file
120
20240603/WindowsFormsApp1/WindowsFormsApp1/Form1.resx
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
22
20240603/WindowsFormsApp1/WindowsFormsApp1/Program.cs
Normal file
22
20240603/WindowsFormsApp1/WindowsFormsApp1/Program.cs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace WindowsFormsApp1
|
||||||
|
{
|
||||||
|
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());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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("WindowsFormsApp1")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("WindowsFormsApp1")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2024")]
|
||||||
|
[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("3bba8d35-4251-430b-a103-bf85e8ea8731")]
|
||||||
|
|
||||||
|
// 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")]
|
||||||
70
20240603/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.Designer.cs
generated
Normal file
70
20240603/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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 WindowsFormsApp1.Properties
|
||||||
|
{
|
||||||
|
/// <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", "4.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 ((resourceMan == null))
|
||||||
|
{
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApp1.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,117 @@
|
|||||||
|
<?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.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: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" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</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" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
29
20240603/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.Designer.cs
generated
Normal file
29
20240603/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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 WindowsFormsApp1.Properties
|
||||||
|
{
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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>
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{3BBA8D35-4251-430B-A103-BF85E8EA8731}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>WindowsFormsApp1</RootNamespace>
|
||||||
|
<AssemblyName>WindowsFormsApp1</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Form1.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form1.Designer.cs">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<EmbeddedResource Include="Form1.resx">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
Binary file not shown.
@@ -0,0 +1,102 @@
|
|||||||
|
Név;Osztály;Első nap;Utolsó nap;Mulasztott órák
|
||||||
|
Balogh Péter;6a;1;1;5
|
||||||
|
Horváth Judit;5a;1;1;5
|
||||||
|
Juhász János;6a;1;1;5
|
||||||
|
Lengyel Krisztina;6b;1;1;6
|
||||||
|
Török Béla;3b;1;1;6
|
||||||
|
László Péter;4b;1;1;6
|
||||||
|
Török Béla;3b;4;4;6
|
||||||
|
László Péter;4b;4;4;5
|
||||||
|
Magyar Nóra;8a;4;4;6
|
||||||
|
Nagy András;5b;4;4;5
|
||||||
|
Gyüre István;8b;5;5;6
|
||||||
|
Kiss Tamás;3b;5;5;5
|
||||||
|
Nagy Eszter;5b;5;5;6
|
||||||
|
Tóth Ádám;7b;5;5;5
|
||||||
|
Arnóczki István;4a;6;6;6
|
||||||
|
Gyüre István;8b;6;6;6
|
||||||
|
Kiss Tamás;3b;6;6;5
|
||||||
|
Szabó Dalma;7a;6;6;6
|
||||||
|
Bakajsza Ferenc;3a;7;7;6
|
||||||
|
Lippai Tibor;3b;7;7;5
|
||||||
|
Tóth Tibor;4b;7;7;5
|
||||||
|
Balogh József;8a;8;8;5
|
||||||
|
Barabás Attila;8b;8;8;7
|
||||||
|
Hamza Dezső;1a;8;8;5
|
||||||
|
Szilágyi Tibor;8b;8;8;5
|
||||||
|
Fehér Virág;1a;11;11;6
|
||||||
|
Kis Katalin;8a;11;11;7
|
||||||
|
Kovács Imre;2a;11;11;6
|
||||||
|
Novák Sándor;1b;11;11;5
|
||||||
|
Tirpák Ferenc;2b;11;11;5
|
||||||
|
Arnóczki István;4a;12;12;6
|
||||||
|
Bakajsza Ferenc;3a;12;12;6
|
||||||
|
Lippai Tibor;3b;12;12;5
|
||||||
|
Nagy Emese;5a;12;12;6
|
||||||
|
Tóth Tibor;4b;12;12;5
|
||||||
|
Magyari Ildikó;6b;14;14;5
|
||||||
|
Sajtos Enikő;6a;14;14;6
|
||||||
|
Soltész Anna;5b;14;14;5
|
||||||
|
Bodnár Tímea;6a;15;15;6
|
||||||
|
Csimbók Ernő;7b;15;15;5
|
||||||
|
Kropkó Áron;7a;15;15;5
|
||||||
|
Németh Anna;8a;15;15;7
|
||||||
|
Balogh József;8a;18;18;5
|
||||||
|
Barabás Attila;8b;18;18;7
|
||||||
|
Hamza Dezső;1a;18;18;4
|
||||||
|
Horváth Gergely;1b;18;18;5
|
||||||
|
Szilágyi Tibor;8b;18;18;5
|
||||||
|
Fekete Viktória;3a;19;19;5
|
||||||
|
Fekete Zsolt;4a;19;19;5
|
||||||
|
Fodor Éva;4a;19;19;6
|
||||||
|
Hegedűs Andrea;6b;19;19;6
|
||||||
|
Katona Ágnes;7b;19;19;7
|
||||||
|
Lukács Eszter;5a;19;19;5
|
||||||
|
Nagy Mihály;6b;19;19;6
|
||||||
|
Pintér Ferenc;3a;19;19;5
|
||||||
|
Szilágyi Ildikó;3a;19;19;6
|
||||||
|
Török Viktória;6a;19;19;5
|
||||||
|
Lengyel Krisztina;6b;20;20;5
|
||||||
|
Nagy Emese;5a;20;20;5
|
||||||
|
Soltész Anna;5b;20;20;6
|
||||||
|
Barabás Attila;8b;21;21;5
|
||||||
|
Barna Mátyás;8b;21;21;6
|
||||||
|
Szilágyi Ildikó;3a;21;21;5
|
||||||
|
Barna Mátyás;8b;22;22;7
|
||||||
|
Bogdán Anna;5b;22;22;6
|
||||||
|
Márta Ádám;8b;22;22;6
|
||||||
|
Somogyi Dániel;5a;22;22;5
|
||||||
|
Balla Rajmund;2b;25;25;5
|
||||||
|
Budai Csab;6b;25;25;6
|
||||||
|
Molnár Hanna;4a;25;25;6
|
||||||
|
Németh Gergely;7a;25;25;7
|
||||||
|
Novák Donát;5a;25;25;5
|
||||||
|
Soós Csenge;4a;25;25;6
|
||||||
|
Szilágyi Tibor;8b;25;25;5
|
||||||
|
Balla Rajmund;2b;26;26;5
|
||||||
|
Katona Ágnes;7b;26;26;5
|
||||||
|
Kis Katalin;8a;26;26;6
|
||||||
|
Lakatos Viktória;3a;26;26;6
|
||||||
|
Szilágyi Ildikó;3a;26;26;5
|
||||||
|
Török Viktória;6a;26;26;5
|
||||||
|
Vörös Ágnes;4b;26;26;5
|
||||||
|
Balla Rajmund;2b;27;27;4
|
||||||
|
Borbély Csaba;2b;27;27;5
|
||||||
|
Farkas Nándor;6a;27;27;6
|
||||||
|
Fekete Noel;3a;27;27;5
|
||||||
|
Halász Jakab;3b;27;27;6
|
||||||
|
Kelemen Béla;4a;27;27;6
|
||||||
|
Kozma Viktor;5a;27;27;5
|
||||||
|
Molnár Hanna;4a;27;27;6
|
||||||
|
Tamás Klaudia;4b;27;27;5
|
||||||
|
Dobos Benedek;8a;28;28;6
|
||||||
|
Gulyás Veronika;4b;28;28;5
|
||||||
|
Katona Ágnes;7b;28;28;6
|
||||||
|
Márton Blanka;8b;28;28;5
|
||||||
|
Miksa Fruzsina;2b;28;28;5
|
||||||
|
Szekeres Márió;2b;28;28;4
|
||||||
|
Kocsis Panna;7a;29;29;5
|
||||||
|
Molnár Hanna;4a;29;29;5
|
||||||
|
Szilágyi Ildikó;3a;29;29;5
|
||||||
|
Török Adél;2a;29;29;6
|
||||||
|
Szabó Márton;12B;1;25;6
|
||||||
|
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
8069502011d0681850e57a53d5a1673222f430a6
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe.config
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.pdb
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Form1.resources
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Properties.Resources.resources
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.GenerateResource.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.exe
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240603\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
20240904/ConsoleApp1/.vs/ConsoleApp1/v17/.suo
Normal file
BIN
20240904/ConsoleApp1/.vs/ConsoleApp1/v17/.suo
Normal file
Binary file not shown.
6
20240904/ConsoleApp1/App.config
Normal file
6
20240904/ConsoleApp1/App.config
Normal 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>
|
||||||
53
20240904/ConsoleApp1/ConsoleApp1.csproj
Normal file
53
20240904/ConsoleApp1/ConsoleApp1.csproj
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{A3C42417-ACFF-40C0-9195-7287F201E9F6}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||||
|
<AssemblyName>ConsoleApp1</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
25
20240904/ConsoleApp1/ConsoleApp1.sln
Normal file
25
20240904/ConsoleApp1/ConsoleApp1.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.8.34408.163
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{A3C42417-ACFF-40C0-9195-7287F201E9F6}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{A3C42417-ACFF-40C0-9195-7287F201E9F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{A3C42417-ACFF-40C0-9195-7287F201E9F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{A3C42417-ACFF-40C0-9195-7287F201E9F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{A3C42417-ACFF-40C0-9195-7287F201E9F6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {130F6D27-01E8-4FAB-B8E4-4EC359F9BB1B}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
159
20240904/ConsoleApp1/Program.cs
Normal file
159
20240904/ConsoleApp1/Program.cs
Normal file
@@ -0,0 +1,159 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.IO;
|
||||||
|
using System.Security.Permissions;
|
||||||
|
|
||||||
|
namespace ConsoleApp1
|
||||||
|
{
|
||||||
|
internal class Program
|
||||||
|
{
|
||||||
|
static void Main(string[] args)
|
||||||
|
{
|
||||||
|
DataRead();
|
||||||
|
|
||||||
|
int num = Feladat3();
|
||||||
|
Console.WriteLine(num);
|
||||||
|
|
||||||
|
|
||||||
|
int nepsuruseg = Feladat4();
|
||||||
|
Console.WriteLine(nepsuruseg);
|
||||||
|
|
||||||
|
int kinatobbmintindiaaaaa = Feladat5();
|
||||||
|
Console.WriteLine(kinatobbmintindiaaaaa);
|
||||||
|
|
||||||
|
string harmadik = Feladat6();
|
||||||
|
Console.WriteLine(harmadik);
|
||||||
|
|
||||||
|
Feladat7();
|
||||||
|
|
||||||
|
Console.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void DataRead()
|
||||||
|
{
|
||||||
|
string path = "adatok-utf8.txt";
|
||||||
|
FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read);
|
||||||
|
StreamReader streamReader = new StreamReader(fileStream);
|
||||||
|
|
||||||
|
string line = streamReader.ReadLine();
|
||||||
|
line = streamReader.ReadLine();
|
||||||
|
|
||||||
|
while (line != null)
|
||||||
|
{
|
||||||
|
string[] datas = line.Split(';');
|
||||||
|
string orszagnev = datas[0];
|
||||||
|
int terulet = Convert.ToInt32(datas[1]);
|
||||||
|
string nepesseg = datas[2];
|
||||||
|
|
||||||
|
int Nepesseg;
|
||||||
|
bool IsNumber = Int32.TryParse(nepesseg, out Nepesseg);
|
||||||
|
if (!IsNumber)
|
||||||
|
{
|
||||||
|
string asd = nepesseg.Replace("g", "0000");
|
||||||
|
Nepesseg = Convert.ToInt32(asd);
|
||||||
|
}
|
||||||
|
|
||||||
|
int fovarosNepesseg = Convert.ToInt32(datas[4]);
|
||||||
|
|
||||||
|
Orszag orszag = new Orszag(orszagnev, terulet, Nepesseg, datas[3], fovarosNepesseg);
|
||||||
|
|
||||||
|
Data.orszagok.Add(orszag);
|
||||||
|
|
||||||
|
line = streamReader.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
streamReader.Close();
|
||||||
|
fileStream.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static int Feladat3()
|
||||||
|
{
|
||||||
|
return Data.orszagok.Count;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int FindCountry(string country) {
|
||||||
|
int i = 0;
|
||||||
|
while (Data.orszagok[i].Orszagnev != country && i <= Data.orszagok.Count)
|
||||||
|
{
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
public static int Feladat4() {
|
||||||
|
int a = FindCountry("Kína");
|
||||||
|
|
||||||
|
return Data.orszagok[a].Nepesseg / Data.orszagok[a].Terulet;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int Feladat5() {
|
||||||
|
int india = FindCountry("India");
|
||||||
|
int kina = FindCountry("Kína");
|
||||||
|
|
||||||
|
return Data.orszagok[kina].Nepesseg - Data.orszagok[india].Nepesseg;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string Feladat6()
|
||||||
|
{
|
||||||
|
List<Orszag> asd = Data.orszagok.OrderBy(x => x.Nepesseg).ToList();
|
||||||
|
|
||||||
|
return asd[asd.Count - 3].Orszagnev;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static void Feladat7()
|
||||||
|
{
|
||||||
|
foreach (var item in Data.orszagok)
|
||||||
|
{
|
||||||
|
if (item.FovarosiKoncentracio)
|
||||||
|
{
|
||||||
|
Console.WriteLine($"{item.Orszagnev}, {item.Fovaros}");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static class Data
|
||||||
|
{
|
||||||
|
public static List<Orszag> orszagok = new List<Orszag>();
|
||||||
|
}
|
||||||
|
public class Orszag
|
||||||
|
{
|
||||||
|
public string Orszagnev { get; private set; }
|
||||||
|
public int Terulet { get; private set; }
|
||||||
|
public int Nepesseg { get; private set; }
|
||||||
|
public string Fovaros { get; private set; }
|
||||||
|
public int FovarosNepesseg { get; private set; }
|
||||||
|
public bool FovarosiKoncentracio { get; private set; }
|
||||||
|
|
||||||
|
public Orszag(string orszagnev, int terulet, int nepesseg, string fovaros, int fovarosNepesseg)
|
||||||
|
{
|
||||||
|
Orszagnev = orszagnev;
|
||||||
|
Terulet = terulet;
|
||||||
|
Nepesseg = nepesseg;
|
||||||
|
Fovaros = fovaros;
|
||||||
|
FovarosNepesseg = fovarosNepesseg * 1000;
|
||||||
|
|
||||||
|
FovarosiKoncentracio = KoncentraltFovaros(FovarosNepesseg, Nepesseg);
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool KoncentraltFovaros(int fovarosNepesseg, int nepesseg)
|
||||||
|
{
|
||||||
|
if (fovarosNepesseg >= nepesseg * 0.3)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
36
20240904/ConsoleApp1/Properties/AssemblyInfo.cs
Normal file
36
20240904/ConsoleApp1/Properties/AssemblyInfo.cs
Normal 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("ConsoleApp1")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("ConsoleApp1")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2024")]
|
||||||
|
[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("a3c42417-acff-40c0-9195-7287f201e9f6")]
|
||||||
|
|
||||||
|
// 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")]
|
||||||
BIN
20240904/ConsoleApp1/bin/Debug/ConsoleApp1.exe
Normal file
BIN
20240904/ConsoleApp1/bin/Debug/ConsoleApp1.exe
Normal file
Binary file not shown.
6
20240904/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config
Normal file
6
20240904/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config
Normal 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>
|
||||||
BIN
20240904/ConsoleApp1/bin/Debug/ConsoleApp1.pdb
Normal file
BIN
20240904/ConsoleApp1/bin/Debug/ConsoleApp1.pdb
Normal file
Binary file not shown.
50
20240904/ConsoleApp1/bin/Debug/adatok-utf8.txt
Normal file
50
20240904/ConsoleApp1/bin/Debug/adatok-utf8.txt
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
Ország;Terület;Népesség;Főváros;Főváros népessége
|
||||||
|
Görögország;132000;1064g;Athén;3154
|
||||||
|
Románia;238400;1912g;Bukarest;1812
|
||||||
|
Ausztria;83900;8960000;Bécs;1915
|
||||||
|
Lengyelország;312700;3775g;Varsó;1776
|
||||||
|
Belgium;30500;11590000;Brüsszel;2065
|
||||||
|
Bulgária;110400;6880000;Szófia;1277
|
||||||
|
Ciprus;9300;900000;Nicosia;270
|
||||||
|
Csehország;78900;10510000;Prága;1299
|
||||||
|
Dánia;42900;5860000;Koppenhága;1334
|
||||||
|
Észtország;45400;1330000;Tallinn;441
|
||||||
|
Finnország;336900;5540000;Helsinki;1292
|
||||||
|
Franciaország;551500;67750000;Párizs;10958
|
||||||
|
Hollandia;41500;17530000;Amszterdam;1140
|
||||||
|
Horvátország;56600;3960000;Zágráb;685
|
||||||
|
Írország;69800;5030000;Dublin;1215
|
||||||
|
Lettország;64600;1880000;Riga;634
|
||||||
|
Litvánia;65300;2800000;Vilnius;538
|
||||||
|
Luxemburg;2600;640000;Luxembourg;120
|
||||||
|
Magyarország;93000;9710000;Budapest;1764
|
||||||
|
Málta;300;520000;Valletta;213
|
||||||
|
Németország;357600;83200000;Berlin;3557
|
||||||
|
Olaszország;302100;59110000;Róma;4234
|
||||||
|
Portugália;92200;10330000;Lisszabon;2942
|
||||||
|
Spanyolország;506000;47420000;Madrid;6559
|
||||||
|
Svédország;438600;10420000;Stockholm;1608
|
||||||
|
Szlovákia;49000;5450000;Pozsony;433
|
||||||
|
Szlovénia;20300;2110000;Ljubljana;287
|
||||||
|
Egyesült Királyság;244400;67330000;London;9177
|
||||||
|
Izland;103000;370000;Reykjavík;216
|
||||||
|
Észak-Macedónia;25700;1950000;Szkopje;590
|
||||||
|
Montenegró;13900;620000;Podgorica;177
|
||||||
|
Norvégia;323800;5410000;Osló;1027
|
||||||
|
Oroszország;17098200;143450000;Moszkva;12476
|
||||||
|
Svájc;41300;8700000;Bern;426
|
||||||
|
Szerbia;88400;6830000;Belgrád;1394
|
||||||
|
Törökország;783600;84150000;Ankara;5018
|
||||||
|
India;3287300;1393410000;Új-Delhi;29399
|
||||||
|
Izrael;22100;9360000;Jeruzsálem;919
|
||||||
|
Japán;377900;125680000;Tokió;37435
|
||||||
|
Kína;9600000;1412360000;Peking;20036
|
||||||
|
Koreai Köztársaság;100400;51740000;Szöul;9962
|
||||||
|
Dél-afrikai Köztársaság;1221000;60040000;Pretoriap;2473
|
||||||
|
Egyiptom;1002000;104260000;Kairó;20485
|
||||||
|
Brazília;8510300;213990000;Brasilia;4559
|
||||||
|
Egyesült Államok;9833500;331890000;Washington, D.C.;5265
|
||||||
|
Kanada;9984700;38250000;Ottawa;1378
|
||||||
|
Mexikó;1964400;130260000;Mexikóváros;21672
|
||||||
|
Ausztrália;7692000;25740000;Canberra;453
|
||||||
|
Új-Zéland;268100;5120000;Wellington;413
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
25f359d3fd7d560a1dec87ab383b84f91627954af157e6d29c6e8f4a1e97b265
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20240904\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||||
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20240904\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||||
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20240904\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||||
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20240904\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||||
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20240904\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||||
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20240904\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||||
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20240904\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||||
BIN
20240904/ConsoleApp1/obj/Debug/ConsoleApp1.exe
Normal file
BIN
20240904/ConsoleApp1/obj/Debug/ConsoleApp1.exe
Normal file
Binary file not shown.
BIN
20240904/ConsoleApp1/obj/Debug/ConsoleApp1.pdb
Normal file
BIN
20240904/ConsoleApp1/obj/Debug/ConsoleApp1.pdb
Normal file
Binary file not shown.
Binary file not shown.
BIN
20240904/Gyakorlás.pdf
Normal file
BIN
20240904/Gyakorlás.pdf
Normal file
Binary file not shown.
50
20240904/adatok-utf8.txt
Normal file
50
20240904/adatok-utf8.txt
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
Ország;Terület;Népesség;Főváros;Főváros népessége
|
||||||
|
Görögország;132000;1064g;Athén;3154
|
||||||
|
Románia;238400;1912g;Bukarest;1812
|
||||||
|
Ausztria;83900;8960000;Bécs;1915
|
||||||
|
Lengyelország;312700;3775g;Varsó;1776
|
||||||
|
Belgium;30500;11590000;Brüsszel;2065
|
||||||
|
Bulgária;110400;6880000;Szófia;1277
|
||||||
|
Ciprus;9300;900000;Nicosia;270
|
||||||
|
Csehország;78900;10510000;Prága;1299
|
||||||
|
Dánia;42900;5860000;Koppenhága;1334
|
||||||
|
Észtország;45400;1330000;Tallinn;441
|
||||||
|
Finnország;336900;5540000;Helsinki;1292
|
||||||
|
Franciaország;551500;67750000;Párizs;10958
|
||||||
|
Hollandia;41500;17530000;Amszterdam;1140
|
||||||
|
Horvátország;56600;3960000;Zágráb;685
|
||||||
|
Írország;69800;5030000;Dublin;1215
|
||||||
|
Lettország;64600;1880000;Riga;634
|
||||||
|
Litvánia;65300;2800000;Vilnius;538
|
||||||
|
Luxemburg;2600;640000;Luxembourg;120
|
||||||
|
Magyarország;93000;9710000;Budapest;1764
|
||||||
|
Málta;300;520000;Valletta;213
|
||||||
|
Németország;357600;83200000;Berlin;3557
|
||||||
|
Olaszország;302100;59110000;Róma;4234
|
||||||
|
Portugália;92200;10330000;Lisszabon;2942
|
||||||
|
Spanyolország;506000;47420000;Madrid;6559
|
||||||
|
Svédország;438600;10420000;Stockholm;1608
|
||||||
|
Szlovákia;49000;5450000;Pozsony;433
|
||||||
|
Szlovénia;20300;2110000;Ljubljana;287
|
||||||
|
Egyesült Királyság;244400;67330000;London;9177
|
||||||
|
Izland;103000;370000;Reykjavík;216
|
||||||
|
Észak-Macedónia;25700;1950000;Szkopje;590
|
||||||
|
Montenegró;13900;620000;Podgorica;177
|
||||||
|
Norvégia;323800;5410000;Osló;1027
|
||||||
|
Oroszország;17098200;143450000;Moszkva;12476
|
||||||
|
Svájc;41300;8700000;Bern;426
|
||||||
|
Szerbia;88400;6830000;Belgrád;1394
|
||||||
|
Törökország;783600;84150000;Ankara;5018
|
||||||
|
India;3287300;1393410000;Új-Delhi;29399
|
||||||
|
Izrael;22100;9360000;Jeruzsálem;919
|
||||||
|
Japán;377900;125680000;Tokió;37435
|
||||||
|
Kína;9600000;1412360000;Peking;20036
|
||||||
|
Koreai Köztársaság;100400;51740000;Szöul;9962
|
||||||
|
Dél-afrikai Köztársaság;1221000;60040000;Pretoriap;2473
|
||||||
|
Egyiptom;1002000;104260000;Kairó;20485
|
||||||
|
Brazília;8510300;213990000;Brasilia;4559
|
||||||
|
Egyesült Államok;9833500;331890000;Washington, D.C.;5265
|
||||||
|
Kanada;9984700;38250000;Ottawa;1378
|
||||||
|
Mexikó;1964400;130260000;Mexikóváros;21672
|
||||||
|
Ausztrália;7692000;25740000;Canberra;453
|
||||||
|
Új-Zéland;268100;5120000;Wellington;413
|
||||||
28
20240904/csharp.txt
Normal file
28
20240904/csharp.txt
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
class Orszag
|
||||||
|
{
|
||||||
|
public string Orszagnev { get; private set; }
|
||||||
|
public int Terulet { get; private set; }
|
||||||
|
public int Nepesseg { get; private set; }
|
||||||
|
public string Fovaros { get; private set; }
|
||||||
|
public int FovarosNepesseg { get; private set; }
|
||||||
|
|
||||||
|
public Orszag(string orszagnev, int terulet, int nepesseg, string fovaros, int fovarosNepesseg)
|
||||||
|
{
|
||||||
|
Orszagnev = orszagnev;
|
||||||
|
Terulet = terulet;
|
||||||
|
Nepesseg = nepesseg;
|
||||||
|
Fovaros = fovaros;
|
||||||
|
FovarosNepesseg = fovarosNepesseg;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Orszag(string sor)
|
||||||
|
{
|
||||||
|
// Ebben a konstruktorban is elvégezheti az adatsor felbontását!
|
||||||
|
// Ha nem ezt választja, akkor törölje ezt a konstruktort!
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
20240905/ConsoleApp1/.vs/ConsoleApp1/v16/.suo
Normal file
BIN
20240905/ConsoleApp1/.vs/ConsoleApp1/v16/.suo
Normal file
Binary file not shown.
25
20240905/ConsoleApp1/ConsoleApp1.sln
Normal file
25
20240905/ConsoleApp1/ConsoleApp1.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.34729.46
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{230ACBCE-F4C9-441E-976C-3BCA4E6595D5}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{230ACBCE-F4C9-441E-976C-3BCA4E6595D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{230ACBCE-F4C9-441E-976C-3BCA4E6595D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{230ACBCE-F4C9-441E-976C-3BCA4E6595D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{230ACBCE-F4C9-441E-976C-3BCA4E6595D5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {F0D1799E-4A3B-4CC3-95D2-BB9DAE843EDD}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
6
20240905/ConsoleApp1/ConsoleApp1/App.config
Normal file
6
20240905/ConsoleApp1/ConsoleApp1/App.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user