A 6. feladat kész.
This commit is contained in:
parent
eea5ef0e93
commit
795acb3866
145
ValasztasGUI/Form1.Designer.cs
generated
145
ValasztasGUI/Form1.Designer.cs
generated
|
@ -31,25 +31,27 @@ namespace ValasztasGUI
|
||||||
{
|
{
|
||||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||||
this.fájlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
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.műveletekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.súgóToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.listBox1 = new System.Windows.Forms.ListBox();
|
this.listBox1 = new System.Windows.Forms.ListBox();
|
||||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
|
||||||
this.nevmezo = new System.Windows.Forms.TextBox();
|
|
||||||
this.keruletmezo = new System.Windows.Forms.TextBox();
|
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
|
||||||
this.partmezo = new System.Windows.Forms.TextBox();
|
|
||||||
this.label5 = new System.Windows.Forms.Label();
|
|
||||||
this.szavazatmezo = new System.Windows.Forms.TextBox();
|
this.szavazatmezo = new System.Windows.Forms.TextBox();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
|
this.partmezo = new System.Windows.Forms.TextBox();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.keruletmezo = new System.Windows.Forms.TextBox();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.nevmezo = new System.Windows.Forms.TextBox();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
this.listBox2 = new System.Windows.Forms.ListBox();
|
this.listBox2 = new System.Windows.Forms.ListBox();
|
||||||
this.megnyitásToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.kilépésToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||||
|
this.statisztikaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.nyertesekToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.menuStrip1.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
this.groupBox1.SuspendLayout();
|
this.groupBox1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
|
@ -75,8 +77,25 @@ namespace ValasztasGUI
|
||||||
this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
this.fájlToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
||||||
this.fájlToolStripMenuItem.Text = "Fájl";
|
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
|
// 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.Name = "műveletekToolStripMenuItem";
|
||||||
this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20);
|
this.műveletekToolStripMenuItem.Size = new System.Drawing.Size(74, 20);
|
||||||
this.műveletekToolStripMenuItem.Text = "Műveletek";
|
this.műveletekToolStripMenuItem.Text = "Műveletek";
|
||||||
|
@ -133,37 +152,21 @@ namespace ValasztasGUI
|
||||||
this.groupBox1.TabStop = false;
|
this.groupBox1.TabStop = false;
|
||||||
this.groupBox1.Text = "Kiválasztott jelölt adatai:";
|
this.groupBox1.Text = "Kiválasztott jelölt adatai:";
|
||||||
//
|
//
|
||||||
// label3
|
// szavazatmezo
|
||||||
//
|
//
|
||||||
this.label3.AutoSize = true;
|
this.szavazatmezo.Location = new System.Drawing.Point(164, 122);
|
||||||
this.label3.Location = new System.Drawing.Point(15, 30);
|
this.szavazatmezo.Name = "szavazatmezo";
|
||||||
this.label3.Name = "label3";
|
this.szavazatmezo.Size = new System.Drawing.Size(65, 20);
|
||||||
this.label3.Size = new System.Drawing.Size(30, 13);
|
this.szavazatmezo.TabIndex = 7;
|
||||||
this.label3.TabIndex = 0;
|
|
||||||
this.label3.Text = "Név:";
|
|
||||||
//
|
//
|
||||||
// nevmezo
|
// label6
|
||||||
//
|
//
|
||||||
this.nevmezo.Location = new System.Drawing.Point(51, 27);
|
this.label6.AutoSize = true;
|
||||||
this.nevmezo.Name = "nevmezo";
|
this.label6.Location = new System.Drawing.Point(15, 125);
|
||||||
this.nevmezo.Size = new System.Drawing.Size(178, 20);
|
this.label6.Name = "label6";
|
||||||
this.nevmezo.TabIndex = 1;
|
this.label6.Size = new System.Drawing.Size(99, 13);
|
||||||
//
|
this.label6.TabIndex = 6;
|
||||||
// keruletmezo
|
this.label6.Text = "Szavazatok száma:";
|
||||||
//
|
|
||||||
this.keruletmezo.Location = new System.Drawing.Point(164, 60);
|
|
||||||
this.keruletmezo.Name = "keruletmezo";
|
|
||||||
this.keruletmezo.Size = new System.Drawing.Size(65, 20);
|
|
||||||
this.keruletmezo.TabIndex = 3;
|
|
||||||
//
|
|
||||||
// label4
|
|
||||||
//
|
|
||||||
this.label4.AutoSize = true;
|
|
||||||
this.label4.Location = new System.Drawing.Point(15, 63);
|
|
||||||
this.label4.Name = "label4";
|
|
||||||
this.label4.Size = new System.Drawing.Size(115, 13);
|
|
||||||
this.label4.TabIndex = 2;
|
|
||||||
this.label4.Text = "Választókerület száma:";
|
|
||||||
//
|
//
|
||||||
// partmezo
|
// partmezo
|
||||||
//
|
//
|
||||||
|
@ -181,21 +184,37 @@ namespace ValasztasGUI
|
||||||
this.label5.TabIndex = 4;
|
this.label5.TabIndex = 4;
|
||||||
this.label5.Text = "Párt:";
|
this.label5.Text = "Párt:";
|
||||||
//
|
//
|
||||||
// szavazatmezo
|
// keruletmezo
|
||||||
//
|
//
|
||||||
this.szavazatmezo.Location = new System.Drawing.Point(164, 122);
|
this.keruletmezo.Location = new System.Drawing.Point(164, 60);
|
||||||
this.szavazatmezo.Name = "szavazatmezo";
|
this.keruletmezo.Name = "keruletmezo";
|
||||||
this.szavazatmezo.Size = new System.Drawing.Size(65, 20);
|
this.keruletmezo.Size = new System.Drawing.Size(65, 20);
|
||||||
this.szavazatmezo.TabIndex = 7;
|
this.keruletmezo.TabIndex = 3;
|
||||||
//
|
//
|
||||||
// label6
|
// label4
|
||||||
//
|
//
|
||||||
this.label6.AutoSize = true;
|
this.label4.AutoSize = true;
|
||||||
this.label6.Location = new System.Drawing.Point(15, 125);
|
this.label4.Location = new System.Drawing.Point(15, 63);
|
||||||
this.label6.Name = "label6";
|
this.label4.Name = "label4";
|
||||||
this.label6.Size = new System.Drawing.Size(99, 13);
|
this.label4.Size = new System.Drawing.Size(115, 13);
|
||||||
this.label6.TabIndex = 6;
|
this.label4.TabIndex = 2;
|
||||||
this.label6.Text = "Szavazatok száma:";
|
this.label4.Text = "Választókerület száma:";
|
||||||
|
//
|
||||||
|
// nevmezo
|
||||||
|
//
|
||||||
|
this.nevmezo.Location = new System.Drawing.Point(51, 27);
|
||||||
|
this.nevmezo.Name = "nevmezo";
|
||||||
|
this.nevmezo.Size = new System.Drawing.Size(178, 20);
|
||||||
|
this.nevmezo.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(15, 30);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(30, 13);
|
||||||
|
this.label3.TabIndex = 0;
|
||||||
|
this.label3.Text = "Név:";
|
||||||
//
|
//
|
||||||
// button1
|
// button1
|
||||||
//
|
//
|
||||||
|
@ -205,6 +224,7 @@ namespace ValasztasGUI
|
||||||
this.button1.TabIndex = 5;
|
this.button1.TabIndex = 5;
|
||||||
this.button1.Text = "Ebben a kerületben voltak még:";
|
this.button1.Text = "Ebben a kerületben voltak még:";
|
||||||
this.button1.UseVisualStyleBackColor = true;
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
//
|
//
|
||||||
// listBox2
|
// listBox2
|
||||||
//
|
//
|
||||||
|
@ -214,24 +234,23 @@ namespace ValasztasGUI
|
||||||
this.listBox2.Size = new System.Drawing.Size(235, 134);
|
this.listBox2.Size = new System.Drawing.Size(235, 134);
|
||||||
this.listBox2.TabIndex = 6;
|
this.listBox2.TabIndex = 6;
|
||||||
//
|
//
|
||||||
// megnyitásToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.megnyitásToolStripMenuItem.Name = "megnyitásToolStripMenuItem";
|
|
||||||
this.megnyitásToolStripMenuItem.Size = new System.Drawing.Size(180, 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(180, 22);
|
|
||||||
this.kilépésToolStripMenuItem.Text = "Kilépés";
|
|
||||||
this.kilépésToolStripMenuItem.Click += new System.EventHandler(this.kilépésToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// openFileDialog1
|
// openFileDialog1
|
||||||
//
|
//
|
||||||
this.openFileDialog1.FileName = "openFileDialog1";
|
this.openFileDialog1.FileName = "openFileDialog1";
|
||||||
//
|
//
|
||||||
|
// 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";
|
||||||
|
//
|
||||||
// Form1
|
// Form1
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
@ -279,6 +298,8 @@ namespace ValasztasGUI
|
||||||
private System.Windows.Forms.ToolStripMenuItem megnyitásToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem megnyitásToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem kilépésToolStripMenuItem;
|
||||||
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem statisztikaToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem nyertesekToolStripMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,16 +13,25 @@ namespace ValasztasGUI
|
||||||
{
|
{
|
||||||
public partial class Form1 : Form
|
public partial class Form1 : Form
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Dictionary<string, string> partok;
|
||||||
|
List<Kepviselo> jeloltek;
|
||||||
public Form1()
|
public Form1()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
partok = new Dictionary<string, string>();
|
||||||
|
partok.Add("ZEP", "Zöldségevők pártja");
|
||||||
|
partok.Add("HEP", "Húsevők pártja");
|
||||||
|
partok.Add("GYEP", "Gyümölcsevők pártja");
|
||||||
|
partok.Add("TISZ", "Tejivók szövetsége");
|
||||||
|
partok.Add("független", "független");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void megnyitásToolStripMenuItem_Click(object sender, EventArgs e)
|
private void megnyitásToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (openFileDialog1.ShowDialog()==DialogResult.OK)
|
if (openFileDialog1.ShowDialog()==DialogResult.OK)
|
||||||
{
|
{
|
||||||
List<Kepviselo> jeloltek = Kepviselo.LoadFromTxt(openFileDialog1.FileName);
|
jeloltek = Kepviselo.LoadFromTxt(openFileDialog1.FileName);
|
||||||
listBox1.Items.AddRange(jeloltek.ToArray());
|
listBox1.Items.AddRange(jeloltek.ToArray());
|
||||||
// vagy listBox1.DataSource = jeloltek;
|
// vagy listBox1.DataSource = jeloltek;
|
||||||
listBox1.DisplayMember = "TeljesNev";
|
listBox1.DisplayMember = "TeljesNev";
|
||||||
|
@ -39,12 +48,7 @@ namespace ValasztasGUI
|
||||||
|
|
||||||
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
|
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Dictionary<string, string> partok = new Dictionary<string, string>();
|
|
||||||
partok.Add("ZEP", "Zöldségevők pártja");
|
|
||||||
partok.Add("HEP", "Húsevők pártja");
|
|
||||||
partok.Add("GYEP", "Gyümölcsevők pártja");
|
|
||||||
partok.Add("TISZ", "Tejivók szövetsége");
|
|
||||||
partok.Add("független", "független");
|
|
||||||
if(listBox1.SelectedIndex>=0)
|
if(listBox1.SelectedIndex>=0)
|
||||||
{
|
{
|
||||||
Kepviselo kk = (listBox1.SelectedItem as Kepviselo);
|
Kepviselo kk = (listBox1.SelectedItem as Kepviselo);
|
||||||
|
@ -54,5 +58,39 @@ namespace ValasztasGUI
|
||||||
szavazatmezo.Text = kk.Szavazat.ToString();
|
szavazatmezo.Text = kk.Szavazat.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (listBox1.SelectedIndex<0)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Nincs kiválasztott képviselő!", "Hiba!",MessageBoxButtons.OK,MessageBoxIcon.Error);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
Kepviselo kk = (listBox1.SelectedItem as Kepviselo);
|
||||||
|
//listBox2.DisplayMember = "Teljesnev";
|
||||||
|
foreach (var item in jeloltek)
|
||||||
|
{
|
||||||
|
if(item.Kerulet == kk.Kerulet && item!=kk)
|
||||||
|
{
|
||||||
|
|
||||||
|
listBox2.Items.Add($"{item.TeljesNev} ({item.Szavazat} szavazat)");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void statisztikaToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if(jeloltek==null || jeloltek.Count==0)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Nincsenek képviselői adatok!", "Hiba!", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
//a másik form megnyitása
|
||||||
|
StatisztikaForm f2 = new StatisztikaForm();
|
||||||
|
f2.ShowDialog();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
53
ValasztasGUI/Properties/Resources.Designer.cs
generated
53
ValasztasGUI/Properties/Resources.Designer.cs
generated
|
@ -8,9 +8,10 @@
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace ValasztasGUI.Properties {
|
||||||
namespace ValasztasGUI.Properties
|
using System;
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -18,53 +19,55 @@ namespace ValasztasGUI.Properties
|
||||||
// class via a tool like ResGen or Visual Studio.
|
// class via a tool like ResGen or Visual Studio.
|
||||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||||
// with the /str option, or rebuild your VS project.
|
// with the /str option, or rebuild your VS project.
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
internal class Resources
|
internal class Resources {
|
||||||
{
|
|
||||||
|
|
||||||
private static global::System.Resources.ResourceManager resourceMan;
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
internal Resources()
|
internal Resources() {
|
||||||
{
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the cached ResourceManager instance used by this class.
|
/// Returns the cached ResourceManager instance used by this class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Resources.ResourceManager ResourceManager
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
{
|
get {
|
||||||
get
|
if (object.ReferenceEquals(resourceMan, null)) {
|
||||||
{
|
|
||||||
if ((resourceMan == null))
|
|
||||||
{
|
|
||||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ValasztasGUI.Properties.Resources", typeof(Resources).Assembly);
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ValasztasGUI.Properties.Resources", typeof(Resources).Assembly);
|
||||||
resourceMan = temp;
|
resourceMan = temp;
|
||||||
}
|
}
|
||||||
return resourceMan;
|
return resourceMan;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Overrides the current thread's CurrentUICulture property for all
|
/// Overrides the current thread's CurrentUICulture property for all
|
||||||
/// resource lookups using this strongly typed resource class.
|
/// resource lookups using this strongly typed resource class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Globalization.CultureInfo Culture
|
internal static global::System.Globalization.CultureInfo Culture {
|
||||||
{
|
get {
|
||||||
get
|
|
||||||
{
|
|
||||||
return resourceCulture;
|
return resourceCulture;
|
||||||
}
|
}
|
||||||
set
|
set {
|
||||||
{
|
|
||||||
resourceCulture = value;
|
resourceCulture = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap graphstat {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("graphstat", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
@ -60,6 +60,7 @@
|
||||||
: and then encoded with base64 encoding.
|
: 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: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:element name="root" msdata:IsDataSet="true">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:choice maxOccurs="unbounded">
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
@ -68,9 +69,10 @@
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="assembly">
|
<xsd:element name="assembly">
|
||||||
|
@ -85,9 +87,10 @@
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<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:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
<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="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="resheader">
|
<xsd:element name="resheader">
|
||||||
|
@ -109,9 +112,13 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<resheader name="reader">
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
|
<data name="graphstat" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\graphstat.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
BIN
ValasztasGUI/Resources/graphstat.jpg
Normal file
BIN
ValasztasGUI/Resources/graphstat.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
201
ValasztasGUI/StatisztikaForm.Designer.cs
generated
Normal file
201
ValasztasGUI/StatisztikaForm.Designer.cs
generated
Normal file
|
@ -0,0 +1,201 @@
|
||||||
|
|
||||||
|
namespace ValasztasGUI
|
||||||
|
{
|
||||||
|
partial class StatisztikaForm
|
||||||
|
{
|
||||||
|
/// <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.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.textBox4 = new System.Windows.Forms.TextBox();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.Image = global::ValasztasGUI.Properties.Resources.graphstat;
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(12, 12);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(100, 112);
|
||||||
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||||
|
this.pictureBox1.TabIndex = 0;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(127, 26);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(204, 13);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "Összes szavazásra jogosult polgár száma:";
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(337, 23);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(79, 20);
|
||||||
|
this.textBox1.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(256, 62);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(160, 24);
|
||||||
|
this.button1.TabIndex = 3;
|
||||||
|
this.button1.Text = "Statisztika kitöltése";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// textBox2
|
||||||
|
//
|
||||||
|
this.textBox2.Location = new System.Drawing.Point(337, 104);
|
||||||
|
this.textBox2.Name = "textBox2";
|
||||||
|
this.textBox2.Size = new System.Drawing.Size(79, 20);
|
||||||
|
this.textBox2.TabIndex = 5;
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(164, 107);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(167, 13);
|
||||||
|
this.label2.TabIndex = 4;
|
||||||
|
this.label2.Text = "Az induló képviselőjelöltek száma:";
|
||||||
|
//
|
||||||
|
// textBox3
|
||||||
|
//
|
||||||
|
this.textBox3.Location = new System.Drawing.Point(167, 157);
|
||||||
|
this.textBox3.Name = "textBox3";
|
||||||
|
this.textBox3.Size = new System.Drawing.Size(60, 20);
|
||||||
|
this.textBox3.TabIndex = 7;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(12, 160);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(142, 13);
|
||||||
|
this.label3.TabIndex = 6;
|
||||||
|
this.label3.Text = "A választáson szavazott (fő):";
|
||||||
|
//
|
||||||
|
// textBox4
|
||||||
|
//
|
||||||
|
this.textBox4.Location = new System.Drawing.Point(317, 157);
|
||||||
|
this.textBox4.Name = "textBox4";
|
||||||
|
this.textBox4.Size = new System.Drawing.Size(67, 20);
|
||||||
|
this.textBox4.TabIndex = 9;
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.Location = new System.Drawing.Point(233, 160);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(78, 13);
|
||||||
|
this.label4.TabIndex = 8;
|
||||||
|
this.label4.Text = "ez a jogosultak";
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.Location = new System.Drawing.Point(390, 160);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(24, 13);
|
||||||
|
this.label5.TabIndex = 10;
|
||||||
|
this.label5.Text = "%-a";
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.Location = new System.Drawing.Point(175, 406);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button2.TabIndex = 11;
|
||||||
|
this.button2.Text = "Bezár";
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||||
|
//
|
||||||
|
// label6
|
||||||
|
//
|
||||||
|
this.label6.AutoSize = true;
|
||||||
|
this.label6.Location = new System.Drawing.Point(12, 201);
|
||||||
|
this.label6.Name = "label6";
|
||||||
|
this.label6.Size = new System.Drawing.Size(222, 13);
|
||||||
|
this.label6.TabIndex = 12;
|
||||||
|
this.label6.Text = "Az egyes pártokra leadott szavazatok aránya:";
|
||||||
|
//
|
||||||
|
// StatisztikaForm
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(439, 450);
|
||||||
|
this.Controls.Add(this.label6);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.label5);
|
||||||
|
this.Controls.Add(this.textBox4);
|
||||||
|
this.Controls.Add(this.label4);
|
||||||
|
this.Controls.Add(this.textBox3);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.textBox2);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
|
this.Name = "StatisztikaForm";
|
||||||
|
this.Text = "Választási statisztika";
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.TextBox textBox2;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.TextBox textBox3;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.TextBox textBox4;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
private System.Windows.Forms.Label label6;
|
||||||
|
}
|
||||||
|
}
|
25
ValasztasGUI/StatisztikaForm.cs
Normal file
25
ValasztasGUI/StatisztikaForm.cs
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace ValasztasGUI
|
||||||
|
{
|
||||||
|
public partial class StatisztikaForm : Form
|
||||||
|
{
|
||||||
|
public StatisztikaForm()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
120
ValasztasGUI/StatisztikaForm.resx
Normal file
120
ValasztasGUI/StatisztikaForm.resx
Normal file
|
@ -0,0 +1,120 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
|
@ -54,6 +54,12 @@
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="StatisztikaForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="StatisztikaForm.Designer.cs">
|
||||||
|
<DependentUpon>StatisztikaForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<EmbeddedResource Include="Form1.resx">
|
<EmbeddedResource Include="Form1.resx">
|
||||||
<DependentUpon>Form1.cs</DependentUpon>
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
@ -65,7 +71,11 @@
|
||||||
<Compile Include="Properties\Resources.Designer.cs">
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<EmbeddedResource Include="StatisztikaForm.resx">
|
||||||
|
<DependentUpon>StatisztikaForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
@ -85,5 +95,8 @@
|
||||||
<Name>Valasztas2</Name>
|
<Name>Valasztas2</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\graphstat.jpg" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in New Issue
Block a user