Add Windows/
This commit is contained in:
23
WGneu/Windows/MainWindow.xaml
Normal file
23
WGneu/Windows/MainWindow.xaml
Normal file
@ -0,0 +1,23 @@
|
||||
<Window x:Class="WGneu.Windows.MainWindow"
|
||||
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:WGneu.Windows"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="450" Width="800" ResizeMode="CanResize" SizeToContent="Manual"
|
||||
Loaded="Window_Loaded">
|
||||
<Window.Resources>
|
||||
<CollectionViewSource x:Key="countryViewSource"/>
|
||||
<DataTemplate x:Key="asdf">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding Name}"/>
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</Window.Resources>
|
||||
<Grid>
|
||||
<Button x:Name="Button1" Content="Bankverbindung" VerticalAlignment="Top" Click="Button1_Click" Margin="454,109,159,0"/>
|
||||
<ComboBox HorizontalAlignment="Left" Margin="175,149,0,0" VerticalAlignment="Top" Width="120" ItemsSource="{Binding Source={StaticResource countryViewSource}}" ItemTemplate="{StaticResource asdf}" SelectionChanged="ComboBox_SelectionChanged" IsEditable="True"/>
|
||||
<Button x:Name="Button2" Content="Mitglieder" Margin="472,182,178,0" VerticalAlignment="Top" Click="Button2_Click"/>
|
||||
</Grid>
|
||||
</Window>
|
Reference in New Issue
Block a user