Add a logger assembly and split the main assembly in two : the UI and the parasitemia...
[master-thesis.git] / Parasitemia / ParasitemiaUI / XAML / ImageSourcePreview.xaml
diff --git a/Parasitemia/ParasitemiaUI/XAML/ImageSourcePreview.xaml b/Parasitemia/ParasitemiaUI/XAML/ImageSourcePreview.xaml
new file mode 100644 (file)
index 0000000..ae8f5dd
--- /dev/null
@@ -0,0 +1,23 @@
+<UserControl
+               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:fsxaml="clr-namespace:FsXaml;assembly=FsXaml.Wpf"
+      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+      mc:Ignorable="d" d:DesignWidth="119.223" d:DesignHeight="84.911"
+               >
+   <Border x:Name="border" ClipToBounds="True" BorderBrush="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}">
+      <Grid x:Name="grid">
+         <Grid.ContextMenu>
+            <ContextMenu>
+               <MenuItem x:Name="menuRemoveImage" Header="_Remove image"  />
+            </ContextMenu>
+         </Grid.ContextMenu>
+         <Image x:Name="imagePreview" />
+         <Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#4C000000" Margin="0,0,3,3" CornerRadius="5" >
+            <TextBlock x:Name="txtImageNumber" Padding="2" Text="42" Foreground="White" />
+         </Border>
+         <Rectangle x:Name="viewport" Margin="24,30,71,26" Stroke="#BFFFFF00" RenderTransformOrigin="0.5,0.5" Visibility="Hidden"/>
+      </Grid>
+   </Border>
+</UserControl>
\ No newline at end of file