46 lines
2.6 KiB
XML
46 lines
2.6 KiB
XML
<Window x:Class="ZKuP.NotificationSettings"
|
|
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:ZKuP"
|
|
mc:Ignorable="d"
|
|
Title="Benachrichtigungen" Height="400" Width="380" ResizeMode="NoResize">
|
|
<Grid>
|
|
<StackPanel Margin="10,20,10,10">
|
|
<TextBlock Text="Kategorie wählen:" Foreground="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
<ComboBox x:Name="cbCategory" Height="30" Margin="0,5,0,0" VerticalAlignment="Top" SelectionChanged="ComboBox_SelectionChanged">
|
|
<ComboBoxItem Content=""/>
|
|
<ComboBoxItem Content="Firma"/>
|
|
<ComboBoxItem Content="Besucher"/>
|
|
<ComboBoxItem Content="Lieferant"/>
|
|
<ComboBoxItem Content="DB Notdienst"/>
|
|
</ComboBox>
|
|
</StackPanel>
|
|
|
|
<StackPanel Margin="10,80,10,10">
|
|
<TextBlock x:Name="tbChoose" Text="" Foreground="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
<ComboBox x:Name="cBVisitor" Margin="0,5,0,0" Height="30" VerticalAlignment="Top" IsEnabled="False" SelectionChanged="cBVisitor_SelectionChanged"/>
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Vertical" VerticalAlignment="Bottom" Margin="10,0,5,100">
|
|
<CheckBox x:Name="cbWin" Margin="10,5,0,10" Content="Windows-Notification" IsEnabled="False"/>
|
|
|
|
<DockPanel Margin="5,5,10,5">
|
|
<CheckBox x:Name="cbMail" Margin="5" Content="Email" IsEnabled="False" Checked="cbMail_Checked" Unchecked="cbMail_Unchecked"/>
|
|
<TextBox x:Name="tbMail" HorizontalAlignment="Right" Width="250" IsEnabled="False"/>
|
|
</DockPanel>
|
|
|
|
<DockPanel Margin="5,5,10,5">
|
|
<CheckBox x:Name="cbSMS" Margin="5" Content="SMS" IsEnabled="False" Checked="cbSMS_Checked" Unchecked="cbSMS_Unchecked"/>
|
|
<TextBox x:Name="tbSMS" HorizontalAlignment="Right" Width="250" IsEnabled="False"/>
|
|
</DockPanel>
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Vertical" VerticalAlignment="Bottom">
|
|
<Button x:Name="btnAddNotification" Content="Hinzufügen" Margin="5" Height="30" VerticalAlignment="Bottom" Click="btnAddNotification_Click"/>
|
|
<Button x:Name="btnSave" Content="Schließen" Height="30" Margin="5" VerticalAlignment="Bottom"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window>
|