finished HW #1
This commit is contained in:
parent
3df13eabe6
commit
4644da4212
|
@ -0,0 +1 @@
|
||||||
|
{"RootPath":"E:\\Házi\\Programozás\\C#\\Suli\\ProgaOra\\20250219\\asztali_minta_valasztas\\ValasztasGUI","ProjectFileName":"ValasztasGUI.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"App.xaml.cs"},{"SourceFile":"MainWindow.xaml.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"Properties\\Resources.Designer.cs"},{"SourceFile":"Properties\\Settings.Designer.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.8.AssemblyAttributes.cs"},{"SourceFile":"E:\\Házi\\Programozás\\C#\\Suli\\ProgaOra\\20250219\\asztali_minta_valasztas\\ValasztasGUI\\obj\\Debug\\MainWindow.g.cs"},{"SourceFile":"E:\\Házi\\Programozás\\C#\\Suli\\ProgaOra\\20250219\\asztali_minta_valasztas\\ValasztasGUI\\obj\\Debug\\App.g.cs"}],"References":[{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\PresentationCore.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\PresentationFramework.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Xaml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\WindowsBase.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"E:\\Házi\\Programozás\\C#\\Suli\\ProgaOra\\20250219\\asztali_minta_valasztas\\ValasztasGUI\\bin\\Debug\\ValasztasGUI.exe","OutputItemRelativePath":"ValasztasGUI.exe"},{"OutputItemFullPath":"E:\\Házi\\Programozás\\C#\\Suli\\ProgaOra\\20250219\\asztali_minta_valasztas\\ValasztasGUI\\bin\\Debug\\ValasztasGUI.pdb","OutputItemRelativePath":"ValasztasGUI.pdb"}],"CopyToOutputEntries":[]}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -29,7 +29,7 @@
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem Header="Műveletek">
|
<MenuItem Header="Műveletek">
|
||||||
<MenuItem Header="Statisztika"></MenuItem>
|
<MenuItem Header="Statisztika" Name="Statisztika" Click="Statisztika_Click"></MenuItem>
|
||||||
<MenuItem Header="Nyertesek" Name="Nyertesek" Click="Nyertesek_Click"></MenuItem>
|
<MenuItem Header="Nyertesek" Name="Nyertesek" Click="Nyertesek_Click"></MenuItem>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem Header="Súgó">
|
<MenuItem Header="Súgó">
|
||||||
|
|
|
@ -15,6 +15,7 @@ using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
using ValasztasGUI.View;
|
||||||
|
|
||||||
namespace ValasztasGUI
|
namespace ValasztasGUI
|
||||||
{
|
{
|
||||||
|
@ -24,7 +25,7 @@ namespace ValasztasGUI
|
||||||
|
|
||||||
public static class Eredmeny
|
public static class Eredmeny
|
||||||
{
|
{
|
||||||
public static List<Kepviselo> kepviselok = new List<Kepviselo>();
|
public static List<Kepviselo> kepviselok = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Kepviselo
|
public class Kepviselo
|
||||||
|
@ -199,5 +200,17 @@ namespace ValasztasGUI
|
||||||
{
|
{
|
||||||
Kepviselo.ValosztokeruletiGyoztesek(Eredmeny.kepviselok);
|
Kepviselo.ValosztokeruletiGyoztesek(Eredmeny.kepviselok);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Statisztika_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
if (Eredmeny.kepviselok != null)
|
||||||
|
{
|
||||||
|
Statisztika statisztika = new Statisztika();
|
||||||
|
statisztika.Show();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
MessageBox.Show("Az adatok nem kerültek importálásra!", "Hiba", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,6 +55,9 @@
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</ApplicationDefinition>
|
</ApplicationDefinition>
|
||||||
|
<Compile Include="View\Statisztika.xaml.cs">
|
||||||
|
<DependentUpon>Statisztika.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Page Include="MainWindow.xaml">
|
<Page Include="MainWindow.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
|
@ -67,6 +70,10 @@
|
||||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Page Include="View\Statisztika.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Properties\AssemblyInfo.cs">
|
<Compile Include="Properties\AssemblyInfo.cs">
|
||||||
|
|
|
@ -0,0 +1,66 @@
|
||||||
|
<Window x:Class="ValasztasGUI.View.Statisztika"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:local="clr-namespace:ValasztasGUI.View"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Title="Statisztika" Height="450" Width="800">
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="10*"></RowDefinition>
|
||||||
|
<RowDefinition Height="10*"></RowDefinition>
|
||||||
|
<RowDefinition Height="10*"></RowDefinition>
|
||||||
|
<RowDefinition Height="10*"></RowDefinition>
|
||||||
|
<RowDefinition Height="10*"></RowDefinition>
|
||||||
|
<RowDefinition Height="40*"></RowDefinition>
|
||||||
|
<RowDefinition Height="10*"></RowDefinition>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition></ColumnDefinition>
|
||||||
|
<ColumnDefinition></ColumnDefinition>
|
||||||
|
<ColumnDefinition></ColumnDefinition>
|
||||||
|
<ColumnDefinition></ColumnDefinition>
|
||||||
|
<ColumnDefinition></ColumnDefinition>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Label Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="3">
|
||||||
|
Összes szavazásra jogosultpolgár száma:
|
||||||
|
</Label>
|
||||||
|
<TextBox Grid.Row="0" Grid.Column="4" Margin="10" Name="szavazasraJogosultakSzamaTextBox">
|
||||||
|
|
||||||
|
</TextBox>
|
||||||
|
|
||||||
|
<Button Grid.Row="1" Grid.Column="4" Content="Statisztika kitöltése" Margin="10" Name="szavazasraJogosultakSzamaButton" Click="szavazasraJogosultakSzamaButton_Click">
|
||||||
|
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Label Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3">
|
||||||
|
Az induló képviselőjelöltek száma:
|
||||||
|
</Label>
|
||||||
|
<TextBox Grid.Row="2" Grid.Column="4" Margin="10" Name="kepviselokSzamaTextBox">
|
||||||
|
|
||||||
|
</TextBox>
|
||||||
|
|
||||||
|
<Label Grid.Row="3" Grid.Column="0" VerticalAlignment="Center">
|
||||||
|
A választáson szavazott (fő):
|
||||||
|
</Label>
|
||||||
|
<TextBox Grid.Row="3" Grid.Column="1" Margin="10" Name="szavazottakTextBox"></TextBox>
|
||||||
|
<Label Grid.Row="3" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||||
|
ez a jogosultak
|
||||||
|
</Label>
|
||||||
|
<TextBox Grid.Row="3" Grid.Column="3" Margin="10" Name="szazalekTextBox"></TextBox>
|
||||||
|
<Label Grid.Row="3" Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||||
|
%-a
|
||||||
|
</Label>
|
||||||
|
|
||||||
|
<Label Grid.Row="4" Grid.Column="0" VerticalAlignment="Top" HorizontalAlignment="Left" Grid.ColumnSpan="3">
|
||||||
|
Az egyes pártokra leadott szavazatok aránya:
|
||||||
|
</Label>
|
||||||
|
<ListBox Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="3" Name="szavazatiaranyokListBox">
|
||||||
|
|
||||||
|
</ListBox>
|
||||||
|
|
||||||
|
<Button Grid.Row="6" Grid.Column="2" Margin="10" Content="Bezár" Click="Button_Click">
|
||||||
|
</Button>
|
||||||
|
</Grid>
|
||||||
|
</Window>
|
|
@ -0,0 +1,66 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
|
namespace ValasztasGUI.View
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interaction logic for Statisztika.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class Statisztika : Window
|
||||||
|
{
|
||||||
|
public Statisztika()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Button_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void szavazasraJogosultakSzamaButton_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
bool szam = Int32.TryParse(szavazasraJogosultakSzamaTextBox.Text, out int result );
|
||||||
|
|
||||||
|
if (!szam)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Hiba az összes jogosult megadásában!", "Hiba", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
kepviselokSzamaTextBox.Text = $"{Eredmeny.kepviselok.Count}";
|
||||||
|
|
||||||
|
int totalszavazatok = Eredmeny.kepviselok.Sum(x => x.Szavazat);
|
||||||
|
szavazottakTextBox.Text = $"{totalszavazatok}";
|
||||||
|
|
||||||
|
double szazalek = ((double)totalszavazatok / (double)result) * 100;
|
||||||
|
szazalekTextBox.Text = szazalek.ToString("0.##");
|
||||||
|
|
||||||
|
|
||||||
|
var partokTeljesitmenye = Eredmeny.kepviselok.GroupBy(x => x.Part).Select(g => new
|
||||||
|
{
|
||||||
|
Part = g.Key,
|
||||||
|
Szazalek = ((double)g.Count() / (double)totalszavazatok) * 10000
|
||||||
|
})
|
||||||
|
.OrderByDescending(x => x.Szazalek)
|
||||||
|
.Select(x => (x.Part, x.Szazalek))
|
||||||
|
.ToList();
|
||||||
|
|
||||||
|
foreach (var item in partokTeljesitmenye)
|
||||||
|
{
|
||||||
|
szavazatiaranyokListBox.Items.Add($"{(item.Part == "-" ? "független" : item.Part)} {item.Szazalek.ToString("0.##")}%");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E2DB0723ED6272D8E119D3BBDFE60C6C3517BD7F36FE11AB854761F447510ED8"
|
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BE03C50B2D1C269C2C026526A80E0FB16D230CEAB4F942B328A994C18143126F"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
|
@ -49,6 +49,14 @@ namespace ValasztasGUI {
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 32 "..\..\MainWindow.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.MenuItem Statisztika;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 33 "..\..\MainWindow.xaml"
|
#line 33 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.MenuItem Nyertesek;
|
internal System.Windows.Controls.MenuItem Nyertesek;
|
||||||
|
@ -168,6 +176,15 @@ namespace ValasztasGUI {
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 3:
|
case 3:
|
||||||
|
this.Statisztika = ((System.Windows.Controls.MenuItem)(target));
|
||||||
|
|
||||||
|
#line 32 "..\..\MainWindow.xaml"
|
||||||
|
this.Statisztika.Click += new System.Windows.RoutedEventHandler(this.Statisztika_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
case 4:
|
||||||
this.Nyertesek = ((System.Windows.Controls.MenuItem)(target));
|
this.Nyertesek = ((System.Windows.Controls.MenuItem)(target));
|
||||||
|
|
||||||
#line 33 "..\..\MainWindow.xaml"
|
#line 33 "..\..\MainWindow.xaml"
|
||||||
|
@ -176,7 +193,7 @@ namespace ValasztasGUI {
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 5:
|
||||||
this.informatoin = ((System.Windows.Controls.MenuItem)(target));
|
this.informatoin = ((System.Windows.Controls.MenuItem)(target));
|
||||||
|
|
||||||
#line 36 "..\..\MainWindow.xaml"
|
#line 36 "..\..\MainWindow.xaml"
|
||||||
|
@ -185,7 +202,7 @@ namespace ValasztasGUI {
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 5:
|
case 6:
|
||||||
this.jeloltekListBox = ((System.Windows.Controls.ListBox)(target));
|
this.jeloltekListBox = ((System.Windows.Controls.ListBox)(target));
|
||||||
|
|
||||||
#line 43 "..\..\MainWindow.xaml"
|
#line 43 "..\..\MainWindow.xaml"
|
||||||
|
@ -194,19 +211,19 @@ namespace ValasztasGUI {
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 6:
|
case 7:
|
||||||
this.nevTextBox = ((System.Windows.Controls.TextBox)(target));
|
this.nevTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
return;
|
return;
|
||||||
case 7:
|
case 8:
|
||||||
this.valasztokeruletSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
this.valasztokeruletSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
return;
|
return;
|
||||||
case 8:
|
case 9:
|
||||||
this.partTextBox = ((System.Windows.Controls.TextBox)(target));
|
this.partTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
return;
|
return;
|
||||||
case 9:
|
case 10:
|
||||||
this.szavazatokSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
this.szavazatokSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
return;
|
return;
|
||||||
case 10:
|
case 11:
|
||||||
this.keruletButton = ((System.Windows.Controls.Button)(target));
|
this.keruletButton = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
#line 77 "..\..\MainWindow.xaml"
|
#line 77 "..\..\MainWindow.xaml"
|
||||||
|
@ -215,7 +232,7 @@ namespace ValasztasGUI {
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 11:
|
case 12:
|
||||||
this.keruletListBox = ((System.Windows.Controls.ListBox)(target));
|
this.keruletListBox = ((System.Windows.Controls.ListBox)(target));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E2DB0723ED6272D8E119D3BBDFE60C6C3517BD7F36FE11AB854761F447510ED8"
|
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BE03C50B2D1C269C2C026526A80E0FB16D230CEAB4F942B328A994C18143126F"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
|
@ -49,6 +49,14 @@ namespace ValasztasGUI {
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 32 "..\..\MainWindow.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.MenuItem Statisztika;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 33 "..\..\MainWindow.xaml"
|
#line 33 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.MenuItem Nyertesek;
|
internal System.Windows.Controls.MenuItem Nyertesek;
|
||||||
|
@ -168,6 +176,15 @@ namespace ValasztasGUI {
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 3:
|
case 3:
|
||||||
|
this.Statisztika = ((System.Windows.Controls.MenuItem)(target));
|
||||||
|
|
||||||
|
#line 32 "..\..\MainWindow.xaml"
|
||||||
|
this.Statisztika.Click += new System.Windows.RoutedEventHandler(this.Statisztika_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
case 4:
|
||||||
this.Nyertesek = ((System.Windows.Controls.MenuItem)(target));
|
this.Nyertesek = ((System.Windows.Controls.MenuItem)(target));
|
||||||
|
|
||||||
#line 33 "..\..\MainWindow.xaml"
|
#line 33 "..\..\MainWindow.xaml"
|
||||||
|
@ -176,7 +193,7 @@ namespace ValasztasGUI {
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 5:
|
||||||
this.informatoin = ((System.Windows.Controls.MenuItem)(target));
|
this.informatoin = ((System.Windows.Controls.MenuItem)(target));
|
||||||
|
|
||||||
#line 36 "..\..\MainWindow.xaml"
|
#line 36 "..\..\MainWindow.xaml"
|
||||||
|
@ -185,7 +202,7 @@ namespace ValasztasGUI {
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 5:
|
case 6:
|
||||||
this.jeloltekListBox = ((System.Windows.Controls.ListBox)(target));
|
this.jeloltekListBox = ((System.Windows.Controls.ListBox)(target));
|
||||||
|
|
||||||
#line 43 "..\..\MainWindow.xaml"
|
#line 43 "..\..\MainWindow.xaml"
|
||||||
|
@ -194,19 +211,19 @@ namespace ValasztasGUI {
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 6:
|
case 7:
|
||||||
this.nevTextBox = ((System.Windows.Controls.TextBox)(target));
|
this.nevTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
return;
|
return;
|
||||||
case 7:
|
case 8:
|
||||||
this.valasztokeruletSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
this.valasztokeruletSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
return;
|
return;
|
||||||
case 8:
|
case 9:
|
||||||
this.partTextBox = ((System.Windows.Controls.TextBox)(target));
|
this.partTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
return;
|
return;
|
||||||
case 9:
|
case 10:
|
||||||
this.szavazatokSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
this.szavazatokSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
return;
|
return;
|
||||||
case 10:
|
case 11:
|
||||||
this.keruletButton = ((System.Windows.Controls.Button)(target));
|
this.keruletButton = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
#line 77 "..\..\MainWindow.xaml"
|
#line 77 "..\..\MainWindow.xaml"
|
||||||
|
@ -215,7 +232,7 @@ namespace ValasztasGUI {
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 11:
|
case 12:
|
||||||
this.keruletListBox = ((System.Windows.Controls.ListBox)(target));
|
this.keruletListBox = ((System.Windows.Controls.ListBox)(target));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
d286842429ee422c1ba8868878accae64211c72883547e0235ddf8b9a6a604b1
|
3c1fdb3d4372221d1f45e2136cdc8d4f713ebcdf4efffcefa9ed052eb8c11210
|
||||||
|
|
|
@ -28,3 +28,5 @@ C:\Users\szabomarton\Desktop\C#\ProgaOra\20250219\asztali_minta_valasztas\Valasz
|
||||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\obj\Debug\ValasztasGUI.csproj.CoreCompileInputs.cache
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\obj\Debug\ValasztasGUI.csproj.CoreCompileInputs.cache
|
||||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\obj\Debug\ValasztasGUI.exe
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\obj\Debug\ValasztasGUI.exe
|
||||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\obj\Debug\ValasztasGUI.pdb
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\obj\Debug\ValasztasGUI.pdb
|
||||||
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\obj\Debug\View\Statisztika.g.cs
|
||||||
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\obj\Debug\View\Statisztika.baml
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -4,17 +4,17 @@
|
||||||
winexe
|
winexe
|
||||||
C#
|
C#
|
||||||
.cs
|
.cs
|
||||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\obj\Debug\
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\obj\Debug\
|
||||||
ValasztasGUI
|
ValasztasGUI
|
||||||
none
|
none
|
||||||
false
|
false
|
||||||
DEBUG;TRACE
|
DEBUG;TRACE
|
||||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\App.xaml
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\App.xaml
|
||||||
1219584333
|
21657169525
|
||||||
|
|
||||||
51579654133
|
6-1041556003
|
||||||
13-38814620
|
13-38814620
|
||||||
MainWindow.xaml;
|
MainWindow.xaml;View\Statisztika.xaml;
|
||||||
|
|
||||||
False
|
False
|
||||||
|
|
||||||
|
|
|
@ -10,11 +10,11 @@ none
|
||||||
false
|
false
|
||||||
DEBUG;TRACE
|
DEBUG;TRACE
|
||||||
E:\Házi\Programozás\C#\Suli\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\App.xaml
|
E:\Házi\Programozás\C#\Suli\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\App.xaml
|
||||||
1219584333
|
21657169525
|
||||||
|
|
||||||
6-793535042
|
7880222118
|
||||||
13-38814620
|
13-38814620
|
||||||
MainWindow.xaml;
|
MainWindow.xaml;View\Statisztika.xaml;
|
||||||
|
|
||||||
True
|
True
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
FE:\Házi\Programozás\C#\Suli\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\MainWindow.xaml;;
|
FE:\Házi\Programozás\C#\Suli\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\View\Statisztika.xaml;;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
FC:\Users\szabomarton\Desktop\C#\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\MainWindow.xaml;;
|
FE:\Házi\Programozás\C#\Suli\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\MainWindow.xaml;;
|
||||||
|
FE:\Házi\Programozás\C#\Suli\ProgaOra\20250219\asztali_minta_valasztas\ValasztasGUI\View\Statisztika.xaml;;
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -0,0 +1,158 @@
|
||||||
|
#pragma checksum "..\..\..\View\Statisztika.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "DD2D641370B258319D05EE66EC41AA2DEE62ABB000782FF75273CC61B57F0B95"
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Automation;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Controls.Primitives;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Ink;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Markup;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Animation;
|
||||||
|
using System.Windows.Media.Effects;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Media.Media3D;
|
||||||
|
using System.Windows.Media.TextFormatting;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
using System.Windows.Shell;
|
||||||
|
using ValasztasGUI.View;
|
||||||
|
|
||||||
|
|
||||||
|
namespace ValasztasGUI.View {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Statisztika
|
||||||
|
/// </summary>
|
||||||
|
public partial class Statisztika : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
|
|
||||||
|
#line 29 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox szavazasraJogosultakSzamaTextBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 33 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.Button szavazasraJogosultakSzamaButton;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 40 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox kepviselokSzamaTextBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 47 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox szavazottakTextBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 51 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox szazalekTextBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 59 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.ListBox szavazatiaranyokListBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
private bool _contentLoaded;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// InitializeComponent
|
||||||
|
/// </summary>
|
||||||
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
|
public void InitializeComponent() {
|
||||||
|
if (_contentLoaded) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
_contentLoaded = true;
|
||||||
|
System.Uri resourceLocater = new System.Uri("/ValasztasGUI;component/view/statisztika.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
|
#line 1 "..\..\..\View\Statisztika.xaml"
|
||||||
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
}
|
||||||
|
|
||||||
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
|
switch (connectionId)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
this.szavazasraJogosultakSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 2:
|
||||||
|
this.szavazasraJogosultakSzamaButton = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
|
#line 33 "..\..\..\View\Statisztika.xaml"
|
||||||
|
this.szavazasraJogosultakSzamaButton.Click += new System.Windows.RoutedEventHandler(this.szavazasraJogosultakSzamaButton_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
case 3:
|
||||||
|
this.kepviselokSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 4:
|
||||||
|
this.szavazottakTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 5:
|
||||||
|
this.szazalekTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 6:
|
||||||
|
this.szavazatiaranyokListBox = ((System.Windows.Controls.ListBox)(target));
|
||||||
|
return;
|
||||||
|
case 7:
|
||||||
|
|
||||||
|
#line 63 "..\..\..\View\Statisztika.xaml"
|
||||||
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this._contentLoaded = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,158 @@
|
||||||
|
#pragma checksum "..\..\..\View\Statisztika.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "DD2D641370B258319D05EE66EC41AA2DEE62ABB000782FF75273CC61B57F0B95"
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Automation;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Controls.Primitives;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Ink;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Markup;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Animation;
|
||||||
|
using System.Windows.Media.Effects;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Media.Media3D;
|
||||||
|
using System.Windows.Media.TextFormatting;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
using System.Windows.Shell;
|
||||||
|
using ValasztasGUI.View;
|
||||||
|
|
||||||
|
|
||||||
|
namespace ValasztasGUI.View {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Statisztika
|
||||||
|
/// </summary>
|
||||||
|
public partial class Statisztika : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
|
|
||||||
|
#line 29 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox szavazasraJogosultakSzamaTextBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 33 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.Button szavazasraJogosultakSzamaButton;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 40 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox kepviselokSzamaTextBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 47 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox szavazottakTextBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 51 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox szazalekTextBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 59 "..\..\..\View\Statisztika.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.ListBox szavazatiaranyokListBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
private bool _contentLoaded;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// InitializeComponent
|
||||||
|
/// </summary>
|
||||||
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
|
public void InitializeComponent() {
|
||||||
|
if (_contentLoaded) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
_contentLoaded = true;
|
||||||
|
System.Uri resourceLocater = new System.Uri("/ValasztasGUI;component/view/statisztika.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
|
#line 1 "..\..\..\View\Statisztika.xaml"
|
||||||
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
}
|
||||||
|
|
||||||
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
|
switch (connectionId)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
this.szavazasraJogosultakSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 2:
|
||||||
|
this.szavazasraJogosultakSzamaButton = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
|
#line 33 "..\..\..\View\Statisztika.xaml"
|
||||||
|
this.szavazasraJogosultakSzamaButton.Click += new System.Windows.RoutedEventHandler(this.szavazasraJogosultakSzamaButton_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
case 3:
|
||||||
|
this.kepviselokSzamaTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 4:
|
||||||
|
this.szavazottakTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 5:
|
||||||
|
this.szazalekTextBox = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 6:
|
||||||
|
this.szavazatiaranyokListBox = ((System.Windows.Controls.ListBox)(target));
|
||||||
|
return;
|
||||||
|
case 7:
|
||||||
|
|
||||||
|
#line 63 "..\..\..\View\Statisztika.xaml"
|
||||||
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this._contentLoaded = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user