Compare commits

..

71 Commits

Author SHA1 Message Date
szabomarton
63f7dff9c2 added orai 2025-04-10 10:16:36 +02:00
szabomarton
c1a5f01a3a added feladat2 2025-04-10 09:43:54 +02:00
szabomarton
18b6ad86b2 added partial solution 2025-04-02 12:11:05 +02:00
szabomarton
286ea045d5 added összetett feladat 2025-04-02 11:41:34 +02:00
szabomarton
ae3a73d55c removed mobilfejlesztes.md 2025-02-27 09:08:16 +01:00
szabomarton
bbd66b3c1a added mobilfejlesztes 2025-02-26 12:50:26 +01:00
Digi
486f343518 added unit tests 2025-02-22 10:45:14 +01:00
Digi
4644da4212 finished HW #1 2025-02-22 09:59:35 +01:00
szabomarton
3df13eabe6 asd 2025-02-21 11:11:41 +01:00
szabomarton
45866fb212 added HF 2025-02-21 10:44:52 +01:00
Digi
806cec4e0a HF is almost done 2025-02-21 06:58:11 +01:00
szabomarton
5c776bdac7 added doga 2025-02-20 10:16:23 +01:00
Digi
0c13e46d4a finished the console part 2025-02-20 06:55:21 +01:00
szabomarton
2134005486 TODO finish HF 2025-02-19 12:59:05 +01:00
szabomarton
e855b0fa00 uszoverseny done 2025-02-14 11:20:29 +01:00
szabomarton
deb3b3d48f asd 2025-02-13 10:19:22 +01:00
szabomarton
16faf57a92 ads 2025-02-12 12:57:14 +01:00
szabomarton
4134809662 added szoftteszt 2025-01-31 10:40:04 +01:00
szabomarton
0fc2b5f641 asd 2025-01-30 10:20:25 +01:00
szabomarton
21cb07657d Merge branch 'main' of https://git.gszi.edu.hu/szabomarton/ProgaOra 2025-01-29 09:18:15 +01:00
szabomarton
6c466bc3f4 added adatstrukturak 2025-01-29 09:18:00 +01:00
Digi
4593dacbef finished 2025-01-26 16:55:38 +01:00
szabomarton
bf8fe573a3 added solid 2025-01-24 11:21:41 +01:00
szabomarton
bfcd5595b1 added orai 2025-01-23 10:13:31 +01:00
szabomarton
33563aceba added orai 2025-01-22 12:55:57 +01:00
szabomarton
9239fcb71d added solution for Feladatok.pdf 2025-01-16 08:54:39 +01:00
szabomarton
7a859a9aaf asd 2025-01-15 12:55:20 +01:00
szabomarton
553b8ccc94 rekurzio, fibo, faktorialis 2025-01-09 09:20:43 +01:00
szabomarton
1c5c967ccf added orai 2024-12-13 10:44:46 +01:00
szabomarton
306c0efbb7 buborek rendezes 2024-12-12 10:12:57 +01:00
szabomarton
b5ae918593 added hashmap 2024-12-11 12:42:17 +01:00
szabomarton
affd565abf asd 2024-12-06 11:19:07 +01:00
szabomarton
97d51cdc15 hash 2024-12-05 10:15:38 +01:00
szabomarton
0a1a02d48b asd 2024-11-27 12:57:25 +01:00
szabomarton
630904fdf1 added orai 2024-11-22 10:45:16 +01:00
szabomarton
d802eb4b67 added orai 2024-11-21 10:08:03 +01:00
szabomarton
152126ad18 asd 2024-11-15 11:16:13 +01:00
szabomarton
db1b67ebf8 added orai 2024-11-14 09:49:26 +01:00
szabomarton
89f67d62d9 added adatstrukturak 2024-11-13 12:52:21 +01:00
szabomarton
ce936f62c7 asd 2024-11-13 11:43:37 +01:00
szabomarton
a4c2fd505a added doga 2024-11-07 09:49:02 +01:00
Digi
9d05ca3229 added some practice examples 2024-11-07 07:00:00 +01:00
szabomarton
5452d2423b added things 2024-10-24 10:20:01 +02:00
szabomarton
4e53886e57 adde wpf things 2024-10-17 10:01:09 +02:00
szabomarton
39090a199e adde orai 2024-10-16 12:46:08 +02:00
szabomarton
e328bf3c49 added wpf examples 2024-10-11 11:15:01 +02:00
szabomarton
0ff66b2775 added orai 2024-10-10 08:55:10 +02:00
szabomarton
ae4801ec45 added Dolgozat 2024-09-25 13:02:26 +02:00
Digi
6bc4e13d38 finished homework 2024-09-22 12:19:00 +02:00
Digi
bcd8982b11 commit 2 2024-09-22 11:43:22 +02:00
Digi
a3c88b8404 asd 2024-09-22 11:41:32 +02:00
szabomarton
15e2a5bae3 TODO finish 2024-09-20 11:20:21 +02:00
szabomarton
82fc6b674f asd 2024-09-19 10:13:48 +02:00
szabomarton
0c4c5300eb asd 2024-09-18 12:54:45 +02:00
szabomarton
4ea517eedb finished maratonvaltoGUI filed dialog 2024-09-18 12:33:54 +02:00
szabomarton
3e10d7c768 added dolgozat.pdf 2024-09-18 11:42:52 +02:00
szabomarton
fa6e106910 added some linq 2024-09-13 11:19:39 +02:00
szabomarton
a0d873af59 added maratonvalto doga 2024-09-13 08:04:15 +02:00
szabomarton
b62deda57c asd 2024-09-11 12:53:39 +02:00
szabomarton
c59f7fe309 added LINQ 2024-09-11 12:36:39 +02:00
Digi
40d3601e7f finished gyakorlasGUI 2024-09-08 17:31:12 +02:00
Digi
1ac18d6715 Finished gyakorlas (NO GUI) 2024-09-07 11:30:29 +02:00
szabomarton
011436e3de finished feladat8 2024-09-06 11:18:19 +02:00
szabomarton
1bd4104c41 TODO finish 2024-09-06 11:15:44 +02:00
szabomarton
a65445d666 asd 2024-09-06 11:08:29 +02:00
szabomarton
7d37ac1ade added yesterday's work 2024-09-06 09:55:00 +02:00
szabomarton
ee16187e24 Finished HIANYZOK 2024-06-03 13:56:37 +02:00
szabomarton
c45c3d0253 TODO finish 2024-06-03 11:19:11 +02:00
szabomarton
da9bf843d6 almost finished 2024-05-27 13:16:08 +02:00
szabomarton
eeb77e7a81 Merge branch 'main' of http://213.157.112.170:3000/szabomarton/ProgaOra 2024-05-27 11:21:02 +02:00
szabomarton
9929eb2537 TODO finish 2024-05-27 11:20:46 +02:00
3368 changed files with 590504 additions and 0 deletions

