Permalink
Browse files

First commit

  • Loading branch information...
0 parents commit 46aee0156f0bcf855c5ffecc9e3ac9cb9b9a94e9 U-AMXDMBRH2\Matthew committed Aug 18, 2010
Showing with 4,161 additions and 0 deletions.
  1. +11 −0 .gitignore
  2. +31 −0 AmxMobile.Phone7.SixBookmarks.sln
  3. +173 −0 AmxMobile.Phone7.SixBookmarks/AmxMobile.Phone7.SixBookmarks.csproj
  4. +10 −0 AmxMobile.Phone7.SixBookmarks/AmxMobile.Phone7.SixBookmarks.csproj.vspscc
  5. +19 −0 AmxMobile.Phone7.SixBookmarks/App.xaml
  6. +110 −0 AmxMobile.Phone7.SixBookmarks/App.xaml.cs
  7. BIN AmxMobile.Phone7.SixBookmarks/ApplicationIcon.png
  8. BIN AmxMobile.Phone7.SixBookmarks/Background.png
  9. BIN AmxMobile.Phone7.SixBookmarks/Bin/Debug/AmxMobile.Phone7.SixBookmarks.xap
  10. +6 −0 AmxMobile.Phone7.SixBookmarks/Bin/Debug/AppManifest.xaml
  11. BIN AmxMobile.Phone7.SixBookmarks/Bin/Debug/ApplicationIcon.png
  12. BIN AmxMobile.Phone7.SixBookmarks/Bin/Debug/Background.png
  13. +49 −0 AmxMobile.Phone7.SixBookmarks/ConfigurePage.xaml
  14. +96 −0 AmxMobile.Phone7.SixBookmarks/ConfigurePage.xaml.cs
  15. +39 −0 AmxMobile.Phone7.SixBookmarks/ConfigureSingletonPage.xaml
  16. +122 −0 AmxMobile.Phone7.SixBookmarks/ConfigureSingletonPage.xaml.cs
  17. +203 −0 AmxMobile.Phone7.SixBookmarks/Data/BookmarksClient.cs
  18. +197 −0 AmxMobile.Phone7.SixBookmarks/Data/DataBox.cs
  19. +33 −0 AmxMobile.Phone7.SixBookmarks/Data/DataBoxEntityChangeProcessor.cs
  20. +98 −0 AmxMobile.Phone7.SixBookmarks/Data/DataBoxFilter.cs
  21. +36 −0 AmxMobile.Phone7.SixBookmarks/Data/EntityChangeProcessor.cs
  22. +25 −0 AmxMobile.Phone7.SixBookmarks/Data/SqlConstraint.cs
  23. +232 −0 AmxMobile.Phone7.SixBookmarks/Data/Sync.cs
  24. +24 −0 AmxMobile.Phone7.SixBookmarks/Data/SyncWorkItem.cs
  25. +157 −0 AmxMobile.Phone7.SixBookmarks/Entities/Bookmark.cs
  26. +9 −0 AmxMobile.Phone7.SixBookmarks/Entities/BookmarkCollection.cs
  27. +11 −0 AmxMobile.Phone7.SixBookmarks/Entities/DataType.cs
  28. +194 −0 AmxMobile.Phone7.SixBookmarks/Entities/Entity.cs
  29. +20 −0 AmxMobile.Phone7.SixBookmarks/Entities/EntityCollection.cs
  30. +35 −0 AmxMobile.Phone7.SixBookmarks/Entities/EntityField.cs
  31. +16 −0 AmxMobile.Phone7.SixBookmarks/Entities/EntityItem.cs
  32. +99 −0 AmxMobile.Phone7.SixBookmarks/Entities/EntityType.cs
  33. +12 −0 AmxMobile.Phone7.SixBookmarks/Entities/FieldFlags.cs
  34. +10 −0 AmxMobile.Phone7.SixBookmarks/Entities/SetReason.cs
  35. BIN AmxMobile.Phone7.SixBookmarks/Images/Add.png
  36. BIN AmxMobile.Phone7.SixBookmarks/Images/Arrow.png
  37. BIN AmxMobile.Phone7.SixBookmarks/Images/Delete.png
  38. BIN AmxMobile.Phone7.SixBookmarks/Images/Finish.png
  39. +40 −0 AmxMobile.Phone7.SixBookmarks/LogonPage.xaml
  40. +127 −0 AmxMobile.Phone7.SixBookmarks/LogonPage.xaml.cs
  41. +5 −0 AmxMobile.Phone7.SixBookmarks/MSSCCPRJ.SCC
  42. +48 −0 AmxMobile.Phone7.SixBookmarks/MainPage.xaml
  43. +24 −0 AmxMobile.Phone7.SixBookmarks/MainPage.xaml.cs
  44. +45 −0 AmxMobile.Phone7.SixBookmarks/NavigatorPage.xaml
  45. +155 −0 AmxMobile.Phone7.SixBookmarks/NavigatorPage.xaml.cs
  46. +73 −0 AmxMobile.Phone7.SixBookmarks/Objects/Alert.cs
  47. +24 −0 AmxMobile.Phone7.SixBookmarks/Objects/DownloadSettings.cs
  48. +47 −0 AmxMobile.Phone7.SixBookmarks/Objects/ErrorBucket.cs
  49. +6 −0 AmxMobile.Phone7.SixBookmarks/Objects/Failure.cs
  50. +130 −0 AmxMobile.Phone7.SixBookmarks/Objects/HttpHelper.cs
  51. +13 −0 AmxMobile.Phone7.SixBookmarks/Objects/IContextSource.cs
  52. +103 −0 AmxMobile.Phone7.SixBookmarks/Objects/SimpleXmlPropertyBag.cs
  53. +47 −0 AmxMobile.Phone7.SixBookmarks/Objects/SixBookmarksRuntime.cs
  54. +11 −0 AmxMobile.Phone7.SixBookmarks/Objects/XmlDataType.cs
  55. +81 −0 AmxMobile.Phone7.SixBookmarks/Objects/XmlHelper.cs
  56. +6 −0 AmxMobile.Phone7.SixBookmarks/Properties/AppManifest.xml
  57. +35 −0 AmxMobile.Phone7.SixBookmarks/Properties/AssemblyInfo.cs
  58. +30 −0 AmxMobile.Phone7.SixBookmarks/Properties/WMAppManifest.xml
  59. +64 −0 AmxMobile.Phone7.SixBookmarks/Services/ApiService.cs
  60. +84 −0 AmxMobile.Phone7.SixBookmarks/Services/BookmarksService.cs
  61. +21 −0 AmxMobile.Phone7.SixBookmarks/Services/ExecuteServerItemsState.cs
  62. +31 −0 AmxMobile.Phone7.SixBookmarks/Services/LogonResponse.cs
  63. +12 −0 AmxMobile.Phone7.SixBookmarks/Services/LogonResult.cs
  64. +20 −0 AmxMobile.Phone7.SixBookmarks/Services/ODataOperation.cs
  65. +30 −0 AmxMobile.Phone7.SixBookmarks/Services/ODataServiceProxy.cs
  66. +13 −0 AmxMobile.Phone7.SixBookmarks/Services/RestRequestArgs.cs
  67. +93 −0 AmxMobile.Phone7.SixBookmarks/Services/RestServiceProxy.cs
  68. +56 −0 AmxMobile.Phone7.SixBookmarks/Services/ServiceProxy.cs
  69. +36 −0 AmxMobile.Phone7.SixBookmarks/Services/UsersService.cs
  70. BIN AmxMobile.Phone7.SixBookmarks/SplashScreenImage.jpg
  71. +35 −0 AmxMobile.Phone7.SixBookmarks/ViewModels/ConfigurePageViewModel.cs
  72. +113 −0 AmxMobile.Phone7.SixBookmarks/_sgbak/ConfigureForm.xaml.cs.68125.1.2010-07-25.11-24-49.0750
  73. +17 −0 AmxMobile.Phone7.SixBookmarks/obj/Debug/AmxMobile.Phone7.SixBookmarks.csproj.FileListAbsolute.txt
  74. BIN AmxMobile.Phone7.SixBookmarks/obj/Debug/AmxMobile.Phone7.SixBookmarks.g.resources
  75. +53 −0 AmxMobile.Phone7.SixBookmarks/obj/Debug/App.g.cs
  76. +72 −0 AmxMobile.Phone7.SixBookmarks/obj/Debug/ConfigurePage.g.cs
  77. +84 −0 AmxMobile.Phone7.SixBookmarks/obj/Debug/ConfigureSingletonPage.g.cs
  78. BIN AmxMobile.Phone7.SixBookmarks/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  79. BIN AmxMobile.Phone7.SixBookmarks/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  80. +87 −0 AmxMobile.Phone7.SixBookmarks/obj/Debug/LogonPage.g.cs
  81. +96 −0 AmxMobile.Phone7.SixBookmarks/obj/Debug/NavigatorPage.g.cs
  82. BIN AmxMobile.Phone7.SixBookmarks/obj/Debug/ResolveAssemblyReference.cache
  83. +12 −0 AmxMobile.Phone7.SixBookmarks/obj/Debug/XapCacheFile.xml
  84. +5 −0 MSSCCPRJ.SCC
