X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/a7797a74b1aee356980e475ce81276b7e8180fdb..aeb71279fa96dfc8e3832d04ae25d68c6853d39f:/demo/src/Main.cs diff --git a/demo/src/Main.cs b/demo/src/Main.cs index 65f9498..3a89f71 100644 --- a/demo/src/Main.cs +++ b/demo/src/Main.cs @@ -14,11 +14,6 @@ public class App #region Tests - /// - /// Decide si se corre la demo รณ los tests automatizados - /// - private static bool testing = false; - private static void EjecutarTests() { Tests.TestsAutorizacion.Instancia.EjecutarTodos(); @@ -36,7 +31,6 @@ public class App { if ( args.Length > 0) { if (args[0].Equals ("--test")) { - testing = true; EjecutarTests(); return; } @@ -74,7 +68,7 @@ public class App Application.Quit (); } - public void OnConsultarAfiliado (object o, EventArgs args) + public void OnIngresarSolicitud(object o, EventArgs args) { VIngresarSolicitud v = new VIngresarSolicitud (); v.Run (); @@ -94,25 +88,5 @@ public class App VRegistrarVisitas v = new VRegistrarVisitas (); v.Run (); } - - public void OnConsultarAfiliadoClose (object o, EventArgs args) - { - wConsultarAfiliado.Destroy (); - } - - public void OnVerAfiliado (object o, EventArgs args) - { - } - - public void OnBuscarAfiliado (object o, EventArgs args) - { - Entry codigo = (Entry)xmla.GetWidget ("s_codigo"); - TreeView lista = (TreeView)xmla.GetWidget ("lista"); - TreeStore store = (TreeStore)lista.Model; - foreach (Afiliado a in lst) { - if (a.Codigo == Int32.Parse (codigo.Text)) - store.AppendValues (String.Format("{0}", a.Codigo), a.Nombre); - } - } }