93 lines
5.2 KiB
XML
93 lines
5.2 KiB
XML
<local:ContextWindow
|
|
x:Class="Elwig.Windows.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="clr-namespace:Elwig.Windows"
|
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
|
Title="Elwig" Height="390" Width="520" ResizeMode="CanMinimize"
|
|
Loaded="Window_Loaded" Closing="Window_Closing">
|
|
<Window.Resources>
|
|
<Style TargetType="Button">
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="Padding" Value="9,3"/>
|
|
<Setter Property="Height" Value="32"/>
|
|
<Setter Property="Width" Value="200"/>
|
|
</Style>
|
|
</Window.Resources>
|
|
<Grid>
|
|
<Menu BorderThickness="0,0,0,1" VerticalAlignment="Top" Height="19" BorderBrush="LightGray" Background="White">
|
|
<MenuItem Header="Datenbank">
|
|
<MenuItem Header="Abfragen stellen" Click="Menu_Database_Query_Click"/>
|
|
<MenuItem Header="Speicherort öffnen..." Click="Menu_Database_Open_Click"/>
|
|
</MenuItem>
|
|
<MenuItem x:Name="HelpMenu" Header="Hilfe">
|
|
<MenuItem Header="Über"/>
|
|
<MenuItem x:Name="Menu_Help_Update" Header="Nach Updates suchen" Click="Menu_Help_Update_Click"/>
|
|
<MenuItem x:Name="Menu_Help_Smtp" Header="E-Mail-Einstellungen testen" Click="Menu_Help_Smtp_Click"/>
|
|
<MenuItem x:Name="Menu_Help_Config" Header="Konfigurationsspeicherort öffnen..." Click="Menu_Help_Config_Click"/>
|
|
</MenuItem>
|
|
</Menu>
|
|
|
|
<Grid Height="100" VerticalAlignment="Top" Margin="0,45,0,0" Width="260">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="100"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Image Source="\Resources\Images\Elwig.png" RenderOptions.BitmapScalingMode="HighQuality" Grid.Column="0"
|
|
HorizontalAlignment="Left" Margin="5,5,5,5" VerticalAlignment="Top"/>
|
|
<TextBlock Grid.Column="1" FontSize="32" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Top">
|
|
Elwig
|
|
</TextBlock>
|
|
<TextBlock Grid.Column="1" HorizontalAlignment="Left" Margin="0,50,0,0" VerticalAlignment="Top" LineHeight="14" LineStackingStrategy="BlockLineHeight">
|
|
Elektonische Winzer-<LineBreak/>
|
|
genossenschaftsverwaltung
|
|
</TextBlock>
|
|
<TextBlock x:Name="VersionField" Grid.Column="1" FontSize="10" HorizontalAlignment="Left" Margin="0,80,0,0" VerticalAlignment="Top">
|
|
Version: ?
|
|
</TextBlock>
|
|
</Grid>
|
|
|
|
<Button x:Name="MemberAdminButton" Content="Mitglieder" Click="MemberAdminButton_Click"
|
|
Margin="0,180,210,0"/>
|
|
<Button x:Name="MailButton" Content="Rundschreiben" Click="MailButton_Click"
|
|
Margin="210,180,0,0"/>
|
|
<Button x:Name="DeliveryAdminButton" Content="Lieferungen" Click="DeliveryAdminButton_Click"
|
|
Margin="0,220,210,0"/>
|
|
<Button x:Name="ReceiptButton" Content="Übernahme" Click="ReceiptButton_Click"
|
|
Margin="210,220,0,0"/>
|
|
<Button x:Name="BaseDataButton" Content="Stammdaten" Click="BaseDataButton_Click"
|
|
Margin="0,260,210,0"/>
|
|
<Button x:Name="RegistrationButton" Content="Anmeldungen" IsEnabled="False"
|
|
Margin="210,260,0,0"/>
|
|
|
|
<Expander x:Name="SeasonFinish" Header="Leseabschluss" Expanded="SeasonFinish_Expanded" Collapsed="SeasonFinish_Collapsed"
|
|
HorizontalAlignment="Center" Width="410" Margin="0,300,0,0" VerticalAlignment="Top">
|
|
<Grid>
|
|
<Border BorderBrush="LightGray" BorderThickness="1"/>
|
|
<Label Content="Saison:" Margin="0,10,100,0" VerticalAlignment="Top" HorizontalAlignment="Center" Padding="2,4,2,4" Height="25"/>
|
|
<xctk:IntegerUpDown Name="SeasonInput" Height="25" Width="56" FontSize="14" Minimum="1000" Maximum="9999"
|
|
Margin="0,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Center"
|
|
ValueChanged="SeasonInput_ValueChanged"/>
|
|
|
|
<Button x:Name="DeliveryConfirmationButton" Content="Anlieferungsbestätigung"
|
|
Click="DeliveryConfirmationButton_Click"
|
|
Margin="0,50,200,10" Width="190"/>
|
|
|
|
<Button x:Name="PaymentButton" Content="Auszahlung"
|
|
Click="PaymentButton_Click"
|
|
Margin="200,50,0,10" Width="190"/>
|
|
|
|
<Button x:Name="OverUnderDeliveryButton" Content="Über-/Unterlieferungen"
|
|
Click="OverUnderDeliveryButton_Click"
|
|
Margin="0,90,200,10" Width="190"/>
|
|
|
|
<Button x:Name="AutoBusinessSharesButton" Content="Autom. GA nachzeichnen"
|
|
Click="AutoBusinessSharesButton_Click" IsEnabled="False"
|
|
Margin="200,90,0,10" Width="190"/>
|
|
</Grid>
|
|
</Expander>
|
|
</Grid>
|
|
</local:ContextWindow>
|