@@ -0,0 +1,11 @@
+*.com
+*.class
+*.dll
+*.exe
+*.pdb
+*.scc
+*.vssscc
+*.suo
+*.user
+/bin
+/obj
@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AmxMobile.Phone7.SixBookmarks", "AmxMobile.Phone7.SixBookmarks\AmxMobile.Phone7.SixBookmarks.csproj", "{622830A9-1535-4A95-91A6-B2A8F20145EC}"
+EndProject
+Global
+ GlobalSection(SourceCodeControl) = preSolution
+ SccNumberOfProjects = 2
+ SccLocalPath0 = .
+ CanCheckoutShared = false
+ SccProjectUniqueName1 = AmxMobile.Phone7.SixBookmarks\\AmxMobile.Phone7.SixBookmarks.csproj
+ SccLocalPath1 = .
+ CanCheckoutShared = false
+ SccProjectFilePathRelativizedFromConnection1 = AmxMobile.Phone7.SixBookmarks\\
+ EndGlobalSection
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {622830A9-1535-4A95-91A6-B2A8F20145EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {622830A9-1535-4A95-91A6-B2A8F20145EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {622830A9-1535-4A95-91A6-B2A8F20145EC}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {622830A9-1535-4A95-91A6-B2A8F20145EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {622830A9-1535-4A95-91A6-B2A8F20145EC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {622830A9-1535-4A95-91A6-B2A8F20145EC}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{622830A9-1535-4A95-91A6-B2A8F20145EC}</ProjectGuid>
+ <ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>AmxMobile.Phone7.SixBookmarks</RootNamespace>
+ <AssemblyName>AmxMobile.Phone7.SixBookmarks</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
+ <TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
+ <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+ <SilverlightApplication>true</SilverlightApplication>
+ <SupportedCultures>
+ </SupportedCultures>
+ <XapOutputs>true</XapOutputs>
+ <GenerateSilverlightManifest>true</GenerateSilverlightManifest>
+ <XapFilename>AmxMobile.Phone7.SixBookmarks.xap</XapFilename>
+ <SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate>
+ <SilverlightAppEntry>AmxMobile.Phone7.SixBookmarks.App</SilverlightAppEntry>
+ <ValidateXaml>true</ValidateXaml>
+ <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
+ <SccProjectName>SAK</SccProjectName>
+ <SccLocalPath>SAK</SccLocalPath>
+ <SccAuxPath>SAK</SccAuxPath>
+ <SccProvider>SAK</SccProvider>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Bin\Debug</OutputPath>
+ <DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
+ <NoStdLib>true</NoStdLib>
+ <NoConfig>true</NoConfig>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Bin\Release</OutputPath>
+ <DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
+ <NoStdLib>true</NoStdLib>
+ <NoConfig>true</NoConfig>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="Microsoft.Phone" />
+ <Reference Include="Microsoft.Phone.Interop" />
+ <Reference Include="System.Data.Services.Client">
+ <HintPath>C:\sluice\System.Data.Services.Client.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Windows" />
+ <Reference Include="mscorlib" />
+ <Reference Include="system" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Net" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Xml.Linq" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="App.xaml.cs">
+ <DependentUpon>App.xaml</DependentUpon>
+ </Compile>
+ <Compile Include="ConfigurePage.xaml.cs">
+ <DependentUpon>ConfigurePage.xaml</DependentUpon>
+ </Compile>
+ <Compile Include="ConfigureSingletonPage.xaml.cs">
+ <DependentUpon>ConfigureSingletonPage.xaml</DependentUpon>
+ </Compile>
+ <Compile Include="Data\BookmarksClient.cs" />
+ <Compile Include="Data\DataBox.cs" />
+ <Compile Include="Data\DataBoxEntityChangeProcessor.cs" />
+ <Compile Include="Data\DataBoxFilter.cs" />
+ <Compile Include="Data\EntityChangeProcessor.cs" />
+ <Compile Include="Data\SqlConstraint.cs" />
+ <Compile Include="Data\Sync.cs" />
+ <Compile Include="Data\SyncWorkItem.cs" />
+ <Compile Include="Entities\Bookmark.cs" />
+ <Compile Include="Entities\DataType.cs" />
+ <Compile Include="Entities\Entity.cs" />
+ <Compile Include="Entities\EntityField.cs" />
+ <Compile Include="Entities\EntityItem.cs" />
+ <Compile Include="Entities\EntityType.cs" />
+ <Compile Include="Entities\FieldFlags.cs" />
+ <Compile Include="Entities\SetReason.cs" />
+ <Compile Include="LogonPage.xaml.cs">
+ <DependentUpon>LogonPage.xaml</DependentUpon>
+ </Compile>
+ <Compile Include="NavigatorPage.xaml.cs">
+ <DependentUpon>NavigatorPage.xaml</DependentUpon>
+ </Compile>
+ <Compile Include="Objects\Alert.cs" />
+ <Compile Include="Objects\DownloadSettings.cs" />
+ <Compile Include="Objects\ErrorBucket.cs" />
+ <Compile Include="Objects\Failure.cs" />
+ <Compile Include="Objects\HttpHelper.cs" />
+ <Compile Include="Objects\IContextSource.cs" />
+ <Compile Include="Objects\SimpleXmlPropertyBag.cs" />
+ <Compile Include="Objects\SixBookmarksRuntime.cs" />
+ <Compile Include="Objects\XmlDataType.cs" />
+ <Compile Include="Objects\XmlHelper.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="Services\ApiService.cs" />
+ <Compile Include="Services\BookmarksService.cs" />
+ <Compile Include="Services\ExecuteServerItemsState.cs" />
+ <Compile Include="Services\LogonResponse.cs" />
+ <Compile Include="Services\LogonResult.cs" />
+ <Compile Include="Services\ODataOperation.cs" />
+ <Compile Include="Services\ODataServiceProxy.cs" />
+ <Compile Include="Services\RestRequestArgs.cs" />
+ <Compile Include="Services\RestServiceProxy.cs" />
+ <Compile Include="Services\ServiceProxy.cs" />
+ <Compile Include="Services\UsersService.cs" />
+ <Compile Include="ViewModels\ConfigurePageViewModel.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ApplicationDefinition Include="App.xaml">
+ <SubType>Designer</SubType>
+ <Generator>MSBuild:Compile</Generator>
+ </ApplicationDefinition>
+ <Page Include="ConfigurePage.xaml">
+ <SubType>Designer</SubType>
+ <Generator>MSBuild:Compile</Generator>
+ </Page>
+ <Page Include="ConfigureSingletonPage.xaml">
+ <SubType>Designer</SubType>
+ <Generator>MSBuild:Compile</Generator>
+ </Page>
+ <Page Include="LogonPage.xaml">
+ <Generator>MSBuild:Compile</Generator>
+ <SubType>Designer</SubType>
+ </Page>
+ <Page Include="NavigatorPage.xaml">
+ <Generator>MSBuild:Compile</Generator>
+ <SubType>Designer</SubType>
+ </Page>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Properties\AppManifest.xml" />
+ <None Include="Properties\WMAppManifest.xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="ApplicationIcon.png">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
+ <Content Include="Background.png">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
+ <Resource Include="Images\Arrow.png" />
+ <Content Include="Images\Add.png" />
+ <Content Include="Images\Delete.png" />
+ <Content Include="Images\Finish.png" />
+ <Content Include="SplashScreenImage.jpg" />
+ </ItemGroup>
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" />
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <ProjectExtensions />
+</Project>
@@ -0,0 +1,10 @@
+""
+{
+"FILE_VERSION" = "9237"
+"ENLISTMENT_CHOICE" = "NEVER"
+"PROJECT_FILE_RELATIVE_PATH" = "relative:AmxMobile.Phone7.SixBookmarks"
+"NUMBER_OF_EXCLUDED_FILES" = "0"
+"ORIGINAL_PROJECT_FILE_PATH" = ""
+"NUMBER_OF_NESTED_PROJECTS" = "0"
+"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
+}
@@ -0,0 +1,19 @@
+<Application
+ x:Class="AmxMobile.Phone7.SixBookmarks.App"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
+ xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone">
+
+ <!--Application Resources-->
+ <Application.Resources>
+ </Application.Resources>
+
+ <Application.ApplicationLifetimeObjects>
+ <!--Required object that handles lifetime events for the application-->
+ <shell:PhoneApplicationService
+ Launching="Application_Launching" Closing="Application_Closing"
+ Activated="Application_Activated" Deactivated="Application_Deactivated"/>
+ </Application.ApplicationLifetimeObjects>
+
+</Application>
@@ -0,0 +1,110 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using Microsoft.Phone.Controls;
+using Microsoft.Phone.Shell;
+
+namespace AmxMobile.Phone7.SixBookmarks
+{
+ public partial class App : Application
+ {
+
+ // Easy access to the root frame
+ public PhoneApplicationFrame RootFrame { get; private set; }
+
+ // Constructor
+ public App()
+ {
+ // Global handler for uncaught exceptions.
+ // Note that exceptions thrown by ApplicationBarItem.Click will not get caught here.
+ UnhandledException += Application_UnhandledException;
+
+ // Standard Silverlight initialization
+ InitializeComponent();
+
+ // Phone-specific initialization
+ InitializePhoneApplication();
+ }
+
+ // 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
+ void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
+ {
+ MessageBox.Show(e.Exception.ToString());
+ }
+
+ // Code to execute on Unhandled Exceptions
+ private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
+ {
+ MessageBox.Show(e.ExceptionObject.ToString());
+ }
+
+ #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;
+
+ // 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;
+ }
+
+ #endregion
+ }
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,6 @@
+<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" EntryPointAssembly="AmxMobile.Phone7.SixBookmarks" EntryPointType="AmxMobile.Phone7.SixBookmarks.App" RuntimeVersion="3.0.40624.0">
+ <Deployment.Parts>
+ <AssemblyPart x:Name="AmxMobile.Phone7.SixBookmarks" Source="AmxMobile.Phone7.SixBookmarks.dll" />
+ <AssemblyPart x:Name="System.Data.Services.Client" Source="System.Data.Services.Client.dll" />
+ </Deployment.Parts>
+</Deployment>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit 46aee01

Please sign in to comment.