diff --git a/AffdexMe/obj/Release/AffdexMe_Content.g.cs b/AffdexMe/obj/Release/AffdexMe_Content.g.cs deleted file mode 100644 index 845589d..0000000 --- a/AffdexMe/obj/Release/AffdexMe_Content.g.cs +++ /dev/null @@ -1,13 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("affdex-native.dll")] - - diff --git a/AffdexMe/obj/Release/AffdexMe_Content.g.i.cs b/AffdexMe/obj/Release/AffdexMe_Content.g.i.cs index 845589d..5f65857 100644 --- a/AffdexMe/obj/Release/AffdexMe_Content.g.i.cs +++ b/AffdexMe/obj/Release/AffdexMe_Content.g.i.cs @@ -1,13 +1,13 @@ -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("affdex-native.dll")] - - +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("affdex-native.dll")] + + diff --git a/AffdexMe/obj/Release/GeneratedInternalTypeHelper.g.cs b/AffdexMe/obj/Release/GeneratedInternalTypeHelper.g.cs index c65238f..bb0e440 100644 --- a/AffdexMe/obj/Release/GeneratedInternalTypeHelper.g.cs +++ b/AffdexMe/obj/Release/GeneratedInternalTypeHelper.g.cs @@ -1,2 +1,62 @@ - - +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace XamlGeneratedNamespace { + + + /// + /// GeneratedInternalTypeHelper + /// + [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 { + + /// + /// CreateInstance + /// + 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); + } + + /// + /// GetPropertyValue + /// + 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); + } + + /// + /// SetPropertyValue + /// + 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); + } + + /// + /// CreateDelegate + /// + 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))); + } + + /// + /// AddEventHandler + /// + protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { + eventInfo.AddEventHandler(target, handler); + } + } +} + diff --git a/AffdexMe/obj/Release/GeneratedInternalTypeHelper.g.i.cs b/AffdexMe/obj/Release/GeneratedInternalTypeHelper.g.i.cs index c89ce6d..bb0e440 100644 --- a/AffdexMe/obj/Release/GeneratedInternalTypeHelper.g.i.cs +++ b/AffdexMe/obj/Release/GeneratedInternalTypeHelper.g.i.cs @@ -1,62 +1,62 @@ -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -namespace XamlGeneratedNamespace { - - - /// - /// GeneratedInternalTypeHelper - /// - [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 { - - /// - /// CreateInstance - /// - 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); - } - - /// - /// GetPropertyValue - /// - 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); - } - - /// - /// SetPropertyValue - /// - 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); - } - - /// - /// CreateDelegate - /// - 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))); - } - - /// - /// AddEventHandler - /// - protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { - eventInfo.AddEventHandler(target, handler); - } - } -} - +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace XamlGeneratedNamespace { + + + /// + /// GeneratedInternalTypeHelper + /// + [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 { + + /// + /// CreateInstance + /// + 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); + } + + /// + /// GetPropertyValue + /// + 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); + } + + /// + /// SetPropertyValue + /// + 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); + } + + /// + /// CreateDelegate + /// + 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))); + } + + /// + /// AddEventHandler + /// + protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { + eventInfo.AddEventHandler(target, handler); + } + } +} + diff --git a/AffdexMe/obj/Release/MainWindow.g.cs b/AffdexMe/obj/Release/MainWindow.g.cs index d88826b..4104055 100644 --- a/AffdexMe/obj/Release/MainWindow.g.cs +++ b/AffdexMe/obj/Release/MainWindow.g.cs @@ -1,625 +1,625 @@ -#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "146FBE3BEDB0723D05EFF2A31C5BB33E" -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -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 { - - - /// - /// MainWindow - /// - 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; - - /// - /// InitializeComponent - /// - [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; - } - } -} - +#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B279F512EBDA81A09036AAE4C1816AE2" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +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 { + + + /// + /// MainWindow + /// + 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; + + /// + /// InitializeComponent + /// + [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; + } + } +} + diff --git a/AffdexMe/obj/Release/MainWindow.g.i.cs b/AffdexMe/obj/Release/MainWindow.g.i.cs index d88826b..4104055 100644 --- a/AffdexMe/obj/Release/MainWindow.g.i.cs +++ b/AffdexMe/obj/Release/MainWindow.g.i.cs @@ -1,625 +1,625 @@ -#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "146FBE3BEDB0723D05EFF2A31C5BB33E" -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -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 { - - - /// - /// MainWindow - /// - 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; - - /// - /// InitializeComponent - /// - [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; - } - } -} - +#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B279F512EBDA81A09036AAE4C1816AE2" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +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 { + + + /// + /// MainWindow + /// + 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; + + /// + /// InitializeComponent + /// + [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; + } + } +} + diff --git a/AffdexMe/obj/Release/MetricSelectionUI.g.cs b/AffdexMe/obj/Release/MetricSelectionUI.g.cs index 68537c5..ea0f2df 100644 --- a/AffdexMe/obj/Release/MetricSelectionUI.g.cs +++ b/AffdexMe/obj/Release/MetricSelectionUI.g.cs @@ -1,983 +1,983 @@ -#pragma checksum "..\..\MetricSelectionUI.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "868313CECF2DE99BFAB8BDBC832BB827" -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -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 { - - - /// - /// MetricSelectionUI - /// - 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; - - /// - /// InitializeComponent - /// - [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; - } - } -} - +#pragma checksum "..\..\MetricSelectionUI.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "DD7E5A98ECDD3C1FE8EDEE3BC3CD4094" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +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 { + + + /// + /// MetricSelectionUI + /// + 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; + + /// + /// InitializeComponent + /// + [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; + } + } +} + diff --git a/AffdexMe/obj/Release/MetricSelectionUI.g.i.cs b/AffdexMe/obj/Release/MetricSelectionUI.g.i.cs index 68537c5..ea0f2df 100644 --- a/AffdexMe/obj/Release/MetricSelectionUI.g.i.cs +++ b/AffdexMe/obj/Release/MetricSelectionUI.g.i.cs @@ -1,983 +1,983 @@ -#pragma checksum "..\..\MetricSelectionUI.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "868313CECF2DE99BFAB8BDBC832BB827" -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -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 { - - - /// - /// MetricSelectionUI - /// - 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; - - /// - /// InitializeComponent - /// - [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; - } - } -} - +#pragma checksum "..\..\MetricSelectionUI.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "DD7E5A98ECDD3C1FE8EDEE3BC3CD4094" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +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 { + + + /// + /// MetricSelectionUI + /// + 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; + + /// + /// InitializeComponent + /// + [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; + } + } +} +