Delegate fin ejecuta 2

Elena/develop
Gerardo 2022-02-21 23:27:21 +01:00
parent 297d960b90
commit 2e87fb3240
1 changed files with 12 additions and 8 deletions

View File

@ -12,6 +12,7 @@ using OliviaAddInPro.Helper;
using System.Net; using System.Net;
using System.Net.Sockets; using System.Net.Sockets;
using System.IO; using System.IO;
using System.Windows;
namespace OliviaAddInPro.Model namespace OliviaAddInPro.Model
{ {
@ -191,7 +192,7 @@ namespace OliviaAddInPro.Model
DockpaneRecogidaViewModel.Hide_(); DockpaneRecogidaViewModel.Hide_();
} }
} }
else if(OliviaGlob.IsProps()) else if (OliviaGlob.IsProps())
{ {
if (sh) if (sh)
{ {
@ -319,8 +320,11 @@ namespace OliviaAddInPro.Model
{ {
HelperGlobal.ponMsg(Resource1.String_exito); HelperGlobal.ponMsg(Resource1.String_exito);
} }
Application.Current.Dispatcher.Invoke(new Action(() => { finEjecuta2(); }));
//tiene que hacer delegate finEjecuta2() //tiene que hacer delegate finEjecuta2()
} }
public static void finEjecuta2() public static void finEjecuta2()
{ {
//muestra la ventana //muestra la ventana