<Window x:Class="BuildInDialogs.CustomDialogBox"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="CustomDialogBox" Height="145" Width="390">
	<Window.Background>
        <ImageBrush ViewportUnits="Absolute"   TileMode="Tile" Viewport="0,0,500,500">
            <ImageBrush.ImageSource>
                <BitmapImage UriSource="Images/background.png"/>
            </ImageBrush.ImageSource>
        </ImageBrush>
    </Window.Background>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
		<TextBox Name="textBox"  Opacity="0.4" Margin="10" />
        <DockPanel Grid.Row="1" Margin="10" LastChildFill="False">
            <Button DockPanel.Dock="Right" Opacity="0.8" Background="Red" Content="Anuluj"  Name="buttonCancel"  VerticalAlignment="Bottom" Width="75" IsCancel="True"/>
            <Button DockPanel.Dock="Right" Opacity="0.8" Background="Red" Content="OK"   Name="buttonOK" VerticalAlignment="Bottom" Width="75" Click="ButtonOk_Click" Margin="0,0,5,0"/>
        </DockPanel>
	</Grid>
</Window>