83
2.feladat.txt Normal file
View 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

Binary file not shown.

View 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

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

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

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

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("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")]

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

View File

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

View File

@@ -0,0 +1 @@
7f4b213b428f4c013f19137338418ee1f5525793

View File

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

Binary file not shown.

181
20240527/Dolgozat/oscar.csv Normal file
View 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 Misrables;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
1 azon cim ev dij jelol
2 Ark81 Raiders of the Lost Ark 1981 4 8
3 Day91 Terminator 2: Judgment Day 1991 4 6
4 End92 Howards End 1992 3 9
5 Kid69 Butch Cassidy and the Sundance Kid 1969 4 7
6 Man88 Rain Man 1988 4 8
7 Men07 No Country for Old Men 2007 4 8
8 Men49 All the King's Men 1949 3 7
9 Men76 All the President's Men 1976 4 8
10 War02 The Fog of War 2002 6 13
11 Way44 Going My Way 1944 7 10
12 Won63 How the West Was Won 1963 3 8
13 abia62 Lawrence of Arabia 1962 7 10
14 acus60 Spartacus 1960 4 6
15 adre48 The Treasure of the Sierra Madre 1948 3 4
16 agon00 Crouching Tiger, Hidden Dragon 2000 4 10
17 aire08 Slumdog Millionaire 2008 8 10
18 aisy89 Driving Miss Daisy 1989 4 9
19 ambs91 The Silence of the Lambs 1991 5 7
20 amer79 Kramer vs. Kramer 1979 5 9
21 anca43 Casablanca 1943 3 8
22 andy42 Yankee Doodle Dandy 1942 3 8
23 anic97 Titanic 1997 11 14
24 aret72 Cabaret 1972 8 10
25 Argo12 Argo 2012 3 7
26 aris51 An American in Paris 1951 6 8
27 arty55 Marty 1955 4 8
28 atar09 Avatar 2009 3 9
29 ator00 Gladiator 2000 5 12
30 ator04 The Aviator 2004 5 11
31 atra63 Cleopatra 1963 4 9
32 atum07 The Bourne Ultimatum 2007 3 3
33 auty99 American Beauty 1999 5 8
34 aven27 7th Heaven 1927 3 5
35 Baby04 Million Dollar Baby 2004 4 7
36 bbit88 Who Framed Roger Rabbit 1988 3 6
37 bird62 To Kill a Mockingbird 1962 3 8
38 bles12 Les Mis‚rables 2012 3 8
39 cade33 Cavalcade 1933 3 4
40 cago02 Chicago 2002 6 13
41 cker09 The Hurt Locker 2009 6 9
42 Club13 Dallas Buyers Club 2013 3 6
43 cula92 Bram Stoker's Dracula 1992 3 4
44 Days56 Around the World in Eighty Days 1956 5 8
45 der 83 Fanny & Alexander 1983 4 6
46 deus84 Amadeus 1984 8 11
47 dman14 Birdman 2014 4 9
48 eart95 Braveheart 1995 5 10
49 eech10 The King's Speech 2010 4 12
50 elds84 The Killing Fields 1984 3 7
51 elot67 Camelot 1967 3 5
52 erno74 The Towering Inferno 1974 3 8
53 eror87 The Last Emperor 1987 9 9
54 erse36 Anthony Adverse 1936 4 7
55 ette43 The Song of Bernadette 1943 4 12
56 Eve50 All About Eve 1950 6 14
57 f Pi12 Life of Pi 2012 4 11
58 feld36 The Great Ziegfeld 1936 3 7
59 ffic00 Traffic 2000 4 5
60 Fire81 Chariots of Fire 1981 4 7
61 ful 98 Life Is Beautiful 1998 3 7
62 gdad40 The Thief of Bagdad 1940 3 4
63 Gigi58 Gigi 1958 9 9
64 Gump94 Forrest Gump 1994 6 13
65 Hall77 Annie Hall 1977 4 5
66 hing55 Love Is a Many-Splendored Thing 1955 3 8
67 Home78 Coming Home 1978 3 8
68 Hood38 The Adventures of Robin Hood 1938 3 4
69 Hud63 Hud 1963 3 7
70 Hugo11 Hugo 2011 5 11
71 Hur59 Ben-Hur 1959 11 12
72 iano93 The Piano 1993 3 8
73 iday53 Roman Holiday 1953 3 10
74 ient96 The English Patient 1996 9 12
75 iful52 The Bad and the Beautiful 1952 5 6
76 ight16 Moonlight 2016 3 8
77 ight34 It Happened One Night 1934 5 5
78 ight67 In the Heat of the Night 1967 5 7
79 inth06 Pan's Labyrinth 2006 3 6
80 isha05 Memoirs of a Geisha 2005 3 6
81 iven92 Unforgiven 1992 4 9
82 iver42 Mrs. Miniver 1942 6 12
83 ives46 The Best Years of Our Lives 1946 7 8
84 Jaws75 Jaws 1975 3 4
85 Jazz79 All That Jazz 1979 4 9
86 kend45 The Lost Weekend 1945 4 7
87 King03 The Lord of the Rings: The Return of the King 2003 11 11
88 Kong05 King Kong 2005 3 4
89 Kwai57 The Bridge on the River Kwai 1957 7 8
90 Lady64 My Fair Lady 1964 8 12
91 Land16 La La Land 2016 6 14
92 lash14 Whiplash 2014 3 5
93 lave13 12 Years a Slave 2013 3 9
94 ling65 Darling 1965 3 5
95 List93 Schindler's List 1993 7 12
96 lley41 How Green Was My Valley 1941 5 10
97 lory89 Glory 1989 3 5
98 Love98 Shakespeare in Love 1998 7 13
99 lson44 Wilson 1944 5 10
100 lves90 Dances with Wolves 1990 7 12
101 lly!69 Hello, Dolly! 1969 3 7
102 ment47 Gentleman's Agreement 1947 3 8
103 ment60 The Apartment 1960 5 10
104 ment83 Terms of Endearment 1983 5 11
105 Mind01 A Beautiful Mind 2001 4 8
106 mlet48 Hamlet 1948 4 7
107 nant15 The Revenant 2015 3 12
108 nara57 Sayonara 1957 4 10
109 nd I56 The King and I 1956 5 9
110 ndhi82 Gandhi 1982 8 11
111 ndon75 Barry Lyndon 1975 4 7
112 Nest75 One Flew over the Cuckoo's Nest 1975 5 9
113 nist02 The Pianist 2002 3 7
114 nity53 From Here to Eternity 1953 8 13
115 Noon52 High Noon 1952 4 7
116 nter68 The Lion in Winter 1968 3 7
117 nter78 The Deer Hunter 1978 5 9
118 ntry60 Elmer Gantry 1960 3 5
119 ocky76 Rocky 1976 3 10
120 olf?66 Who's Afraid of Virginia Woolf? 1966 5 13
121 ones63 Tom Jones 1963 4 10
122 ople80 Ordinary People 1980 4 6
123 otel14 The Grand Budapest Hotel 2014 4 9
124 Park93 Jurassic Park 1993 3 3
125 pins64 Mary Poppins 1964 5 13
126 Pond81 On Golden Pond 1981 3 10
127 Prix66 Grand Prix 1966 3 3
128 racy90 Dick Tracy 1990 3 7
129 rank59 The Diary of Anne Frank 1959 3 8
130 rash05 Crash 2005 3 6
131 Reds81 Reds 1981 3 12
132 reek64 Zorba the Greek 1964 3 7
133 reet47 Miracle on 34th Street 1947 3 4
134 ress49 The Heiress 1949 4 8
135 rial82 E.T.: The Extra-Terrestrial 1982 4 9
136 rica85 Out of Africa 1985 7 11
137 Ring01 The Lord of the Rings: The Fellowship of the Ring 2001 4 13
138 rise27 Sunrise 1927 3 4
139 rmer35 The Informer 1935 4 6
140 Road15 Mad Max: Fury Road 2015 6 10
141 ront54 On the Waterfront 1954 8 12
142 Roof71 Fiddler on the Roof 1971 3 8
143 rron31 Cimarron 1931 3 7
144 rted06 The Departed 2006 4 5
145 ruck87 Moonstruck 1987 3 6
146 Ryan98 Saving Private Ryan 1998 5 11
147 sire51 A Streetcar Named Desire 1951 4 12
148 sons66 A Man for All Seasons 1966 6 8
149 sons88 Dangerous Liaisons 1988 3 7
150 Sun51 A Place in the Sun 1951 6 9
151 t II74 The Godfather Part II 1974 6 11
152 tain05 Brokeback Mountain 2005 3 8
153 ters86 Hannah and Her Sisters 1986 3 7
154 Tess80 Tess 1980 3 6
155 teur36 The Story of Louis Pasteur 1936 3 4
156 ther72 The Godfather 1972 3 10
157 ting73 The Sting 1973 7 10
158 tion10 Inception 2010 4 8
159 tion71 The French Connection 1971 5 8
160 tist11 The Artist 2011 5 10
161 toon86 Platoon 1986 4 8
162 tory61 West Side Story 1961 10 11
163 trix99 The Matrix 1999 4 4
164 tton08 The Curious Case of Benjamin Button 2008 3 13
165 tton70 Patton 1970 7 10
166 ttoo55 The Rose Tattoo 1955 3 8
167 tuff83 The Right Stuff 1983 4 8
168 ulia77 Julia 1977 3 11
169 usic65 The Sound of Music 1965 5 10
170 vago65 Doctor Zhivago 1965 5 10
171 vard50 Sunset Boulevard 1950 3 11
172 ver!68 Oliver! 1968 5 11
173 View86 A Room with a View 1986 3 8
174 vity13 Gravity 2013 7 10
175 Wars77 Star Wars 1977 6 10
176 wboy69 Midnight Cowboy 1969 3 7
177 Wind39 Gone with the Wind 1939 8 13
178 work10 The Social Network 2010 3 8
179 work76 Network 1976 4 10
180 Zola37 The Life of Emile Zola 1937 3 10
181 9699 Avatar 2020 5 5

View 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

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

View 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;
}
}

View 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;
}
}
}

View File

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

View File

@@ -0,0 +1,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());
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("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")]

View 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;
}
}
}
}

View File

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

View 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;
}
}
}
}

View File

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

View File

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

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

View 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 Misrables;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
1 azon cim ev dij jelol
2 Ark81 Raiders of the Lost Ark 1981 4 8
3 Day91 Terminator 2: Judgment Day 1991 4 6
4 End92 Howards End 1992 3 9
5 Kid69 Butch Cassidy and the Sundance Kid 1969 4 7
6 Man88 Rain Man 1988 4 8
7 Men07 No Country for Old Men 2007 4 8
8 Men49 All the King's Men 1949 3 7
9 Men76 All the President's Men 1976 4 8
10 War02 The Fog of War 2002 6 13
11 Way44 Going My Way 1944 7 10
12 Won63 How the West Was Won 1963 3 8
13 abia62 Lawrence of Arabia 1962 7 10
14 acus60 Spartacus 1960 4 6
15 adre48 The Treasure of the Sierra Madre 1948 3 4
16 agon00 Crouching Tiger, Hidden Dragon 2000 4 10
17 aire08 Slumdog Millionaire 2008 8 10
18 aisy89 Driving Miss Daisy 1989 4 9
19 ambs91 The Silence of the Lambs 1991 5 7
20 amer79 Kramer vs. Kramer 1979 5 9
21 anca43 Casablanca 1943 3 8
22 andy42 Yankee Doodle Dandy 1942 3 8
23 anic97 Titanic 1997 11 14
24 aret72 Cabaret 1972 8 10
25 Argo12 Argo 2012 3 7
26 aris51 An American in Paris 1951 6 8
27 arty55 Marty 1955 4 8
28 atar09 Avatar 2009 3 9
29 ator00 Gladiator 2000 5 12
30 ator04 The Aviator 2004 5 11
31 atra63 Cleopatra 1963 4 9
32 atum07 The Bourne Ultimatum 2007 3 3
33 auty99 American Beauty 1999 5 8
34 aven27 7th Heaven 1927 3 5
35 Baby04 Million Dollar Baby 2004 4 7
36 bbit88 Who Framed Roger Rabbit 1988 3 6
37 bird62 To Kill a Mockingbird 1962 3 8
38 bles12 Les Mis‚rables 2012 3 8
39 cade33 Cavalcade 1933 3 4
40 cago02 Chicago 2002 6 13
41 cker09 The Hurt Locker 2009 6 9
42 Club13 Dallas Buyers Club 2013 3 6
43 cula92 Bram Stoker's Dracula 1992 3 4
44 Days56 Around the World in Eighty Days 1956 5 8
45 der 83 Fanny & Alexander 1983 4 6
46 deus84 Amadeus 1984 8 11
47 dman14 Birdman 2014 4 9
48 eart95 Braveheart 1995 5 10
49 eech10 The King's Speech 2010 4 12
50 elds84 The Killing Fields 1984 3 7
51 elot67 Camelot 1967 3 5
52 erno74 The Towering Inferno 1974 3 8
53 eror87 The Last Emperor 1987 9 9
54 erse36 Anthony Adverse 1936 4 7
55 ette43 The Song of Bernadette 1943 4 12
56 Eve50 All About Eve 1950 6 14
57 f Pi12 Life of Pi 2012 4 11
58 feld36 The Great Ziegfeld 1936 3 7
59 ffic00 Traffic 2000 4 5
60 Fire81 Chariots of Fire 1981 4 7
61 ful 98 Life Is Beautiful 1998 3 7
62 gdad40 The Thief of Bagdad 1940 3 4
63 Gigi58 Gigi 1958 9 9
64 Gump94 Forrest Gump 1994 6 13
65 Hall77 Annie Hall 1977 4 5
66 hing55 Love Is a Many-Splendored Thing 1955 3 8
67 Home78 Coming Home 1978 3 8
68 Hood38 The Adventures of Robin Hood 1938 3 4
69 Hud63 Hud 1963 3 7
70 Hugo11 Hugo 2011 5 11
71 Hur59 Ben-Hur 1959 11 12
72 iano93 The Piano 1993 3 8
73 iday53 Roman Holiday 1953 3 10
74 ient96 The English Patient 1996 9 12
75 iful52 The Bad and the Beautiful 1952 5 6
76 ight16 Moonlight 2016 3 8
77 ight34 It Happened One Night 1934 5 5
78 ight67 In the Heat of the Night 1967 5 7
79 inth06 Pan's Labyrinth 2006 3 6
80 isha05 Memoirs of a Geisha 2005 3 6
81 iven92 Unforgiven 1992 4 9
82 iver42 Mrs. Miniver 1942 6 12
83 ives46 The Best Years of Our Lives 1946 7 8
84 Jaws75 Jaws 1975 3 4
85 Jazz79 All That Jazz 1979 4 9
86 kend45 The Lost Weekend 1945 4 7
87 King03 The Lord of the Rings: The Return of the King 2003 11 11
88 Kong05 King Kong 2005 3 4
89 Kwai57 The Bridge on the River Kwai 1957 7 8
90 Lady64 My Fair Lady 1964 8 12
91 Land16 La La Land 2016 6 14
92 lash14 Whiplash 2014 3 5
93 lave13 12 Years a Slave 2013 3 9
94 ling65 Darling 1965 3 5
95 List93 Schindler's List 1993 7 12
96 lley41 How Green Was My Valley 1941 5 10
97 lory89 Glory 1989 3 5
98 Love98 Shakespeare in Love 1998 7 13
99 lson44 Wilson 1944 5 10
100 lves90 Dances with Wolves 1990 7 12
101 lly!69 Hello, Dolly! 1969 3 7
102 ment47 Gentleman's Agreement 1947 3 8
103 ment60 The Apartment 1960 5 10
104 ment83 Terms of Endearment 1983 5 11
105 Mind01 A Beautiful Mind 2001 4 8
106 mlet48 Hamlet 1948 4 7
107 nant15 The Revenant 2015 3 12
108 nara57 Sayonara 1957 4 10
109 nd I56 The King and I 1956 5 9
110 ndhi82 Gandhi 1982 8 11
111 ndon75 Barry Lyndon 1975 4 7
112 Nest75 One Flew over the Cuckoo's Nest 1975 5 9
113 nist02 The Pianist 2002 3 7
114 nity53 From Here to Eternity 1953 8 13
115 Noon52 High Noon 1952 4 7
116 nter68 The Lion in Winter 1968 3 7
117 nter78 The Deer Hunter 1978 5 9
118 ntry60 Elmer Gantry 1960 3 5
119 ocky76 Rocky 1976 3 10
120 olf?66 Who's Afraid of Virginia Woolf? 1966 5 13
121 ones63 Tom Jones 1963 4 10
122 ople80 Ordinary People 1980 4 6
123 otel14 The Grand Budapest Hotel 2014 4 9
124 Park93 Jurassic Park 1993 3 3
125 pins64 Mary Poppins 1964 5 13
126 Pond81 On Golden Pond 1981 3 10
127 Prix66 Grand Prix 1966 3 3
128 racy90 Dick Tracy 1990 3 7
129 rank59 The Diary of Anne Frank 1959 3 8
130 rash05 Crash 2005 3 6
131 Reds81 Reds 1981 3 12
132 reek64 Zorba the Greek 1964 3 7
133 reet47 Miracle on 34th Street 1947 3 4
134 ress49 The Heiress 1949 4 8
135 rial82 E.T.: The Extra-Terrestrial 1982 4 9
136 rica85 Out of Africa 1985 7 11
137 Ring01 The Lord of the Rings: The Fellowship of the Ring 2001 4 13
138 rise27 Sunrise 1927 3 4
139 rmer35 The Informer 1935 4 6
140 Road15 Mad Max: Fury Road 2015 6 10
141 ront54 On the Waterfront 1954 8 12
142 Roof71 Fiddler on the Roof 1971 3 8
143 rron31 Cimarron 1931 3 7
144 rted06 The Departed 2006 4 5
145 ruck87 Moonstruck 1987 3 6
146 Ryan98 Saving Private Ryan 1998 5 11
147 sire51 A Streetcar Named Desire 1951 4 12
148 sons66 A Man for All Seasons 1966 6 8
149 sons88 Dangerous Liaisons 1988 3 7
150 Sun51 A Place in the Sun 1951 6 9
151 t II74 The Godfather Part II 1974 6 11
152 tain05 Brokeback Mountain 2005 3 8
153 ters86 Hannah and Her Sisters 1986 3 7
154 Tess80 Tess 1980 3 6
155 teur36 The Story of Louis Pasteur 1936 3 4
156 ther72 The Godfather 1972 3 10
157 ting73 The Sting 1973 7 10
158 tion10 Inception 2010 4 8
159 tion71 The French Connection 1971 5 8
160 tist11 The Artist 2011 5 10
161 toon86 Platoon 1986 4 8
162 tory61 West Side Story 1961 10 11
163 trix99 The Matrix 1999 4 4
164 tton08 The Curious Case of Benjamin Button 2008 3 13
165 tton70 Patton 1970 7 10
166 ttoo55 The Rose Tattoo 1955 3 8
167 tuff83 The Right Stuff 1983 4 8
168 ulia77 Julia 1977 3 11
169 usic65 The Sound of Music 1965 5 10
170 vago65 Doctor Zhivago 1965 5 10
171 vard50 Sunset Boulevard 1950 3 11
172 ver!68 Oliver! 1968 5 11
173 View86 A Room with a View 1986 3 8
174 vity13 Gravity 2013 7 10
175 Wars77 Star Wars 1977 6 10
176 wboy69 Midnight Cowboy 1969 3 7
177 Wind39 Gone with the Wind 1939 8 13
178 work10 The Social Network 2010 3 8
179 work76 Network 1976 4 10
180 Zola37 The Life of Emile Zola 1937 3 10
181 9699 Avatar 2020 5 5

