summaryrefslogtreecommitdiff
path: root/Juick/NewPostView.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/NewPostView.xaml.cs')
-rw-r--r--Juick/NewPostView.xaml.cs22
1 files changed, 5 insertions, 17 deletions
diff --git a/Juick/NewPostView.xaml.cs b/Juick/NewPostView.xaml.cs
index dbc45c4..95fe7f1 100644
--- a/Juick/NewPostView.xaml.cs
+++ b/Juick/NewPostView.xaml.cs
@@ -1,29 +1,17 @@
using System;
using System.Collections.Generic;
using System.IO;
-using System.Linq;
using System.Net;
-using System.Net.Browser;
-using System.Reflection;
-using System.Text;
using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
-using System.Windows.Resources;
-using System.Windows.Shapes;
-using Juick.Classes;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Tasks;
-using RestSharp;
using Microsoft.Xna.Framework.Media;
+using RestSharp;
+using RestSharp.Authenticators;
-namespace Juick
-{
+namespace Juick {
public partial class NewPostView : PhoneApplicationPage
{
private readonly BitmapImage _attachedPhoto = new BitmapImage();
@@ -37,9 +25,9 @@ namespace Juick
protected override void OnNavigatedTo(NavigationEventArgs e)
{
// Get a dictionary of query string keys and values.
- IDictionary<string, string> queryStrings = this.NavigationContext.QueryString;
+ IDictionary<string, string> queryStrings = NavigationContext.QueryString;
- // Ensure that there is at least one key in the query string, and check
+ // Ensure that there is at least one key in the query string, and check
// whether the "FileId" key is present.
if (queryStrings.ContainsKey("FileId"))
{