65 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			65 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<Window x:Class="Elwig.Dialogs.DeleteMemberDialog"
 | 
						|
        AutomationProperties.AutomationId="DeleteMemberDialog"
 | 
						|
        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.Dialogs"
 | 
						|
        ResizeMode="NoResize" ShowInTaskbar="False" Topmost="True"
 | 
						|
        WindowStartupLocation="CenterOwner"
 | 
						|
        DataContext="{Binding RelativeSource={RelativeSource Self}}"
 | 
						|
        Title="Mitglied löschen" Height="280" Width="400">
 | 
						|
    <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="Height" Value="25"/>
 | 
						|
            <Setter Property="TextWrapping" Value="NoWrap"/>
 | 
						|
        </Style>
 | 
						|
        <Style TargetType="CheckBox">
 | 
						|
            <Setter Property="HorizontalAlignment" Value="Left"/>
 | 
						|
            <Setter Property="VerticalAlignment" Value="Top"/>
 | 
						|
        </Style>
 | 
						|
        <Style TargetType="Button">
 | 
						|
            <Setter Property="HorizontalAlignment" Value="Right"/>
 | 
						|
            <Setter Property="VerticalAlignment" Value="Bottom"/>
 | 
						|
            <Setter Property="Width" Value="100"/>
 | 
						|
            <Setter Property="Height" Value="25"/>
 | 
						|
        </Style>
 | 
						|
    </Window.Resources>
 | 
						|
    <Grid>
 | 
						|
        <TextBlock TextAlignment="Center" Margin="10,10,10,10" VerticalAlignment="Top">
 | 
						|
            Bei Bestätigung wird das Mitglied samt zugehöriger Daten<LineBreak/>
 | 
						|
            <Bold>unwiderruflich gelöscht!</Bold> Wenn möglich sollte stattdessen<LineBreak/>
 | 
						|
            der Status des Mitglieds auf <Italic>Inaktiv</Italic> gesetzt werden!
 | 
						|
        </TextBlock>
 | 
						|
 | 
						|
        <Label Content="Name u. MgNr. wiederholen:" Margin="10,60,10,10" HorizontalAlignment="Center"/>
 | 
						|
        <TextBox x:Name="NameInput" Margin="10,85,10,10"
 | 
						|
                 TextChanged="NameInput_TextChanged"/>
 | 
						|
 | 
						|
        <Label Content="Beim Löschen müssen folgende Daten auch gelöscht werden:" Margin="10,120,10,10"/>
 | 
						|
        <CheckBox x:Name="AreaComInput" Content="Flächenbindungen" Margin="40,145,0,0"
 | 
						|
                  Checked="CheckBox_Changed" Unchecked="CheckBox_Changed"
 | 
						|
                  IsChecked="{Binding DeleteAreaComs}"/>
 | 
						|
        <CheckBox x:Name="DeliveryInput" Content="Lieferungen" Margin="40,165,0,0"
 | 
						|
                  Checked="CheckBox_Changed" Unchecked="CheckBox_Changed"
 | 
						|
                  IsChecked="{Binding DeleteDeliveries}"/>
 | 
						|
        <CheckBox x:Name="PaymentInput" Content="Auszahlungsdaten" Margin="40,185,0,0"
 | 
						|
                  Checked="CheckBox_Changed" Unchecked="CheckBox_Changed"
 | 
						|
                  IsChecked="{Binding DeletePaymentData}"/>
 | 
						|
 | 
						|
        <Button x:Name="ConfirmButton" Content="Bestätigen" Margin="10,10,115,10" IsEnabled="False"
 | 
						|
                Click="ConfirmButton_Click"/>
 | 
						|
        <Button x:Name="CancelButton" Content="Abbrechen" Margin="10,10,10,10" IsCancel="True"/>
 | 
						|
    </Grid>
 | 
						|
</Window>
 |