View File

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

View File

@@ -0,0 +1 @@
8069502011d0681850e57a53d5a1673222f430a6

View File

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

BIN
20240603/Feladat.pdf Normal file

Binary file not shown.

View 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

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

View 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;
}
}

View 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;
}
}
}

View File

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

View File

@@ -0,0 +1,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());
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("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")]

View 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;
}
}
}
}

View File

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

View 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;
}
}
}
}

View File

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

View File

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

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

View File

@@ -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
1 Név Osztály Első nap Utolsó nap Mulasztott órák
2 Balogh Péter 6a 1 1 5
3 Horváth Judit 5a 1 1 5
4 Juhász János 6a 1 1 5
5 Lengyel Krisztina 6b 1 1 6
6 Török Béla 3b 1 1 6
7 László Péter 4b 1 1 6
8 Török Béla 3b 4 4 6
9 László Péter 4b 4 4 5
10 Magyar Nóra 8a 4 4 6
11 Nagy András 5b 4 4 5
12 Gyüre István 8b 5 5 6
13 Kiss Tamás 3b 5 5 5
14 Nagy Eszter 5b 5 5 6
15 Tóth Ádám 7b 5 5 5
16 Arnóczki István 4a 6 6 6
17 Gyüre István 8b 6 6 6
18 Kiss Tamás 3b 6 6 5
19 Szabó Dalma 7a 6 6 6
20 Bakajsza Ferenc 3a 7 7 6
21 Lippai Tibor 3b 7 7 5
22 Tóth Tibor 4b 7 7 5
23 Balogh József 8a 8 8 5
24 Barabás Attila 8b 8 8 7
25 Hamza Dezső 1a 8 8 5
26 Szilágyi Tibor 8b 8 8 5
27 Fehér Virág 1a 11 11 6
28 Kis Katalin 8a 11 11 7
29 Kovács Imre 2a 11 11 6
30 Novák Sándor 1b 11 11 5
31 Tirpák Ferenc 2b 11 11 5
32 Arnóczki István 4a 12 12 6
33 Bakajsza Ferenc 3a 12 12 6
34 Lippai Tibor 3b 12 12 5
35 Nagy Emese 5a 12 12 6
36 Tóth Tibor 4b 12 12 5
37 Magyari Ildikó 6b 14 14 5
38 Sajtos Enikő 6a 14 14 6
39 Soltész Anna 5b 14 14 5
40 Bodnár Tímea 6a 15 15 6
41 Csimbók Ernő 7b 15 15 5
42 Kropkó Áron 7a 15 15 5
43 Németh Anna 8a 15 15 7
44 Balogh József 8a 18 18 5
45 Barabás Attila 8b 18 18 7
46 Hamza Dezső 1a 18 18 4
47 Horváth Gergely 1b 18 18 5
48 Szilágyi Tibor 8b 18 18 5
49 Fekete Viktória 3a 19 19 5
50 Fekete Zsolt 4a 19 19 5
51 Fodor Éva 4a 19 19 6
52 Hegedűs Andrea 6b 19 19 6
53 Katona Ágnes 7b 19 19 7
54 Lukács Eszter 5a 19 19 5
55 Nagy Mihály 6b 19 19 6
56 Pintér Ferenc 3a 19 19 5
57 Szilágyi Ildikó 3a 19 19 6
58 Török Viktória 6a 19 19 5
59 Lengyel Krisztina 6b 20 20 5
60 Nagy Emese 5a 20 20 5
61 Soltész Anna 5b 20 20 6
62 Barabás Attila 8b 21 21 5
63 Barna Mátyás 8b 21 21 6
64 Szilágyi Ildikó 3a 21 21 5
65 Barna Mátyás 8b 22 22 7
66 Bogdán Anna 5b 22 22 6
67 Márta Ádám 8b 22 22 6
68 Somogyi Dániel 5a 22 22 5
69 Balla Rajmund 2b 25 25 5
70 Budai Csab 6b 25 25 6
71 Molnár Hanna 4a 25 25 6
72 Németh Gergely 7a 25 25 7
73 Novák Donát 5a 25 25 5
74 Soós Csenge 4a 25 25 6
75 Szilágyi Tibor 8b 25 25 5
76 Balla Rajmund 2b 26 26 5
77 Katona Ágnes 7b 26 26 5
78 Kis Katalin 8a 26 26 6
79 Lakatos Viktória 3a 26 26 6
80 Szilágyi Ildikó 3a 26 26 5
81 Török Viktória 6a 26 26 5
82 Vörös Ágnes 4b 26 26 5
83 Balla Rajmund 2b 27 27 4
84 Borbély Csaba 2b 27 27 5
85 Farkas Nándor 6a 27 27 6
86 Fekete Noel 3a 27 27 5
87 Halász Jakab 3b 27 27 6
88 Kelemen Béla 4a 27 27 6
89 Kozma Viktor 5a 27 27 5
90 Molnár Hanna 4a 27 27 6
91 Tamás Klaudia 4b 27 27 5
92 Dobos Benedek 8a 28 28 6
93 Gulyás Veronika 4b 28 28 5
94 Katona Ágnes 7b 28 28 6
95 Márton Blanka 8b 28 28 5
96 Miksa Fruzsina 2b 28 28 5
97 Szekeres Márió 2b 28 28 4
98 Kocsis Panna 7a 29 29 5
99 Molnár Hanna 4a 29 29 5
100 Szilágyi Ildikó 3a 29 29 5
101 Török Adél 2a 29 29 6
102 Szabó Márton 12B 1 25 6

View File

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

View File

@@ -0,0 +1 @@
8069502011d0681850e57a53d5a1673222f430a6

View File

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

View File

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

View File

@@ -0,0 +1,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>

View 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

View 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;
}
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("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")]

Binary file not shown.

View File

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

Binary file not shown.

View 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

View File

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

View File

@@ -0,0 +1 @@
25f359d3fd7d560a1dec87ab383b84f91627954af157e6d29c6e8f4a1e97b265

View File

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

Binary file not shown.

Binary file not shown.

BIN
20240904/Gyakorlás.pdf Normal file

Binary file not shown.

50
20240904/adatok-utf8.txt Normal file
View 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
View 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 "";
}
}

Binary file not shown.

View 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

View 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