diff --git a/CampusAppWP8/CampusAppWP8/CampusAppWP8.csproj b/CampusAppWP8/CampusAppWP8/CampusAppWP8.csproj index a82432b7..ce9bb7be 100644 --- a/CampusAppWP8/CampusAppWP8/CampusAppWP8.csproj +++ b/CampusAppWP8/CampusAppWP8/CampusAppWP8.csproj @@ -1,277 +1,277 @@ - - - - Debug - AnyCPU - 10.0.20506 - 2.0 - {120B88CC-F3F0-4C5A-A3FD-C26E835338CC} - {C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - CampusAppWP8 - CampusAppWP8 - WindowsPhone - v8.0 - $(TargetFrameworkVersion) - true - - - true - true - CampusAppWP8_$(Configuration)_$(Platform).xap - Properties\AppManifest.xml - CampusAppWP8.App - true - 11.0 - true - 5.0.40218.0 - - - 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 - - - - - - - - - - CampusMapPage.xaml - - - DepartmentPage.xaml - - - LecturePage.xaml - - - - - - MensaPage.xaml - - - NewsPage.xaml - - - - RSSNewsTemplate.xaml - - - StartPage.xaml - - - WebmailPage.xaml - - - - True - True - AppResources.resx - - - True - True - Constants.resx - - - - - - - - - - - - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - - - - - - - Designer - - - - - - PreserveNewest - - - - - - - - - - - - - - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - - - - - - - PublicResXFileCodeGenerator - AppResources.Designer.cs - - - ResXFileCodeGenerator - Constants.Designer.cs - - - - - - ..\packages\WPtoolkit.4.2012.10.30\lib\wp8\Microsoft.Phone.Controls.Toolkit.dll - - - - - - - + + + + Debug + AnyCPU + 10.0.20506 + 2.0 + {120B88CC-F3F0-4C5A-A3FD-C26E835338CC} + {C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + CampusAppWP8 + CampusAppWP8 + WindowsPhone + v8.0 + $(TargetFrameworkVersion) + true + + + true + true + CampusAppWP8_$(Configuration)_$(Platform).xap + Properties\AppManifest.xml + CampusAppWP8.App + true + 11.0 + true + 5.0.40218.0 + + + 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 + + + + + + + + + + CampusMapPage.xaml + + + DepartmentPage.xaml + + + LecturePage.xaml + + + + + + MensaPage.xaml + + + NewsPage.xaml + + + + RSSNewsTemplate.xaml + + + StartPage.xaml + + + WebmailPage.xaml + + + + True + True + AppResources.resx + + + True + True + Constants.resx + + + + + + + + + + + + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + + + + + + + Designer + + + + + + PreserveNewest + + + + + + + + + + + + + + + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + + + + + + PublicResXFileCodeGenerator + AppResources.Designer.cs + + + ResXFileCodeGenerator + Constants.Designer.cs + + + + + + ..\packages\WPtoolkit.4.2012.10.30\lib\wp8\Microsoft.Phone.Controls.Toolkit.dll + + + + + + + \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Properties/WMAppManifest.xml b/CampusAppWP8/CampusAppWP8/Properties/WMAppManifest.xml index e2c4fe4f..f4b319d3 100644 --- a/CampusAppWP8/CampusAppWP8/Properties/WMAppManifest.xml +++ b/CampusAppWP8/CampusAppWP8/Properties/WMAppManifest.xml @@ -1,44 +1,44 @@ - - - - - Assets\ApplicationIcon.png - - - - - - - - - - - - - - - - Assets\Tiles\FlipCycleTileSmall.png - 0 - Assets\Tiles\FlipCycleTileMedium.png - CampusAppWP8 - - - - - - - - - - - - - - - - - - - + + + + + Assets\ApplicationIcon.png + + + + + + + + + + + + + + + + Assets\Tiles\FlipCycleTileSmall.png + 0 + Assets\Tiles\FlipCycleTileMedium.png + CampusAppWP8 + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/pages/StartPage.xaml b/CampusAppWP8/CampusAppWP8/pages/StartPage.xaml index 25912698..b2358b3f 100644 --- a/CampusAppWP8/CampusAppWP8/pages/StartPage.xaml +++ b/CampusAppWP8/CampusAppWP8/pages/StartPage.xaml @@ -1,148 +1,148 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/pages/StartPage.xaml.cs b/CampusAppWP8/CampusAppWP8/pages/StartPage.xaml.cs index 3a788d23..d3eefb73 100644 --- a/CampusAppWP8/CampusAppWP8/pages/StartPage.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/pages/StartPage.xaml.cs @@ -1,85 +1,85 @@ -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 Windows.UI.Input; - -namespace CampusAppWP8.Pages -{ - public partial class StartPage : PhoneApplicationPage - { - public StartPage() - { - InitializeComponent(); - - if ((Visibility)Application.Current.Resources["PhoneDarkThemeVisibility"] == Visibility.Visible) - this.SetIconThemeToDark(); - } - - private void PhoneApplicationPage_OrientationChanged(object sender, OrientationChangedEventArgs e) - { - // Switch the placement of the buttons based on an orientation change. - if (this.Orientation == PageOrientation.LandscapeLeft || this.Orientation == PageOrientation.LandscapeRight) - { - OpenHoursAppButton.SetValue(Grid.RowProperty, 0); - OpenHoursAppButton.SetValue(Grid.ColumnProperty, 3); - - OSAAppButton.SetValue(Grid.RowProperty, 1); - OSAAppButton.SetValue(Grid.ColumnProperty, 3); - - LinkAppButton.SetValue(Grid.RowProperty, 2); - LinkAppButton.SetValue(Grid.ColumnProperty, 3); - ContentPanel.Margin = new Thickness(12, -24, 0, 0); - - } - // If not in portrait, move buttonList content to visible row and column. - else - { - OpenHoursAppButton.SetValue(Grid.RowProperty, 3); - OpenHoursAppButton.SetValue(Grid.ColumnProperty, 0); - - OSAAppButton.SetValue(Grid.RowProperty, 3); - OSAAppButton.SetValue(Grid.ColumnProperty, 1); - - LinkAppButton.SetValue(Grid.RowProperty, 3); - LinkAppButton.SetValue(Grid.ColumnProperty, 2); - ContentPanel.Margin = new Thickness(12, 0, 0, 0); - - } - } - - private void SetIconThemeToDark() - { - this.ImgLightCampus.Visibility = Visibility.Collapsed; - this.ImgLightDepartments.Visibility = Visibility.Collapsed; - this.ImgLightEvents.Visibility = Visibility.Collapsed; - this.ImgLightHomework.Visibility = Visibility.Collapsed; - this.ImgLightLectures.Visibility = Visibility.Collapsed; - this.ImgLightLink.Visibility = Visibility.Collapsed; - this.ImgLightMensa.Visibility = Visibility.Collapsed; - this.ImgLightNews.Visibility = Visibility.Collapsed; - this.ImgLightOpenhours.Visibility = Visibility.Collapsed; - this.ImgLightStudentcouncil.Visibility = Visibility.Collapsed; - this.ImgLightTimetable.Visibility = Visibility.Collapsed; - this.ImgLightWebmail.Visibility = Visibility.Collapsed; - - this.ImgDarkCampus.Visibility = Visibility.Visible; - this.ImgDarkDepartments.Visibility = Visibility.Visible; - this.ImgDarkEvents.Visibility = Visibility.Visible; - this.ImgDarkHomework.Visibility = Visibility.Visible; - this.ImgDarkLectures.Visibility = Visibility.Visible; - this.ImgDarkLink.Visibility = Visibility.Visible; - this.ImgDarkMensa.Visibility = Visibility.Visible; - this.ImgDarkNews.Visibility = Visibility.Visible; - this.ImgDarkOpenhours.Visibility = Visibility.Visible; - this.ImgDarkStudentcouncil.Visibility = Visibility.Visible; - this.ImgDarkTimetable.Visibility = Visibility.Visible; - this.ImgDarkWebmail.Visibility = Visibility.Visible; - } - } +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 Windows.UI.Input; + +namespace CampusAppWP8.Pages +{ + public partial class StartPage : PhoneApplicationPage + { + public StartPage() + { + InitializeComponent(); + + if ((Visibility)Application.Current.Resources["PhoneDarkThemeVisibility"] == Visibility.Visible) + this.SetIconThemeToDark(); + } + + private void PhoneApplicationPage_OrientationChanged(object sender, OrientationChangedEventArgs e) + { + // Switch the placement of the buttons based on an orientation change. + if (this.Orientation == PageOrientation.LandscapeLeft || this.Orientation == PageOrientation.LandscapeRight) + { + OpenHoursAppButton.SetValue(Grid.RowProperty, 0); + OpenHoursAppButton.SetValue(Grid.ColumnProperty, 3); + + OSAAppButton.SetValue(Grid.RowProperty, 1); + OSAAppButton.SetValue(Grid.ColumnProperty, 3); + + LinkAppButton.SetValue(Grid.RowProperty, 2); + LinkAppButton.SetValue(Grid.ColumnProperty, 3); + ContentPanel.Margin = new Thickness(12, -24, 0, 0); + + } + // If not in portrait, move buttonList content to visible row and column. + else + { + OpenHoursAppButton.SetValue(Grid.RowProperty, 3); + OpenHoursAppButton.SetValue(Grid.ColumnProperty, 0); + + OSAAppButton.SetValue(Grid.RowProperty, 3); + OSAAppButton.SetValue(Grid.ColumnProperty, 1); + + LinkAppButton.SetValue(Grid.RowProperty, 3); + LinkAppButton.SetValue(Grid.ColumnProperty, 2); + ContentPanel.Margin = new Thickness(12, 0, 0, 0); + + } + } + + private void SetIconThemeToDark() + { + this.ImgLightCampus.Visibility = Visibility.Collapsed; + this.ImgLightDepartments.Visibility = Visibility.Collapsed; + this.ImgLightEvents.Visibility = Visibility.Collapsed; + this.ImgLightHomework.Visibility = Visibility.Collapsed; + this.ImgLightLectures.Visibility = Visibility.Collapsed; + this.ImgLightLink.Visibility = Visibility.Collapsed; + this.ImgLightMensa.Visibility = Visibility.Collapsed; + this.ImgLightNews.Visibility = Visibility.Collapsed; + this.ImgLightOpenhours.Visibility = Visibility.Collapsed; + this.ImgLightStudentcouncil.Visibility = Visibility.Collapsed; + this.ImgLightTimetable.Visibility = Visibility.Collapsed; + this.ImgLightWebmail.Visibility = Visibility.Collapsed; + + this.ImgDarkCampus.Visibility = Visibility.Visible; + this.ImgDarkDepartments.Visibility = Visibility.Visible; + this.ImgDarkEvents.Visibility = Visibility.Visible; + this.ImgDarkHomework.Visibility = Visibility.Visible; + this.ImgDarkLectures.Visibility = Visibility.Visible; + this.ImgDarkLink.Visibility = Visibility.Visible; + this.ImgDarkMensa.Visibility = Visibility.Visible; + this.ImgDarkNews.Visibility = Visibility.Visible; + this.ImgDarkOpenhours.Visibility = Visibility.Visible; + this.ImgDarkStudentcouncil.Visibility = Visibility.Visible; + this.ImgDarkTimetable.Visibility = Visibility.Visible; + this.ImgDarkWebmail.Visibility = Visibility.Visible; + } + } } \ No newline at end of file