From 9ba9b4ddca58f264a248b6f8bca3c843a2359401 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 6 Feb 2020 19:06:32 +0100 Subject: [PATCH] cb --- BeWo/LoginControl.xaml.cs | 49 ++++++++++++++++++++++++++++++++- Service/Plugins/PluginLoader.cs | 4 +-- 2 files changed, 50 insertions(+), 3 deletions(-) diff --git a/BeWo/LoginControl.xaml.cs b/BeWo/LoginControl.xaml.cs index 76b7d4573..a0aee06f0 100644 --- a/BeWo/LoginControl.xaml.cs +++ b/BeWo/LoginControl.xaml.cs @@ -348,8 +348,49 @@ namespace BeWo private bool CheckStatusMessage(BeWoProfile profile, String url) { #if DEBUG + + //String message = @"Sehr geehrte Kundin, sehr geehrter Kunde, + + // Ihr BeWoPlaner Nutzungszeitraum endet automatisch am 31.01.2020. + // Bitte wenden Sie sich an den BeWoPlaner - Support, sofern Sie den Nutzungszeitraum verlängern möchten. + + // Vielen Dank. + // Ihr BeWoPlaner-Team;1"; + + //if (!String.IsNullOrWhiteSpace(message) && message.Trim().Length > 2) + //{ + // String ende = message.Substring(message.Length - 2); + + // message = message.Replace("\\n", "\n"); + // message = message.Substring(0, message.Length - 2); + // MessageDialog dlg = new MessageDialog(); + + // if (message.Contains("<") && message.Contains(">")) + // { + // dlg.SetXaml(message); + // } + // else + // { + // dlg.Message = message; + // } + + + // var test = this.GetRootParent() as Window; + // if (test != null) + // { + // dlg.Owner = test; + // dlg.WindowStartupLocation = WindowStartupLocation.CenterOwner; + // } + + // var result = dlg.ShowDialog(); + // if (ende.EndsWith(";0")) + // { + // return false; + // } + + //} return true; -#endif +#else try { using (WebClient client = new WebClient()) @@ -402,6 +443,7 @@ namespace BeWo } return true; +#endif } private BeWoProfile ReadSelectedProfile() @@ -985,8 +1027,13 @@ namespace BeWo private void LoginResult( WaitLayer2 lWaitLayer, UserValidationResult result, String lUserName, String lPassword, String lPIN = "") { + // + // GetState hierhin + // + // if (result == UserValidationResult.UserValid) { + //this.Dispatch(delegate //{ // if (BeWoApp.Tenant == "demo") diff --git a/Service/Plugins/PluginLoader.cs b/Service/Plugins/PluginLoader.cs index b59701672..fb3388ae0 100644 --- a/Service/Plugins/PluginLoader.cs +++ b/Service/Plugins/PluginLoader.cs @@ -93,7 +93,7 @@ namespace BeWo.Service.Plugins //t = "3529871747"; // Vivat gemeinnützige GmbH //t = "8561513464"; // Caritasverband Wuppertal/Solingen //t = "2727001973"; // SD Julia Schönberg - t = "5653806613"; // Feid und Kollegen + //t = "5653806613"; // Feid und Kollegen //t = "3830114427"; // FiZ Familie im Zentrum Hof //t = "7138297573"; // Tagwerk betreutes wohnen //t = "1008896531"; // BeWo Auxilio @@ -179,7 +179,7 @@ namespace BeWo.Service.Plugins //t = "4137042939"; // MLG Lebengestalten / Haus Müllestumpe //t = "5260936181"; // LORI //t = "1931553444"; // HIBA - //t = "7185338722"; // BeWo Walz & Paiva + t = "7185338722"; // BeWo Walz & Paiva //t = "3196643272"; // Betreutes Wohnen Lisa Wöll //t = "3432911735"; // Caritas Günzburg - Neu Ulm //t = "2591682148"; // Humanitas