151 lines
8.1 KiB
XML
151 lines
8.1 KiB
XML
<local:AdministrationWindow x:Class="Elwig.Windows.DeliveryAdminWindow"
|
|
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:Elwig.Windows"
|
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
|
Title="Lieferungsverwaltung - Elwig" Height="600" Width="1000" MinHeight="400" MinWidth="800"
|
|
Loaded="Window_Loaded">
|
|
<Window.Resources>
|
|
<Style TargetType="Label">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Padding" Value="2,4,2,4"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
</Style>
|
|
<Style TargetType="TextBox">
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="Padding" Value="2"/>
|
|
<Setter Property="IsReadOnly" Value="True"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="TextWrapping" Value="NoWrap"/>
|
|
</Style>
|
|
<Style TargetType="ComboBox">
|
|
<Setter Property="IsEnabled" Value="False"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
</Style>
|
|
<Style TargetType="xctk:CheckComboBox">
|
|
<Setter Property="IsEnabled" Value="False"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
</Style>
|
|
<Style TargetType="Button">
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="Padding" Value="9,3"/>
|
|
<Setter Property="Height" Value="27"/>
|
|
</Style>
|
|
</Window.Resources>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="19"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="300"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Menu Grid.ColumnSpan="3" BorderThickness="0,0,0,1" BorderBrush="LightGray" Background="White">
|
|
<MenuItem Header="Lieferung">
|
|
</MenuItem>
|
|
<MenuItem Header="Drucken">
|
|
<MenuItem Header="Lieferschein drucken"/>
|
|
</MenuItem>
|
|
<MenuItem Header="Werkzeuge">
|
|
<MenuItem Header="Alle Lieferscheine überprüfen"/>
|
|
</MenuItem>
|
|
</Menu>
|
|
|
|
<GroupBox Header="Mitglied" Grid.Column="1" Grid.Row="1" Margin="5,5,5,5">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="70"/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Label Content="Mitglied:" Margin="10,10,0,0" Grid.Column="0"/>
|
|
<TextBox x:Name="MgNrInput" Width="48" Grid.Row="1" Grid.Column="1" Margin="0,10,0,0" HorizontalAlignment="Left" TextAlignment="Right"
|
|
IsReadOnly="False" IsEnabled="True"
|
|
TextChanged="MgNrInput_TextChanged" LostFocus="MgNrInput_LostFocus"/>
|
|
<ComboBox x:Name="MemberInput" Grid.Row="1" Grid.Column="1" Margin="53,10,10,10" IsEditable="True" IsEnabled="True"
|
|
ItemTemplate="{StaticResource MemberAdminNameTemplate}" TextSearch.TextPath="AdministrativeName"
|
|
SelectionChanged="MemberInput_SelectionChanged"/>
|
|
|
|
<Label Content="Wohnort:" Margin="10,38,0,0" Grid.Column="0"/>
|
|
<TextBox x:Name="MemberAddressField" Grid.Row="1" Grid.Column="1" Margin="0,40,10,10" FontSize="12" Height="22" IsReadOnly="True"/>
|
|
</Grid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Header="Sorte" Grid.Column="2" Grid.Row="1" Margin="5,5,5,5">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="70"/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Label Content="Sorte:" Margin="10,10,0,0" Grid.Column="0"/>
|
|
<TextBox x:Name="SortIdInput" Width="36" Grid.Row="1" Grid.Column="1" Margin="0,10,0,0" HorizontalAlignment="Left"
|
|
IsReadOnly="False" IsEnabled="True"
|
|
TextChanged="SortIdInput_TextChanged" LostFocus="SortIdInput_LostFocus"/>
|
|
<ComboBox x:Name="WineVarietyInput" Grid.Row="1" Grid.Column="1" Margin="41,10,10,10" IsEnabled="True"
|
|
ItemTemplate="{StaticResource WineVarietyTemplate}" TextSearch.TextPath="Name"
|
|
SelectionChanged="WineVarietyInput_SelectionChanged"/>
|
|
|
|
<Label Content="Attribute:" Margin="10,40,0,0" Grid.Column="0"/>
|
|
<xctk:CheckComboBox x:Name="AttributesInput" Grid.Row="1" Grid.Column="1" Margin="0,40,10,10" IsEnabled="True"
|
|
DisplayMemberPath="Name" Delimiter=", " AllItemsSelectedContent="Alle"
|
|
ItemSelectionChanged="AttributesInput_SelectionChanged"/>
|
|
</Grid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Header="Gradation" Grid.Column="2" Grid.Row="2" Margin="5,5,5,5">
|
|
<Grid>
|
|
<Grid Grid.Row="1" Grid.Column="1" Width="56" Height="25" Margin="10,10,10,10" HorizontalAlignment="Left" VerticalAlignment="Top">
|
|
<TextBox x:Name="GradationOeInput" TextAlignment="Right" Padding="2,1,25,2"
|
|
IsReadOnly="False" IsEnabled="True"
|
|
TextChanged="GradationOeInput_TextChanged" LostFocus="GradationOeInput_LostFocus"/>
|
|
<Label Content="°Oe" Margin="0,1,3,0" HorizontalAlignment="Right"/>
|
|
</Grid>
|
|
<Label Content="=" Margin="72,10,10,10"/>
|
|
<Grid Grid.Row="1" Grid.Column="1" Width="72" Height="25" Margin="90,10,10,10" HorizontalAlignment="Left" VerticalAlignment="Top">
|
|
<TextBox x:Name="GradationKmwInput" TextAlignment="Right" Padding="2,1,38,2"
|
|
IsReadOnly="False" IsEnabled="True"
|
|
TextChanged="GradationKmwInput_TextChanged" LostFocus="GradationKmwInput_LostFocus"/>
|
|
<Label Content="°KMW" Margin="0,1,3,0" HorizontalAlignment="Right"/>
|
|
</Grid>
|
|
|
|
<Label Content="Qualitätsstufe:" Margin="10,40,10,10"/>
|
|
<ComboBox x:Name="WineQualityLevelInput" IsEnabled="True" Margin="100,40,10,10"
|
|
ItemTemplate="{StaticResource WineQualityLevelTemplate}"/>
|
|
</Grid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Header="Zu-/Abschläge" Grid.Column="2" Grid.Row="3" Margin="5,5,5,5">
|
|
<Grid>
|
|
<xctk:CheckComboBox x:Name="ModifiersInput" IsEnabled="True" Margin="10,10,10,10"
|
|
ItemTemplate="{StaticResource ModifierTemplate}" Delimiter=", " AllItemsSelectedContent="Alle"
|
|
ItemSelectionChanged="ModifiersInput_SelectionChanged"/>
|
|
</Grid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Header="Herkunft" Grid.Column="2" Grid.Row="4" Margin="5,5,5,5">
|
|
<Grid>
|
|
<ComboBox x:Name="WineOriginInput" IsEnabled="True" Margin="10,10,10,10"
|
|
ItemTemplate="{StaticResource WineOriginTemplate}"/>
|
|
</Grid>
|
|
</GroupBox>
|
|
</Grid>
|
|
</local:AdministrationWindow>
|