* Add the possibility to set an RBC as healthy or infected
[master-thesis.git] / Parasitemia / Parasitemia / GUI / RBCFrame.xaml
diff --git a/Parasitemia/Parasitemia/GUI/RBCFrame.xaml b/Parasitemia/Parasitemia/GUI/RBCFrame.xaml
new file mode 100644 (file)
index 0000000..2a56b00
--- /dev/null
@@ -0,0 +1,21 @@
+<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">
+      </Rectangle>
+      <Polygon x:Name="manuallyAdded" Points="0,0 12,0, 12,12" Fill="Black" HorizontalAlignment="Right" VerticalAlignment="Top" />
+      <Label x:Name="lblRBCNumber" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#4C000000" Foreground="White"/>
+   </Grid>
+</UserControl>
\ No newline at end of file