Browse Source

Removed unnecessary usings
Removed unnecessary comments

jancoow 10 years ago
parent
commit
ae697b10bc

+ 0 - 15
Breda-Tour/App.xaml.cs

@@ -1,28 +1,13 @@
 using System;
 using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
 using Windows.ApplicationModel;
 using Windows.ApplicationModel;
 using Windows.ApplicationModel.Activation;
 using Windows.ApplicationModel.Activation;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
 using Windows.Globalization;
 using Windows.Globalization;
 using Windows.UI.Xaml;
 using Windows.UI.Xaml;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Input;
-using Windows.UI.Xaml.Media;
 using Windows.UI.Xaml.Navigation;
 using Windows.UI.Xaml.Navigation;
 
 
 namespace Breda_Tour
 namespace Breda_Tour
 {
 {
-    /// <summary>
-    /// Provides application-specific behavior to supplement the default Application class.
-    /// </summary>
     sealed partial class App : Application
     sealed partial class App : Application
     {
     {
         #region Languages
         #region Languages

+ 1 - 19
Breda-Tour/CustomControls/DefaultPivotControl.xaml.cs

@@ -1,26 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
-using Windows.UI.Xaml;
+using Windows.UI.Xaml;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Input;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Navigation;
-
-// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
 
 
 namespace Breda_Tour.CustomControls
 namespace Breda_Tour.CustomControls
 {
 {
-    /// <summary>
-    /// An empty page that can be used on its own or navigated to within a Frame.
-    /// </summary>
     public sealed partial class DefaultPivotControl : UserControl
     public sealed partial class DefaultPivotControl : UserControl
     {
     {
 
 

+ 1 - 18
Breda-Tour/CustomControls/DefaultTopBar.xaml.cs

@@ -1,25 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
-using Windows.UI.Xaml;
+using Windows.UI.Xaml;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Input;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Navigation;
-
-// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
 
 
 namespace Breda_Tour.CustomControls
 namespace Breda_Tour.CustomControls
 {
 {
-    /// <summary>
-    /// An empty page that can be used on its own or navigated to within a Frame.
-    /// </summary>
     public sealed partial class DefaultTopBar : UserControl
     public sealed partial class DefaultTopBar : UserControl
     {
     {
         public string MySymbol {
         public string MySymbol {

+ 0 - 6
Breda-Tour/Data/Gps.cs

@@ -1,13 +1,7 @@
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
-using System.Diagnostics;
-using Windows.ApplicationModel.ExtendedExecution;
-using Windows.Devices.AllJoyn;
 using Windows.Devices.Geolocation;
 using Windows.Devices.Geolocation;
-using Windows.Devices.Geolocation.Geofencing;
 using Windows.System;
 using Windows.System;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Media.Animation;
 using Breda_Tour.MapScreen;
 using Breda_Tour.MapScreen;
 
 
 namespace Breda_Tour.Data
 namespace Breda_Tour.Data

+ 1 - 5
Breda-Tour/Data/HelpItem.cs

@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System.Collections.Generic;
 
 
 namespace Breda_Tour.Data
 namespace Breda_Tour.Data
 {
 {

+ 1 - 7
Breda-Tour/Data/HelpItemStep.cs

@@ -1,10 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Breda_Tour.Data
+namespace Breda_Tour.Data
 {
 {
     public class HelpItemStep
     public class HelpItemStep
     {
     {

+ 1 - 4
Breda-Tour/Data/HelpPageDatabase.cs

@@ -1,15 +1,12 @@
 using Newtonsoft.Json;
 using Newtonsoft.Json;
 using Newtonsoft.Json.Linq;
 using Newtonsoft.Json.Linq;
-using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Collections.ObjectModel;
 using System.Collections.ObjectModel;
 using System.IO;
 using System.IO;
 using System.Linq;
 using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
 
 
 namespace Breda_Tour.Data
 namespace Breda_Tour.Data
-{ 
+{
 
 
     public class HelpPageDatabase
     public class HelpPageDatabase
     {
     {

+ 0 - 8
Breda-Tour/Data/Route.cs

@@ -22,13 +22,5 @@ namespace Breda_Tour.Data
             this._waypoints = Waypoints;
             this._waypoints = Waypoints;
         }
         }
 
 
-        //public void CreateTestWaypoints()
-        //{
-        //    _waypoints.Add(new Waypoint(51.530805, 4.498676, "Test1", 1, new Image("ms-appx:///Assets/1.jpg"))); { description = "4. Als u de brug overgaat, ziet u aan uw linkerhand het Nassau-Baroniemonument. Bij de ingang van het stadspark, het Valkenberg, staat een monument dat u iets vertelt over de wordings- geschiedenis van de stad Breda, maar vooral over de Heren van de stad uit het Huis van Nassau en de 500-jarige band tussen Breda en het Huis van Nassau. Op 3 juli 1905 werd het Nassau-Baronie- monument, zoals het officieel heet, met  veel feestelijk vertoon door Koningin Wilhelmina onthuld. Het beeld herinnert aan het feit, dat in 1404 Graaf Engelbert, de eerste Bredase Nassau en zijn gemalin, Johanna van Polanen, werden ingehuldigd als Heer en Vrouwe van Breda. De ontwerper is de welbekende dr. P.J.H. Cuypers, die o.m. het Rijksmuseum en het Centraal Station in Amsterdam ontwierp. Op dit monument zijn niet alleen de wapenschilden van twintig gemeenten in en rond de Baronie aangebracht maar ook de Leeuw van Nassau die boven alles uittorent met koningskroon, zwaard en wapenschild. In de drie reliëfs is de 'blijde incomste' van Graaf Engelbert en zijn gemalin afgebeeld. De poortersbieden de sleutel van de stad aan." });
-        //    _waypoints.Add(new Waypoint(51.533461, 4.492711, "Test2", 2, null));
-        //    _waypoints.Add(new Waypoint(51.536998, 4.477862, "Test3", 3, null));
-        //    _waypoints.Add(new Waypoint(51.531285, 4.475394, "Test4", 4, null));
-        //    _waypoints.Add(new Waypoint(51.531566, 4.466747, "Test5", 5, null));
-        //}
     }
     }
 }
 }

+ 0 - 2
Breda-Tour/Data/RouteDatabase.cs

@@ -2,10 +2,8 @@
 using Newtonsoft.Json.Linq;
 using Newtonsoft.Json.Linq;
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Collections.ObjectModel;
 using System.Collections.ObjectModel;
-using System.Diagnostics;
 using System.IO;
 using System.IO;
 using System.Linq;
 using System.Linq;
-using System.Threading.Tasks;
 
 
 namespace Breda_Tour.Data
 namespace Breda_Tour.Data
 {
 {

+ 0 - 3
Breda-Tour/Data/waypoint.cs

@@ -1,8 +1,5 @@
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
-using Windows.UI.Xaml.Media.Imaging;
-using Windows.UI.Core;
-using Windows.UI.Xaml.Controls;
 using Windows.Devices.Geolocation;
 using Windows.Devices.Geolocation;
 
 
 namespace Breda_Tour.Data
 namespace Breda_Tour.Data

+ 0 - 1
Breda-Tour/HelpScreen/HelpPage.xaml.cs

@@ -1,5 +1,4 @@
 using Breda_Tour.Data;
 using Breda_Tour.Data;
-using Breda_Tours.SettingsScreen;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Input;
 using Windows.UI.Xaml.Input;
 using Windows.UI.Xaml.Navigation;
 using Windows.UI.Xaml.Navigation;

+ 0 - 17
Breda-Tour/HelpScreen/HelpScreenPage.xaml.cs

@@ -1,27 +1,10 @@
 using Breda_Tour.Data;
 using Breda_Tour.Data;
-using System;
-using System.Collections.Generic;
 using System.Collections.ObjectModel;
 using System.Collections.ObjectModel;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
 using Windows.UI.Xaml;
 using Windows.UI.Xaml;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Input;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Navigation;
-
-// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
 
 
 namespace Breda_Tour.HelpScreen
 namespace Breda_Tour.HelpScreen
 {
 {
-    /// <summary>
-    /// An empty page that can be used on its own or navigated to within a Frame.
-    /// </summary>
     public sealed partial class HelpScreenPage : Page
     public sealed partial class HelpScreenPage : Page
     {
     {
         public ObservableCollection<HelpItem> HelpItems
         public ObservableCollection<HelpItem> HelpItems

+ 1 - 16
Breda-Tour/MapScreen/ImageViewPage.xaml.cs

@@ -1,27 +1,12 @@
-// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
-
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Controls;
+using Windows.UI.Xaml.Controls;
 using System;
 using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
 using Windows.UI.Core;
 using Windows.UI.Core;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Input;
 using Windows.UI.Xaml.Media;
 using Windows.UI.Xaml.Media;
 using Windows.UI.Xaml.Navigation;
 using Windows.UI.Xaml.Navigation;
 using Breda_Tour.Data;
 using Breda_Tour.Data;
 
 
 namespace Breda_Tour.MapScreen
 namespace Breda_Tour.MapScreen
 {
 {
-    /// <summary>
-    /// An empty page that can be used on its own or navigated to within a Frame.
-    /// </summary>
     public sealed partial class ImageViewPage : Page
     public sealed partial class ImageViewPage : Page
     {
     {
         Waypoint previouswaypoint;
         Waypoint previouswaypoint;

+ 0 - 19
Breda-Tour/MapScreen/MapPage.xaml.cs

@@ -1,40 +1,21 @@
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
-using System.IO;
 using System.Linq;
 using System.Linq;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices.WindowsRuntime;
 using Windows.Foundation;
 using Windows.Foundation;
-using Windows.Foundation.Collections;
-using Windows.UI.Xaml;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Input;
-using Windows.UI.Xaml.Media;
 using Windows.UI.Xaml.Navigation;
 using Windows.UI.Xaml.Navigation;
 using Windows.Devices.Geolocation;
 using Windows.Devices.Geolocation;
-using Windows.Services.Maps;
 using Windows.Storage.Streams;
 using Windows.Storage.Streams;
 using Windows.UI;
 using Windows.UI;
 using Windows.UI.Core;
 using Windows.UI.Core;
-using Windows.UI.Xaml.Automation;
 using Windows.UI.Xaml.Controls.Maps;
 using Windows.UI.Xaml.Controls.Maps;
-using Windows.UI.Xaml.Shapes;
 using Breda_Tour.CustomControls;
 using Breda_Tour.CustomControls;
-using System.Diagnostics;
 using Windows.Devices.Geolocation.Geofencing;
 using Windows.Devices.Geolocation.Geofencing;
-using Windows.UI.Xaml.Automation.Peers;
 using Breda_Tour.Data;
 using Breda_Tour.Data;
 using Breda_Tour.RouteSelectScreen;
 using Breda_Tour.RouteSelectScreen;
 
 
-// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
-
 namespace Breda_Tour.MapScreen
 namespace Breda_Tour.MapScreen
 {
 {
-    /// <summary>
-    /// An empty page that can be used on its own or navigated to within a Frame.
-    /// </summary>
     public sealed partial class MapPage : Page
     public sealed partial class MapPage : Page
     {
     {
         private MapIcon marker;
         private MapIcon marker;

+ 0 - 14
Breda-Tour/MapScreen/WpDetailPage.xaml.cs

@@ -1,29 +1,15 @@
 using System;
 using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
 using Windows.UI.Core;
 using Windows.UI.Core;
 using Windows.UI.ViewManagement;
 using Windows.UI.ViewManagement;
-using Windows.UI.Xaml;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
 using Windows.UI.Xaml.Input;
 using Windows.UI.Xaml.Input;
 using Windows.UI.Xaml.Media;
 using Windows.UI.Xaml.Media;
 using Windows.UI.Xaml.Navigation;
 using Windows.UI.Xaml.Navigation;
 using Breda_Tour.Data;
 using Breda_Tour.Data;
 using Breda_Tour.RouteSelectScreen;
 using Breda_Tour.RouteSelectScreen;
 
 
-// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
-
 namespace Breda_Tour.MapScreen
 namespace Breda_Tour.MapScreen
 {
 {
-    /// <summary>
-    /// An empty page that can be used on its own or navigated to within a Frame.
-    /// </summary>
     public sealed partial class WpDetailPage : Page
     public sealed partial class WpDetailPage : Page
     {
     {
         private Waypoint wp;
         private Waypoint wp;

+ 0 - 4
Breda-Tour/RouteSelectScreen/BoolToString.cs

@@ -1,8 +1,4 @@
 using System;
 using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
 using Windows.UI.Xaml.Data;
 using Windows.UI.Xaml.Data;
 
 
 namespace Breda_Tour.RouteSelectScreen
 namespace Breda_Tour.RouteSelectScreen

+ 0 - 4
Breda-Tour/RouteSelectScreen/Converter.cs

@@ -1,8 +1,4 @@
 using System;
 using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
 using Windows.UI.Xaml;
 using Windows.UI.Xaml;
 using Windows.UI.Xaml.Data;
 using Windows.UI.Xaml.Data;
 
 

+ 0 - 14
Breda-Tour/RouteSelectScreen/RouteExample.xaml.cs

@@ -2,32 +2,18 @@
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Diagnostics;
 using System.Diagnostics;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
 using Windows.Devices.Geolocation;
 using Windows.Devices.Geolocation;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
 using Windows.Services.Maps;
 using Windows.Services.Maps;
 using Windows.UI;
 using Windows.UI;
 using Windows.UI.Core;
 using Windows.UI.Core;
 using Windows.UI.Xaml;
 using Windows.UI.Xaml;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls.Maps;
 using Windows.UI.Xaml.Controls.Maps;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Input;
-using Windows.UI.Xaml.Media;
 using Windows.UI.Xaml.Navigation;
 using Windows.UI.Xaml.Navigation;
 using Breda_Tour.MapScreen;
 using Breda_Tour.MapScreen;
 
 
-// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
-
 namespace Breda_Tour.RouteSelectScreen
 namespace Breda_Tour.RouteSelectScreen
 {
 {
-    /// <summary>
-    /// An empty page that can be used on its own or navigated to within a Frame.
-    /// </summary>
     public sealed partial class RouteExample : Page
     public sealed partial class RouteExample : Page
     {
     {
         Route route;
         Route route;

+ 0 - 16
Breda-Tour/RouteSelectScreen/RouteSelectPage.xaml.cs

@@ -1,28 +1,12 @@
 using Breda_Tour.Data;
 using Breda_Tour.Data;
-using System;
-using System.Collections.Generic;
 using System.Collections.ObjectModel;
 using System.Collections.ObjectModel;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
 using Windows.UI.Core;
 using Windows.UI.Core;
 using Windows.UI.Xaml;
 using Windows.UI.Xaml;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Input;
-using Windows.UI.Xaml.Media;
 using Windows.UI.Xaml.Navigation;
 using Windows.UI.Xaml.Navigation;
 
 
-// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
-
 namespace Breda_Tour.RouteSelectScreen
 namespace Breda_Tour.RouteSelectScreen
 {
 {
-    /// <summary>
-    /// An empty page that can be used on its own or navigated to within a Frame.
-    /// </summary>
     public sealed partial class RouteSelectPage : Page
     public sealed partial class RouteSelectPage : Page
     {
     {
         RouteDatabase AllRoutes;
         RouteDatabase AllRoutes;

+ 1 - 20
Breda-Tour/SplashScreen/SplashPage.xaml.cs

@@ -1,27 +1,8 @@
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
-using Windows.UI.Xaml;
+using Windows.UI.Xaml;
 using Windows.UI.Xaml.Controls;
 using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Input;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Navigation;
-using Windows.Globalization;
-
-// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
 
 
 namespace Breda_Tour.SplashScreen
 namespace Breda_Tour.SplashScreen
 {
 {
-    /// <summary>
-    /// An empty page that can be used on its own or navigated to within a Frame.
-    /// </summary>
     public sealed partial class SplashPage : Page
     public sealed partial class SplashPage : Page
     {
     {
         //get current frame
         //get current frame