Add a logger assembly and split the main assembly in two : the UI and the parasitemia...
[master-thesis.git] / Parasitemia / ParasitemiaUI / XAML / RBCFrame.xaml
diff --git a/Parasitemia/ParasitemiaUI/XAML/RBCFrame.xaml b/Parasitemia/ParasitemiaUI/XAML/RBCFrame.xaml
new file mode 100644 (file)
index 0000000..124dc6f
--- /dev/null
@@ -0,0 +1,22 @@
+<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="100" d:DesignHeight="100"
+               >
+   <Grid x:Name="grid">
+      <Grid.ContextMenu>
+         <ContextMenu>
+            <MenuItem x:Name="menuRBCSetAsHealthy" Header="_Set as healthy"  />
+            <MenuItem x:Name="menuRBCSetAsInfected" Header="_Set as infected" />
+         </ContextMenu>
+      </Grid.ContextMenu>
+      <Rectangle x:Name="border" Fill="#00000000" />
+      <Polygon x:Name="manuallyAdded" Points="0,0 12,0, 12,12" Fill="Black" HorizontalAlignment="Right" VerticalAlignment="Top" />
+      <Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,3,3" Background="#66000000" CornerRadius="5">
+         <TextBlock x:Name="txtRBCNumber" Padding="2" Text="42" Foreground="White" />
+      </Border>
+   </Grid>
+</UserControl>
\ No newline at end of file