Add new files for affdexme

This commit is contained in:
Abdelrahman Mahmoud 2015-09-03 16:34:30 -04:00
parent 383bb912e7
commit 7f3aa0e71b
67 changed files with 3893 additions and 0 deletions

View file

@ -0,0 +1,312 @@
<Window x:Class="AffdexMe.MetricSelectionUI"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:affdexMe="clr-namespace:AffdexMe"
xmlns:gif="http://wpfanimatedgif.codeplex.com"
Title="Select Emotions or Expressions"
Height="640" Width="514" ResizeMode="NoResize" Closing="Window_Closing">
<Grid>
<ScrollViewer Margin="0,0,0,45">
<Grid Name="theGrid" Background="Black">
<Grid.Resources>
<affdexMe:UpperCaseConverter x:Key="StringToUpper" />
<affdexMe:NameToResourceConverter x:Key="ResourceFileName" />
</Grid.Resources>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="160" />
<ColumnDefinition Width="160" />
<ColumnDefinition Width="160" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="40" />
<RowDefinition Height="178" />
<RowDefinition Height="178" />
<RowDefinition Height="178" />
<RowDefinition Height="50" />
<RowDefinition Height="178" />
<RowDefinition Height="178" />
<RowDefinition Height="178" />
<RowDefinition Height="178" />
<RowDefinition Height="178" />
</Grid.RowDefinitions>
<Border Background="Coral" Grid.Row="0" Grid.Column="0" Margin="1,0,0,2">
<StackPanel Orientation="Vertical" Grid.Row="0" Grid.Column="0" Margin="10,10,0,10">
<TextBlock Text="Emotions" Foreground="Black" FontWeight="Bold" FontSize="12" HorizontalAlignment="Left"/>
</StackPanel>
</Border>
<Border Background="Coral" Grid.Row="0" Grid.Column="1" Margin="0,0,0,2" />
<Border Background="Coral" Grid.Row="0" Grid.Column="2" Margin="0,0,0,2" />
<StackPanel Orientation="Vertical" Grid.Row="1" Grid.Column="0" Margin="1,1,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Anger" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="1" Grid.Column="1" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Disgust" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x"/>
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="1" Grid.Column="2" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Fear" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x"/>
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="2" Grid.Column="0" Margin="1,1,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Joy" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="2" Grid.Column="1" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Sadness" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="2" Grid.Column="2" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Surprise" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="3" Grid.Column="0" Margin="1,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Contempt" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="3" Grid.Column="1" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Valence" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="3" Grid.Column="2" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Engagement" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<Border Background="Coral" Grid.Row="4" Grid.Column="0" Margin="1,2,0,2">
<StackPanel Orientation="Vertical" Grid.Row="4" Grid.Column="0" Margin="10,15,0,10">
<TextBlock Text="Expressions" Foreground="Black" FontWeight="Bold" FontSize="12" HorizontalAlignment="Left"/>
</StackPanel>
</Border>
<Border Background="Coral" Grid.Row="4" Grid.Column="1" Margin="0,2,0,2"/>
<Border Background="Coral" Grid.Row="4" Grid.Column="2" Margin="0,2,0,2"/>
<StackPanel Orientation="Vertical" Grid.Row="5" Grid.Column="0" Margin="1,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Attention" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="5" Grid.Column="1" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="BrowFurrow" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="5" Grid.Column="2" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="BrowRaise" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="6" Grid.Column="0" Margin="1,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="ChinRaise" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="6" Grid.Column="1" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="EyeClosure" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="6" Grid.Column="2" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="InnerBrowRaise" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="7" Grid.Column="0" Margin="1,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Frown" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="7" Grid.Column="1" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="LipPress" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="7" Grid.Column="2" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="LipPucker" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="8" Grid.Column="0" Margin="1,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="LipSuck" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="8" Grid.Column="1" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="MouthOpen" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="8" Grid.Column="2" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="NoseWrinkle" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="9" Grid.Column="0" Margin="1,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Smile" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="9" Grid.Column="1" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="Smirk" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
<StackPanel Orientation="Vertical" Grid.Row="9" Grid.Column="2" Margin="0,0,1,0">
<Border BorderThickness="5" BorderBrush="White" Background="Transparent" CornerRadius="0" HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Name="UpperLipRaise" MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave" MouseDown="StackPanel_MouseDown" MouseUp="StackPanel_MouseLeave">
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource StringToUpper} }" Foreground="White" FontWeight="Bold" FontSize="12" HorizontalAlignment="Center"/>
<Image Source="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=StackPanel}, Path=Name, Converter={StaticResource ResourceFileName}, ConverterParameter=jpg }" gif:ImageBehavior.AutoStart="False" gif:ImageBehavior.RepeatBehavior="1x" />
</StackPanel>
</Border>
</StackPanel>
</Grid>
</ScrollViewer >
<DockPanel VerticalAlignment="Bottom" Background="Coral" >
<GroupBox Margin="0,5,0,0" Height="40" VerticalAlignment="Stretch" BorderBrush="Transparent" BorderThickness="0">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Grid>
<Grid.Resources>
<Style TargetType="{x:Type ButtonBase}" x:Key="CustomButtonStyle">
<Setter Property="Foreground" Value="White"/>
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF2778BB" Offset="0.51"/>
<GradientStop Color="#FF2683C5" Offset="0.484"/>
<GradientStop Color="#FF8CD4FF" Offset="1"/>
<GradientStop Color="#FF1973AE" Offset="0.497"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="BorderBrush" Value="#FF2B5F91"/>
<Setter Property="Margin" Value="1"/>
<Setter Property="Height" Value="30"/>
<Setter Property="MinWidth" Value="20"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="TextOptions.TextFormattingMode" Value="Display"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
<Grid>
<Rectangle Stroke="{TemplateBinding BorderBrush}" RadiusX="15" RadiusY="15" Fill="{TemplateBinding Background}"/>
<Rectangle VerticalAlignment="Top" Height="10" Margin="7,2,7,1" RadiusX="10" RadiusY="10">
<Rectangle.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#11FFFFFF" Offset="1"/>
<GradientStop Color="#B2FFFFFF" Offset="0"/>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Rectangle x:Name="rectangle" RadiusX="15" RadiusY="15" Fill="White" Margin="1" Opacity="0"/>
<ContentPresenter x:Name="contentPresenter" HorizontalAlignment="Center" VerticalAlignment="Center" IsHitTestVisible="False" Margin="{TemplateBinding Padding}"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Opacity" TargetName="rectangle" Value="0.2"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter Property="Opacity" TargetName="rectangle" Value="0.3"/>
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Fill" TargetName="rectangle" Value="#666"/>
<Setter Property="Opacity" TargetName="rectangle" Value="0.6"/>
<Setter Property="Opacity" TargetName="contentPresenter" Value="0.3"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="80" />
<ColumnDefinition Width="340" />
<ColumnDefinition Width="80" />
</Grid.ColumnDefinitions>
<Button Grid.Row="0" Grid.Column="0" Name="btnClearAll" Style="{StaticResource CustomButtonStyle}" HorizontalAlignment="Center" Margin="0,0,0,0" VerticalAlignment="Top" Width="65" Content="Clear all" Click="btnClearAll_Click" />
<TextBlock Name="txtBlkInfo" Grid.Row="0" Grid.Column="1" Text="Please select 6 Emotions or Expressions to track." Foreground="White" FontWeight="Bold" FontSize="12" Margin="0,6,0,0" HorizontalAlignment="Center"/>
<Button Grid.Row="0" Grid.Column="2" Name="btnOK" Style="{StaticResource CustomButtonStyle}" HorizontalAlignment="Center" Margin="0,0,0,0" VerticalAlignment="Top" Width="65" Content="OK" Click="btnOK_Click" />
</Grid>
</StackPanel>
</GroupBox>
</DockPanel>
</Grid>
</Window>

