diff --git a/Core/Core.csproj b/Core/Core.csproj index 3cbb49b..498d5dc 100644 --- a/Core/Core.csproj +++ b/Core/Core.csproj @@ -114,8 +114,6 @@ - - diff --git a/Core/ViewModel/ResponsiveGridView.cs b/Core/ViewModel/ResponsiveGridView.cs deleted file mode 100644 index bec7202..0000000 --- a/Core/ViewModel/ResponsiveGridView.cs +++ /dev/null @@ -1,41 +0,0 @@ -namespace Core.ViewModel -{ - public class ResponsiveGridView - { - public static double RecalculateLayoutWidth(double containerWidth, double DesiredWidth) - { - int _columns=0; - if (containerWidth == 0 || DesiredWidth == 0) - { - return 0; - } - if (_columns == 0) - { - _columns = CalculateColumns(containerWidth, DesiredWidth); - } - else - { - var desiredColumns = CalculateColumns(containerWidth, DesiredWidth); - if (desiredColumns != _columns) - { - _columns = desiredColumns; - } - } - - double ItemWidth = (containerWidth / _columns) - 5; - if (DesiredWidth < ItemWidth) ItemWidth = DesiredWidth; - return ItemWidth; - } - - private static int CalculateColumns(double containerWidth, double itemWidth) - { - var columns = (int)(containerWidth / itemWidth); - if (columns == 0) - { - columns = 1; - } - return columns; - } - - } -} diff --git a/Developer Hub For UWP/Developer Hub For UWP.csproj b/Developer Hub For UWP/Developer Hub For UWP.csproj index 4a12ebb..361dd26 100644 --- a/Developer Hub For UWP/Developer Hub For UWP.csproj +++ b/Developer Hub For UWP/Developer Hub For UWP.csproj @@ -20,7 +20,7 @@ Developer Hub For UWP_StoreKey.pfx D8C3E2F12520697A7E2D8D7AB8CA28809A664A2C False - Auto + Always x86|x64 @@ -175,6 +175,7 @@ Page5.xaml + Shell.xaml diff --git a/Developer Hub For UWP/Package.appxmanifest b/Developer Hub For UWP/Package.appxmanifest index efb0202..9240554 100644 --- a/Developer Hub For UWP/Package.appxmanifest +++ b/Developer Hub For UWP/Package.appxmanifest @@ -1,6 +1,6 @@  - + ms-resource:AppName diff --git a/Core/ViewModel/ShellViewModel.cs b/Developer Hub For UWP/Presentation/ShellViewModel.cs similarity index 98% rename from Core/ViewModel/ShellViewModel.cs rename to Developer Hub For UWP/Presentation/ShellViewModel.cs index a13f577..b313624 100644 --- a/Core/ViewModel/ShellViewModel.cs +++ b/Developer Hub For UWP/Presentation/ShellViewModel.cs @@ -4,7 +4,7 @@ using System.Windows.Input; using Windows.UI.Xaml; -namespace Core.ViewModel +namespace Developer_Hub_For_UWP.Presentation { public class ShellViewModel : NotifyPropertyChanged { diff --git a/Developer Hub For UWP/Shell.xaml.cs b/Developer Hub For UWP/Shell.xaml.cs index 7b8509b..c014c6f 100644 --- a/Developer Hub For UWP/Shell.xaml.cs +++ b/Developer Hub For UWP/Shell.xaml.cs @@ -4,7 +4,6 @@ using Developer_Hub_For_UWP.Pages; using Core.Network; using Core.DataModel; -using Core.ViewModel; using Windows.UI.ViewManagement; using Windows.UI; using Windows.System; @@ -15,7 +14,7 @@ using Newtonsoft.Json; using Windows.Networking.Connectivity; using Windows.Storage; -using System.IO; +using Developer_Hub_For_UWP.Presentation; namespace Developer_Hub_For_UWP { @@ -70,7 +69,7 @@ public Shell() TransferToStorage(); } //if update - else if(_localSettings.Containers["Settings"].Values["Version"] != "020200") + else if((string)_localSettings.Containers["Settings"].Values["Version"] != "020200") { _localSettings.Containers["Settings"].Values["Version"] = "020200"; _localSettings.Containers["Settings"].Values["IsUpdatePopupDisabled"] = false; diff --git a/Developer Hub For UWP/_language-zh-hans.appx b/Developer Hub For UWP/_language-zh-hans.appx deleted file mode 100644 index 3e6ba21..0000000 Binary files a/Developer Hub For UWP/_language-zh-hans.appx and /dev/null differ diff --git a/Developer Hub For UWP/_language-zh-hant.appx b/Developer Hub For UWP/_language-zh-hant.appx deleted file mode 100644 index 5836b47..0000000 Binary files a/Developer Hub For UWP/_language-zh-hant.appx and /dev/null differ diff --git a/Developer Hub For UWP/_pkginfo.txt b/Developer Hub For UWP/_pkginfo.txt index ec21a25..156bec8 100644 --- a/Developer Hub For UWP/_pkginfo.txt +++ b/Developer Hub For UWP/_pkginfo.txt @@ -1 +1 @@ -C:\Files\Documents\Projects\Application\WeCode\Developer Hub For UWP\AppPackages\Developer Hub For UWP_2.0.0.0\Developer Hub For UWP_2.0.0.0_x86_x64.appxbundle +P:\Application\WeCode\Developer Hub For UWP\AppPackages\Developer Hub For UWP_2.2.0.0\Developer Hub For UWP_2.2.0.0_x86_x64.appxbundle diff --git a/Developer Hub For UWP/_scale-100.appx b/Developer Hub For UWP/_scale-100.appx deleted file mode 100644 index 2052658..0000000 Binary files a/Developer Hub For UWP/_scale-100.appx and /dev/null differ diff --git a/Developer Hub For UWP/_scale-125.appx b/Developer Hub For UWP/_scale-125.appx deleted file mode 100644 index 6b02a76..0000000 Binary files a/Developer Hub For UWP/_scale-125.appx and /dev/null differ diff --git a/Developer Hub For UWP/_scale-150.appx b/Developer Hub For UWP/_scale-150.appx deleted file mode 100644 index b942602..0000000 Binary files a/Developer Hub For UWP/_scale-150.appx and /dev/null differ diff --git a/Developer Hub For UWP/_scale-400.appx b/Developer Hub For UWP/_scale-400.appx deleted file mode 100644 index c33c8de..0000000 Binary files a/Developer Hub For UWP/_scale-400.appx and /dev/null differ