2019-01-23 22:39:54 +01:00
|
|
|
<Window x:Class="Magazyn.Windows.InfoWindow"
|
|
|
|
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
|
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
|
|
|
TextElement.FontWeight="Regular"
|
|
|
|
TextElement.FontSize="13"
|
|
|
|
TextOptions.TextFormattingMode="Ideal"
|
|
|
|
TextOptions.TextRenderingMode="Auto"
|
|
|
|
Background="{DynamicResource MaterialDesignPaper}"
|
|
|
|
FontFamily="{DynamicResource MaterialDesignFont}"
|
|
|
|
|
|
|
|
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:Magazyn.Windows"
|
|
|
|
mc:Ignorable="d"
|
2019-01-30 23:53:23 +01:00
|
|
|
Title="Informacje o: " WindowStartupLocation="CenterOwner" Height="250" Width="340" ResizeMode="NoResize" Keyboard.KeyDown="Window_KeyDown">
|
2019-01-23 22:39:54 +01:00
|
|
|
<Grid>
|
2019-01-30 23:53:23 +01:00
|
|
|
<TextBlock x:Name="fruitName" Margin="37,70,48.333,0" TextWrapping="Wrap" Text="fruitName" Height="16" VerticalAlignment="Top" FontWeight="Bold"/>
|
|
|
|
<TextBlock x:Name="fruitPrice" Margin="37,91,49.333,0" TextWrapping="Wrap" Text="fruitPrice" Height="16" VerticalAlignment="Top" FontWeight="Bold"/>
|
|
|
|
<TextBlock x:Name="fruitQuantity" Margin="37,112,49.333,0" TextWrapping="Wrap" Text="fruitQuantity" Height="16" VerticalAlignment="Top" FontWeight="Bold"/>
|
|
|
|
<TextBlock x:Name="fruitQuantityMax" Margin="37,133,49.333,0" TextWrapping="Wrap" Text="fruitQuantityMax" Height="16" VerticalAlignment="Top" FontWeight="Bold"/>
|
|
|
|
<TextBlock x:Name="fruitValue" Margin="37,154,50.333,0" TextWrapping="Wrap" Text="fruitValue" Height="16" VerticalAlignment="Top" FontWeight="Bold"/>
|
2019-01-23 22:39:54 +01:00
|
|
|
<Button x:Name="okButton" Content="Ok" Margin="0,0,9,10" VerticalAlignment="Bottom" Click="okButton_Click" Width="75" HorizontalAlignment="Right"/>
|
2019-01-30 23:53:23 +01:00
|
|
|
<Ellipse HorizontalAlignment="Left" Width="60" Height="60" Margin="134,10,0,155.333">
|
|
|
|
<Ellipse.Fill>
|
|
|
|
<ImageBrush x:Name="fruitImage"/>
|
|
|
|
</Ellipse.Fill>
|
|
|
|
</Ellipse>
|
2019-01-23 22:39:54 +01:00
|
|
|
</Grid>
|
|
|
|
</Window>
|