From: Gustavo Martin Date: Mon, 6 Jan 2014 22:10:33 +0000 (+0100) Subject: Windows Phone: pure XAML and C# games development. Connect4 X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=cd01a9d8d3544b83d89723be79c9492e838d44eb;p=CSharpForFun%2F.git Windows Phone: pure XAML and C# games development. Connect4 --- diff --git a/WindowsPhone/Connect4/Connect4.sln b/WindowsPhone/Connect4/Connect4.sln new file mode 100644 index 0000000..a957c4c --- /dev/null +++ b/WindowsPhone/Connect4/Connect4.sln @@ -0,0 +1,40 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Connect4", "Connect4\Connect4.csproj", "{C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|ARM = Debug|ARM + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|ARM = Release|ARM + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Debug|ARM.ActiveCfg = Debug|ARM + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Debug|ARM.Build.0 = Debug|ARM + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Debug|ARM.Deploy.0 = Debug|ARM + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Debug|x86.ActiveCfg = Debug|x86 + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Debug|x86.Build.0 = Debug|x86 + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Debug|x86.Deploy.0 = Debug|x86 + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Release|Any CPU.Build.0 = Release|Any CPU + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Release|Any CPU.Deploy.0 = Release|Any CPU + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Release|ARM.ActiveCfg = Release|ARM + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Release|ARM.Build.0 = Release|ARM + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Release|ARM.Deploy.0 = Release|ARM + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Release|x86.ActiveCfg = Release|x86 + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Release|x86.Build.0 = Release|x86 + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A}.Release|x86.Deploy.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/WindowsPhone/Connect4/Connect4.v12.suo b/WindowsPhone/Connect4/Connect4.v12.suo new file mode 100644 index 0000000..33bb6a1 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4.v12.suo differ diff --git a/WindowsPhone/Connect4/Connect4/App.xaml b/WindowsPhone/Connect4/Connect4/App.xaml new file mode 100644 index 0000000..610c66b --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/App.xaml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/App.xaml.cs b/WindowsPhone/Connect4/Connect4/App.xaml.cs new file mode 100644 index 0000000..3c538f4 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/App.xaml.cs @@ -0,0 +1,223 @@ +using System; +using System.Diagnostics; +using System.Resources; +using System.Windows; +using System.Windows.Markup; +using System.Windows.Navigation; +using Microsoft.Phone.Controls; +using Microsoft.Phone.Shell; +using Connect4.Resources; + +namespace Connect4 +{ + public partial class App : Application + { + /// + /// Provides easy access to the root frame of the Phone Application. + /// + /// The root frame of the Phone Application. + public static PhoneApplicationFrame RootFrame { get; private set; } + + /// + /// Constructor for the Application object. + /// + public App() + { + // Global handler for uncaught exceptions. + UnhandledException += Application_UnhandledException; + + // Standard XAML initialization + InitializeComponent(); + + // Phone-specific initialization + InitializePhoneApplication(); + + // Language display initialization + InitializeLanguage(); + + // Show graphics profiling information while debugging. + if (Debugger.IsAttached) + { + // Display the current frame rate counters. + Application.Current.Host.Settings.EnableFrameRateCounter = true; + + // Show the areas of the app that are being redrawn in each frame. + //Application.Current.Host.Settings.EnableRedrawRegions = true; + + // Enable non-production analysis visualization mode, + // which shows areas of a page that are handed off to GPU with a colored overlay. + //Application.Current.Host.Settings.EnableCacheVisualization = true; + + // Prevent the screen from turning off while under the debugger by disabling + // the application's idle detection. + // Caution:- Use this under debug mode only. Application that disables user idle detection will continue to run + // and consume battery power when the user is not using the phone. + PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled; + } + + } + + // Code to execute when the application is launching (eg, from Start) + // This code will not execute when the application is reactivated + private void Application_Launching(object sender, LaunchingEventArgs e) + { + } + + // Code to execute when the application is activated (brought to foreground) + // This code will not execute when the application is first launched + private void Application_Activated(object sender, ActivatedEventArgs e) + { + } + + // Code to execute when the application is deactivated (sent to background) + // This code will not execute when the application is closing + private void Application_Deactivated(object sender, DeactivatedEventArgs e) + { + } + + // Code to execute when the application is closing (eg, user hit Back) + // This code will not execute when the application is deactivated + private void Application_Closing(object sender, ClosingEventArgs e) + { + } + + // Code to execute if a navigation fails + private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e) + { + if (Debugger.IsAttached) + { + // A navigation has failed; break into the debugger + Debugger.Break(); + } + } + + // Code to execute on Unhandled Exceptions + private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e) + { + if (Debugger.IsAttached) + { + // An unhandled exception has occurred; break into the debugger + Debugger.Break(); + } + } + + #region Phone application initialization + + // Avoid double-initialization + private bool phoneApplicationInitialized = false; + + // Do not add any additional code to this method + private void InitializePhoneApplication() + { + if (phoneApplicationInitialized) + return; + + // Create the frame but don't set it as RootVisual yet; this allows the splash + // screen to remain active until the application is ready to render. + RootFrame = new PhoneApplicationFrame(); + RootFrame.Navigated += CompleteInitializePhoneApplication; + + // Handle navigation failures + RootFrame.NavigationFailed += RootFrame_NavigationFailed; + + // Handle reset requests for clearing the backstack + RootFrame.Navigated += CheckForResetNavigation; + + // Ensure we don't initialize again + phoneApplicationInitialized = true; + } + + // Do not add any additional code to this method + private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e) + { + // Set the root visual to allow the application to render + if (RootVisual != RootFrame) + RootVisual = RootFrame; + + // Remove this handler since it is no longer needed + RootFrame.Navigated -= CompleteInitializePhoneApplication; + } + + private void CheckForResetNavigation(object sender, NavigationEventArgs e) + { + // If the app has received a 'reset' navigation, then we need to check + // on the next navigation to see if the page stack should be reset + if (e.NavigationMode == NavigationMode.Reset) + RootFrame.Navigated += ClearBackStackAfterReset; + } + + private void ClearBackStackAfterReset(object sender, NavigationEventArgs e) + { + // Unregister the event so it doesn't get called again + RootFrame.Navigated -= ClearBackStackAfterReset; + + // Only clear the stack for 'new' (forward) and 'refresh' navigations + if (e.NavigationMode != NavigationMode.New && e.NavigationMode != NavigationMode.Refresh) + return; + + // For UI consistency, clear the entire page stack + while (RootFrame.RemoveBackEntry() != null) + { + ; // do nothing + } + } + + #endregion + + // Initialize the app's font and flow direction as defined in its localized resource strings. + // + // To ensure that the font of your application is aligned with its supported languages and that the + // FlowDirection for each of those languages follows its traditional direction, ResourceLanguage + // and ResourceFlowDirection should be initialized in each resx file to match these values with that + // file's culture. For example: + // + // AppResources.es-ES.resx + // ResourceLanguage's value should be "es-ES" + // ResourceFlowDirection's value should be "LeftToRight" + // + // AppResources.ar-SA.resx + // ResourceLanguage's value should be "ar-SA" + // ResourceFlowDirection's value should be "RightToLeft" + // + // For more info on localizing Windows Phone apps see http://go.microsoft.com/fwlink/?LinkId=262072. + // + private void InitializeLanguage() + { + try + { + // Set the font to match the display language defined by the + // ResourceLanguage resource string for each supported language. + // + // Fall back to the font of the neutral language if the Display + // language of the phone is not supported. + // + // If a compiler error is hit then ResourceLanguage is missing from + // the resource file. + RootFrame.Language = XmlLanguage.GetLanguage(AppResources.ResourceLanguage); + + // Set the FlowDirection of all elements under the root frame based + // on the ResourceFlowDirection resource string for each + // supported language. + // + // If a compiler error is hit then ResourceFlowDirection is missing from + // the resource file. + FlowDirection flow = (FlowDirection)Enum.Parse(typeof(FlowDirection), AppResources.ResourceFlowDirection); + RootFrame.FlowDirection = flow; + } + catch + { + // If an exception is caught here it is most likely due to either + // ResourceLangauge not being correctly set to a supported language + // code or ResourceFlowDirection is set to a value other than LeftToRight + // or RightToLeft. + + if (Debugger.IsAttached) + { + Debugger.Break(); + } + + throw; + } + } + } +} \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/Assets/AlignmentGrid.png b/WindowsPhone/Connect4/Connect4/Assets/AlignmentGrid.png new file mode 100644 index 0000000..f7d2e97 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Assets/AlignmentGrid.png differ diff --git a/WindowsPhone/Connect4/Connect4/Assets/ApplicationIcon.png b/WindowsPhone/Connect4/Connect4/Assets/ApplicationIcon.png new file mode 100644 index 0000000..7d95d4e Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Assets/ApplicationIcon.png differ diff --git a/WindowsPhone/Connect4/Connect4/Assets/Tiles/FlipCycleTileLarge.png b/WindowsPhone/Connect4/Connect4/Assets/Tiles/FlipCycleTileLarge.png new file mode 100644 index 0000000..e0c59ac Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Assets/Tiles/FlipCycleTileLarge.png differ diff --git a/WindowsPhone/Connect4/Connect4/Assets/Tiles/FlipCycleTileMedium.png b/WindowsPhone/Connect4/Connect4/Assets/Tiles/FlipCycleTileMedium.png new file mode 100644 index 0000000..e93b89d Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Assets/Tiles/FlipCycleTileMedium.png differ diff --git a/WindowsPhone/Connect4/Connect4/Assets/Tiles/FlipCycleTileSmall.png b/WindowsPhone/Connect4/Connect4/Assets/Tiles/FlipCycleTileSmall.png new file mode 100644 index 0000000..550b1b5 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Assets/Tiles/FlipCycleTileSmall.png differ diff --git a/WindowsPhone/Connect4/Connect4/Assets/Tiles/IconicTileMediumLarge.png b/WindowsPhone/Connect4/Connect4/Assets/Tiles/IconicTileMediumLarge.png new file mode 100644 index 0000000..686e6b5 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Assets/Tiles/IconicTileMediumLarge.png differ diff --git a/WindowsPhone/Connect4/Connect4/Assets/Tiles/IconicTileSmall.png b/WindowsPhone/Connect4/Connect4/Assets/Tiles/IconicTileSmall.png new file mode 100644 index 0000000..d4b5ede Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Assets/Tiles/IconicTileSmall.png differ diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/AppManifest.xaml b/WindowsPhone/Connect4/Connect4/Bin/Debug/AppManifest.xaml new file mode 100644 index 0000000..cdf2eca --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Bin/Debug/AppManifest.xaml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/ApplicationIcon.png b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/ApplicationIcon.png new file mode 100644 index 0000000..7d95d4e Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/ApplicationIcon.png differ diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/FlipCycleTileLarge.png b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/FlipCycleTileLarge.png new file mode 100644 index 0000000..e0c59ac Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/FlipCycleTileLarge.png differ diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/FlipCycleTileMedium.png b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/FlipCycleTileMedium.png new file mode 100644 index 0000000..e93b89d Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/FlipCycleTileMedium.png differ diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/FlipCycleTileSmall.png b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/FlipCycleTileSmall.png new file mode 100644 index 0000000..550b1b5 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/FlipCycleTileSmall.png differ diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/IconicTileMediumLarge.png b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/IconicTileMediumLarge.png new file mode 100644 index 0000000..686e6b5 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/IconicTileMediumLarge.png differ diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/IconicTileSmall.png b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/IconicTileSmall.png new file mode 100644 index 0000000..d4b5ede Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Bin/Debug/Assets/Tiles/IconicTileSmall.png differ diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/Connect4.dll b/WindowsPhone/Connect4/Connect4/Bin/Debug/Connect4.dll new file mode 100644 index 0000000..47747cb Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Bin/Debug/Connect4.dll differ diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/Connect4.pdb b/WindowsPhone/Connect4/Connect4/Bin/Debug/Connect4.pdb new file mode 100644 index 0000000..896d873 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Bin/Debug/Connect4.pdb differ diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/Connect4_Debug_AnyCPU.xap b/WindowsPhone/Connect4/Connect4/Bin/Debug/Connect4_Debug_AnyCPU.xap new file mode 100644 index 0000000..bc14ee4 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/Bin/Debug/Connect4_Debug_AnyCPU.xap differ diff --git a/WindowsPhone/Connect4/Connect4/Bin/Debug/Properties/WMAppManifest.xml b/WindowsPhone/Connect4/Connect4/Bin/Debug/Properties/WMAppManifest.xml new file mode 100644 index 0000000..2fb6abe --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Bin/Debug/Properties/WMAppManifest.xml @@ -0,0 +1,38 @@ + + + + + Assets\ApplicationIcon.png + + + + + + + + + + + + + + Assets\Tiles\FlipCycleTileSmall.png + 0 + Assets\Tiles\FlipCycleTileMedium.png + Connect4 + + + + + + + + + + + + + + + + diff --git a/WindowsPhone/Connect4/Connect4/Connect4.csproj b/WindowsPhone/Connect4/Connect4/Connect4.csproj new file mode 100644 index 0000000..d9eab83 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Connect4.csproj @@ -0,0 +1,171 @@ + + + + Debug + AnyCPU + 10.0.20506 + 2.0 + {C068D24F-CCFF-46BF-BCA0-79E12EEC0B9A} + {C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + Connect4 + Connect4 + WindowsPhone + v8.0 + $(TargetFrameworkVersion) + true + + + true + true + Connect4_$(Configuration)_$(Platform).xap + Properties\AppManifest.xml + Connect4.App + true + 11.0 + true + + + true + full + false + Bin\Debug + DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE + true + true + prompt + 4 + + + pdbonly + true + Bin\Release + TRACE;SILVERLIGHT;WINDOWS_PHONE + true + true + prompt + 4 + + + true + full + false + Bin\x86\Debug + DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE + true + true + prompt + 4 + + + pdbonly + true + Bin\x86\Release + TRACE;SILVERLIGHT;WINDOWS_PHONE + true + true + prompt + 4 + + + true + full + false + Bin\ARM\Debug + DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE + true + true + prompt + 4 + + + pdbonly + true + Bin\ARM\Release + TRACE;SILVERLIGHT;WINDOWS_PHONE + true + true + prompt + 4 + + + + App.xaml + + + + MainPage.xaml + + + + True + True + AppResources.resx + + + BoardPage.xaml + + + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + + + + Designer + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + PublicResXFileCodeGenerator + AppResources.Designer.cs + + + + + + + + + + + \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/Connect4.csproj.user b/WindowsPhone/Connect4/Connect4/Connect4.csproj.user new file mode 100644 index 0000000..5a38e3e --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Connect4.csproj.user @@ -0,0 +1,23 @@ + + + + 256 + 5E7661DF-D928-40ff-B747-A4B1957194F9 + + + 256 + 5E7661DF-D928-40ff-B747-A4B1957194F9 + + + + + + True + Managed + Managed + False + + + + + \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/LocalizedStrings.cs b/WindowsPhone/Connect4/Connect4/LocalizedStrings.cs new file mode 100644 index 0000000..864e146 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/LocalizedStrings.cs @@ -0,0 +1,14 @@ +using Connect4.Resources; + +namespace Connect4 +{ + /// + /// Provides access to string resources. + /// + public class LocalizedStrings + { + private static AppResources _localizedResources = new AppResources(); + + public AppResources LocalizedResources { get { return _localizedResources; } } + } +} \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/MainPage.xaml b/WindowsPhone/Connect4/Connect4/MainPage.xaml new file mode 100644 index 0000000..14750b3 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/MainPage.xaml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/MainPage.xaml.cs b/WindowsPhone/Connect4/Connect4/MainPage.xaml.cs new file mode 100644 index 0000000..a4ad108 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/MainPage.xaml.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Navigation; +using Microsoft.Phone.Controls; +using Microsoft.Phone.Shell; +using Connect4.Resources; + +namespace Connect4 +{ + public partial class MainPage : PhoneApplicationPage + { + // Constructor + public MainPage() + { + InitializeComponent(); + + // Sample code to localize the ApplicationBar + //BuildLocalizedApplicationBar(); + } + + // Sample code for building a localized ApplicationBar + //private void BuildLocalizedApplicationBar() + //{ + // // Set the page's ApplicationBar to a new instance of ApplicationBar. + // ApplicationBar = new ApplicationBar(); + + // // Create a new button and set the text value to the localized string from AppResources. + // ApplicationBarIconButton appBarButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/appbar.add.rest.png", UriKind.Relative)); + // appBarButton.Text = AppResources.AppBarButtonText; + // ApplicationBar.Buttons.Add(appBarButton); + + // // Create a new menu item with the localized string from AppResources. + // ApplicationBarMenuItem appBarMenuItem = new ApplicationBarMenuItem(AppResources.AppBarMenuItemText); + // ApplicationBar.MenuItems.Add(appBarMenuItem); + //} + } +} \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/Properties/AppManifest.xml b/WindowsPhone/Connect4/Connect4/Properties/AppManifest.xml new file mode 100644 index 0000000..6712a11 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Properties/AppManifest.xml @@ -0,0 +1,6 @@ + + + + diff --git a/WindowsPhone/Connect4/Connect4/Properties/AssemblyInfo.cs b/WindowsPhone/Connect4/Connect4/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e8f29b0 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Properties/AssemblyInfo.cs @@ -0,0 +1,37 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Resources; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Connect4")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Connect4")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("0f1918ce-4db0-44bb-b05a-31810279d710")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: NeutralResourcesLanguageAttribute("en-US")] diff --git a/WindowsPhone/Connect4/Connect4/Properties/WMAppManifest.xml b/WindowsPhone/Connect4/Connect4/Properties/WMAppManifest.xml new file mode 100644 index 0000000..a92acc1 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Properties/WMAppManifest.xml @@ -0,0 +1,38 @@ + + + + + + Assets\ApplicationIcon.png + + + + + + + + + + + + + + Assets\Tiles\FlipCycleTileSmall.png + 0 + Assets\Tiles\FlipCycleTileMedium.png + Connect4 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/Resources/AppResources.Designer.cs b/WindowsPhone/Connect4/Connect4/Resources/AppResources.Designer.cs new file mode 100644 index 0000000..559e366 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Resources/AppResources.Designer.cs @@ -0,0 +1,127 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17626 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Connect4.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("Connect4.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 LeftToRight. + /// + 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 + { + return ResourceManager.GetString("AppBarButtonText", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to menu item. + /// + public static string AppBarMenuItemText + { + get + { + return ResourceManager.GetString("AppBarMenuItemText", resourceCulture); + } + } + } +} diff --git a/WindowsPhone/Connect4/Connect4/Resources/AppResources.resx b/WindowsPhone/Connect4/Connect4/Resources/AppResources.resx new file mode 100644 index 0000000..529a194 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Resources/AppResources.resx @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/Views/BoardPage.xaml b/WindowsPhone/Connect4/Connect4/Views/BoardPage.xaml new file mode 100644 index 0000000..687ca12 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Views/BoardPage.xaml @@ -0,0 +1,22 @@ + + + + + + + + + \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/Views/BoardPage.xaml.cs b/WindowsPhone/Connect4/Connect4/Views/BoardPage.xaml.cs new file mode 100644 index 0000000..20c8936 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/Views/BoardPage.xaml.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Navigation; +using Microsoft.Phone.Controls; +using Microsoft.Phone.Shell; + +namespace Connect4.Views +{ + public partial class Board : PhoneApplicationPage + { + public Board() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/App.g.cs b/WindowsPhone/Connect4/Connect4/obj/Debug/App.g.cs new file mode 100644 index 0000000..f40c8bc --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/obj/Debug/App.g.cs @@ -0,0 +1,53 @@ +#pragma checksum "C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3C38ADCE94D4791A3849BE296468B5E3" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34003 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Automation.Peers; +using System.Windows.Automation.Provider; +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.Interop; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Imaging; +using System.Windows.Resources; +using System.Windows.Shapes; +using System.Windows.Threading; + + +namespace Connect4 { + + + public partial class App : System.Windows.Application { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Windows.Application.LoadComponent(this, new System.Uri("/Connect4;component/App.xaml", System.UriKind.Relative)); + } + } +} + diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/App.g.i.cs b/WindowsPhone/Connect4/Connect4/obj/Debug/App.g.i.cs new file mode 100644 index 0000000..627069e --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/obj/Debug/App.g.i.cs @@ -0,0 +1,53 @@ +#pragma checksum "C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "274996EE3683B3470A7A7610F0C81865" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34003 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Automation.Peers; +using System.Windows.Automation.Provider; +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.Interop; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Imaging; +using System.Windows.Resources; +using System.Windows.Shapes; +using System.Windows.Threading; + + +namespace Connect4 { + + + public partial class App : System.Windows.Application { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Windows.Application.LoadComponent(this, new System.Uri("/Connect4;component/App.xaml", System.UriKind.Relative)); + } + } +} + diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.Resources.AppResources.resources b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.Resources.AppResources.resources new file mode 100644 index 0000000..47be633 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.Resources.AppResources.resources differ diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.csproj.FileListAbsolute.txt b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..0233d16 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.csproj.FileListAbsolute.txt @@ -0,0 +1,19 @@ +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\Assets\ApplicationIcon.png +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\Assets\Tiles\FlipCycleTileLarge.png +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\Assets\Tiles\FlipCycleTileMedium.png +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\Assets\Tiles\FlipCycleTileSmall.png +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\Assets\Tiles\IconicTileMediumLarge.png +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\Assets\Tiles\IconicTileSmall.png +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\Connect4.dll +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\Connect4.pdb +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\AppManifest.xaml +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\Properties\WMAppManifest.xml +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Bin\Debug\Connect4_Debug_AnyCPU.xap +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\obj\Debug\App.g.cs +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\obj\Debug\MainPage.g.cs +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\obj\Debug\Connect4.g.resources +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\obj\Debug\Connect4.Resources.AppResources.resources +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\obj\Debug\Connect4.csproj.GenerateResource.Cache +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\obj\Debug\Connect4.dll +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\obj\Debug\Connect4.pdb +C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\obj\Debug\XapCacheFile.xml diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.csproj.GenerateResource.Cache b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.csproj.GenerateResource.Cache new file mode 100644 index 0000000..1ba90ba Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.csproj.GenerateResource.Cache differ diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.dll b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.dll new file mode 100644 index 0000000..47747cb Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.dll differ diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.g.resources b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.g.resources new file mode 100644 index 0000000..f94e8e3 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.g.resources differ diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.pdb b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.pdb new file mode 100644 index 0000000..896d873 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/obj/Debug/Connect4.pdb differ diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/WindowsPhone/Connect4/Connect4/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..936f578 Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/WindowsPhone/Connect4/Connect4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..59ffa1b Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/MainPage.g.cs b/WindowsPhone/Connect4/Connect4/obj/Debug/MainPage.g.cs new file mode 100644 index 0000000..3afeded --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/obj/Debug/MainPage.g.cs @@ -0,0 +1,63 @@ +#pragma checksum "C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "9AD5CAD80C46543E10E19A76EC6688CE" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34003 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Microsoft.Phone.Controls; +using System; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Automation.Peers; +using System.Windows.Automation.Provider; +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.Interop; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Imaging; +using System.Windows.Resources; +using System.Windows.Shapes; +using System.Windows.Threading; + + +namespace Connect4 { + + + public partial class MainPage : Microsoft.Phone.Controls.PhoneApplicationPage { + + internal System.Windows.Controls.Grid LayoutRoot; + + internal System.Windows.Controls.StackPanel TitlePanel; + + internal System.Windows.Controls.Grid ContentPanel; + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Windows.Application.LoadComponent(this, new System.Uri("/Connect4;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.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); + } + } +} + diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/MainPage.g.i.cs b/WindowsPhone/Connect4/Connect4/obj/Debug/MainPage.g.i.cs new file mode 100644 index 0000000..e0ba96d --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/obj/Debug/MainPage.g.i.cs @@ -0,0 +1,63 @@ +#pragma checksum "C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C68AAAEB2F20E6E008F16708D50902DD" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34003 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Microsoft.Phone.Controls; +using System; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Automation.Peers; +using System.Windows.Automation.Provider; +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.Interop; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Imaging; +using System.Windows.Resources; +using System.Windows.Shapes; +using System.Windows.Threading; + + +namespace Connect4 { + + + public partial class MainPage : Microsoft.Phone.Controls.PhoneApplicationPage { + + internal System.Windows.Controls.Grid LayoutRoot; + + internal System.Windows.Controls.StackPanel TitlePanel; + + internal System.Windows.Controls.Grid ContentPanel; + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Windows.Application.LoadComponent(this, new System.Uri("/Connect4;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.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); + } + } +} + diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/TempPE/Resources.AppResources.Designer.cs.dll b/WindowsPhone/Connect4/Connect4/obj/Debug/TempPE/Resources.AppResources.Designer.cs.dll new file mode 100644 index 0000000..f16a98d Binary files /dev/null and b/WindowsPhone/Connect4/Connect4/obj/Debug/TempPE/Resources.AppResources.Designer.cs.dll differ diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/WindowsPhone/Connect4/Connect4/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/WindowsPhone/Connect4/Connect4/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/WindowsPhone/Connect4/Connect4/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/Views/Board.g.i.cs b/WindowsPhone/Connect4/Connect4/obj/Debug/Views/Board.g.i.cs new file mode 100644 index 0000000..2715d81 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/obj/Debug/Views/Board.g.i.cs @@ -0,0 +1,60 @@ +#pragma checksum "C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Views\Board.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F72B57B7DED2C3968A80C16F07CBAEC7" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34003 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Microsoft.Phone.Controls; +using System; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Automation.Peers; +using System.Windows.Automation.Provider; +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.Interop; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Imaging; +using System.Windows.Resources; +using System.Windows.Shapes; +using System.Windows.Threading; + + +namespace Connect4.Views { + + + public partial class Board : Microsoft.Phone.Controls.PhoneApplicationPage { + + internal System.Windows.Controls.Grid LayoutRoot; + + internal System.Windows.Controls.Grid ContentPanel; + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Windows.Application.LoadComponent(this, new System.Uri("/Connect4;component/Views/Board.xaml", System.UriKind.Relative)); + this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); + this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); + } + } +} + diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/Views/BoardPage.g.i.cs b/WindowsPhone/Connect4/Connect4/obj/Debug/Views/BoardPage.g.i.cs new file mode 100644 index 0000000..59abd13 --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/obj/Debug/Views/BoardPage.g.i.cs @@ -0,0 +1,57 @@ +#pragma checksum "C:\Users\Gustavo\Source\Repos\CSharpForFun\WindowsPhone\Connect4\Connect4\Views\BoardPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "9F2ADF474E1D757C93B981C1859FC03E" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34003 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Microsoft.Phone.Controls; +using System; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Automation.Peers; +using System.Windows.Automation.Provider; +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.Interop; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Imaging; +using System.Windows.Resources; +using System.Windows.Shapes; +using System.Windows.Threading; + + +namespace Connect4.Views { + + + public partial class Board : Microsoft.Phone.Controls.PhoneApplicationPage { + + internal System.Windows.Controls.Grid BoardGrid; + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Windows.Application.LoadComponent(this, new System.Uri("/Connect4;component/Views/BoardPage.xaml", System.UriKind.Relative)); + this.BoardGrid = ((System.Windows.Controls.Grid)(this.FindName("BoardGrid"))); + } + } +} + diff --git a/WindowsPhone/Connect4/Connect4/obj/Debug/XapCacheFile.xml b/WindowsPhone/Connect4/Connect4/obj/Debug/XapCacheFile.xml new file mode 100644 index 0000000..53cb74b --- /dev/null +++ b/WindowsPhone/Connect4/Connect4/obj/Debug/XapCacheFile.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file