diff --git a/20240422_doga/Dolgozat.pdf b/20240422_doga/Dolgozat.pdf
new file mode 100644
index 0000000..4cf5f7c
Binary files /dev/null and b/20240422_doga/Dolgozat.pdf differ
diff --git a/20240422_doga/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo b/20240422_doga/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo
new file mode 100644
index 0000000..1fe4bd1
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo differ
diff --git a/20240422_doga/WindowsFormsApp1/App.config b/20240422_doga/WindowsFormsApp1/App.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240422_doga/WindowsFormsApp1/Form1.Designer.cs b/20240422_doga/WindowsFormsApp1/Form1.Designer.cs
new file mode 100644
index 0000000..222604b
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/Form1.Designer.cs
@@ -0,0 +1,308 @@
+
+namespace WindowsFormsApp1
+{
+ partial class Form1
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.label1 = new System.Windows.Forms.Label();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.textBox4 = new System.Windows.Forms.TextBox();
+ this.textBox3 = new System.Windows.Forms.TextBox();
+ this.textBox2 = new System.Windows.Forms.TextBox();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.button1 = new System.Windows.Forms.Button();
+ this.listBox1 = new System.Windows.Forms.ListBox();
+ this.listBox2 = new System.Windows.Forms.ListBox();
+ this.label6 = new System.Windows.Forms.Label();
+ this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
+ this.menuStrip1 = new System.Windows.Forms.MenuStrip();
+ this.fájlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.megnyitásToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.kilépésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.műveletekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.statisztikaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.nyertesekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.groupBox1.SuspendLayout();
+ this.menuStrip1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F);
+ this.label1.ForeColor = System.Drawing.Color.Blue;
+ this.label1.Location = new System.Drawing.Point(189, 46);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(369, 39);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Választási eredmények";
+ //
+ // groupBox1
+ //
+ this.groupBox1.Controls.Add(this.textBox4);
+ this.groupBox1.Controls.Add(this.textBox3);
+ this.groupBox1.Controls.Add(this.textBox2);
+ this.groupBox1.Controls.Add(this.textBox1);
+ this.groupBox1.Controls.Add(this.label5);
+ this.groupBox1.Controls.Add(this.label4);
+ this.groupBox1.Controls.Add(this.label3);
+ this.groupBox1.Controls.Add(this.label2);
+ this.groupBox1.Location = new System.Drawing.Point(447, 119);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(341, 186);
+ this.groupBox1.TabIndex = 1;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "Kiválasztott jelölt adatai";
+ //
+ // textBox4
+ //
+ this.textBox4.Location = new System.Drawing.Point(122, 142);
+ this.textBox4.Name = "textBox4";
+ this.textBox4.Size = new System.Drawing.Size(213, 20);
+ this.textBox4.TabIndex = 9;
+ //
+ // textBox3
+ //
+ this.textBox3.Location = new System.Drawing.Point(122, 95);
+ this.textBox3.Name = "textBox3";
+ this.textBox3.Size = new System.Drawing.Size(213, 20);
+ this.textBox3.TabIndex = 8;
+ //
+ // textBox2
+ //
+ this.textBox2.Location = new System.Drawing.Point(122, 61);
+ this.textBox2.Name = "textBox2";
+ this.textBox2.Size = new System.Drawing.Size(213, 20);
+ this.textBox2.TabIndex = 7;
+ //
+ // textBox1
+ //
+ this.textBox1.Location = new System.Drawing.Point(122, 24);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(213, 20);
+ this.textBox1.TabIndex = 6;
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Location = new System.Drawing.Point(6, 142);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(99, 13);
+ this.label5.TabIndex = 5;
+ this.label5.Text = "Szavazatok száma:";
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(6, 102);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(29, 13);
+ this.label4.TabIndex = 4;
+ this.label4.Text = "Párt:";
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(6, 64);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(115, 13);
+ this.label3.TabIndex = 3;
+ this.label3.Text = "Választókerület száma:";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(6, 27);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(30, 13);
+ this.label2.TabIndex = 2;
+ this.label2.Text = "Név:";
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(456, 341);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(326, 23);
+ this.button1.TabIndex = 2;
+ this.button1.Text = "Ebben a kerületben voltak még:";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // listBox1
+ //
+ this.listBox1.FormattingEnabled = true;
+ this.listBox1.Location = new System.Drawing.Point(60, 119);
+ this.listBox1.Name = "listBox1";
+ this.listBox1.Size = new System.Drawing.Size(293, 472);
+ this.listBox1.TabIndex = 3;
+ this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
+ //
+ // listBox2
+ //
+ this.listBox2.FormattingEnabled = true;
+ this.listBox2.Location = new System.Drawing.Point(447, 391);
+ this.listBox2.Name = "listBox2";
+ this.listBox2.Size = new System.Drawing.Size(335, 199);
+ this.listBox2.TabIndex = 4;
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.Location = new System.Drawing.Point(60, 100);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(75, 13);
+ this.label6.TabIndex = 5;
+ this.label6.Text = "Jelöltek listája:";
+ //
+ // openFileDialog1
+ //
+ this.openFileDialog1.FileName = "openFileDialog1";
+ //
+ // menuStrip1
+ //
+ this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.fájlToolStripMenuItem,
+ this.műveletekToolStripMenuItem,
+ this.súgóToolStripMenuItem});
+ this.menuStrip1.Location = new System.Drawing.Point(0, 0);
+ this.menuStrip1.Name = "menuStrip1";
+ this.menuStrip1.Size = new System.Drawing.Size(800, 24);
+ this.menuStrip1.TabIndex = 6;
+ this.menuStrip1.Text = "menuStrip1";
+ //
+ // fájlToolStripMenuItem
+ //
+ this.fájlToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.megnyitásToolStripMenuItem,
+ this.kilépésToolStripMenuItem});
+ this.fájlToolStripMenuItem.Name = "fájlToolStripMenuItem";
+ this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
+ this.fájlToolStripMenuItem.Text = "Fájl";
+ //
+ // megnyitásToolStripMenuItem
+ //
+ this.megnyitásToolStripMenuItem.Name = "megnyitásToolStripMenuItem";
+ this.megnyitásToolStripMenuItem.Size = new System.Drawing.Size(129, 22);
+ this.megnyitásToolStripMenuItem.Text = "Megnyitás";
+ this.megnyitásToolStripMenuItem.Click += new System.EventHandler(this.megnyitásToolStripMenuItem_Click);
+ //
+ // kilépésToolStripMenuItem
+ //
+ this.kilépésToolStripMenuItem.Name = "kilépésToolStripMenuItem";
+ this.kilépésToolStripMenuItem.Size = new System.Drawing.Size(129, 22);
+ this.kilépésToolStripMenuItem.Text = "Kilépés";
+ this.kilépésToolStripMenuItem.Click += new System.EventHandler(this.kilépésToolStripMenuItem_Click);
+ //
+ // műveletekToolStripMenuItem
+ //
+ this.műveletekToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.statisztikaToolStripMenuItem,
+ this.nyertesekToolStripMenuItem});
+ this.műveletekToolStripMenuItem.Name = "műveletekToolStripMenuItem";
+ this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20);
+ this.műveletekToolStripMenuItem.Text = "Műveletek";
+ //
+ // statisztikaToolStripMenuItem
+ //
+ this.statisztikaToolStripMenuItem.Name = "statisztikaToolStripMenuItem";
+ this.statisztikaToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.statisztikaToolStripMenuItem.Text = "Statisztika";
+ this.statisztikaToolStripMenuItem.Click += new System.EventHandler(this.statisztikaToolStripMenuItem_Click);
+ //
+ // nyertesekToolStripMenuItem
+ //
+ this.nyertesekToolStripMenuItem.Name = "nyertesekToolStripMenuItem";
+ this.nyertesekToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.nyertesekToolStripMenuItem.Text = "Nyertesek";
+ this.nyertesekToolStripMenuItem.Click += new System.EventHandler(this.nyertesekToolStripMenuItem_Click);
+ //
+ // súgóToolStripMenuItem
+ //
+ this.súgóToolStripMenuItem.Name = "súgóToolStripMenuItem";
+ this.súgóToolStripMenuItem.Size = new System.Drawing.Size(46, 20);
+ this.súgóToolStripMenuItem.Text = "Súgó";
+ this.súgóToolStripMenuItem.Click += new System.EventHandler(this.súgóToolStripMenuItem_Click);
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(800, 625);
+ this.Controls.Add(this.label6);
+ this.Controls.Add(this.listBox2);
+ this.Controls.Add(this.listBox1);
+ this.Controls.Add(this.button1);
+ this.Controls.Add(this.groupBox1);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.menuStrip1);
+ this.MainMenuStrip = this.menuStrip1;
+ this.Name = "Form1";
+ this.Text = "Helyhatósági választások";
+ this.Load += new System.EventHandler(this.Form1_Load);
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ this.menuStrip1.ResumeLayout(false);
+ this.menuStrip1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.GroupBox groupBox1;
+ private System.Windows.Forms.TextBox textBox4;
+ private System.Windows.Forms.TextBox textBox3;
+ private System.Windows.Forms.TextBox textBox2;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.ListBox listBox1;
+ private System.Windows.Forms.ListBox listBox2;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.OpenFileDialog openFileDialog1;
+ private System.Windows.Forms.MenuStrip menuStrip1;
+ private System.Windows.Forms.ToolStripMenuItem fájlToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem megnyitásToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem műveletekToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem súgóToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem statisztikaToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem nyertesekToolStripMenuItem;
+ }
+}
+
diff --git a/20240422_doga/WindowsFormsApp1/Form1.cs b/20240422_doga/WindowsFormsApp1/Form1.cs
new file mode 100644
index 0000000..471859f
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/Form1.cs
@@ -0,0 +1,156 @@
+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)
+ {
+
+ }
+
+ private void kilépésToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ this.Close();
+ }
+
+ private void megnyitásToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ openFileDialog1.ShowDialog();
+ Data.path = openFileDialog1.FileName;
+ KepviselokBetoltes();
+ }
+
+ public void KepviselokBetoltes()
+ {
+ FileStream fs = new FileStream(Data.path, FileMode.Open, FileAccess.Read);
+ StreamReader streamReader = new StreamReader(fs);
+
+ string sor = streamReader.ReadLine();
+ while (sor != null)
+ {
+ string[] elemek = sor.Split(' ');
+ string nev =$"{elemek[2]} {elemek[3]}";
+ string part = elemek[4];
+ int szavazatok = Convert.ToInt32(elemek[1]);
+ int kerulet = Convert.ToInt32(elemek[0]);
+ Kepviselo kepviselo = new Kepviselo(nev, kerulet, szavazatok, part);
+ Data.kepviselok.Add(kepviselo);
+
+ sor = streamReader.ReadLine();
+ }
+
+ streamReader.Close();
+ fs.Close();
+
+ foreach (var item in Data.kepviselok)
+ {
+ listBox1.Items.Add(item.nev);
+ }
+ }
+
+ private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Data.index = listBox1.SelectedIndex;
+ textBox1.Text = Data.kepviselok[Data.index].nev;
+ textBox2.Text = Data.kepviselok[Data.index].valasztokerulet.ToString();
+ textBox3.Text = Data.kepviselok[Data.index].part;
+ textBox4.Text = Data.kepviselok[Data.index].szavazatok.ToString();
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ if (listBox1.SelectedIndex == -1)
+ {
+ MessageBox.Show("Hiba! Nincs kiválasztott képviselő.");
+ return;
+ }
+
+ listBox2.Items.Clear();
+
+ int kerulet = Data.kepviselok[Data.index].valasztokerulet;
+
+ foreach (var item in Data.kepviselok)
+ {
+ if (item.valasztokerulet == kerulet)
+ {
+ string formatted = $"{item.nev} ({item.szavazatok} szavazat)";
+ listBox2.Items.Add(formatted);
+ }
+ }
+ }
+
+ private void súgóToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show($" Helyhatósági választásokat elemző program");
+
+ }
+
+ private void statisztikaToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void nyertesekToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ FileStream fs = new FileStream("nyertesek.txt", FileMode.Create, FileAccess.Write);
+ StreamWriter streamWriter = new StreamWriter(fs);
+
+ //0: érték
+ //1: index
+ List<(int, int)> lista = new List<(int, int)>();
+
+ for (int i = 0; i < Data.kepviselok.Count; i++)
+ {
+ lista.Add((Data.kepviselok[i].szavazatok,i));
+ }
+
+ lista.Sort();
+
+ for (int i = 0; i < 8; i++)
+ {
+ streamWriter.WriteLine(Data.kepviselok[lista[i].Item2].nev);
+ }
+
+ streamWriter.Close();
+ fs.Close();
+ }
+ }
+
+ public static class Data
+ {
+ public static string path;
+ public static List kepviselok = new List();
+ public static int index;
+ }
+
+ public class Kepviselo
+ {
+ public string nev;
+ public int valasztokerulet;
+ public int szavazatok;
+ public string part;
+
+ public Kepviselo(string nev, int valasztokerulet, int szavazatok, string part)
+ {
+ this.nev = nev;
+ this.valasztokerulet = valasztokerulet;
+ this.szavazatok = szavazatok;
+ this.part = part;
+ }
+ }
+}
diff --git a/20240422_doga/WindowsFormsApp1/Form1.resx b/20240422_doga/WindowsFormsApp1/Form1.resx
new file mode 100644
index 0000000..46297d2
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/Form1.resx
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 19, 26
+
+
+ 157, 17
+
+
\ No newline at end of file
diff --git a/20240422_doga/WindowsFormsApp1/Program.cs b/20240422_doga/WindowsFormsApp1/Program.cs
new file mode 100644
index 0000000..30a0128
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/Program.cs
@@ -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
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
diff --git a/20240422_doga/WindowsFormsApp1/Properties/AssemblyInfo.cs b/20240422_doga/WindowsFormsApp1/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..18cd49d
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("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("5d16294e-a4ef-4367-82d0-57cb27b9ef03")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/20240422_doga/WindowsFormsApp1/Properties/Resources.Designer.cs b/20240422_doga/WindowsFormsApp1/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..2b9cd9f
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/Properties/Resources.Designer.cs
@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+
+namespace WindowsFormsApp1.Properties
+{
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "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()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApp1.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/20240422_doga/WindowsFormsApp1/Properties/Resources.resx b/20240422_doga/WindowsFormsApp1/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/20240422_doga/WindowsFormsApp1/Properties/Settings.Designer.cs b/20240422_doga/WindowsFormsApp1/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..3cdaf80
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/Properties/Settings.Designer.cs
@@ -0,0 +1,29 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+
+namespace 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;
+ }
+ }
+ }
+}
diff --git a/20240422_doga/WindowsFormsApp1/Properties/Settings.settings b/20240422_doga/WindowsFormsApp1/Properties/Settings.settings
new file mode 100644
index 0000000..3964565
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/20240422_doga/WindowsFormsApp1/WindowsFormsApp1.csproj b/20240422_doga/WindowsFormsApp1/WindowsFormsApp1.csproj
new file mode 100644
index 0000000..b09b5ee
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/WindowsFormsApp1.csproj
@@ -0,0 +1,83 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {5D16294E-A4EF-4367-82D0-57CB27B9EF03}
+ WinExe
+ WindowsFormsApp1
+ WindowsFormsApp1
+ v4.7.2
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ Form1.cs
+
+
+
+
+ Form1.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240422_doga/WindowsFormsApp1/WindowsFormsApp1.csproj.user b/20240422_doga/WindowsFormsApp1/WindowsFormsApp1.csproj.user
new file mode 100644
index 0000000..9b86104
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/WindowsFormsApp1.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ ShowAllFiles
+
+
\ No newline at end of file
diff --git a/20240422_doga/WindowsFormsApp1/WindowsFormsApp1.sln b/20240422_doga/WindowsFormsApp1/WindowsFormsApp1.sln
new file mode 100644
index 0000000..208bc0a
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/WindowsFormsApp1.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.33529.622
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApp1", "WindowsFormsApp1.csproj", "{5D16294E-A4EF-4367-82D0-57CB27B9EF03}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {5D16294E-A4EF-4367-82D0-57CB27B9EF03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5D16294E-A4EF-4367-82D0-57CB27B9EF03}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5D16294E-A4EF-4367-82D0-57CB27B9EF03}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5D16294E-A4EF-4367-82D0-57CB27B9EF03}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {7B402A70-473A-4C26-AA5C-176ED3A994C2}
+ EndGlobalSection
+EndGlobal
diff --git a/20240422_doga/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe b/20240422_doga/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe
new file mode 100644
index 0000000..48217cc
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe differ
diff --git a/20240422_doga/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe.config b/20240422_doga/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240422_doga/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb b/20240422_doga/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb
new file mode 100644
index 0000000..b42c32d
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb differ
diff --git a/20240422_doga/WindowsFormsApp1/bin/Debug/nyertesek.txt b/20240422_doga/WindowsFormsApp1/bin/Debug/nyertesek.txt
new file mode 100644
index 0000000..89ba69c
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/bin/Debug/nyertesek.txt
@@ -0,0 +1,8 @@
+Halmi Helga
+Karfiol Ede
+Ablak Antal
+Ceruza Zsombor
+Hurka Herold
+Lila Lilla
+Simon Simon
+Uborka Ubul
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20240422_doga/WindowsFormsApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
new file mode 100644
index 0000000..3871b18
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
@@ -0,0 +1,4 @@
+//
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/20240422_doga/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache
new file mode 100644
index 0000000..a6920de
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20240422_doga/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..41b8c46
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources differ
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources differ
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..f5e894a
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache differ
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..4a5524a
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+8069502011d0681850e57a53d5a1673222f430a6
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..1b5de27
--- /dev/null
+++ b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt
@@ -0,0 +1,10 @@
+C:\Users\szabomarton\Desktop\C#\20240422_doga\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe.config
+C:\Users\szabomarton\Desktop\C#\20240422_doga\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe
+C:\Users\szabomarton\Desktop\C#\20240422_doga\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.pdb
+C:\Users\szabomarton\Desktop\C#\20240422_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.AssemblyReference.cache
+C:\Users\szabomarton\Desktop\C#\20240422_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Form1.resources
+C:\Users\szabomarton\Desktop\C#\20240422_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Properties.Resources.resources
+C:\Users\szabomarton\Desktop\C#\20240422_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.GenerateResource.cache
+C:\Users\szabomarton\Desktop\C#\20240422_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.CoreCompileInputs.cache
+C:\Users\szabomarton\Desktop\C#\20240422_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.exe
+C:\Users\szabomarton\Desktop\C#\20240422_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache
new file mode 100644
index 0000000..8463de8
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache differ
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe
new file mode 100644
index 0000000..48217cc
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe differ
diff --git a/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb
new file mode 100644
index 0000000..b42c32d
Binary files /dev/null and b/20240422_doga/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb differ
diff --git a/20240422_doga/szavazatok.txt b/20240422_doga/szavazatok.txt
new file mode 100644
index 0000000..848297f
--- /dev/null
+++ b/20240422_doga/szavazatok.txt
@@ -0,0 +1,40 @@
+5 19 Ablak Antal -
+1 120 Alma Dalma GYEP
+7 162 Bab Zsuzsanna ZEP
+2 59 Barack Barna GYEP
+6 73 Birs Helga GYEP
+1 154 Bors Botond HEP
+5 188 Brokkoli Gyula ZEP
+6 29 Ceruza Zsombor -
+4 143 Fasirt Ferenc HEP
+8 157 Gomba Gitta TISZ
+3 13 Halmi Helga -
+2 66 Hold Ferenc -
+7 34 Hurka Herold HEP
+5 288 Joghurt Jakab TISZ
+4 77 Kajszi Kolos GYEP
+2 187 Kapor Karola ZEP
+6 13 Karfiol Ede ZEP
+6 187 Kefir Ilona TISZ
+7 130 Kupa Huba -
+8 98 Languszta Auguszta -
+1 34 Lila Lilla -
+1 56 Medve Rudolf -
+5 67 Meggy Csilla GYEP
+3 45 Moly Piroska -
+4 221 Monitor Tibor -
+8 288 Narancs Edmond GYEP
+2 220 Oldalas Olga HEP
+3 185 Pacal Kata HEP
+1 199 Petrezselyem Petra ZEP
+8 77 Pokol Vidor -
+8 67 Ragu Ida HEP
+3 156 Retek Etelka ZEP
+7 129 Sajt Hajnalka TISZ
+4 38 Simon Simon -
+3 87 Szilva Szilvia GYEP
+3 187 Tejes Attila TISZ
+2 65 Tejfel Edit TISZ
+4 39 Uborka Ubul ZEP
+6 288 Vadas Marcell HEP
+5 68 Vagdalt Edit HEP