diff --git a/.vs/cat-or-not-2/v14/.suo b/.vs/cat-or-not-2/v14/.suo index 0b7e761..b52a5f2 100644 Binary files a/.vs/cat-or-not-2/v14/.suo and b/.vs/cat-or-not-2/v14/.suo differ diff --git a/Bin/Release/Resources/AppResources.Designer.cs b/Bin/Release/Resources/AppResources.Designer.cs new file mode 100644 index 0000000..34cb778 --- /dev/null +++ b/Bin/Release/Resources/AppResources.Designer.cs @@ -0,0 +1,128 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace cat_or_not_2.Resources { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class AppResources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal AppResources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("cat_or_not_2.Resources.AppResources", typeof(AppResources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to add. + /// + public static string AppBarButtonText { + get { + return ResourceManager.GetString("AppBarButtonText", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Menu Item. + /// + public static string AppBarMenuItemText { + get { + return ResourceManager.GetString("AppBarMenuItemText", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MY APPLICATION. + /// + public static string ApplicationTitle { + get { + return ResourceManager.GetString("ApplicationTitle", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + public static byte[] logo { + get { + object obj = ResourceManager.GetObject("logo", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + public static byte[] mic { + get { + object obj = ResourceManager.GetObject("mic", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// Looks up a localized string similar to LeftToRight. + /// + public static string ResourceFlowDirection { + get { + return ResourceManager.GetString("ResourceFlowDirection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to en-US. + /// + public static string ResourceLanguage { + get { + return ResourceManager.GetString("ResourceLanguage", resourceCulture); + } + } + } +} diff --git a/Bin/Release/Resources/AppResources.resx b/Bin/Release/Resources/AppResources.resx new file mode 100644 index 0000000..7a86cb9 --- /dev/null +++ b/Bin/Release/Resources/AppResources.resx @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + LeftToRight + Controls the FlowDirection for all elements in the RootFrame. Set to the traditional direction of this resource file's language + + + en-US + Controls the Language and ensures that the font for all elements in the RootFrame aligns with the app's language. Set to the language code of this resource file's language. + + + MY APPLICATION + + + add + + + Menu Item + + + + logo.png;System.Byte[], mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e + + + mic.png;System.Byte[], mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e + + \ No newline at end of file diff --git a/Bin/Release/cat-or-not-2.dll b/Bin/Release/cat-or-not-2.dll index 7931ee4..f06973a 100644 Binary files a/Bin/Release/cat-or-not-2.dll and b/Bin/Release/cat-or-not-2.dll differ diff --git a/Bin/Release/cat-or-not-2.pdb b/Bin/Release/cat-or-not-2.pdb index 9a46928..fd11c79 100644 Binary files a/Bin/Release/cat-or-not-2.pdb and b/Bin/Release/cat-or-not-2.pdb differ diff --git a/Bin/Release/cat_or_not_2_Release_AnyCPU.xap b/Bin/Release/cat_or_not_2_Release_AnyCPU.xap index 21dd0d7..d1d0044 100644 Binary files a/Bin/Release/cat_or_not_2_Release_AnyCPU.xap and b/Bin/Release/cat_or_not_2_Release_AnyCPU.xap differ diff --git a/MainPage.xaml b/MainPage.xaml index da56e70..fee016d 100644 --- a/MainPage.xaml +++ b/MainPage.xaml @@ -40,17 +40,20 @@ --> - + - + + + - + - diff --git a/MainPage.xaml.cs b/MainPage.xaml.cs index ddbda46..f1de513 100644 --- a/MainPage.xaml.cs +++ b/MainPage.xaml.cs @@ -25,12 +25,12 @@ namespace cat_or_not_2 //BuildLocalizedApplicationBar(); } - // Random element selection - - // Speech recognition code - should be attached to the button (Wera) + // Speech recognition code - should be attached to the button public async void Speech_Click(object sender, RoutedEventArgs a) { - var answers = new List { "It is a cat", "It is not a cat" }; + // Creating a list with two elements: string "Cat", string "Not" + var answers = new List { "Cat", "Not" }; + // Creating a new instance of number generator class Random rnd = new Random(); SpeechRecognizerUI speechRecognizer = new SpeechRecognizerUI(); @@ -44,18 +44,19 @@ namespace cat_or_not_2 if (recoResult.ResultStatus == SpeechRecognitionUIStatus.Succeeded) { - await synth.SpeakTextAsync("The photo will be taken next"); - System.Threading.Thread.Sleep(2000); + await synth.SpeakTextAsync("The photo will be taken next. Cat or not?"); + // Casting Next method on rnd instance in the 'answers' list string answer; answer = answers[rnd.Next(0, 2)]; - if (answer.Equals("It is a cat")) { + // If string 'answer' equals to "Cat", phone vibrates to alert the user + if (answer.Equals("Cat")) { VibrateController vibrate = VibrateController.Default; vibrate.Start(TimeSpan.FromMilliseconds(1000)); } - System.Threading.Thread.Sleep(1000); + System.Threading.Thread.Sleep(4000); await synth.SpeakTextAsync(answer); } diff --git a/Resources/AppResources.Designer.cs b/Resources/AppResources.Designer.cs index 52d68dc..34cb778 100644 --- a/Resources/AppResources.Designer.cs +++ b/Resources/AppResources.Designer.cs @@ -1,18 +1,17 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.17626 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ -namespace cat_or_not_2.Resources -{ +namespace cat_or_not_2.Resources { using System; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -23,105 +22,107 @@ namespace cat_or_not_2.Resources [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public class AppResources - { - + public class AppResources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal AppResources() - { + internal AppResources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - public static global::System.Resources.ResourceManager ResourceManager - { - get - { - if (object.ReferenceEquals(resourceMan, null)) - { + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("cat_or_not_2.Resources.AppResources", typeof(AppResources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - public static global::System.Globalization.CultureInfo Culture - { - get - { + public static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } - + /// - /// Looks up a localized string similar to LeftToRight. + /// Looks up a localized string similar to add. /// - public static string ResourceFlowDirection - { - get - { - return ResourceManager.GetString("ResourceFlowDirection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to us-EN. - /// - public static string ResourceLanguage - { - get - { - return ResourceManager.GetString("ResourceLanguage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to MY APPLICATION. - /// - public static string ApplicationTitle - { - get - { - return ResourceManager.GetString("ApplicationTitle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to button. - /// - public static string AppBarButtonText - { - get - { + public static string AppBarButtonText { + get { return ResourceManager.GetString("AppBarButtonText", resourceCulture); } } - + /// - /// Looks up a localized string similar to menu item. + /// Looks up a localized string similar to Menu Item. /// - public static string AppBarMenuItemText - { - get - { + public static string AppBarMenuItemText { + get { return ResourceManager.GetString("AppBarMenuItemText", resourceCulture); } } + + /// + /// Looks up a localized string similar to MY APPLICATION. + /// + public static string ApplicationTitle { + get { + return ResourceManager.GetString("ApplicationTitle", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + public static byte[] logo { + get { + object obj = ResourceManager.GetObject("logo", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + public static byte[] mic { + get { + object obj = ResourceManager.GetObject("mic", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// Looks up a localized string similar to LeftToRight. + /// + public static string ResourceFlowDirection { + get { + return ResourceManager.GetString("ResourceFlowDirection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to en-US. + /// + public static string ResourceLanguage { + get { + return ResourceManager.GetString("ResourceLanguage", resourceCulture); + } + } } } diff --git a/Resources/AppResources.resx b/Resources/AppResources.resx index 529a194..7a86cb9 100644 --- a/Resources/AppResources.resx +++ b/Resources/AppResources.resx @@ -1,17 +1,17 @@  - @@ -134,4 +134,11 @@ Menu Item + + + logo.png;System.Byte[], mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e + + + mic.png;System.Byte[], mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e + \ No newline at end of file diff --git a/cat-or-not-2.csproj b/cat-or-not-2.csproj index 6c77ed9..4e46336 100644 --- a/cat-or-not-2.csproj +++ b/cat-or-not-2.csproj @@ -102,6 +102,7 @@ True True AppResources.resx + Always @@ -140,11 +141,14 @@ PreserveNewest + + PublicResXFileCodeGenerator AppResources.Designer.cs + Always diff --git a/cat-or-not-2.csproj.user b/cat-or-not-2.csproj.user index 061a41f..b570402 100644 --- a/cat-or-not-2.csproj.user +++ b/cat-or-not-2.csproj.user @@ -1,5 +1,13 @@  + + 256 + BC33F59A-75C2-482D-A3EB-5B80CD5F0DDE + + + 256 + BC33F59A-75C2-482D-A3EB-5B80CD5F0DDE + diff --git a/obj/Release/DesignTimeResolveAssemblyReferences.cache b/obj/Release/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..0ecfa89 Binary files /dev/null and b/obj/Release/DesignTimeResolveAssemblyReferences.cache differ diff --git a/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache index 98e1458..7c8e57a 100644 Binary files a/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and b/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/obj/Release/InProcessTempFiles/_cat-or-not-2.g.cs b/obj/Release/InProcessTempFiles/_cat-or-not-2.g.cs new file mode 100644 index 0000000..0c0a1b6 --- /dev/null +++ b/obj/Release/InProcessTempFiles/_cat-or-not-2.g.cs @@ -0,0 +1,201 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace XamlStaticHelperNamespace { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XamlBuildTask", "4.0.0.0")] + internal class _XamlStaticHelper { + + private static System.WeakReference schemaContextField; + + private static System.Collections.Generic.IList assemblyListField; + + internal static System.Xaml.XamlSchemaContext SchemaContext { + get { + System.Xaml.XamlSchemaContext xsc = null; + if ((schemaContextField != null)) { + xsc = ((System.Xaml.XamlSchemaContext)(schemaContextField.Target)); + if ((xsc != null)) { + return xsc; + } + } + if ((AssemblyList.Count > 0)) { + xsc = new System.Xaml.XamlSchemaContext(AssemblyList); + } + else { + xsc = new System.Xaml.XamlSchemaContext(); + } + schemaContextField = new System.WeakReference(xsc); + return xsc; + } + } + + internal static System.Collections.Generic.IList AssemblyList { + get { + if ((assemblyListField == null)) { + assemblyListField = LoadAssemblies(); + } + return assemblyListField; + } + } + + private static System.Collections.Generic.IList LoadAssemblies() { + System.Collections.Generic.IList assemblyList = new System.Collections.Generic.List(); + assemblyList.Add(Load("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")); + assemblyList.Add(Load("Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentTy" + + "pe=WindowsRuntime")); + assemblyList.Add(Load("Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a" + + "3a")); + assemblyList.Add(Load("Microsoft.Devices.Sensors, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec" + + "0d8c86cda1e")); + assemblyList.Add(Load("Microsoft.Phone, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1" + + "e")); + assemblyList.Add(Load("Microsoft.Phone.Interop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0d" + + "8c86cda1e")); + assemblyList.Add(Load("Microsoft.Phone.Maps, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c8" + + "6cda1e")); + assemblyList.Add(Load("Microsoft.Phone.Reactive, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0" + + "d8c86cda1e")); + assemblyList.Add(Load("Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8b" + + "e1de50553")); + assemblyList.Add(Load("Microsoft.Xna.Framework.GamerServices, Version=4.0.0.0, Culture=neutral, PublicKe" + + "yToken=842cf8be1de50553")); + assemblyList.Add(Load("Microsoft.Xna.Framework.GamerServicesExtensions, Version=4.0.0.0, Culture=neutral" + + ", PublicKeyToken=842cf8be1de50553")); + assemblyList.Add(Load("Microsoft.Xna.Framework.Input.Touch, Version=4.0.0.0, Culture=neutral, PublicKeyT" + + "oken=842cf8be1de50553")); + assemblyList.Add(Load("Microsoft.Xna.Framework.MediaLibraryExtensions, Version=4.0.0.0, Culture=neutral," + + " PublicKeyToken=842cf8be1de50553")); + assemblyList.Add(Load("mscorlib.Extensions, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea" + + "7798e")); + assemblyList.Add(Load("System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d5" + + "0a3a")); + assemblyList.Add(Load("System.ComponentModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f1" + + "1d50a3a")); + assemblyList.Add(Load("System.ComponentModel.EventBasedAsync, Version=4.0.0.0, Culture=neutral, PublicKe" + + "yToken=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e")); + assemblyList.Add(Load("System.Data.Linq, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda" + + "1e")); + assemblyList.Add(Load("System.Device, Version=2.0.5.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1e")); + assemblyList.Add(Load("System.Diagnostics.Contracts, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b0" + + "3f5f7f11d50a3a")); + assemblyList.Add(Load("System.Diagnostics.Debug, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f" + + "7f11d50a3a")); + assemblyList.Add(Load("System.Diagnostics.Tools, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f" + + "7f11d50a3a")); + assemblyList.Add(Load("System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e")); + assemblyList.Add(Load("System.Dynamic.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f" + + "11d50a3a")); + assemblyList.Add(Load("System.Globalization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11" + + "d50a3a")); + assemblyList.Add(Load("System.IO, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Linq.Expressions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7" + + "f11d50a3a")); + assemblyList.Add(Load("System.Linq.Queryable, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f1" + + "1d50a3a")); + assemblyList.Add(Load("System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e")); + assemblyList.Add(Load("System.Net.NetworkInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b" + + "03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Net.Primitives, Version=3.9.0.0, Culture=neutral, PublicKeyToken=b03f5f7f1" + + "1d50a3a")); + assemblyList.Add(Load("System.Net.Requests, Version=3.9.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d" + + "50a3a")); + assemblyList.Add(Load("System.ObjectModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d5" + + "0a3a")); + assemblyList.Add(Load("System.Observable, Version=2.0.5.0, Culture=neutral, PublicKeyToken=24eec0d8c86cd" + + "a1e")); + assemblyList.Add(Load("System.Reflection, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50" + + "a3a")); + assemblyList.Add(Load("System.Reflection.Emit.ILGeneration, Version=4.0.0.0, Culture=neutral, PublicKeyT" + + "oken=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Reflection.Emit.Lightweight, Version=4.0.0.0, Culture=neutral, PublicKeyTo" + + "ken=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Reflection.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b0" + + "3f5f7f11d50a3a")); + assemblyList.Add(Load("System.Reflection.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b0" + + "3f5f7f11d50a3a")); + assemblyList.Add(Load("System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToke" + + "n=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "")); + assemblyList.Add(Load("System.Runtime.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5" + + "f7f11d50a3a")); + assemblyList.Add(Load("System.Runtime.InteropServices.WindowsRuntime, Version=4.0.0.0, Culture=neutral, " + + "PublicKeyToken=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7c" + + "ec85d7bea7798e")); + assemblyList.Add(Load("System.Runtime.Serialization.Json, Version=4.0.0.0, Culture=neutral, PublicKeyTok" + + "en=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Runtime.Serialization.Primitives, Version=4.0.0.0, Culture=neutral, Public" + + "KeyToken=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Runtime.Serialization.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToke" + + "n=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Runtime.WindowsRuntime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b" + + "77a5c561934e089")); + assemblyList.Add(Load("System.Security.Principal, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5" + + "f7f11d50a3a")); + assemblyList.Add(Load("System.ServiceModel, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad3" + + "64e35")); + assemblyList.Add(Load("System.ServiceModel.Http, Version=3.9.0.0, Culture=neutral, PublicKeyToken=b03f5f" + + "7f11d50a3a")); + assemblyList.Add(Load("System.ServiceModel.Primitives, Version=3.9.0.0, Culture=neutral, PublicKeyToken=" + + "b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.ServiceModel.Security, Version=3.9.0.0, Culture=neutral, PublicKeyToken=b0" + + "3f5f7f11d50a3a")); + assemblyList.Add(Load("System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d" + + "7bea7798e")); + assemblyList.Add(Load("System.Text.Encoding, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11" + + "d50a3a")); + assemblyList.Add(Load("System.Text.Encoding.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken" + + "=b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Text.RegularExpressions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=" + + "b03f5f7f11d50a3a")); + assemblyList.Add(Load("System.Threading, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a" + + "3a")); + assemblyList.Add(Load("System.Threading.Tasks, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f" + + "11d50a3a")); + assemblyList.Add(Load("System.Windows, Version=2.0.6.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" + + "")); + assemblyList.Add(Load("System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e")); + assemblyList.Add(Load("System.Xml.Linq, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e3" + + "5")); + assemblyList.Add(Load("System.Xml.ReaderWriter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7" + + "f11d50a3a")); + assemblyList.Add(Load("System.Xml.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf38" + + "56ad364e35")); + assemblyList.Add(Load("System.Xml.XDocument, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11" + + "d50a3a")); + assemblyList.Add(Load("System.Xml.XmlSerializer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f" + + "7f11d50a3a")); + assemblyList.Add(System.Reflection.Assembly.GetExecutingAssembly()); + return assemblyList; + } + + private static System.Reflection.Assembly Load(string assemblyNameVal) { + System.Reflection.AssemblyName assemblyName = new System.Reflection.AssemblyName(assemblyNameVal); + byte[] publicKeyToken = assemblyName.GetPublicKeyToken(); + System.Reflection.Assembly asm = null; + try { + asm = System.Reflection.Assembly.Load(assemblyName.FullName); + } + catch (System.Exception ) { + System.Reflection.AssemblyName shortName = new System.Reflection.AssemblyName(assemblyName.Name); + if ((publicKeyToken != null)) { + shortName.SetPublicKeyToken(publicKeyToken); + } + asm = System.Reflection.Assembly.Load(shortName); + } + return asm; + } + } +} diff --git a/obj/Release/MainPage.g.cs b/obj/Release/MainPage.g.cs index a57326b..643474e 100644 --- a/obj/Release/MainPage.g.cs +++ b/obj/Release/MainPage.g.cs @@ -1,4 +1,4 @@ -#pragma checksum "C:\Users\Weronika\source\repos\Cat-or-Not-2\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "20662F3AF318B3ADC8D5FF556C28978A" +#pragma checksum "C:\Users\Weronika\source\repos\Cat-or-Not-2\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C42484EF2B67EAC8AC79AC1199289C44" //------------------------------------------------------------------------------ // // This code was generated by a tool. @@ -40,8 +40,14 @@ namespace cat_or_not_2 { internal System.Windows.Controls.StackPanel TitlePanel; + internal System.Windows.Controls.Image logo; + internal System.Windows.Controls.Grid ContentPanel; + internal System.Windows.Controls.Button button1; + + internal System.Windows.Controls.Image mic; + private bool _contentLoaded; /// @@ -56,7 +62,10 @@ namespace cat_or_not_2 { System.Windows.Application.LoadComponent(this, new System.Uri("/cat-or-not-2;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); + this.logo = ((System.Windows.Controls.Image)(this.FindName("logo"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); + this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1"))); + this.mic = ((System.Windows.Controls.Image)(this.FindName("mic"))); } } } diff --git a/obj/Release/MainPage.g.i.cs b/obj/Release/MainPage.g.i.cs index 307ef96..38a4792 100644 --- a/obj/Release/MainPage.g.i.cs +++ b/obj/Release/MainPage.g.i.cs @@ -1,4 +1,4 @@ -#pragma checksum "C:\Users\Weronika\source\repos\Cat-or-Not-2\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B8854AB2A57F94937B3E92239FD416B2" +#pragma checksum "C:\Users\Weronika\source\repos\Cat-or-Not-2\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C4347C1DB9A724CD021617438500708C" //------------------------------------------------------------------------------ // // This code was generated by a tool. @@ -40,8 +40,14 @@ namespace cat_or_not_2 { internal System.Windows.Controls.StackPanel TitlePanel; + internal System.Windows.Controls.Image logo; + internal System.Windows.Controls.Grid ContentPanel; + internal System.Windows.Controls.Button button1; + + internal System.Windows.Controls.Image mic; + private bool _contentLoaded; /// @@ -56,7 +62,10 @@ namespace cat_or_not_2 { System.Windows.Application.LoadComponent(this, new System.Uri("/cat-or-not-2;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); + this.logo = ((System.Windows.Controls.Image)(this.FindName("logo"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); + this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1"))); + this.mic = ((System.Windows.Controls.Image)(this.FindName("mic"))); } } } diff --git a/obj/Release/TempPE/Resources.AppResources.Designer.cs.dll b/obj/Release/TempPE/Resources.AppResources.Designer.cs.dll index 9979318..8919c2b 100644 Binary files a/obj/Release/TempPE/Resources.AppResources.Designer.cs.dll and b/obj/Release/TempPE/Resources.AppResources.Designer.cs.dll differ diff --git a/obj/Release/XapCacheFile.xml b/obj/Release/XapCacheFile.xml index 257f5e4..5c7fb15 100644 --- a/obj/Release/XapCacheFile.xml +++ b/obj/Release/XapCacheFile.xml @@ -1,11 +1,13 @@ - - + + + + diff --git a/obj/Release/cat-or-not-2.csproj.FileListAbsolute.txt b/obj/Release/cat-or-not-2.csproj.FileListAbsolute.txt index 33e03c9..f5af7bf 100644 --- a/obj/Release/cat-or-not-2.csproj.FileListAbsolute.txt +++ b/obj/Release/cat-or-not-2.csproj.FileListAbsolute.txt @@ -12,8 +12,10 @@ C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\cat_or_not_2_Release_Any C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\App.g.cs C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\MainPage.g.cs C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.g.resources -C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat_or_not_2.Resources.AppResources.resources -C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.csproj.GenerateResource.Cache C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.dll C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.pdb C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\XapCacheFile.xml +C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\Resources\AppResources.resx +C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\Resources\AppResources.Designer.cs +C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat_or_not_2.Resources.AppResources.resources +C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.csproj.GenerateResource.Cache diff --git a/obj/Release/cat-or-not-2.csproj.GenerateResource.Cache b/obj/Release/cat-or-not-2.csproj.GenerateResource.Cache index f538449..f0bab70 100644 Binary files a/obj/Release/cat-or-not-2.csproj.GenerateResource.Cache and b/obj/Release/cat-or-not-2.csproj.GenerateResource.Cache differ diff --git a/obj/Release/cat-or-not-2.dll b/obj/Release/cat-or-not-2.dll index 7931ee4..f06973a 100644 Binary files a/obj/Release/cat-or-not-2.dll and b/obj/Release/cat-or-not-2.dll differ diff --git a/obj/Release/cat-or-not-2.g.resources b/obj/Release/cat-or-not-2.g.resources index 94d0f07..a315c30 100644 Binary files a/obj/Release/cat-or-not-2.g.resources and b/obj/Release/cat-or-not-2.g.resources differ diff --git a/obj/Release/cat-or-not-2.pdb b/obj/Release/cat-or-not-2.pdb index 9a46928..fd11c79 100644 Binary files a/obj/Release/cat-or-not-2.pdb and b/obj/Release/cat-or-not-2.pdb differ diff --git a/obj/Release/cat_or_not_2.Resources.AppResources.resources b/obj/Release/cat_or_not_2.Resources.AppResources.resources index 47be633..3be04cf 100644 Binary files a/obj/Release/cat_or_not_2.Resources.AppResources.resources and b/obj/Release/cat_or_not_2.Resources.AppResources.resources differ