View file

@ -0,0 +1,200 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using WpfAnimatedGif;
namespace AffdexMe
{
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
public partial class MetricSelectionUI : Window
{
const String SELECTMSG = "Please select 6 Emotions or Expressions to track.";
const String ACTIVEMSG = "{0} Metrics chosen, please select {1} more.";
const String DONEMSG = "{0} Metrics chosen.";
const String DESELECTMSG = "Reached max number of metrics selected.";
public MetricSelectionUI(StringCollection enabled_classifiers)
{
InitializeComponent();
CenterWindowOnScreen();
Classifiers = enabled_classifiers;
foreach (String classifier in enabled_classifiers)
{
Border border = getBorder(classifier);
border.BorderBrush = Brushes.Green;
}
}
private void CenterWindowOnScreen()
{
double screenWidth = System.Windows.SystemParameters.PrimaryScreenWidth;
double screenHeight = System.Windows.SystemParameters.PrimaryScreenHeight;
double windowWidth = this.Width;
double windowHeight = this.Height;
this.Left = (screenWidth / 2) - (windowWidth / 2);
this.Top = (screenHeight / 2) - (windowHeight / 2);
}
private void StackPanel_MouseEnter(object sender, MouseEventArgs e)
{
Border border = (Border)((StackPanel)sender).Parent;
if (!isStackPanelSelected(border))
border.BorderBrush = Brushes.Coral;
var image = ((StackPanel)sender).Children.OfType<Image>().FirstOrDefault();
NameToResourceConverter conv = new NameToResourceConverter();
var gifUri = conv.Convert(((StackPanel)sender).Name, null, "gif", null);
var img = new BitmapImage();
img.BeginInit();
img.UriSource = (Uri) gifUri;
img.EndInit();
ImageBehavior.SetAnimatedSource(image, img);
playGif(image);
}
private void StackPanel_MouseLeave(object sender, MouseEventArgs e)
{
Border border = (Border)((StackPanel)sender).Parent;
var image = ((StackPanel)sender).Children.OfType<Image>().FirstOrDefault();
NameToResourceConverter conv = new NameToResourceConverter();
stopGif(image);
var img = new BitmapImage();
img.BeginInit();
img.UriSource = (Uri)conv.Convert(((StackPanel)sender).Name, null, "jpg", null);
img.EndInit();
ImageBehavior.SetAnimatedSource(image, img);
if (!isStackPanelSelected(border))
border.BorderBrush = Brushes.White;
int classifersCount = Classifiers.Count;
if (classifersCount == 6) txtBlkInfo.Text = String.Format(DONEMSG, classifersCount);
else txtBlkInfo.Text = String.Format(ACTIVEMSG, classifersCount, 6 - classifersCount);
}
private void stopGif(Image image)
{
var control = ImageBehavior.GetAnimationController(image);
if (control != null)
{
control.Pause();
control.GotoFrame(control.FrameCount - 1);
}
}
private void playGif(Image image)
{
var control = ImageBehavior.GetAnimationController(image);
control.GotoFrame(0);
control.Play();
}
private void StackPanel_MouseDown(object sender, MouseButtonEventArgs e)
{
Border border = (Border)((StackPanel)sender).Parent;
if (isStackPanelSelected(border))
{
border.BorderBrush = Brushes.White;
Classifiers.Remove(((StackPanel)sender).Name);
}
else {
int classifersCount = Classifiers.Count;
if ( classifersCount < 6)
{
border.BorderBrush = Brushes.Green;
Classifiers.Add(((StackPanel)sender).Name);
if (classifersCount + 1 == 6) txtBlkInfo.Text = String.Format(DONEMSG, classifersCount + 1);
else txtBlkInfo.Text = String.Format(ACTIVEMSG, classifersCount+1, 6 - classifersCount);
}
else
{
border.BorderBrush = Brushes.Red;
txtBlkInfo.Text = DESELECTMSG;
}
}
}
private Border getBorder(String name)
{
Border border = null;
foreach (StackPanel panel in theGrid.Children.OfType<StackPanel>())
{
var tempBorder = panel.Children.OfType<Border>().FirstOrDefault();
var stackPanel = (StackPanel)tempBorder.Child;
if (stackPanel.Name == name) border = tempBorder;
}
return border;
}
private bool isStackPanelSelected(Border border)
{
return (border.BorderBrush == Brushes.Green);
}
public StringCollection Classifiers {get;set;}
public String ActiveClassifierList
{
get
{
String classifiers = "";
foreach(String key in Classifiers)
classifiers += String.Format("{0},", key);
return String.Format("{0} active classifiers: {1}", Classifiers.Count, classifiers);
}
}
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
int selectedClassifiersCount = Classifiers.Count;
if ( selectedClassifiersCount < 6)
{
int missing = 6 - selectedClassifiersCount;
List<StackPanel> panels = theGrid.Children.OfType<StackPanel>().ToList();
int index = 0;
while (selectedClassifiersCount < 6)
{
var tempBorder = panels[index].Children.OfType<Border>().FirstOrDefault();
var stackPanel = (StackPanel)tempBorder.Child;
Classifiers.Add(stackPanel.Name);
index++;
selectedClassifiersCount++;
}
}
}
private void btnClearAll_Click(object sender, RoutedEventArgs e)
{
foreach (String classifier in Classifiers)
{
Border border = getBorder(classifier);
border.BorderBrush = Brushes.White;
txtBlkInfo.Text = SELECTMSG;
}
Classifiers.Clear();
}
private void btnOK_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
}
}

View file

@ -0,0 +1,41 @@
using AffdexMe.Properties;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace AffdexMe
{
public class NameToResourceConverter : System.Windows.Data.IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
String classifier_name = SplitCamelCase(((String)value));
classifier_name = classifier_name.ToLower().Replace(" ", "_");
return new Uri("pack://application:,,,/" + classifier_name + "." +((String) parameter));
//return new Uri(String.Format("pack://application:,,,/{0}.jpg", ((String)value).ToLower()));
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
throw new NotImplementedException();
}
public string SplitCamelCase(String str)
{
return Regex.Replace(
Regex.Replace(
str,
@"(\P{Ll})(\P{Ll}\p{Ll})",
"$1 $2"
),
@"(\p{Ll})(\P{Ll})",
"$1 $2"
);
}
}
}

View file

@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AffdexMe
{
public class UpperCaseConverter : System.Windows.Data.IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return SplitCamelCase(((String)value)).ToUpper();
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
throw new NotImplementedException();
}
public string SplitCamelCase(String str)
{
return Regex.Replace(
Regex.Replace(
str,
@"(\P{Ll})(\P{Ll}\p{Ll})",
"$1 $2"
),
@"(\p{Ll})(\P{Ll})",
"$1 $2"
);
}
}
}

BIN
AffdexMe/anger.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 KiB

BIN
AffdexMe/anger.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
AffdexMe/attention.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 KiB

BIN
AffdexMe/attention.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
AffdexMe/brow_furrow.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 KiB

BIN
AffdexMe/brow_furrow.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
AffdexMe/brow_raise.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 KiB

BIN
AffdexMe/brow_raise.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
AffdexMe/chin_raise.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 827 KiB

BIN
AffdexMe/chin_raise.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
AffdexMe/contempt.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 836 KiB

BIN
AffdexMe/contempt.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
AffdexMe/disgust.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
AffdexMe/disgust.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
AffdexMe/engagement.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
AffdexMe/engagement.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
AffdexMe/eye_closure.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

BIN
AffdexMe/eye_closure.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
AffdexMe/fear.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 KiB

BIN
AffdexMe/fear.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
AffdexMe/frown.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 KiB

BIN
AffdexMe/frown.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 831 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
AffdexMe/joy.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 KiB

BIN
AffdexMe/joy.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
AffdexMe/lip_press.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 KiB

BIN
AffdexMe/lip_press.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
AffdexMe/lip_pucker.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 KiB

BIN
AffdexMe/lip_pucker.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
AffdexMe/lip_suck.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 KiB

BIN
AffdexMe/lip_suck.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
AffdexMe/mouth_open.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 KiB

BIN
AffdexMe/mouth_open.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
AffdexMe/nose_wrinkle.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 KiB

BIN
AffdexMe/nose_wrinkle.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View file

@ -0,0 +1,13 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("affdex-native.dll")]

View file

@ -0,0 +1,13 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("affdex-native.dll")]

View file

@ -0,0 +1,2 @@


View file

@ -0,0 +1,62 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}

View file

