1 <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2 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" mc:Ignorable="d" x:Name="MainWindow" Height="681.888" Width="787.61">
3 <DockPanel x:Name="dockPanelMain" LastChildFill="True">
4 <Menu DockPanel.Dock="Top">
5 <MenuItem Header="_File">
6 <MenuItem x:Name="menuNew" Header="_New" />
7 <MenuItem x:Name="menuOpen" Header="_Open" />
8 <MenuItem x:Name="menuSave" Header="_Save" />
10 <MenuItem x:Name="menuExit" Header="_Exit" />
12 <MenuItem Header="_Images">
13 <MenuItem x:Name="menuAddSourceImage" Header="_Add a source image" />
17 <Grid x:Name="gridMain">
19 <RowDefinition Height="Auto"/>
21 </Grid.RowDefinitions>
22 <Grid.ColumnDefinitions>
23 <ColumnDefinition Width="130"/>
25 </Grid.ColumnDefinitions>
26 <Grid x:Name="gridGlobalInfo" Grid.ColumnSpan="2" Margin="3,3,3,3" >
27 <Grid.ColumnDefinitions>
28 <ColumnDefinition Width="Auto"/>
30 </Grid.ColumnDefinitions>
32 <RowDefinition Height="Auto"/>
33 <RowDefinition Height="Auto"/>
34 </Grid.RowDefinitions>
35 <Label x:Name="lblPatient" Margin="10, 3, 3, 3" Content="Patient"/>
36 <Label x:Name="lblGlobalParasitemia" Margin="10,3,3,3" Content="Global parasitemia" Grid.Row="1" />
37 <TextBox x:Name="txtPatient" Grid.Column="1" Margin="3, 3, 10, 3" TextWrapping="Wrap" VerticalAlignment="Center" />
38 <TextBox x:Name="txtGlobalParasitemia" Grid.Column="1" Grid.Row="2" Margin="3, 3, 10, 3" TextWrapping="Wrap" VerticalAlignment="Center" IsReadOnly="True" />
43 <RowDefinition Height="Auto" />
44 </Grid.RowDefinitions>
45 <Border BorderBrush="Black" BorderThickness="1" Margin="3" Grid.Row="0" >
46 <ScrollViewer x:Name="scrollPreviews" VerticalScrollBarVisibility="Auto" >
47 <StackPanel x:Name="stackPreviews" />
50 <Button x:Name="butStartAnalysis" Content="Start analysis" Grid.Row="1" Margin="3"/>
52 <Grid Grid.Column="2" Grid.Row="2">
54 <RowDefinition Height="100"/>
56 <RowDefinition Height="60"/>
57 </Grid.RowDefinitions>
58 <ScrollViewer x:Name="scrollViewCurrentImage" Grid.Row="1" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Visible" Background="Black" >
59 <Border x:Name="borderCurrentImage" BorderBrush="Transparent">
60 <Canvas x:Name="canvasCurrentImage" Height="100" Width="100" />