diff --git a/CampusAppWP8/CampusAppWP8/Pages/Lecture/ModulWebPage.xaml b/CampusAppWP8/CampusAppWP8/Pages/Lecture/ModulWebPage.xaml new file mode 100644 index 00000000..45e8bd82 --- /dev/null +++ b/CampusAppWP8/CampusAppWP8/Pages/Lecture/ModulWebPage.xaml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Pages/Lecture/ModulWebPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Lecture/ModulWebPage.xaml.cs new file mode 100644 index 00000000..b8c9b463 --- /dev/null +++ b/CampusAppWP8/CampusAppWP8/Pages/Lecture/ModulWebPage.xaml.cs @@ -0,0 +1,20 @@ +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; + +namespace CampusAppWP8.Pages.Lecture +{ + public partial class ModulWebPage : PhoneApplicationPage + { + public ModulWebPage() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Pages/Lecture/ResultPage.xaml b/CampusAppWP8/CampusAppWP8/Pages/Lecture/ResultPage.xaml new file mode 100644 index 00000000..a1d44598 --- /dev/null +++ b/CampusAppWP8/CampusAppWP8/Pages/Lecture/ResultPage.xaml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Pages/Lecture/ResultPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Lecture/ResultPage.xaml.cs new file mode 100644 index 00000000..ffccf041 --- /dev/null +++ b/CampusAppWP8/CampusAppWP8/Pages/Lecture/ResultPage.xaml.cs @@ -0,0 +1,33 @@ +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 CampusAppWP8.Utility; + +namespace CampusAppWP8.Pages.Lecture +{ + public partial class Results : PhoneApplicationPage + { + LectureFeed feed = new LectureFeed(); + public Results() + { + InitializeComponent(); + + this.feed.EventHandler.FeedIsReadyEvent += new FeedEventHandler.FeedReadyHandler(this.FeedIsReady); + feed.LoadFeed(); + } + + /// + /// Method will be execute if the feed is ready + /// + private void FeedIsReady() + { + ResultList.ItemsSource = feed.Model.Activities; + } + } +} \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/pages/webmail/WebmailPage.xaml b/CampusAppWP8/CampusAppWP8/Pages/webmail/WebmailPage.xaml similarity index 100% rename from CampusAppWP8/CampusAppWP8/pages/webmail/WebmailPage.xaml rename to CampusAppWP8/CampusAppWP8/Pages/webmail/WebmailPage.xaml diff --git a/CampusAppWP8/CampusAppWP8/pages/webmail/WebmailPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/webmail/WebmailPage.xaml.cs similarity index 100% rename from CampusAppWP8/CampusAppWP8/pages/webmail/WebmailPage.xaml.cs rename to CampusAppWP8/CampusAppWP8/Pages/webmail/WebmailPage.xaml.cs