@ -0,0 +1,625 @@
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "146FBE3BEDB0723D05EFF2A31C5BB33E"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
namespace AffdexMe {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 123 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gridMainDisplay;
#line default
#line hidden
#line 125 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gridContentDisplay;
#line default
#line hidden
#line 128 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanelImage;
#line default
#line hidden
#line 130 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gridAffdexFaceDisplay;
#line default
#line hidden
#line 131 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Image imgAffdexFaceDisplay;
#line default
#line hidden
#line 133 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Image imgAffdexLogoDisplay;
#line default
#line hidden
#line 136 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Canvas canvasFacePoints;
#line default
#line hidden
#line 137 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock interocularDistanceDisplay;
#line default
#line hidden
#line 138 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock pitchDisplay;
#line default
#line hidden
#line 139 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock yawDisplay;
#line default
#line hidden
#line 140 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock rollDisplay;
#line default
#line hidden
#line 145 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanelClassifiersBackground;
#line default
#line hidden
#line 148 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanelClassifiers;
#line default
#line hidden
#line 150 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gridClassifierDisplay;
#line default
#line hidden
#line 165 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel0;
#line default
#line hidden
#line 166 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel0Name;
#line default
#line hidden
#line 168 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel0ValueBackgroud;
#line default
#line hidden
#line 169 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel0Value;
#line default
#line hidden
#line 173 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel1;
#line default
#line hidden
#line 174 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel1Name;
#line default
#line hidden
#line 176 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel1ValueBackgroud;
#line default
#line hidden
#line 177 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel1Value;
#line default
#line hidden
#line 181 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel2;
#line default
#line hidden
#line 182 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel2Name;
#line default
#line hidden
#line 184 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel2ValueBackgroud;
#line default
#line hidden
#line 185 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel2Value;
#line default
#line hidden
#line 189 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel3;
#line default
#line hidden
#line 190 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel3Name;
#line default
#line hidden
#line 192 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel3ValueBackgroud;
#line default
#line hidden
#line 193 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel3Value;
#line default
#line hidden
#line 197 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel4;
#line default
#line hidden
#line 198 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel4Name;
#line default
#line hidden
#line 200 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel4ValueBackgroud;
#line default
#line hidden
#line 201 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel4Value;
#line default
#line hidden
#line 205 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel5;
#line default
#line hidden
#line 206 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel5Name;
#line default
#line hidden
#line 208 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel5ValueBackgroud;
#line default
#line hidden
#line 209 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel5Value;
#line default
#line hidden
#line 215 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanelLogoBackground;
#line default
#line hidden
#line 216 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gridLogoBackground;
#line default
#line hidden
#line 229 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Image imgAffdexLogoBackground;
#line default
#line hidden
#line 241 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnStartCamera;
#line default
#line hidden
#line 242 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnResetCamera;
#line default
#line hidden
#line 243 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnShowPoints;
#line default
#line hidden
#line 244 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnShowMeasurements;
#line default
#line hidden
#line 245 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnChooseWin;
#line default
#line hidden
#line 246 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnStopCamera;
#line default
#line hidden
#line 247 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnExit;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/AffdexMe;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
#line 9 "..\..\MainWindow.xaml"
((AffdexMe.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
#line default
#line hidden
#line 10 "..\..\MainWindow.xaml"
((AffdexMe.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
#line default
#line hidden
return;
case 2:
this.gridMainDisplay = ((System.Windows.Controls.Grid)(target));
return;
case 3:
this.gridContentDisplay = ((System.Windows.Controls.Grid)(target));
return;
case 4:
this.stackPanelImage = ((System.Windows.Controls.StackPanel)(target));
return;
case 5:
this.gridAffdexFaceDisplay = ((System.Windows.Controls.Grid)(target));
return;
case 6:
this.imgAffdexFaceDisplay = ((System.Windows.Controls.Image)(target));
return;
case 7:
this.imgAffdexLogoDisplay = ((System.Windows.Controls.Image)(target));
return;
case 8:
this.canvasFacePoints = ((System.Windows.Controls.Canvas)(target));
return;
case 9:
this.interocularDistanceDisplay = ((System.Windows.Controls.TextBlock)(target));
return;
case 10:
this.pitchDisplay = ((System.Windows.Controls.TextBlock)(target));
return;
case 11:
this.yawDisplay = ((System.Windows.Controls.TextBlock)(target));
return;
case 12:
this.rollDisplay = ((System.Windows.Controls.TextBlock)(target));
return;
case 13:
this.stackPanelClassifiersBackground = ((System.Windows.Controls.StackPanel)(target));
return;
case 14:
this.stackPanelClassifiers = ((System.Windows.Controls.StackPanel)(target));
return;
case 15:
this.gridClassifierDisplay = ((System.Windows.Controls.Grid)(target));
return;
case 16:
this.stackPanel0 = ((System.Windows.Controls.StackPanel)(target));
return;
case 17:
this.stackPanel0Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 18:
this.stackPanel0ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 19:
this.stackPanel0Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 20:
this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
return;
case 21:
this.stackPanel1Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 22:
this.stackPanel1ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 23:
this.stackPanel1Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 24:
this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
return;
case 25:
this.stackPanel2Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 26:
this.stackPanel2ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 27:
this.stackPanel2Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 28:
this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
return;
case 29:
this.stackPanel3Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 30:
this.stackPanel3ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 31:
this.stackPanel3Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 32:
this.stackPanel4 = ((System.Windows.Controls.StackPanel)(target));
return;
case 33:
this.stackPanel4Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 34:
this.stackPanel4ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 35:
this.stackPanel4Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 36:
this.stackPanel5 = ((System.Windows.Controls.StackPanel)(target));
return;
case 37:
this.stackPanel5Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 38:
this.stackPanel5ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 39:
this.stackPanel5Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 40:
this.stackPanelLogoBackground = ((System.Windows.Controls.StackPanel)(target));
return;
case 41:
this.gridLogoBackground = ((System.Windows.Controls.Grid)(target));
return;
case 42:
this.imgAffdexLogoBackground = ((System.Windows.Controls.Image)(target));
return;
case 43:
this.btnStartCamera = ((System.Windows.Controls.Button)(target));
return;
case 44:
this.btnResetCamera = ((System.Windows.Controls.Button)(target));
return;
case 45:
this.btnShowPoints = ((System.Windows.Controls.Button)(target));
return;
case 46:
this.btnShowMeasurements = ((System.Windows.Controls.Button)(target));
return;
case 47:
this.btnChooseWin = ((System.Windows.Controls.Button)(target));
#line 245 "..\..\MainWindow.xaml"
this.btnChooseWin.Click += new System.Windows.RoutedEventHandler(this.btnChooseWin_Click);
#line default
#line hidden
return;
case 48:
this.btnStopCamera = ((System.Windows.Controls.Button)(target));
return;
case 49:
this.btnExit = ((System.Windows.Controls.Button)(target));
return;
}
this._contentLoaded = true;
}
}
}

View file

@ -0,0 +1,625 @@
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "146FBE3BEDB0723D05EFF2A31C5BB33E"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
namespace AffdexMe {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 123 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gridMainDisplay;
#line default
#line hidden
#line 125 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gridContentDisplay;
#line default
#line hidden
#line 128 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanelImage;
#line default
#line hidden
#line 130 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gridAffdexFaceDisplay;
#line default
#line hidden
#line 131 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Image imgAffdexFaceDisplay;
#line default
#line hidden
#line 133 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Image imgAffdexLogoDisplay;
#line default
#line hidden
#line 136 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Canvas canvasFacePoints;
#line default
#line hidden
#line 137 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock interocularDistanceDisplay;
#line default
#line hidden
#line 138 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock pitchDisplay;
#line default
#line hidden
#line 139 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock yawDisplay;
#line default
#line hidden
#line 140 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock rollDisplay;
#line default
#line hidden
#line 145 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanelClassifiersBackground;
#line default
#line hidden
#line 148 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanelClassifiers;
#line default
#line hidden
#line 150 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gridClassifierDisplay;
#line default
#line hidden
#line 165 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel0;
#line default
#line hidden
#line 166 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel0Name;
#line default
#line hidden
#line 168 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel0ValueBackgroud;
#line default
#line hidden
#line 169 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel0Value;
#line default
#line hidden
#line 173 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel1;
#line default
#line hidden
#line 174 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel1Name;
#line default
#line hidden
#line 176 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel1ValueBackgroud;
#line default
#line hidden
#line 177 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel1Value;
#line default
#line hidden
#line 181 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel2;
#line default
#line hidden
#line 182 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel2Name;
#line default
#line hidden
#line 184 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel2ValueBackgroud;
#line default
#line hidden
#line 185 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel2Value;
#line default
#line hidden
#line 189 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel3;
#line default
#line hidden
#line 190 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel3Name;
#line default
#line hidden
#line 192 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel3ValueBackgroud;
#line default
#line hidden
#line 193 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel3Value;
#line default
#line hidden
#line 197 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel4;
#line default
#line hidden
#line 198 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel4Name;
#line default
#line hidden
#line 200 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel4ValueBackgroud;
#line default
#line hidden
#line 201 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel4Value;
#line default
#line hidden
#line 205 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanel5;
#line default
#line hidden
#line 206 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel5Name;
#line default
#line hidden
#line 208 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel5ValueBackgroud;
#line default
#line hidden
#line 209 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock stackPanel5Value;
#line default
#line hidden
#line 215 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel stackPanelLogoBackground;
#line default
#line hidden
#line 216 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid gridLogoBackground;
#line default
#line hidden
#line 229 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Image imgAffdexLogoBackground;
#line default
#line hidden
#line 241 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnStartCamera;
#line default
#line hidden
#line 242 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnResetCamera;
#line default
#line hidden
#line 243 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnShowPoints;
#line default
#line hidden
#line 244 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnShowMeasurements;
#line default
#line hidden
#line 245 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnChooseWin;
#line default
#line hidden
#line 246 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnStopCamera;
#line default
#line hidden
#line 247 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnExit;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/AffdexMe;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
#line 9 "..\..\MainWindow.xaml"
((AffdexMe.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
#line default
#line hidden
#line 10 "..\..\MainWindow.xaml"
((AffdexMe.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
#line default
#line hidden
return;
case 2:
this.gridMainDisplay = ((System.Windows.Controls.Grid)(target));
return;
case 3:
this.gridContentDisplay = ((System.Windows.Controls.Grid)(target));
return;
case 4:
this.stackPanelImage = ((System.Windows.Controls.StackPanel)(target));
return;
case 5:
this.gridAffdexFaceDisplay = ((System.Windows.Controls.Grid)(target));
return;
case 6:
this.imgAffdexFaceDisplay = ((System.Windows.Controls.Image)(target));
return;
case 7:
this.imgAffdexLogoDisplay = ((System.Windows.Controls.Image)(target));
return;
case 8:
this.canvasFacePoints = ((System.Windows.Controls.Canvas)(target));
return;
case 9:
this.interocularDistanceDisplay = ((System.Windows.Controls.TextBlock)(target));
return;
case 10:
this.pitchDisplay = ((System.Windows.Controls.TextBlock)(target));
return;
case 11:
this.yawDisplay = ((System.Windows.Controls.TextBlock)(target));
return;
case 12:
this.rollDisplay = ((System.Windows.Controls.TextBlock)(target));
return;
case 13:
this.stackPanelClassifiersBackground = ((System.Windows.Controls.StackPanel)(target));
return;
case 14:
this.stackPanelClassifiers = ((System.Windows.Controls.StackPanel)(target));
return;
case 15:
this.gridClassifierDisplay = ((System.Windows.Controls.Grid)(target));
return;
case 16:
this.stackPanel0 = ((System.Windows.Controls.StackPanel)(target));
return;
case 17:
this.stackPanel0Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 18:
this.stackPanel0ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 19:
this.stackPanel0Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 20:
this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
return;
case 21:
this.stackPanel1Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 22:
this.stackPanel1ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 23:
this.stackPanel1Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 24:
this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
return;
case 25:
this.stackPanel2Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 26:
this.stackPanel2ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 27:
this.stackPanel2Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 28:
this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
return;
case 29:
this.stackPanel3Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 30:
this.stackPanel3ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 31:
this.stackPanel3Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 32:
this.stackPanel4 = ((System.Windows.Controls.StackPanel)(target));
return;
case 33:
this.stackPanel4Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 34:
this.stackPanel4ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 35:
this.stackPanel4Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 36:
this.stackPanel5 = ((System.Windows.Controls.StackPanel)(target));
return;
case 37:
this.stackPanel5Name = ((System.Windows.Controls.TextBlock)(target));
return;
case 38:
this.stackPanel5ValueBackgroud = ((System.Windows.Controls.TextBlock)(target));
return;
case 39:
this.stackPanel5Value = ((System.Windows.Controls.TextBlock)(target));
return;
case 40:
this.stackPanelLogoBackground = ((System.Windows.Controls.StackPanel)(target));
return;
case 41:
this.gridLogoBackground = ((System.Windows.Controls.Grid)(target));
return;
case 42:
this.imgAffdexLogoBackground = ((System.Windows.Controls.Image)(target));
return;
case 43:
this.btnStartCamera = ((System.Windows.Controls.Button)(target));
return;
case 44:
this.btnResetCamera = ((System.Windows.Controls.Button)(target));
return;
case 45:
this.btnShowPoints = ((System.Windows.Controls.Button)(target));
return;
case 46:
this.btnShowMeasurements = ((System.Windows.Controls.Button)(target));
return;
case 47:
this.btnChooseWin = ((System.Windows.Controls.Button)(target));
#line 245 "..\..\MainWindow.xaml"
this.btnChooseWin.Click += new System.Windows.RoutedEventHandler(this.btnChooseWin_Click);
#line default
#line hidden
return;
case 48:
this.btnStopCamera = ((System.Windows.Controls.Button)(target));
return;
case 49:
this.btnExit = ((System.Windows.Controls.Button)(target));
return;
}
this._contentLoaded = true;
}
}
}

View file

@ -0,0 +1,983 @@
#pragma checksum "..\..\MetricSelectionUI.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "868313CECF2DE99BFAB8BDBC832BB827"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using AffdexMe;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using WpfAnimatedGif;
namespace AffdexMe {
/// <summary>
/// MetricSelectionUI
/// </summary>
public partial class MetricSelectionUI : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 10 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid theGrid;
#line default
#line hidden
#line 42 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Anger;
#line default
#line hidden
#line 50 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Disgust;
#line default
#line hidden
#line 58 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Fear;
#line default
#line hidden
#line 66 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Joy;
#line default
#line hidden
#line 74 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Sadness;
#line default
#line hidden
#line 82 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Surprise;
#line default
#line hidden
#line 90 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Contempt;
#line default
#line hidden
#line 98 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Valence;
#line default
#line hidden
#line 106 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Engagement;
#line default
#line hidden
#line 121 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Attention;
#line default
#line hidden
#line 129 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel BrowFurrow;
#line default
#line hidden
#line 137 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel BrowRaise;
#line default
#line hidden
#line 145 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel ChinRaise;
#line default
#line hidden
#line 153 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel EyeClosure;
#line default
#line hidden
#line 161 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel InnerBrowRaise;
#line default
#line hidden
#line 169 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Frown;
#line default
#line hidden
#line 177 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel LipPress;
#line default
#line hidden
#line 185 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel LipPucker;
#line default
#line hidden
#line 193 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel LipSuck;
#line default
#line hidden
#line 201 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel MouthOpen;
#line default
#line hidden
#line 209 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel NoseWrinkle;
#line default
#line hidden
#line 217 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Smile;
#line default
#line hidden
#line 225 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Smirk;
#line default
#line hidden
#line 233 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel UpperLipRaise;
#line default
#line hidden
#line 304 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnClearAll;
#line default
#line hidden
#line 305 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock txtBlkInfo;
#line default
#line hidden
#line 306 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnOK;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/AffdexMe;component/metricselectionui.xaml", System.UriKind.Relative);
#line 1 "..\..\MetricSelectionUI.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
#line 7 "..\..\MetricSelectionUI.xaml"
((AffdexMe.MetricSelectionUI)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
#line default
#line hidden
return;
case 2:
this.theGrid = ((System.Windows.Controls.Grid)(target));
return;
case 3:
this.Anger = ((System.Windows.Controls.StackPanel)(target));
#line 42 "..\..\MetricSelectionUI.xaml"
this.Anger.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 42 "..\..\MetricSelectionUI.xaml"
this.Anger.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 42 "..\..\MetricSelectionUI.xaml"
this.Anger.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 42 "..\..\MetricSelectionUI.xaml"
this.Anger.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 4:
this.Disgust = ((System.Windows.Controls.StackPanel)(target));
#line 50 "..\..\MetricSelectionUI.xaml"
this.Disgust.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 50 "..\..\MetricSelectionUI.xaml"
this.Disgust.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 50 "..\..\MetricSelectionUI.xaml"
this.Disgust.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 50 "..\..\MetricSelectionUI.xaml"
this.Disgust.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 5:
this.Fear = ((System.Windows.Controls.StackPanel)(target));
#line 58 "..\..\MetricSelectionUI.xaml"
this.Fear.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 58 "..\..\MetricSelectionUI.xaml"
this.Fear.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 58 "..\..\MetricSelectionUI.xaml"
this.Fear.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 58 "..\..\MetricSelectionUI.xaml"
this.Fear.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 6:
this.Joy = ((System.Windows.Controls.StackPanel)(target));
#line 66 "..\..\MetricSelectionUI.xaml"
this.Joy.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 66 "..\..\MetricSelectionUI.xaml"
this.Joy.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 66 "..\..\MetricSelectionUI.xaml"
this.Joy.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 66 "..\..\MetricSelectionUI.xaml"
this.Joy.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 7:
this.Sadness = ((System.Windows.Controls.StackPanel)(target));
#line 74 "..\..\MetricSelectionUI.xaml"
this.Sadness.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 74 "..\..\MetricSelectionUI.xaml"
this.Sadness.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 74 "..\..\MetricSelectionUI.xaml"
this.Sadness.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 74 "..\..\MetricSelectionUI.xaml"
this.Sadness.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 8:
this.Surprise = ((System.Windows.Controls.StackPanel)(target));
#line 82 "..\..\MetricSelectionUI.xaml"
this.Surprise.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 82 "..\..\MetricSelectionUI.xaml"
this.Surprise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 82 "..\..\MetricSelectionUI.xaml"
this.Surprise.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 82 "..\..\MetricSelectionUI.xaml"
this.Surprise.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 9:
this.Contempt = ((System.Windows.Controls.StackPanel)(target));
#line 90 "..\..\MetricSelectionUI.xaml"
this.Contempt.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 90 "..\..\MetricSelectionUI.xaml"
this.Contempt.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 90 "..\..\MetricSelectionUI.xaml"
this.Contempt.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 90 "..\..\MetricSelectionUI.xaml"
this.Contempt.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 10:
this.Valence = ((System.Windows.Controls.StackPanel)(target));
#line 98 "..\..\MetricSelectionUI.xaml"
this.Valence.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 98 "..\..\MetricSelectionUI.xaml"
this.Valence.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 98 "..\..\MetricSelectionUI.xaml"
this.Valence.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 98 "..\..\MetricSelectionUI.xaml"
this.Valence.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 11:
this.Engagement = ((System.Windows.Controls.StackPanel)(target));
#line 106 "..\..\MetricSelectionUI.xaml"
this.Engagement.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 106 "..\..\MetricSelectionUI.xaml"
this.Engagement.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 106 "..\..\MetricSelectionUI.xaml"
this.Engagement.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 106 "..\..\MetricSelectionUI.xaml"
this.Engagement.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 12:
this.Attention = ((System.Windows.Controls.StackPanel)(target));
#line 121 "..\..\MetricSelectionUI.xaml"
this.Attention.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 121 "..\..\MetricSelectionUI.xaml"
this.Attention.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 121 "..\..\MetricSelectionUI.xaml"
this.Attention.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 121 "..\..\MetricSelectionUI.xaml"
this.Attention.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 13:
this.BrowFurrow = ((System.Windows.Controls.StackPanel)(target));
#line 129 "..\..\MetricSelectionUI.xaml"
this.BrowFurrow.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 129 "..\..\MetricSelectionUI.xaml"
this.BrowFurrow.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 129 "..\..\MetricSelectionUI.xaml"
this.BrowFurrow.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 129 "..\..\MetricSelectionUI.xaml"
this.BrowFurrow.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 14:
this.BrowRaise = ((System.Windows.Controls.StackPanel)(target));
#line 137 "..\..\MetricSelectionUI.xaml"
this.BrowRaise.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 137 "..\..\MetricSelectionUI.xaml"
this.BrowRaise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 137 "..\..\MetricSelectionUI.xaml"
this.BrowRaise.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 137 "..\..\MetricSelectionUI.xaml"
this.BrowRaise.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 15:
this.ChinRaise = ((System.Windows.Controls.StackPanel)(target));
#line 145 "..\..\MetricSelectionUI.xaml"
this.ChinRaise.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 145 "..\..\MetricSelectionUI.xaml"
this.ChinRaise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 145 "..\..\MetricSelectionUI.xaml"
this.ChinRaise.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 145 "..\..\MetricSelectionUI.xaml"
this.ChinRaise.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 16:
this.EyeClosure = ((System.Windows.Controls.StackPanel)(target));
#line 153 "..\..\MetricSelectionUI.xaml"
this.EyeClosure.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 153 "..\..\MetricSelectionUI.xaml"
this.EyeClosure.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 153 "..\..\MetricSelectionUI.xaml"
this.EyeClosure.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 153 "..\..\MetricSelectionUI.xaml"
this.EyeClosure.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 17:
this.InnerBrowRaise = ((System.Windows.Controls.StackPanel)(target));
#line 161 "..\..\MetricSelectionUI.xaml"
this.InnerBrowRaise.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 161 "..\..\MetricSelectionUI.xaml"
this.InnerBrowRaise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 161 "..\..\MetricSelectionUI.xaml"
this.InnerBrowRaise.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 161 "..\..\MetricSelectionUI.xaml"
this.InnerBrowRaise.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 18:
this.Frown = ((System.Windows.Controls.StackPanel)(target));
#line 169 "..\..\MetricSelectionUI.xaml"
this.Frown.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 169 "..\..\MetricSelectionUI.xaml"
this.Frown.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 169 "..\..\MetricSelectionUI.xaml"
this.Frown.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 169 "..\..\MetricSelectionUI.xaml"
this.Frown.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 19:
this.LipPress = ((System.Windows.Controls.StackPanel)(target));
#line 177 "..\..\MetricSelectionUI.xaml"
this.LipPress.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 177 "..\..\MetricSelectionUI.xaml"
this.LipPress.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 177 "..\..\MetricSelectionUI.xaml"
this.LipPress.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 177 "..\..\MetricSelectionUI.xaml"
this.LipPress.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 20:
this.LipPucker = ((System.Windows.Controls.StackPanel)(target));
#line 185 "..\..\MetricSelectionUI.xaml"
this.LipPucker.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 185 "..\..\MetricSelectionUI.xaml"
this.LipPucker.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 185 "..\..\MetricSelectionUI.xaml"
this.LipPucker.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 185 "..\..\MetricSelectionUI.xaml"
this.LipPucker.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 21:
this.LipSuck = ((System.Windows.Controls.StackPanel)(target));
#line 193 "..\..\MetricSelectionUI.xaml"
this.LipSuck.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 193 "..\..\MetricSelectionUI.xaml"
this.LipSuck.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 193 "..\..\MetricSelectionUI.xaml"
this.LipSuck.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 193 "..\..\MetricSelectionUI.xaml"
this.LipSuck.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 22:
this.MouthOpen = ((System.Windows.Controls.StackPanel)(target));
#line 201 "..\..\MetricSelectionUI.xaml"
this.MouthOpen.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 201 "..\..\MetricSelectionUI.xaml"
this.MouthOpen.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 201 "..\..\MetricSelectionUI.xaml"
this.MouthOpen.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 201 "..\..\MetricSelectionUI.xaml"
this.MouthOpen.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 23:
this.NoseWrinkle = ((System.Windows.Controls.StackPanel)(target));
#line 209 "..\..\MetricSelectionUI.xaml"
this.NoseWrinkle.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 209 "..\..\MetricSelectionUI.xaml"
this.NoseWrinkle.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 209 "..\..\MetricSelectionUI.xaml"
this.NoseWrinkle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 209 "..\..\MetricSelectionUI.xaml"
this.NoseWrinkle.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 24:
this.Smile = ((System.Windows.Controls.StackPanel)(target));
#line 217 "..\..\MetricSelectionUI.xaml"
this.Smile.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 217 "..\..\MetricSelectionUI.xaml"
this.Smile.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 217 "..\..\MetricSelectionUI.xaml"
this.Smile.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 217 "..\..\MetricSelectionUI.xaml"
this.Smile.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 25:
this.Smirk = ((System.Windows.Controls.StackPanel)(target));
#line 225 "..\..\MetricSelectionUI.xaml"
this.Smirk.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 225 "..\..\MetricSelectionUI.xaml"
this.Smirk.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 225 "..\..\MetricSelectionUI.xaml"
this.Smirk.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 225 "..\..\MetricSelectionUI.xaml"
this.Smirk.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 26:
this.UpperLipRaise = ((System.Windows.Controls.StackPanel)(target));
#line 233 "..\..\MetricSelectionUI.xaml"
this.UpperLipRaise.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 233 "..\..\MetricSelectionUI.xaml"
this.UpperLipRaise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 233 "..\..\MetricSelectionUI.xaml"
this.UpperLipRaise.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 233 "..\..\MetricSelectionUI.xaml"
this.UpperLipRaise.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 27:
this.btnClearAll = ((System.Windows.Controls.Button)(target));
#line 304 "..\..\MetricSelectionUI.xaml"
this.btnClearAll.Click += new System.Windows.RoutedEventHandler(this.btnClearAll_Click);
#line default
#line hidden
return;
case 28:
this.txtBlkInfo = ((System.Windows.Controls.TextBlock)(target));
return;
case 29:
this.btnOK = ((System.Windows.Controls.Button)(target));
#line 306 "..\..\MetricSelectionUI.xaml"
this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);
#line default
#line hidden
return;
}
this._contentLoaded = true;
}
}
}

