X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/c36c16908f73901f367fe523aeef8dfb688ac2ff..f6ea6db24e89baba5217db7ef7b77f4a4a92fe05:/demo/src/Main.cs?ds=sidebyside diff --git a/demo/src/Main.cs b/demo/src/Main.cs index b7400b9..ce03513 100644 --- a/demo/src/Main.cs +++ b/demo/src/Main.cs @@ -23,9 +23,6 @@ public class App Glade.XML gxml = new Glade.XML (null, "main.glade", "main", null); gxml.Autoconnect (this); - Widget w = gxml.GetWidget ("main"); - - w.SetSizeRequest (450, 250); InitDemo (); Application.Run(); @@ -40,6 +37,11 @@ public class App { Application.Quit (); } + + public void OnDeleteEvent(object o, DeleteEventArgs args) + { + Application.Quit (); + } public void OnConsultarAfiliado (object o, EventArgs args) { @@ -53,6 +55,15 @@ public class App v.Run (); } + public void OnRegistrarVisitas (object o, EventArgs args) + { + /*ABMGenerico g = new ABMGenerico (typeof(Plan)); + g.Run (); + return;*/ + VRegistrarVisitas v = new VRegistrarVisitas (); + v.Run (); + } + public void OnConsultarAfiliadoClose (object o, EventArgs args) { wConsultarAfiliado.Destroy ();