diff --git a/WindowsApp22/.vs/config/applicationhost.config b/WindowsApp22/.vs/config/applicationhost.config new file mode 100644 index 0000000..cc0a165 --- /dev/null +++ b/WindowsApp22/.vs/config/applicationhost.config @@ -0,0 +1,1019 @@ + + + + + + + + +
+
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/WindowsApp22/WindowsApp22.sln b/WindowsApp22/WindowsApp22.sln new file mode 100644 index 0000000..a7dfbdf --- /dev/null +++ b/WindowsApp22/WindowsApp22.sln @@ -0,0 +1,40 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsApp22", "WindowsApp22\WindowsApp22.csproj", "{6047F97B-B07E-485C-8554-717D3C28512B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM = Debug|ARM + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|ARM = Release|ARM + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6047F97B-B07E-485C-8554-717D3C28512B}.Debug|ARM.ActiveCfg = Debug|ARM + {6047F97B-B07E-485C-8554-717D3C28512B}.Debug|ARM.Build.0 = Debug|ARM + {6047F97B-B07E-485C-8554-717D3C28512B}.Debug|ARM.Deploy.0 = Debug|ARM + {6047F97B-B07E-485C-8554-717D3C28512B}.Debug|x64.ActiveCfg = Debug|x64 + {6047F97B-B07E-485C-8554-717D3C28512B}.Debug|x64.Build.0 = Debug|x64 + {6047F97B-B07E-485C-8554-717D3C28512B}.Debug|x64.Deploy.0 = Debug|x64 + {6047F97B-B07E-485C-8554-717D3C28512B}.Debug|x86.ActiveCfg = Debug|x86 + {6047F97B-B07E-485C-8554-717D3C28512B}.Debug|x86.Build.0 = Debug|x86 + {6047F97B-B07E-485C-8554-717D3C28512B}.Debug|x86.Deploy.0 = Debug|x86 + {6047F97B-B07E-485C-8554-717D3C28512B}.Release|ARM.ActiveCfg = Release|ARM + {6047F97B-B07E-485C-8554-717D3C28512B}.Release|ARM.Build.0 = Release|ARM + {6047F97B-B07E-485C-8554-717D3C28512B}.Release|ARM.Deploy.0 = Release|ARM + {6047F97B-B07E-485C-8554-717D3C28512B}.Release|x64.ActiveCfg = Release|x64 + {6047F97B-B07E-485C-8554-717D3C28512B}.Release|x64.Build.0 = Release|x64 + {6047F97B-B07E-485C-8554-717D3C28512B}.Release|x64.Deploy.0 = Release|x64 + {6047F97B-B07E-485C-8554-717D3C28512B}.Release|x86.ActiveCfg = Release|x86 + {6047F97B-B07E-485C-8554-717D3C28512B}.Release|x86.Build.0 = Release|x86 + {6047F97B-B07E-485C-8554-717D3C28512B}.Release|x86.Deploy.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/WindowsApp22/WindowsApp22/App.xaml b/WindowsApp22/WindowsApp22/App.xaml new file mode 100644 index 0000000..285867b --- /dev/null +++ b/WindowsApp22/WindowsApp22/App.xaml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + diff --git a/WindowsApp22/WindowsApp22/App.xaml.cs b/WindowsApp22/WindowsApp22/App.xaml.cs new file mode 100644 index 0000000..ae450a5 --- /dev/null +++ b/WindowsApp22/WindowsApp22/App.xaml.cs @@ -0,0 +1,45 @@ +using System; +using Windows.UI.Xaml; +using System.Threading.Tasks; +using WindowsApp22.Services.SettingsServices; +using Windows.ApplicationModel.Activation; +using Template10.Mvvm; +using Template10.Common; +using System.Linq; +using Windows.UI.Xaml.Data; + +namespace WindowsApp22 +{ + /// Documentation on APIs used in this page: + /// https://github.com/Windows-XAML/Template10/wiki + + [Bindable] + sealed partial class App : BootStrapper + { + public App() + { + InitializeComponent(); + SplashFactory = (e) => new Views.Splash(e); + + #region app settings + + // some settings must be set in app.constructor + var settings = SettingsService.Instance; + RequestedTheme = settings.AppTheme; + CacheMaxDuration = settings.CacheMaxDuration; + ShowShellBackButton = settings.UseShellBackButton; + AutoSuspendAllFrames = true; + AutoRestoreAfterTerminated = true; + AutoExtendExecutionSession = true; + + #endregion + } + + public override async Task OnStartAsync(StartKind startKind, IActivatedEventArgs args) + { + // TODO: add your long-running task here + await NavigationService.NavigateAsync(typeof(Views.MainPage)); + } + } +} + diff --git a/WindowsApp22/WindowsApp22/Assets/LockScreenLogo.scale-200.png b/WindowsApp22/WindowsApp22/Assets/LockScreenLogo.scale-200.png new file mode 100644 index 0000000..735f57a Binary files /dev/null and b/WindowsApp22/WindowsApp22/Assets/LockScreenLogo.scale-200.png differ diff --git a/WindowsApp22/WindowsApp22/Assets/SplashScreen.scale-200.png b/WindowsApp22/WindowsApp22/Assets/SplashScreen.scale-200.png new file mode 100644 index 0000000..023e7f1 Binary files /dev/null and b/WindowsApp22/WindowsApp22/Assets/SplashScreen.scale-200.png differ diff --git a/WindowsApp22/WindowsApp22/Assets/Square150x150Logo.scale-200.png b/WindowsApp22/WindowsApp22/Assets/Square150x150Logo.scale-200.png new file mode 100644 index 0000000..af49fec Binary files /dev/null and b/WindowsApp22/WindowsApp22/Assets/Square150x150Logo.scale-200.png differ diff --git a/WindowsApp22/WindowsApp22/Assets/Square44x44Logo.scale-200.png b/WindowsApp22/WindowsApp22/Assets/Square44x44Logo.scale-200.png new file mode 100644 index 0000000..ce342a2 Binary files /dev/null and b/WindowsApp22/WindowsApp22/Assets/Square44x44Logo.scale-200.png differ diff --git a/WindowsApp22/WindowsApp22/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/WindowsApp22/WindowsApp22/Assets/Square44x44Logo.targetsize-24_altform-unplated.png new file mode 100644 index 0000000..f6c02ce Binary files /dev/null and b/WindowsApp22/WindowsApp22/Assets/Square44x44Logo.targetsize-24_altform-unplated.png differ diff --git a/WindowsApp22/WindowsApp22/Assets/StoreLogo.png b/WindowsApp22/WindowsApp22/Assets/StoreLogo.png new file mode 100644 index 0000000..7385b56 Binary files /dev/null and b/WindowsApp22/WindowsApp22/Assets/StoreLogo.png differ diff --git a/WindowsApp22/WindowsApp22/Assets/Wide310x150Logo.scale-200.png b/WindowsApp22/WindowsApp22/Assets/Wide310x150Logo.scale-200.png new file mode 100644 index 0000000..288995b Binary files /dev/null and b/WindowsApp22/WindowsApp22/Assets/Wide310x150Logo.scale-200.png differ diff --git a/WindowsApp22/WindowsApp22/Help.htm b/WindowsApp22/WindowsApp22/Help.htm new file mode 100644 index 0000000..fea9001 --- /dev/null +++ b/WindowsApp22/WindowsApp22/Help.htm @@ -0,0 +1,10 @@ + + + + + Template 10 + + + + + diff --git a/WindowsApp22/WindowsApp22/Package.appxmanifest b/WindowsApp22/WindowsApp22/Package.appxmanifest new file mode 100644 index 0000000..e18f683 --- /dev/null +++ b/WindowsApp22/WindowsApp22/Package.appxmanifest @@ -0,0 +1,31 @@ + + + + + + WindowsApp22 + Muwanga + Assets\StoreLogo.png + + + + + + + + + + + + + + + + + + + + diff --git a/WindowsApp22/WindowsApp22/Properties/AssemblyInfo.cs b/WindowsApp22/WindowsApp22/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..2ce788a --- /dev/null +++ b/WindowsApp22/WindowsApp22/Properties/AssemblyInfo.cs @@ -0,0 +1,29 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 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("WindowsApp22")] +[assembly: AssemblyDescription("http://aka.ms/template10")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("WindowsApp22")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("WindowsApp22")] +[assembly: AssemblyCulture("")] + +// 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 Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: ComVisible(false)] diff --git a/WindowsApp22/WindowsApp22/Properties/Default.rd.xml b/WindowsApp22/WindowsApp22/Properties/Default.rd.xml new file mode 100644 index 0000000..f3a05b7 --- /dev/null +++ b/WindowsApp22/WindowsApp22/Properties/Default.rd.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/WindowsApp22/WindowsApp22/Services/SettingsServices/SettingsService.cs b/WindowsApp22/WindowsApp22/Services/SettingsServices/SettingsService.cs new file mode 100644 index 0000000..8546a78 --- /dev/null +++ b/WindowsApp22/WindowsApp22/Services/SettingsServices/SettingsService.cs @@ -0,0 +1,57 @@ +using System; +using Template10.Common; +using Template10.Utils; +using Windows.UI.Xaml; + +namespace WindowsApp22.Services.SettingsServices +{ + public class SettingsService + { + public static SettingsService Instance { get; } = new SettingsService(); + Template10.Services.SettingsService.ISettingsHelper _helper; + private SettingsService() + { + _helper = new Template10.Services.SettingsService.SettingsHelper(); + } + + public bool UseShellBackButton + { + get { return _helper.Read(nameof(UseShellBackButton), true); } + set + { + _helper.Write(nameof(UseShellBackButton), value); + BootStrapper.Current.NavigationService.GetDispatcherWrapper().Dispatch(() => + { + BootStrapper.Current.ShowShellBackButton = value; + BootStrapper.Current.UpdateShellBackButton(); + }); + } + } + + public ApplicationTheme AppTheme + { + get + { + var theme = ApplicationTheme.Light; + var value = _helper.Read(nameof(AppTheme), theme.ToString()); + return Enum.TryParse(value, out theme) ? theme : ApplicationTheme.Dark; + } + set + { + _helper.Write(nameof(AppTheme), value.ToString()); + (Window.Current.Content as FrameworkElement).RequestedTheme = value.ToElementTheme(); + } + } + + public TimeSpan CacheMaxDuration + { + get { return _helper.Read(nameof(CacheMaxDuration), TimeSpan.FromDays(2)); } + set + { + _helper.Write(nameof(CacheMaxDuration), value); + BootStrapper.Current.CacheMaxDuration = value; + } + } + } +} + diff --git a/WindowsApp22/WindowsApp22/Styles/Custom.xaml b/WindowsApp22/WindowsApp22/Styles/Custom.xaml new file mode 100644 index 0000000..623be24 --- /dev/null +++ b/WindowsApp22/WindowsApp22/Styles/Custom.xaml @@ -0,0 +1,82 @@ + + + 0 + 521 + 1200 + + SteelBlue + White + SteelBlue + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/WindowsApp22/WindowsApp22/ViewModels/DetailPageViewModel.cs b/WindowsApp22/WindowsApp22/ViewModels/DetailPageViewModel.cs new file mode 100644 index 0000000..7872ff7 --- /dev/null +++ b/WindowsApp22/WindowsApp22/ViewModels/DetailPageViewModel.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Template10.Common; +using Template10.Mvvm; +using Template10.Services.NavigationService; +using Windows.UI.Xaml.Navigation; + +namespace WindowsApp22.ViewModels +{ + public class DetailPageViewModel : ViewModelBase + { + public DetailPageViewModel() + { + if (Windows.ApplicationModel.DesignMode.DesignModeEnabled) + { + Value = "Designtime value"; + } + } + + private string _Value = "Default"; + public string Value { get { return _Value; } set { Set(ref _Value, value); } } + + public override async Task OnNavigatedToAsync(object parameter, NavigationMode mode, IDictionary suspensionState) + { + Value = (suspensionState.ContainsKey(nameof(Value))) ? suspensionState[nameof(Value)]?.ToString() : parameter?.ToString(); + await Task.CompletedTask; + } + + public override async Task OnNavigatedFromAsync(IDictionary suspensionState, bool suspending) + { + if (suspending) + { + suspensionState[nameof(Value)] = Value; + } + await Task.CompletedTask; + } + + public override async Task OnNavigatingFromAsync(NavigatingEventArgs args) + { + args.Cancel = false; + await Task.CompletedTask; + } + } +} + diff --git a/WindowsApp22/WindowsApp22/ViewModels/MainPageViewModel.cs b/WindowsApp22/WindowsApp22/ViewModels/MainPageViewModel.cs new file mode 100644 index 0000000..b294a32 --- /dev/null +++ b/WindowsApp22/WindowsApp22/ViewModels/MainPageViewModel.cs @@ -0,0 +1,62 @@ +using Template10.Mvvm; +using System.Collections.Generic; +using System; +using System.Linq; +using System.Threading.Tasks; +using Template10.Services.NavigationService; +using Windows.UI.Xaml.Navigation; + +namespace WindowsApp22.ViewModels +{ + public class MainPageViewModel : ViewModelBase + { + public MainPageViewModel() + { + if (Windows.ApplicationModel.DesignMode.DesignModeEnabled) + { + Value = "Designtime value"; + } + } + + string _Value = "Gas"; + public string Value { get { return _Value; } set { Set(ref _Value, value); } } + + public override async Task OnNavigatedToAsync(object parameter, NavigationMode mode, IDictionary suspensionState) + { + if (suspensionState.Any()) + { + Value = suspensionState[nameof(Value)]?.ToString(); + } + await Task.CompletedTask; + } + + public override async Task OnNavigatedFromAsync(IDictionary suspensionState, bool suspending) + { + if (suspending) + { + suspensionState[nameof(Value)] = Value; + } + await Task.CompletedTask; + } + + public override async Task OnNavigatingFromAsync(NavigatingEventArgs args) + { + args.Cancel = false; + await Task.CompletedTask; + } + + public void GotoDetailsPage() => + NavigationService.Navigate(typeof(Views.DetailPage), Value); + + public void GotoSettings() => + NavigationService.Navigate(typeof(Views.SettingsPage), 0); + + public void GotoPrivacy() => + NavigationService.Navigate(typeof(Views.SettingsPage), 1); + + public void GotoAbout() => + NavigationService.Navigate(typeof(Views.SettingsPage), 2); + + } +} + diff --git a/WindowsApp22/WindowsApp22/ViewModels/SettingsPageViewModel.cs b/WindowsApp22/WindowsApp22/ViewModels/SettingsPageViewModel.cs new file mode 100644 index 0000000..2155df5 --- /dev/null +++ b/WindowsApp22/WindowsApp22/ViewModels/SettingsPageViewModel.cs @@ -0,0 +1,85 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using Template10.Mvvm; +using Template10.Services.SettingsService; +using Windows.UI.Xaml; + +namespace WindowsApp22.ViewModels +{ + public class SettingsPageViewModel : ViewModelBase + { + public SettingsPartViewModel SettingsPartViewModel { get; } = new SettingsPartViewModel(); + public AboutPartViewModel AboutPartViewModel { get; } = new AboutPartViewModel(); + } + + public class SettingsPartViewModel : ViewModelBase + { + Services.SettingsServices.SettingsService _settings; + + public SettingsPartViewModel() + { + if (Windows.ApplicationModel.DesignMode.DesignModeEnabled) + { + // designtime + } + else + { + _settings = Services.SettingsServices.SettingsService.Instance; + } + } + + public bool UseShellBackButton + { + get { return _settings.UseShellBackButton; } + set { _settings.UseShellBackButton = value; base.RaisePropertyChanged(); } + } + + public bool UseLightThemeButton + { + get { return _settings.AppTheme.Equals(ApplicationTheme.Light); } + set { _settings.AppTheme = value ? ApplicationTheme.Light : ApplicationTheme.Dark; base.RaisePropertyChanged(); } + } + + private string _BusyText = "Please wait..."; + public string BusyText + { + get { return _BusyText; } + set + { + Set(ref _BusyText, value); + _ShowBusyCommand.RaiseCanExecuteChanged(); + } + } + + DelegateCommand _ShowBusyCommand; + public DelegateCommand ShowBusyCommand + => _ShowBusyCommand ?? (_ShowBusyCommand = new DelegateCommand(async () => + { + Views.Busy.SetBusy(true, _BusyText); + await Task.Delay(5000); + Views.Busy.SetBusy(false); + }, () => !string.IsNullOrEmpty(BusyText))); + } + + public class AboutPartViewModel : ViewModelBase + { + public Uri Logo => Windows.ApplicationModel.Package.Current.Logo; + + public string DisplayName => Windows.ApplicationModel.Package.Current.DisplayName; + + public string Publisher => Windows.ApplicationModel.Package.Current.PublisherDisplayName; + + public string Version + { + get + { + var v = Windows.ApplicationModel.Package.Current.Id.Version; + return $"{v.Major}.{v.Minor}.{v.Build}.{v.Revision}"; + } + } + + public Uri RateMe => new Uri("http://aka.ms/template10"); + } +} + diff --git a/WindowsApp22/WindowsApp22/Views/Busy.xaml b/WindowsApp22/WindowsApp22/Views/Busy.xaml new file mode 100644 index 0000000..29fef98 --- /dev/null +++ b/WindowsApp22/WindowsApp22/Views/Busy.xaml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + diff --git a/WindowsApp22/WindowsApp22/Views/Busy.xaml.cs b/WindowsApp22/WindowsApp22/Views/Busy.xaml.cs new file mode 100644 index 0000000..b8108e1 --- /dev/null +++ b/WindowsApp22/WindowsApp22/Views/Busy.xaml.cs @@ -0,0 +1,49 @@ +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using Template10.Common; +using Template10.Controls; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; + +namespace WindowsApp22.Views +{ + public sealed partial class Busy : UserControl + { + public Busy() + { + InitializeComponent(); + } + + public string BusyText + { + get { return (string)GetValue(BusyTextProperty); } + set { SetValue(BusyTextProperty, value); } + } + public static readonly DependencyProperty BusyTextProperty = + DependencyProperty.Register(nameof(BusyText), typeof(string), typeof(Busy), new PropertyMetadata("Please wait...")); + + public bool IsBusy + { + get { return (bool)GetValue(IsBusyProperty); } + set { SetValue(IsBusyProperty, value); } + } + public static readonly DependencyProperty IsBusyProperty = + DependencyProperty.Register(nameof(IsBusy), typeof(bool), typeof(Busy), new PropertyMetadata(false)); + + // hide and show busy dialog + public static void SetBusy(bool busy, string text = null) + { + WindowWrapper.Current().Dispatcher.Dispatch(() => + { + var modal = Window.Current.Content as ModalDialog; + var view = modal.ModalContent as Busy; + if (view == null) + modal.ModalContent = view = new Busy(); + modal.IsModal = view.IsBusy = busy; + view.BusyText = text; + }); + } + } +} + diff --git a/WindowsApp22/WindowsApp22/Views/DetailPage.xaml b/WindowsApp22/WindowsApp22/Views/DetailPage.xaml new file mode 100644 index 0000000..5a1894d --- /dev/null +++ b/WindowsApp22/WindowsApp22/Views/DetailPage.xaml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/WindowsApp22/WindowsApp22/Views/DetailPage.xaml.cs b/WindowsApp22/WindowsApp22/Views/DetailPage.xaml.cs new file mode 100644 index 0000000..8388227 --- /dev/null +++ b/WindowsApp22/WindowsApp22/Views/DetailPage.xaml.cs @@ -0,0 +1,16 @@ +using WindowsApp22.ViewModels; +using Windows.UI.Xaml.Navigation; +using Windows.UI.Xaml.Controls; + +namespace WindowsApp22.Views +{ + public sealed partial class DetailPage : Page + { + public DetailPage() + { + InitializeComponent(); + NavigationCacheMode = NavigationCacheMode.Disabled; + } + } +} + diff --git a/WindowsApp22/WindowsApp22/Views/MainPage.xaml b/WindowsApp22/WindowsApp22/Views/MainPage.xaml new file mode 100644 index 0000000..7cf3a40 --- /dev/null +++ b/WindowsApp22/WindowsApp22/Views/MainPage.xaml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +