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();
{
Application.Quit ();
}
+
+ public void OnDeleteEvent(object o, DeleteEventArgs args)
+ {
+ Application.Quit ();
+ }
public void OnConsultarAfiliado (object o, EventArgs args)
{
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 ();