X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/52dc39ea6822f9767e480581e9a59d8a7896e3a6..6ef9085b2768547cadbd695a5bf28721d7e69eb8:/demo/src/Vistas/RegistrarVisitas.cs diff --git a/demo/src/Vistas/RegistrarVisitas.cs b/demo/src/Vistas/RegistrarVisitas.cs index 83d4e7b..9390248 100644 --- a/demo/src/Vistas/RegistrarVisitas.cs +++ b/demo/src/Vistas/RegistrarVisitas.cs @@ -75,6 +75,23 @@ public class VRegistrarVisitas /* Nada seleccionado */ return; } + + /* Confirmo la operacion */ + MessageDialog md = new MessageDialog ( + null, + DialogFlags.DestroyWithParent, + MessageType.Question, + ButtonsType.YesNo, "Esta seguro de quere eliminar el solicitante?" + ); + + ResponseType result = (ResponseType)md.Run (); + + if (result == ResponseType.No) { + md.Destroy (); + return; + } + md.Destroy (); + ETipoDocumento tipoDoc; int nroDoc; tipoDoc = (ETipoDocumento)Enum.Parse (typeof (ETipoDocumento), (string)store.GetValue (iter, 0), true); @@ -109,23 +126,20 @@ public class VRegistrarVisitas if (familiares > 0) { for (int i=0; i