fix using
This commit is contained in:
@@ -284,7 +284,7 @@
|
||||
<Compile Include="Pages\Dev\QRScanner.xaml.cs">
|
||||
<DependentUpon>QRScanner.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Utility\PortraitLandscapePage.cs" />
|
||||
<Compile Include="Utility\Lui\Page\PortraitLandscapePage.cs" />
|
||||
<Compile Include="Utility\Wp8StringManager.cs" />
|
||||
<Compile Include="Utility\Utilities.cs">
|
||||
<SubType>Code</SubType>
|
||||
|
||||
@@ -10,8 +10,6 @@ namespace CampusAppWP8.Pages.Campusmap
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Device.Location;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices.WindowsRuntime;
|
||||
using System.Threading;
|
||||
@@ -26,11 +24,11 @@ namespace CampusAppWP8.Pages.Campusmap
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using CampusAppWP8.Utility.NDEF;
|
||||
using CampusAppWPortalLib8.Model.Campusmap.Pin;
|
||||
using CampusAppWPortalLib8.Model.GeoDb;
|
||||
using CampusAppWPortalLib8.Model.Utility;
|
||||
using Microsoft.Phone.Controls;
|
||||
using Microsoft.Phone.Shell;
|
||||
using Windows.Networking.Proximity;
|
||||
using CampusAppWPortalLib8.Model.GeoDb;
|
||||
|
||||
/// <summary> Class for the campusMap page. </summary>
|
||||
/// <remarks> Stubbfel, 19.08.2013. </remarks>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button"
|
||||
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
Foreground="{StaticResource PhoneForegroundBrush}"
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CampusAppWP8.Pages.Departments
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using Microsoft.Phone.Controls;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
|
||||
/// <summary> Page with a list of the faculties. </summary>
|
||||
/// <remarks> Fiedler, 18.10.2013. </remarks>
|
||||
|
||||
@@ -8,13 +8,12 @@
|
||||
namespace CampusAppWP8.Pages.Departments
|
||||
{
|
||||
using System;
|
||||
using System.Windows;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Windows;
|
||||
using System.Windows.Navigation;
|
||||
using Microsoft.Phone.Controls;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWPortalLib8.Model.Departments;
|
||||
using Microsoft.Phone.Controls;
|
||||
|
||||
/// <summary>
|
||||
/// Info page of a chair.
|
||||
|
||||
@@ -13,7 +13,6 @@ namespace CampusAppWP8.Pages.Departments
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Navigation;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.Button;
|
||||
using CampusAppWPortalLib8.Model.Departments;
|
||||
|
||||
@@ -19,7 +19,8 @@ namespace CampusAppWP8.Pages.Dev
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Windows;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using CampusAppWP8.Model.Setting;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
@@ -27,7 +28,6 @@ namespace CampusAppWP8.Pages.Dev
|
||||
using Microsoft.Devices;
|
||||
using Microsoft.Phone.Controls;
|
||||
using ZXing;
|
||||
using System.Windows.Navigation;
|
||||
|
||||
/// <summary> QR Code scanner. </summary>
|
||||
/// <remarks> fiedlchr, 15.10.2013. </remarks>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button"
|
||||
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
Foreground="{StaticResource PhoneForegroundBrush}"
|
||||
|
||||
@@ -14,9 +14,9 @@ namespace CampusAppWP8.Pages.Events
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using Microsoft.Phone.Controls;
|
||||
using Microsoft.Phone.Shell;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
using CampusAppWPortalLib8.Model.RSS;
|
||||
using Microsoft.Phone.Shell;
|
||||
|
||||
/// <summary>
|
||||
/// Overview page of all events.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
mc:Ignorable="d"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="EventPage.xaml.cs" company="BTU/IIT">
|
||||
// Company copyright tag.
|
||||
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
|
||||
// </copyright>
|
||||
// <author>fiedlchr</author>
|
||||
// <sience>03.05.2013</sience>
|
||||
//-----------------------------------------------------------------------------
|
||||
// <author>Stubbfel</author>
|
||||
// <date>22.10.2013</date>
|
||||
// <summary>Implements the event page.xaml class</summary>
|
||||
//-----------------------------------------------------------------------
|
||||
namespace CampusAppWP8.Pages.Events
|
||||
{
|
||||
using System;
|
||||
@@ -13,45 +14,37 @@ namespace CampusAppWP8.Pages.Events
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Navigation;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using Microsoft.Phone.Controls;
|
||||
using Microsoft.Phone.Shell;
|
||||
using Windows.Phone.Speech.Synthesis;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
using CampusAppWPortalLib8.Model.RSS;
|
||||
using Microsoft.Phone.Shell;
|
||||
|
||||
using System.Windows.Media;
|
||||
|
||||
/// <summary>
|
||||
/// EventPage, where every event feed has his own PivotItem.
|
||||
/// </summary>
|
||||
/// <summary> EventPage, where every event feed has his own PivotItem. </summary>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <seealso cref="T:CampusAppWP8.Utility.Lui.Page.PortraitLandscapePage"/>
|
||||
public partial class EventPage : PortraitLandscapePage
|
||||
{
|
||||
#region Memeber
|
||||
|
||||
/// <summary>
|
||||
/// To checking if the feed source is already set or not.
|
||||
/// </summary>
|
||||
/// <summary> To checking if the feed source is already set or not. </summary>
|
||||
private bool isSourceSet = false;
|
||||
|
||||
/// <summary>
|
||||
/// For checking if the instance is back from tombstone.
|
||||
/// </summary>
|
||||
/// <summary> For checking if the instance is back from tombstone. </summary>
|
||||
private bool isNewInstance = false;
|
||||
|
||||
/// <summary>The speech synthesizer object.</summary>
|
||||
/// <summary> The speech synthesizer object. </summary>
|
||||
private SpeechSynthesizer synth = null;
|
||||
|
||||
/// <summary>The is in speech. </summary>
|
||||
/// <summary> The is in speech. </summary>
|
||||
private volatile bool isInSpeech = false;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="EventPage" /> class.
|
||||
/// </summary>
|
||||
/// <summary> Initializes a new instance of the <see cref="EventPage" /> class. </summary>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
public EventPage()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
@@ -81,11 +74,11 @@ namespace CampusAppWP8.Pages.Events
|
||||
#region protected
|
||||
|
||||
/// <summary>
|
||||
/// On navigation to this page.
|
||||
/// The PivotItem source will be set, if it wasn't before.
|
||||
/// Navigating to the submitted index of the chosen PivotItem page.
|
||||
/// On navigation to this page. The PivotItem source will be set, if it wasn't before.
|
||||
/// Navigating to the submitted index of the chosen PivotItem page.
|
||||
/// </summary>
|
||||
/// <param name="e">Event Args</param>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <seealso cref="M:CampusAppWP8.Utility.Lui.Page.PortraitLandscapePage.OnNavigatedTo(NavigationEventArgs)"/>
|
||||
protected override void OnNavigatedTo(NavigationEventArgs e)
|
||||
{
|
||||
base.OnNavigatedTo(e);
|
||||
@@ -148,10 +141,9 @@ namespace CampusAppWP8.Pages.Events
|
||||
this.DefHeader.ProgressVisibility = Visibility.Collapsed;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Override the OnNavigatedFrom function.
|
||||
/// </summary>
|
||||
/// <param name="e">event args</param>
|
||||
/// <summary> Override the OnNavigatedFrom function. </summary>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <seealso cref="M:System.Windows.Controls.Page.OnNavigatedFrom(NavigationEventArgs)"/>
|
||||
protected override void OnNavigatedFrom(NavigationEventArgs e)
|
||||
{
|
||||
base.OnNavigatedFrom(e);
|
||||
@@ -172,11 +164,12 @@ namespace CampusAppWP8.Pages.Events
|
||||
#region private
|
||||
|
||||
/// <summary>
|
||||
/// Called when the index of the selected PivotItem is changed.
|
||||
/// Set the text Grid to visible and the WebBrowser to collapsed.
|
||||
/// Called when the index of the selected PivotItem is changed. Set the text Grid to visible
|
||||
/// and the WebBrowser to collapsed.
|
||||
/// </summary>
|
||||
/// <param name="sender">parent pivot object</param>
|
||||
/// <param name="e">event args</param>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <param name="sender"> parent pivot object. </param>
|
||||
/// <param name="e"> event args. </param>
|
||||
private void OnPivotSelectionChange(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
if (e.RemovedItems.Count > 0)
|
||||
@@ -191,12 +184,12 @@ namespace CampusAppWP8.Pages.Events
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// On clicking the link button if a link exists in the feed
|
||||
/// (lower right).
|
||||
/// Open the WebBrowser with the url set in the feed.
|
||||
/// On clicking the link button if a link exists in the feed (lower right). Open the
|
||||
/// WebBrowser with the url set in the feed.
|
||||
/// </summary>
|
||||
/// <param name="sender">clicked button</param>
|
||||
/// <param name="e">event args</param>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <param name="sender"> clicked button. </param>
|
||||
/// <param name="e"> event args. </param>
|
||||
private void EventLink_Click(object sender, EventArgs e)
|
||||
{
|
||||
RSSModel cur = this.EventPivot.SelectedItem as RSSModel;
|
||||
@@ -205,13 +198,14 @@ namespace CampusAppWP8.Pages.Events
|
||||
|
||||
if (cur != null)
|
||||
{
|
||||
cur.TextVisibility = (cur.TextVisibility) ? false : true;
|
||||
cur.TextVisibility = cur.TextVisibility ? false : true;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Event handler. Called by EventTextToSpeech for click events.</summary>
|
||||
/// <param name="sender">parent pivot object.</param>
|
||||
/// <param name="e">Event information.</param>
|
||||
/// <summary> Event handler. Called by EventTextToSpeech for click events. </summary>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <param name="sender"> parent pivot object. </param>
|
||||
/// <param name="e"> Event information. </param>
|
||||
private async void EventTextToSpeech_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.synth != null && this.isInSpeech == false)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button"
|
||||
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
Foreground="{StaticResource PhoneForegroundBrush}"
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CampusAppWP8.Pages.Exams
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using Microsoft.Phone.Controls;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
|
||||
/// <summary> class of ExamsPage. </summary>
|
||||
/// <remarks> Stubbfel, 02.09.2013. </remarks>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button"
|
||||
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
mc:Ignorable="d"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CampusAppWP8.Pages.Links
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using Microsoft.Phone.Controls;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
|
||||
/// <summary> Class for the LinkPage. </summary>
|
||||
/// <remarks> Stubbfel, 15.10.2013. </remarks>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button"
|
||||
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
||||
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
mc:Ignorable="d"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
|
||||
@@ -16,9 +16,9 @@ namespace CampusAppWP8.Pages.Mensa
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
using CampusAppWPortalLib8.Model.Mensa;
|
||||
using CampusAppWPortalLib8.Model.Settings;
|
||||
using Microsoft.Phone.Controls;
|
||||
using Microsoft.Phone.Shell;
|
||||
|
||||
/// <summary> Class for the MensaPage. </summary>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button"
|
||||
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
Foreground="{StaticResource PhoneForegroundBrush}"
|
||||
|
||||
@@ -14,9 +14,9 @@ namespace CampusAppWP8.Pages.News
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using Microsoft.Phone.Controls;
|
||||
using Microsoft.Phone.Shell;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
using CampusAppWPortalLib8.Model.RSS;
|
||||
using Microsoft.Phone.Shell;
|
||||
|
||||
/// <summary>
|
||||
/// Overview page of all news.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
mc:Ignorable="d"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="NewsPage.xaml.cs" company="BTU/IIT">
|
||||
// Company copyright tag.
|
||||
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
|
||||
// </copyright>
|
||||
// <author>fiedlchr</author>
|
||||
// <sience>03.05.2013</sience>
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
// <author>Stubbfel</author>
|
||||
// <date>22.10.2013</date>
|
||||
// <summary>Implements the news page.xaml class</summary>
|
||||
//-----------------------------------------------------------------------
|
||||
namespace CampusAppWP8.Pages.News
|
||||
{
|
||||
using System;
|
||||
@@ -14,40 +14,34 @@ namespace CampusAppWP8.Pages.News
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Navigation;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using Microsoft.Phone.Controls;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
using CampusAppWPortalLib8.Model.RSS;
|
||||
using Microsoft.Phone.Shell;
|
||||
using Windows.Phone.Speech.Synthesis;
|
||||
using CampusAppWPortalLib8.Model.RSS;
|
||||
|
||||
/// <summary>
|
||||
/// EventPage, where every news fees has his own PivotItem.
|
||||
/// </summary>
|
||||
/// <summary> EventPage, where every news fees has his own PivotItem. </summary>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <seealso cref="T:CampusAppWP8.Utility.Lui.Page.PortraitLandscapePage"/>
|
||||
public partial class NewsPage : PortraitLandscapePage
|
||||
{
|
||||
/// <summary>
|
||||
/// for checking if the feed source is already set or not.
|
||||
/// </summary>
|
||||
/// <summary> for checking if the feed source is already set or not. </summary>
|
||||
private bool isSourceSet = false;
|
||||
|
||||
/// <summary>
|
||||
/// For checking if the instance is back from tombstone.
|
||||
/// </summary>
|
||||
/// <summary> For checking if the instance is back from tombstone. </summary>
|
||||
private bool isNewInstance = false;
|
||||
|
||||
/// <summary>The speech synthesizer object.</summary>
|
||||
/// <summary> The speech synthesizer object. </summary>
|
||||
private SpeechSynthesizer synth = null;
|
||||
|
||||
/// <summary>The is in speech. </summary>
|
||||
/// <summary> The is in speech. </summary>
|
||||
private volatile bool isInSpeech = false;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="NewsPage" /> class.
|
||||
/// </summary>
|
||||
/// <summary> Initializes a new instance of the <see cref="NewsPage" /> class. </summary>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
public NewsPage()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
|
||||
|
||||
ApplicationBarIconButton linkBtn = new ApplicationBarIconButton();
|
||||
linkBtn.IconUri = new Uri(Icons.Link, UriKind.Relative);
|
||||
linkBtn.Text = AppResources.NewsLinkBtn;
|
||||
@@ -67,11 +61,11 @@ namespace CampusAppWP8.Pages.News
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// On navigation to this page.
|
||||
/// The PivotItem source will be set, if it wasn't before.
|
||||
/// Navigating to the submitted index of the chosen PivotItem page.
|
||||
/// On navigation to this page. The PivotItem source will be set, if it wasn't before.
|
||||
/// Navigating to the submitted index of the chosen PivotItem page.
|
||||
/// </summary>
|
||||
/// <param name="e">Event Args</param>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <seealso cref="M:CampusAppWP8.Utility.Lui.Page.PortraitLandscapePage.OnNavigatedTo(NavigationEventArgs)"/>
|
||||
protected override void OnNavigatedTo(NavigationEventArgs e)
|
||||
{
|
||||
base.OnNavigatedTo(e);
|
||||
@@ -127,10 +121,9 @@ namespace CampusAppWP8.Pages.News
|
||||
this.DefHeader.ProgressVisibility = Visibility.Collapsed;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the OnNavigatedFrom function.
|
||||
/// </summary>
|
||||
/// <param name="e">event args</param>
|
||||
/// <summary> Overrides the OnNavigatedFrom function. </summary>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <seealso cref="M:System.Windows.Controls.Page.OnNavigatedFrom(NavigationEventArgs)"/>
|
||||
protected override void OnNavigatedFrom(NavigationEventArgs e)
|
||||
{
|
||||
base.OnNavigatedFrom(e);
|
||||
@@ -147,11 +140,12 @@ namespace CampusAppWP8.Pages.News
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when the index of the selected PivotItem is changed.
|
||||
/// Set the text Grid to visible and the WebBrowser to collapsed.
|
||||
/// Called when the index of the selected PivotItem is changed. Set the text Grid to visible
|
||||
/// and the WebBrowser to collapsed.
|
||||
/// </summary>
|
||||
/// <param name="sender">parent pivot object</param>
|
||||
/// <param name="e">event args</param>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <param name="sender"> parent pivot object. </param>
|
||||
/// <param name="e"> event args. </param>
|
||||
private void OnPivotSelectionChange(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
if (e.RemovedItems.Count > 0)
|
||||
@@ -166,12 +160,12 @@ namespace CampusAppWP8.Pages.News
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// On clicking the link button if a link exists in the feed
|
||||
/// (lower right).
|
||||
/// Open the WebBrowser with the url set in the feed.
|
||||
/// On clicking the link button if a link exists in the feed (lower right). Open the
|
||||
/// WebBrowser with the url set in the feed.
|
||||
/// </summary>
|
||||
/// <param name="sender">clicked button</param>
|
||||
/// <param name="e">event args</param>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <param name="sender"> clicked button. </param>
|
||||
/// <param name="e"> event args. </param>
|
||||
private void NewsLink_Click(object sender, EventArgs e)
|
||||
{
|
||||
RSSModel cur = this.NewsPivot.SelectedItem as RSSModel;
|
||||
@@ -180,13 +174,14 @@ namespace CampusAppWP8.Pages.News
|
||||
|
||||
if (cur != null)
|
||||
{
|
||||
cur.TextVisibility = (cur.TextVisibility) ? false : true;
|
||||
cur.TextVisibility = cur.TextVisibility ? false : true;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Event handler. Called by EventTextToSpeech for click events.</summary>
|
||||
/// <param name="sender">parent pivot object.</param>
|
||||
/// <param name="e">Event information.</param>
|
||||
/// <summary> Event handler. Called by EventTextToSpeech for click events. </summary>
|
||||
/// <remarks> Stubbfel, 22.10.2013. </remarks>
|
||||
/// <param name="sender"> parent pivot object. </param>
|
||||
/// <param name="e"> Event information. </param>
|
||||
private async void NewsTextToSpeech_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.synth != null && this.isInSpeech == false)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button"
|
||||
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
Foreground="{StaticResource PhoneForegroundBrush}"
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CampusAppWP8.Pages.Openinghours
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using Microsoft.Phone.Controls;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
|
||||
/// <summary>
|
||||
/// Opening hours page.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
Foreground="{StaticResource PhoneForegroundBrush}"
|
||||
|
||||
@@ -16,14 +16,14 @@ namespace CampusAppWP8.Pages.PlaceNews
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Navigation;
|
||||
using Windows.Networking.Proximity;
|
||||
using CampusAppWP8.Api.GeoApi;
|
||||
using CampusAppWP8.File.Places;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
using CampusAppWP8.Utility.NDEF;
|
||||
using Microsoft.Phone.Controls;
|
||||
using Windows.Networking.Proximity;
|
||||
using CampusAppWPortalLib8.Model.GeoDb;
|
||||
|
||||
/// <summary> Place news. </summary>
|
||||
|
||||
@@ -6,10 +6,11 @@
|
||||
// <date>15.10.2013</date>
|
||||
// <summary>Implements the impressum.xaml class</summary>
|
||||
//-----------------------------------------------------------------------
|
||||
using Microsoft.Phone.Controls;
|
||||
|
||||
namespace CampusAppWP8.Pages.Setting
|
||||
{
|
||||
using Microsoft.Phone.Controls;
|
||||
|
||||
/// <summary> An impressum. </summary>
|
||||
/// <remarks> Stubbfel, 15.10.2013. </remarks>
|
||||
/// <seealso cref="T:Microsoft.Phone.Controls.PhoneApplicationPage"/>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button"
|
||||
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
Foreground="{StaticResource PhoneForegroundBrush}"
|
||||
|
||||
@@ -20,6 +20,7 @@ namespace CampusAppWP8.Pages
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
using CampusAppWP8.Utility.Lui.Tiles;
|
||||
using CampusAppWP8.Utility.NDEF;
|
||||
using Microsoft.Phone.Controls;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility"
|
||||
xmlns:page="clr-namespace:CampusAppWP8.Utility.Lui.Page"
|
||||
mc:Ignorable="d"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CampusAppWP8.Pages.StudentCouncil
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using Microsoft.Phone.Controls;
|
||||
using CampusAppWP8.Utility.Lui.Page;
|
||||
|
||||
/// <summary> Class for the StudentCouncilPage. </summary>
|
||||
/// <remarks> Stubbfel, 15.10.2013. </remarks>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// <date>21.10.2013</date>
|
||||
// <summary>Implements the portrait landscape page class</summary>
|
||||
//-----------------------------------------------------------------------
|
||||
namespace CampusAppWP8.Utility
|
||||
namespace CampusAppWP8.Utility.Lui.Page
|
||||
{
|
||||
using System.Windows;
|
||||
using Microsoft.Phone.Controls;
|
||||
Reference in New Issue
Block a user