X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/f8446a6723f09b3092929479b4307f72fcd03425..17758e264340c8e5114a9509a9d10f2aa185c091:/demo/src/Main.cs?ds=sidebyside diff --git a/demo/src/Main.cs b/demo/src/Main.cs index e1073f7..aa083cc 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; } @@ -86,13 +80,19 @@ public class App v.Run (); } + public void OnMantenerPlanes (object o, EventArgs args) + { + VMantenerPlanes v = new VMantenerPlanes (); + v.Run (); + } + public void OnRegistrarVisitas (object o, EventArgs args) { - /*ABMGenerico g = new ABMGenerico (typeof(Plan)); + ABMGenerico g = new ABMGenerico (typeof(Plan)); g.Run (); - return;*/ - VRegistrarVisitas v = new VRegistrarVisitas (); - v.Run (); + return; + /*VRegistrarVisitas v = new VRegistrarVisitas (); + v.Run ();*/ } }