X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/b5cc8b1e466a552a309647373d335444c8b64401..24d5eafe559623e7f04be1c7a7b8c25d8a754d9e:/demo/src/Vistas/RegistrarVisitas.cs diff --git a/demo/src/Vistas/RegistrarVisitas.cs b/demo/src/Vistas/RegistrarVisitas.cs index 079aeae..2f422c8 100644 --- a/demo/src/Vistas/RegistrarVisitas.cs +++ b/demo/src/Vistas/RegistrarVisitas.cs @@ -136,13 +136,8 @@ public class VRegistrarVisitas private void AgregarFamiliar (int n, int total) { - Glade.XML xml1 = new Glade.XML (null, "registrar_visitas.glade", "agregar_familiar", null); - xml1.Autoconnect (this); - - Dialog w = (Dialog)xml1.GetWidget ("agregar_familiar"); - w.Title = String.Format ("Agregar Familiar {0} de {1}", n, total); + VAgregarFamiliar w = new VAgregarFamiliar (n, total); w.Run (); - w.Destroy (); } public void OnSeleccionarFechaClicked (object o, EventArgs args)