diff --git a/Borepin/Borepin.Android/Borepin.Android.csproj b/Borepin/Borepin.Android/Borepin.Android.csproj
index 3b6cbdf..70b058b 100644
--- a/Borepin/Borepin.Android/Borepin.Android.csproj
+++ b/Borepin/Borepin.Android/Borepin.Android.csproj
@@ -56,7 +56,7 @@
7.2.0.1422
-
+
diff --git a/Borepin/Borepin.Android/Properties/AndroidManifest.xml b/Borepin/Borepin.Android/Properties/AndroidManifest.xml
index 47d8e1c..7cffd52 100644
--- a/Borepin/Borepin.Android/Properties/AndroidManifest.xml
+++ b/Borepin/Borepin.Android/Properties/AndroidManifest.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/Borepin/Borepin.GTK/Borepin.GTK.csproj b/Borepin/Borepin.GTK/Borepin.GTK.csproj
index c3f9be0..4c157c8 100644
--- a/Borepin/Borepin.GTK/Borepin.GTK.csproj
+++ b/Borepin/Borepin.GTK/Borepin.GTK.csproj
@@ -1,6 +1,6 @@
-
+
Debug
@@ -90,19 +90,19 @@
- ..\..\packages\Xamarin.Forms.Platform.GTK.4.7.0.1351\lib\net45\webkit-sharp.dll
+ ..\..\packages\Xamarin.Forms.Platform.GTK.5.0.0.2012\lib\net45\webkit-sharp.dll
- ..\..\packages\Xamarin.Forms.4.7.0.1351\lib\netstandard2.0\Xamarin.Forms.Core.dll
+ ..\..\packages\Xamarin.Forms.5.0.0.2012\lib\netstandard2.0\Xamarin.Forms.Core.dll
- ..\..\packages\Xamarin.Forms.4.7.0.1351\lib\netstandard2.0\Xamarin.Forms.Platform.dll
+ ..\..\packages\Xamarin.Forms.5.0.0.2012\lib\netstandard2.0\Xamarin.Forms.Platform.dll
- ..\..\packages\Xamarin.Forms.Platform.GTK.4.7.0.1351\lib\net45\Xamarin.Forms.Platform.GTK.dll
+ ..\..\packages\Xamarin.Forms.Platform.GTK.5.0.0.2012\lib\net45\Xamarin.Forms.Platform.GTK.dll
- ..\..\packages\Xamarin.Forms.4.7.0.1351\lib\netstandard2.0\Xamarin.Forms.Xaml.dll
+ ..\..\packages\Xamarin.Forms.5.0.0.2012\lib\netstandard2.0\Xamarin.Forms.Xaml.dll
@@ -125,10 +125,10 @@
- Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".
+ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
+
+
-
+
\ No newline at end of file
diff --git a/Borepin/Borepin.GTK/packages.config b/Borepin/Borepin.GTK/packages.config
index 85861b4..6f478bb 100644
--- a/Borepin/Borepin.GTK/packages.config
+++ b/Borepin/Borepin.GTK/packages.config
@@ -5,6 +5,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/Borepin/Borepin.UWP/Borepin.UWP.csproj b/Borepin/Borepin.UWP/Borepin.UWP.csproj
index 0750733..8a9f54b 100644
--- a/Borepin/Borepin.UWP/Borepin.UWP.csproj
+++ b/Borepin/Borepin.UWP/Borepin.UWP.csproj
@@ -177,8 +177,8 @@
7.2.0.1422
-
-
+
+
diff --git a/Borepin/Borepin.UWP/Package.appxmanifest b/Borepin/Borepin.UWP/Package.appxmanifest
index 41982b7..837242f 100644
--- a/Borepin/Borepin.UWP/Package.appxmanifest
+++ b/Borepin/Borepin.UWP/Package.appxmanifest
@@ -35,7 +35,7 @@
DisplayName="Borepin.UWP"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png"
- Description="Borepin.UWP" BackgroundColor="#3c474d">
+ Description="Borepin.UWP" BackgroundColor="#3C474D">
@@ -43,7 +43,7 @@
-
+
diff --git a/Borepin/Borepin.iOS/Borepin.iOS.csproj b/Borepin/Borepin.iOS/Borepin.iOS.csproj
index 4575ee8..6efb760 100644
--- a/Borepin/Borepin.iOS/Borepin.iOS.csproj
+++ b/Borepin/Borepin.iOS/Borepin.iOS.csproj
@@ -179,7 +179,7 @@
- 4.7.0.1351
+ 5.0.0.2012
diff --git a/Borepin/Borepin.macOS/Borepin.macOS.csproj b/Borepin/Borepin.macOS/Borepin.macOS.csproj
index 3c656a6..f1eebf3 100644
--- a/Borepin/Borepin.macOS/Borepin.macOS.csproj
+++ b/Borepin/Borepin.macOS/Borepin.macOS.csproj
@@ -1,6 +1,6 @@
-
+
Debug
AnyCPU
@@ -74,13 +74,16 @@
- ..\..\packages\Xamarin.Forms.4.7.0.1351\lib\Xamarin.Mac\Xamarin.Forms.Core.dll
+ ..\..\packages\Xamarin.Forms.5.0.0.2012\lib\Xamarin.Mac\Xamarin.Forms.Core.dll
- ..\..\packages\Xamarin.Forms.4.7.0.1351\lib\Xamarin.Mac\Xamarin.Forms.Platform.dll
+ ..\..\packages\Xamarin.Forms.5.0.0.2012\lib\Xamarin.Mac\Xamarin.Forms.Platform.dll
+
+
+ ..\..\packages\Xamarin.Forms.5.0.0.2012\lib\Xamarin.Mac\Xamarin.Forms.Platform.macOS.dll
- ..\..\packages\Xamarin.Forms.4.7.0.1351\lib\Xamarin.Mac\Xamarin.Forms.Xaml.dll
+ ..\..\packages\Xamarin.Forms.5.0.0.2012\lib\Xamarin.Mac\Xamarin.Forms.Xaml.dll
@@ -128,10 +131,10 @@
- Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".
+ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
+
+
-
+
\ No newline at end of file
diff --git a/Borepin/Borepin.macOS/packages.config b/Borepin/Borepin.macOS/packages.config
index 3a35efe..7560a59 100644
--- a/Borepin/Borepin.macOS/packages.config
+++ b/Borepin/Borepin.macOS/packages.config
@@ -5,5 +5,5 @@
-
+
\ No newline at end of file
diff --git a/Borepin/Borepin/App.xaml.cs b/Borepin/Borepin/App.xaml.cs
index 0311244..fa19df7 100644
--- a/Borepin/Borepin/App.xaml.cs
+++ b/Borepin/Borepin/App.xaml.cs
@@ -7,9 +7,11 @@ using Borepin.DialogModel;
using Borepin.Service.Connections;
using Borepin.Service.BFFH;
using Borepin.Service.Credentials;
-using System.Collections.Generic;
-using Borepin.Model;
using Prism;
+using Borepin.Page.SetUpProcess;
+using Borepin.PageModel.SetUpProcess;
+using Borepin.Page.AddServerProcess;
+using Borepin.PageModel.AddServerProcess;
namespace Borepin
{
@@ -24,7 +26,7 @@ namespace Borepin
{
InitializeComponent();
- Prism.Navigation.INavigationResult result = await NavigationService.NavigateAsync("/MainPage/NavigationPage/TestPage");
+ Prism.Navigation.INavigationResult result = await NavigationService.NavigateAsync("/MainPage/NavigationPage/SetUpProcess_WelcomePage");
if (!result.Success)
{
System.Diagnostics.Debugger.Break();
@@ -39,13 +41,15 @@ namespace Borepin
containerRegistry.RegisterForNavigation();
containerRegistry.RegisterForNavigation();
containerRegistry.RegisterForNavigation();
- containerRegistry.RegisterForNavigation();
- containerRegistry.RegisterForNavigation();
- containerRegistry.RegisterForNavigation();
+ containerRegistry.RegisterForNavigation("AddServerProcess_LoginPasswordPage");
+ containerRegistry.RegisterForNavigation("AddServerProcess_HostSelectPage");
+ containerRegistry.RegisterForNavigation("AddServerProcess_LoginChoosePage");
containerRegistry.RegisterForNavigation();
containerRegistry.RegisterForNavigation();
containerRegistry.RegisterForNavigation();
containerRegistry.RegisterForNavigation();
+ containerRegistry.RegisterForNavigation("SetUpProcess_WelcomePage");
+ containerRegistry.RegisterForNavigation("SetUpProcess_ScanPage");
// Register Dialog
containerRegistry.RegisterDialog();
diff --git a/Borepin/Borepin/Base/PageModelBase.cs b/Borepin/Borepin/Base/PageModelBase.cs
index 4d37cb6..7643199 100644
--- a/Borepin/Borepin/Base/PageModelBase.cs
+++ b/Borepin/Borepin/Base/PageModelBase.cs
@@ -37,7 +37,7 @@ namespace Borepin.Base
/// Load Data async
///
///
- public abstract Task LoadData();
+ public abstract Task LoadData();
#endregion
#region INavigationAware
diff --git a/Borepin/Borepin/Borepin.csproj b/Borepin/Borepin/Borepin.csproj
index 8006336..b44de8a 100644
--- a/Borepin/Borepin/Borepin.csproj
+++ b/Borepin/Borepin/Borepin.csproj
@@ -9,7 +9,7 @@
netstandard2.0
true
- de-DE
+ en
portable
@@ -21,8 +21,9 @@
+
-
+
@@ -32,15 +33,21 @@
SettingsPage.xaml
+
+ ScanPage.xaml
+
+
+ WelcomePage.xaml
+
True
True
Resources.resx
-
+
True
True
- TextResource.en-US.resx
+ TextResource.resx
LightTheme.xaml
@@ -53,16 +60,16 @@
MSBuild:UpdateDesignTimeXaml
-
+
MSBuild:UpdateDesignTimeXaml
MSBuild:UpdateDesignTimeXaml
-
+
MSBuild:UpdateDesignTimeXaml
-
+
MSBuild:UpdateDesignTimeXaml
@@ -80,6 +87,9 @@
MSBuild:UpdateDesignTimeXaml
+
+ MSBuild:UpdateDesignTimeXaml
+
MSBuild:UpdateDesignTimeXaml
@@ -90,9 +100,9 @@
ResXFileCodeGenerator
Resources.Designer.cs
-
+
ResXFileCodeGenerator
- TextResource.en-US.Designer.cs
+ TextResource.Designer.cs
MSBuild:UpdateDesignTimeXaml
@@ -103,6 +113,9 @@
MSBuild:UpdateDesignTimeXaml
+
+ MSBuild:UpdateDesignTimeXaml
+
MSBuild:UpdateDesignTimeXaml
diff --git a/Borepin/Borepin/Helpers/TranslateExtension.cs b/Borepin/Borepin/Helpers/TranslateExtension.cs
new file mode 100644
index 0000000..27f8323
--- /dev/null
+++ b/Borepin/Borepin/Helpers/TranslateExtension.cs
@@ -0,0 +1,43 @@
+using Plugin.Multilingual;
+using System;
+using System.Reflection;
+using System.Resources;
+using Xamarin.Forms;
+using Xamarin.Forms.Xaml;
+
+namespace Borepin.Helpers
+{
+ [ContentProperty("Text")]
+ public class TranslateExtension : IMarkupExtension
+ {
+ const string ResourceId = "Borepin.Resources.Text.TextResource";
+
+ static readonly Lazy resmgr = new Lazy(() => new ResourceManager(ResourceId, typeof(TranslateExtension).GetTypeInfo().Assembly));
+
+ public string Text { get; set; }
+
+ public object ProvideValue(IServiceProvider serviceProvider)
+ {
+ if (Text == null)
+ return "";
+
+ var ci = CrossMultilingual.Current.CurrentCultureInfo;
+
+ var translation = resmgr.Value.GetString(Text, ci);
+
+ if (translation == null)
+ {
+
+#if DEBUG
+ //throw new ArgumentException(
+ // String.Format("Key '{0}' was not found in resources '{1}' for culture '{2}'.", Text, ResourceId, ci.Name),
+ // "Text");
+ translation = "!MISSING TEXT!";
+#else
+ translation = Text; // returns the key, which GETS DISPLAYED TO THE USER
+#endif
+ }
+ return translation;
+ }
+ }
+}
diff --git a/Borepin/Borepin/MultilingualResources/Borepin.de.xlf b/Borepin/Borepin/MultilingualResources/Borepin.de.xlf
new file mode 100644
index 0000000..4c905eb
--- /dev/null
+++ b/Borepin/Borepin/MultilingualResources/Borepin.de.xlf
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Hier muss ein kurzer Text hin was FabAccess ist und was man damit machen kann
+ Hier muss ein kurzer Text hin was FabAccess ist und was man damit machen kann
+
+
+ Welcome
+ Welcome
+
+
+ Start working
+ Start working
+
+
+ Login to your Space
+ Login to your Space
+
+
+ Wenn du dieses Logo siehst, dann kannst du es scannen
+ Wenn du dieses Logo siehst, dann kannst du es scannen
+
+
+
+
+
\ No newline at end of file
diff --git a/Borepin/Borepin/MultilingualResources/Borepin.en.xlf b/Borepin/Borepin/MultilingualResources/Borepin.en.xlf
new file mode 100644
index 0000000..3dc7d3f
--- /dev/null
+++ b/Borepin/Borepin/MultilingualResources/Borepin.en.xlf
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Hier muss ein kurzer Text hin was FabAccess ist und was man damit machen kann
+ Hier muss ein kurzer Text hin was FabAccess ist und was man damit machen kann
+
+
+ Welcome
+ Welcome
+
+
+ Start working
+ Start working
+
+
+ Login to your Space
+ Login to your Space
+
+
+ Wenn du dieses Logo siehst, dann kannst du es scannen
+ Wenn du dieses Logo siehst, dann kannst du es scannen
+
+
+
+
+
\ No newline at end of file
diff --git a/Borepin/Borepin/Page/AddServerDialog/HostSelectPage.xaml b/Borepin/Borepin/Page/AddServerDialog/HostSelectPage.xaml
deleted file mode 100644
index 2d370b2..0000000
--- a/Borepin/Borepin/Page/AddServerDialog/HostSelectPage.xaml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Borepin/Borepin/Page/AddServerProcess/HostSelectPage.xaml b/Borepin/Borepin/Page/AddServerProcess/HostSelectPage.xaml
new file mode 100644
index 0000000..3916250
--- /dev/null
+++ b/Borepin/Borepin/Page/AddServerProcess/HostSelectPage.xaml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Borepin/Borepin/Page/AddServerDialog/HostSelectPage.xaml.cs b/Borepin/Borepin/Page/AddServerProcess/HostSelectPage.xaml.cs
similarity index 78%
rename from Borepin/Borepin/Page/AddServerDialog/HostSelectPage.xaml.cs
rename to Borepin/Borepin/Page/AddServerProcess/HostSelectPage.xaml.cs
index e6bb8a5..53dfa01 100644
--- a/Borepin/Borepin/Page/AddServerDialog/HostSelectPage.xaml.cs
+++ b/Borepin/Borepin/Page/AddServerProcess/HostSelectPage.xaml.cs
@@ -1,8 +1,7 @@
-
-using Xamarin.Forms;
+using Xamarin.Forms;
using Xamarin.Forms.Xaml;
-namespace Borepin.Page
+namespace Borepin.Page.AddServerProcess
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class HostSelectPage : ContentPage
diff --git a/Borepin/Borepin/Page/AddServerDialog/LoginChoosePage.xaml b/Borepin/Borepin/Page/AddServerProcess/LoginChoosePage.xaml
similarity index 55%
rename from Borepin/Borepin/Page/AddServerDialog/LoginChoosePage.xaml
rename to Borepin/Borepin/Page/AddServerProcess/LoginChoosePage.xaml
index d366628..9009235 100644
--- a/Borepin/Borepin/Page/AddServerDialog/LoginChoosePage.xaml
+++ b/Borepin/Borepin/Page/AddServerProcess/LoginChoosePage.xaml
@@ -1,19 +1,19 @@
+ x:Class="Borepin.Page.AddServerProcess.LoginChoosePage">
-
-
-
-
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/Borepin/Borepin/Page/AddServerDialog/LoginChoosePage.xaml.cs b/Borepin/Borepin/Page/AddServerProcess/LoginChoosePage.xaml.cs
similarity index 86%
rename from Borepin/Borepin/Page/AddServerDialog/LoginChoosePage.xaml.cs
rename to Borepin/Borepin/Page/AddServerProcess/LoginChoosePage.xaml.cs
index 25b0161..0baf8d8 100644
--- a/Borepin/Borepin/Page/AddServerDialog/LoginChoosePage.xaml.cs
+++ b/Borepin/Borepin/Page/AddServerProcess/LoginChoosePage.xaml.cs
@@ -2,7 +2,7 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
-namespace Borepin.Page
+namespace Borepin.Page.AddServerProcess
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class LoginChoosePage : ContentPage
diff --git a/Borepin/Borepin/Page/AddServerDialog/LoginPasswordPage.xaml b/Borepin/Borepin/Page/AddServerProcess/LoginPasswordPage.xaml
similarity index 69%
rename from Borepin/Borepin/Page/AddServerDialog/LoginPasswordPage.xaml
rename to Borepin/Borepin/Page/AddServerProcess/LoginPasswordPage.xaml
index 2f99109..45278fb 100644
--- a/Borepin/Borepin/Page/AddServerDialog/LoginPasswordPage.xaml
+++ b/Borepin/Borepin/Page/AddServerProcess/LoginPasswordPage.xaml
@@ -1,19 +1,19 @@
+ x:Class="Borepin.Page.AddServerProcess.LoginPasswordPage">
-
+
-
+
-
+
\ No newline at end of file
diff --git a/Borepin/Borepin/Page/AddServerDialog/LoginPasswordPage.xaml.cs b/Borepin/Borepin/Page/AddServerProcess/LoginPasswordPage.xaml.cs
similarity index 86%
rename from Borepin/Borepin/Page/AddServerDialog/LoginPasswordPage.xaml.cs
rename to Borepin/Borepin/Page/AddServerProcess/LoginPasswordPage.xaml.cs
index 608ff29..1096a16 100644
--- a/Borepin/Borepin/Page/AddServerDialog/LoginPasswordPage.xaml.cs
+++ b/Borepin/Borepin/Page/AddServerProcess/LoginPasswordPage.xaml.cs
@@ -2,7 +2,7 @@
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
-namespace Borepin.Page
+namespace Borepin.Page.AddServerProcess
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class LoginPasswordPage : ContentPage
diff --git a/Borepin/Borepin/Page/MachinePage.xaml b/Borepin/Borepin/Page/MachinePage.xaml
index 3e65181..b47e264 100644
--- a/Borepin/Borepin/Page/MachinePage.xaml
+++ b/Borepin/Borepin/Page/MachinePage.xaml
@@ -21,8 +21,8 @@
-
-
+
+
diff --git a/Borepin/Borepin/Page/SetUpProcess/ScanPage.xaml b/Borepin/Borepin/Page/SetUpProcess/ScanPage.xaml
new file mode 100644
index 0000000..4a60546
--- /dev/null
+++ b/Borepin/Borepin/Page/SetUpProcess/ScanPage.xaml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Borepin/Borepin/Page/SetUpProcess/ScanPage.xaml.cs b/Borepin/Borepin/Page/SetUpProcess/ScanPage.xaml.cs
new file mode 100644
index 0000000..5e07424
--- /dev/null
+++ b/Borepin/Borepin/Page/SetUpProcess/ScanPage.xaml.cs
@@ -0,0 +1,14 @@
+using Xamarin.Forms;
+using Xamarin.Forms.Xaml;
+
+namespace Borepin.Page.SetUpProcess
+{
+ [XamlCompilation(XamlCompilationOptions.Compile)]
+ public partial class ScanPage : ContentPage
+ {
+ public ScanPage()
+ {
+ InitializeComponent();
+ }
+ }
+}
\ No newline at end of file
diff --git a/Borepin/Borepin/Page/SetUpProcess/WelcomePage.xaml b/Borepin/Borepin/Page/SetUpProcess/WelcomePage.xaml
index b5208d2..29123a9 100644
--- a/Borepin/Borepin/Page/SetUpProcess/WelcomePage.xaml
+++ b/Borepin/Borepin/Page/SetUpProcess/WelcomePage.xaml
@@ -1,12 +1,15 @@
+ x:Class="Borepin.Page.SetUpProcess.WelcomePage"
+ xmlns:i18n="clr-namespace:Borepin.Helpers">
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Borepin/Borepin/Page/SetUpProcess/WelcomePage.xaml.cs b/Borepin/Borepin/Page/SetUpProcess/WelcomePage.xaml.cs
index 8954be0..cbbcc40 100644
--- a/Borepin/Borepin/Page/SetUpProcess/WelcomePage.xaml.cs
+++ b/Borepin/Borepin/Page/SetUpProcess/WelcomePage.xaml.cs
@@ -1,10 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-using Xamarin.Forms;
+using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Borepin.Page.SetUpProcess
diff --git a/Borepin/Borepin/PageModel/AddServerDialog/HostSelectPageModel.cs b/Borepin/Borepin/PageModel/AddServerProcess/HostSelectPageModel.cs
similarity index 96%
rename from Borepin/Borepin/PageModel/AddServerDialog/HostSelectPageModel.cs
rename to Borepin/Borepin/PageModel/AddServerProcess/HostSelectPageModel.cs
index 70bba9b..6e37b2b 100644
--- a/Borepin/Borepin/PageModel/AddServerDialog/HostSelectPageModel.cs
+++ b/Borepin/Borepin/PageModel/AddServerProcess/HostSelectPageModel.cs
@@ -1,5 +1,4 @@
using Borepin.Service.BFFH;
-using Borepin.Service.Connections;
using Prism.Mvvm;
using Prism.Navigation;
using System;
@@ -8,7 +7,7 @@ using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
-namespace Borepin.PageModel
+namespace Borepin.PageModel.AddServerProcess
{
public class HostSelectPageModel : BindableBase
{
@@ -67,7 +66,7 @@ namespace Borepin.PageModel
await _BFFHService.Connect(connection);
- INavigationResult result = await _NavigationService.NavigateAsync("LoginChoosePage");
+ INavigationResult result = await _NavigationService.NavigateAsync("AddServerProcess_LoginChoosePage");
if(!result.Success)
{
System.Diagnostics.Debugger.Break();
diff --git a/Borepin/Borepin/PageModel/AddServerDialog/LoginChoosePageModel.cs b/Borepin/Borepin/PageModel/AddServerProcess/LoginChoosePageModel.cs
similarity index 90%
rename from Borepin/Borepin/PageModel/AddServerDialog/LoginChoosePageModel.cs
rename to Borepin/Borepin/PageModel/AddServerProcess/LoginChoosePageModel.cs
index 7147f03..c6bea76 100644
--- a/Borepin/Borepin/PageModel/AddServerDialog/LoginChoosePageModel.cs
+++ b/Borepin/Borepin/PageModel/AddServerProcess/LoginChoosePageModel.cs
@@ -3,7 +3,7 @@ using Prism.Navigation;
using System.Windows.Input;
using Xamarin.Forms;
-namespace Borepin.PageModel
+namespace Borepin.PageModel.AddServerProcess
{
public class LoginChoosePageModel : BindableBase
{
@@ -25,7 +25,7 @@ namespace Borepin.PageModel
private async void LoginPasswordCommandExecuted()
{
- INavigationResult result = await _NavigationService.NavigateAsync("LoginPasswordPage");
+ INavigationResult result = await _NavigationService.NavigateAsync("AddServerProcess_LoginPasswordPage");
if (!result.Success)
{
System.Diagnostics.Debugger.Break();
diff --git a/Borepin/Borepin/PageModel/AddServerDialog/LoginPasswordPageModel.cs b/Borepin/Borepin/PageModel/AddServerProcess/LoginPasswordPageModel.cs
similarity index 97%
rename from Borepin/Borepin/PageModel/AddServerDialog/LoginPasswordPageModel.cs
rename to Borepin/Borepin/PageModel/AddServerProcess/LoginPasswordPageModel.cs
index 6da87c1..609d16a 100644
--- a/Borepin/Borepin/PageModel/AddServerDialog/LoginPasswordPageModel.cs
+++ b/Borepin/Borepin/PageModel/AddServerProcess/LoginPasswordPageModel.cs
@@ -7,7 +7,7 @@ using Prism.Navigation;
using System.Threading.Tasks;
using System.Windows.Input;
-namespace Borepin.PageModel
+namespace Borepin.PageModel.AddServerProcess
{
public class LoginPasswordPageModel : BindableBase
{
diff --git a/Borepin/Borepin/PageModel/MachineListPageModel.cs b/Borepin/Borepin/PageModel/MachineListPageModel.cs
index f4e6644..faef925 100644
--- a/Borepin/Borepin/PageModel/MachineListPageModel.cs
+++ b/Borepin/Borepin/PageModel/MachineListPageModel.cs
@@ -4,7 +4,6 @@ using System.Threading.Tasks;
using System.Windows.Input;
using Prism.Commands;
using Prism.Navigation;
-using Borepin.Service.Connections;
using Borepin.Service.BFFH;
using Borepin.Model;
using Borepin.Base;
@@ -14,14 +13,12 @@ namespace Borepin.PageModel
public class MachineListPageModel : PageModelBase
{
#region Private Properties
- private readonly IConnectionService _ConnectionService;
private readonly IBFFHService _BFFHService;
#endregion
#region Constructors
- public MachineListPageModel(INavigationService navigationService, IConnectionService connectionService, IBFFHService bFFHService) : base(navigationService)
+ public MachineListPageModel(INavigationService navigationService, IBFFHService bFFHService) : base(navigationService)
{
- _ConnectionService = connectionService;
_BFFHService = bFFHService;
SelectInstanceCommand = new DelegateCommand