View file

@ -0,0 +1,983 @@
#pragma checksum "..\..\MetricSelectionUI.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "868313CECF2DE99BFAB8BDBC832BB827"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using AffdexMe;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using WpfAnimatedGif;
namespace AffdexMe {
/// <summary>
/// MetricSelectionUI
/// </summary>
public partial class MetricSelectionUI : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 10 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid theGrid;
#line default
#line hidden
#line 42 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Anger;
#line default
#line hidden
#line 50 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Disgust;
#line default
#line hidden
#line 58 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Fear;
#line default
#line hidden
#line 66 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Joy;
#line default
#line hidden
#line 74 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Sadness;
#line default
#line hidden
#line 82 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Surprise;
#line default
#line hidden
#line 90 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Contempt;
#line default
#line hidden
#line 98 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Valence;
#line default
#line hidden
#line 106 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Engagement;
#line default
#line hidden
#line 121 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Attention;
#line default
#line hidden
#line 129 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel BrowFurrow;
#line default
#line hidden
#line 137 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel BrowRaise;
#line default
#line hidden
#line 145 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel ChinRaise;
#line default
#line hidden
#line 153 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel EyeClosure;
#line default
#line hidden
#line 161 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel InnerBrowRaise;
#line default
#line hidden
#line 169 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Frown;
#line default
#line hidden
#line 177 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel LipPress;
#line default
#line hidden
#line 185 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel LipPucker;
#line default
#line hidden
#line 193 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel LipSuck;
#line default
#line hidden
#line 201 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel MouthOpen;
#line default
#line hidden
#line 209 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel NoseWrinkle;
#line default
#line hidden
#line 217 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Smile;
#line default
#line hidden
#line 225 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel Smirk;
#line default
#line hidden
#line 233 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel UpperLipRaise;
#line default
#line hidden
#line 304 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnClearAll;
#line default
#line hidden
#line 305 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock txtBlkInfo;
#line default
#line hidden
#line 306 "..\..\MetricSelectionUI.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnOK;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/AffdexMe;component/metricselectionui.xaml", System.UriKind.Relative);
#line 1 "..\..\MetricSelectionUI.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
#line 7 "..\..\MetricSelectionUI.xaml"
((AffdexMe.MetricSelectionUI)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
#line default
#line hidden
return;
case 2:
this.theGrid = ((System.Windows.Controls.Grid)(target));
return;
case 3:
this.Anger = ((System.Windows.Controls.StackPanel)(target));
#line 42 "..\..\MetricSelectionUI.xaml"
this.Anger.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 42 "..\..\MetricSelectionUI.xaml"
this.Anger.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 42 "..\..\MetricSelectionUI.xaml"
this.Anger.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 42 "..\..\MetricSelectionUI.xaml"
this.Anger.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 4:
this.Disgust = ((System.Windows.Controls.StackPanel)(target));
#line 50 "..\..\MetricSelectionUI.xaml"
this.Disgust.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 50 "..\..\MetricSelectionUI.xaml"
this.Disgust.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 50 "..\..\MetricSelectionUI.xaml"
this.Disgust.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 50 "..\..\MetricSelectionUI.xaml"
this.Disgust.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 5:
this.Fear = ((System.Windows.Controls.StackPanel)(target));
#line 58 "..\..\MetricSelectionUI.xaml"
this.Fear.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 58 "..\..\MetricSelectionUI.xaml"
this.Fear.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 58 "..\..\MetricSelectionUI.xaml"
this.Fear.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 58 "..\..\MetricSelectionUI.xaml"
this.Fear.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 6:
this.Joy = ((System.Windows.Controls.StackPanel)(target));
#line 66 "..\..\MetricSelectionUI.xaml"
this.Joy.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 66 "..\..\MetricSelectionUI.xaml"
this.Joy.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 66 "..\..\MetricSelectionUI.xaml"
this.Joy.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 66 "..\..\MetricSelectionUI.xaml"
this.Joy.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 7:
this.Sadness = ((System.Windows.Controls.StackPanel)(target));
#line 74 "..\..\MetricSelectionUI.xaml"
this.Sadness.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 74 "..\..\MetricSelectionUI.xaml"
this.Sadness.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 74 "..\..\MetricSelectionUI.xaml"
this.Sadness.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 74 "..\..\MetricSelectionUI.xaml"
this.Sadness.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 8:
this.Surprise = ((System.Windows.Controls.StackPanel)(target));
#line 82 "..\..\MetricSelectionUI.xaml"
this.Surprise.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 82 "..\..\MetricSelectionUI.xaml"
this.Surprise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 82 "..\..\MetricSelectionUI.xaml"
this.Surprise.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 82 "..\..\MetricSelectionUI.xaml"
this.Surprise.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 9:
this.Contempt = ((System.Windows.Controls.StackPanel)(target));
#line 90 "..\..\MetricSelectionUI.xaml"
this.Contempt.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 90 "..\..\MetricSelectionUI.xaml"
this.Contempt.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 90 "..\..\MetricSelectionUI.xaml"
this.Contempt.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 90 "..\..\MetricSelectionUI.xaml"
this.Contempt.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 10:
this.Valence = ((System.Windows.Controls.StackPanel)(target));
#line 98 "..\..\MetricSelectionUI.xaml"
this.Valence.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 98 "..\..\MetricSelectionUI.xaml"
this.Valence.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 98 "..\..\MetricSelectionUI.xaml"
this.Valence.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 98 "..\..\MetricSelectionUI.xaml"
this.Valence.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 11:
this.Engagement = ((System.Windows.Controls.StackPanel)(target));
#line 106 "..\..\MetricSelectionUI.xaml"
this.Engagement.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 106 "..\..\MetricSelectionUI.xaml"
this.Engagement.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 106 "..\..\MetricSelectionUI.xaml"
this.Engagement.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 106 "..\..\MetricSelectionUI.xaml"
this.Engagement.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 12:
this.Attention = ((System.Windows.Controls.StackPanel)(target));
#line 121 "..\..\MetricSelectionUI.xaml"
this.Attention.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 121 "..\..\MetricSelectionUI.xaml"
this.Attention.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 121 "..\..\MetricSelectionUI.xaml"
this.Attention.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 121 "..\..\MetricSelectionUI.xaml"
this.Attention.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 13:
this.BrowFurrow = ((System.Windows.Controls.StackPanel)(target));
#line 129 "..\..\MetricSelectionUI.xaml"
this.BrowFurrow.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 129 "..\..\MetricSelectionUI.xaml"
this.BrowFurrow.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 129 "..\..\MetricSelectionUI.xaml"
this.BrowFurrow.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 129 "..\..\MetricSelectionUI.xaml"
this.BrowFurrow.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 14:
this.BrowRaise = ((System.Windows.Controls.StackPanel)(target));
#line 137 "..\..\MetricSelectionUI.xaml"
this.BrowRaise.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 137 "..\..\MetricSelectionUI.xaml"
this.BrowRaise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 137 "..\..\MetricSelectionUI.xaml"
this.BrowRaise.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 137 "..\..\MetricSelectionUI.xaml"
this.BrowRaise.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 15:
this.ChinRaise = ((System.Windows.Controls.StackPanel)(target));
#line 145 "..\..\MetricSelectionUI.xaml"
this.ChinRaise.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 145 "..\..\MetricSelectionUI.xaml"
this.ChinRaise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 145 "..\..\MetricSelectionUI.xaml"
this.ChinRaise.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 145 "..\..\MetricSelectionUI.xaml"
this.ChinRaise.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 16:
this.EyeClosure = ((System.Windows.Controls.StackPanel)(target));
#line 153 "..\..\MetricSelectionUI.xaml"
this.EyeClosure.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 153 "..\..\MetricSelectionUI.xaml"
this.EyeClosure.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 153 "..\..\MetricSelectionUI.xaml"
this.EyeClosure.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 153 "..\..\MetricSelectionUI.xaml"
this.EyeClosure.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 17:
this.InnerBrowRaise = ((System.Windows.Controls.StackPanel)(target));
#line 161 "..\..\MetricSelectionUI.xaml"
this.InnerBrowRaise.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 161 "..\..\MetricSelectionUI.xaml"
this.InnerBrowRaise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 161 "..\..\MetricSelectionUI.xaml"
this.InnerBrowRaise.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 161 "..\..\MetricSelectionUI.xaml"
this.InnerBrowRaise.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 18:
this.Frown = ((System.Windows.Controls.StackPanel)(target));
#line 169 "..\..\MetricSelectionUI.xaml"
this.Frown.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 169 "..\..\MetricSelectionUI.xaml"
this.Frown.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 169 "..\..\MetricSelectionUI.xaml"
this.Frown.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 169 "..\..\MetricSelectionUI.xaml"
this.Frown.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 19:
this.LipPress = ((System.Windows.Controls.StackPanel)(target));
#line 177 "..\..\MetricSelectionUI.xaml"
this.LipPress.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 177 "..\..\MetricSelectionUI.xaml"
this.LipPress.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 177 "..\..\MetricSelectionUI.xaml"
this.LipPress.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 177 "..\..\MetricSelectionUI.xaml"
this.LipPress.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 20:
this.LipPucker = ((System.Windows.Controls.StackPanel)(target));
#line 185 "..\..\MetricSelectionUI.xaml"
this.LipPucker.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 185 "..\..\MetricSelectionUI.xaml"
this.LipPucker.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 185 "..\..\MetricSelectionUI.xaml"
this.LipPucker.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 185 "..\..\MetricSelectionUI.xaml"
this.LipPucker.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 21:
this.LipSuck = ((System.Windows.Controls.StackPanel)(target));
#line 193 "..\..\MetricSelectionUI.xaml"
this.LipSuck.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 193 "..\..\MetricSelectionUI.xaml"
this.LipSuck.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 193 "..\..\MetricSelectionUI.xaml"
this.LipSuck.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 193 "..\..\MetricSelectionUI.xaml"
this.LipSuck.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 22:
this.MouthOpen = ((System.Windows.Controls.StackPanel)(target));
#line 201 "..\..\MetricSelectionUI.xaml"
this.MouthOpen.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 201 "..\..\MetricSelectionUI.xaml"
this.MouthOpen.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 201 "..\..\MetricSelectionUI.xaml"
this.MouthOpen.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 201 "..\..\MetricSelectionUI.xaml"
this.MouthOpen.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 23:
this.NoseWrinkle = ((System.Windows.Controls.StackPanel)(target));
#line 209 "..\..\MetricSelectionUI.xaml"
this.NoseWrinkle.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 209 "..\..\MetricSelectionUI.xaml"
this.NoseWrinkle.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 209 "..\..\MetricSelectionUI.xaml"
this.NoseWrinkle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 209 "..\..\MetricSelectionUI.xaml"
this.NoseWrinkle.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 24:
this.Smile = ((System.Windows.Controls.StackPanel)(target));
#line 217 "..\..\MetricSelectionUI.xaml"
this.Smile.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 217 "..\..\MetricSelectionUI.xaml"
this.Smile.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 217 "..\..\MetricSelectionUI.xaml"
this.Smile.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 217 "..\..\MetricSelectionUI.xaml"
this.Smile.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 25:
this.Smirk = ((System.Windows.Controls.StackPanel)(target));
#line 225 "..\..\MetricSelectionUI.xaml"
this.Smirk.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 225 "..\..\MetricSelectionUI.xaml"
this.Smirk.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 225 "..\..\MetricSelectionUI.xaml"
this.Smirk.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 225 "..\..\MetricSelectionUI.xaml"
this.Smirk.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 26:
this.UpperLipRaise = ((System.Windows.Controls.StackPanel)(target));
#line 233 "..\..\MetricSelectionUI.xaml"
this.UpperLipRaise.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
#line default
#line hidden
#line 233 "..\..\MetricSelectionUI.xaml"
this.UpperLipRaise.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
#line 233 "..\..\MetricSelectionUI.xaml"
this.UpperLipRaise.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseDown);
#line default
#line hidden
#line 233 "..\..\MetricSelectionUI.xaml"
this.UpperLipRaise.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeave);
#line default
#line hidden
return;
case 27:
this.btnClearAll = ((System.Windows.Controls.Button)(target));
#line 304 "..\..\MetricSelectionUI.xaml"
this.btnClearAll.Click += new System.Windows.RoutedEventHandler(this.btnClearAll_Click);
#line default
#line hidden
return;
case 28:
this.txtBlkInfo = ((System.Windows.Controls.TextBlock)(target));
return;
case 29:
this.btnOK = ((System.Windows.Controls.Button)(target));
#line 306 "..\..\MetricSelectionUI.xaml"
this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);
#line default
#line hidden
return;
}
this._contentLoaded = true;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
AffdexMe/sadness.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

BIN
AffdexMe/sadness.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
AffdexMe/smile.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 KiB

BIN
AffdexMe/smile.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
AffdexMe/smirk.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 836 KiB

BIN
AffdexMe/smirk.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
AffdexMe/surprise.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 KiB

BIN
AffdexMe/surprise.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
AffdexMe/valence.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

BIN
AffdexMe/valence.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB