private void validar_soft() { licencia aux = new licencia(); if (aux.get_validar()) { sesion_nombre_propiedad.Text = "Licencia propiedad de " + aux_config.get_nombre_dueno(); } else { sesion_nombre_propiedad.Text = "Versión Prueba - Ingrese la licencia."; } }
//validar software private void validar_soft() { licencia aux = new licencia(); if (aux.get_validar()) { Forma_principal.Text += " - Version Completa"; timer1.Dispose(); SWregistrado = true; } else { Forma_principal.Text += " - Version Prueba de " + tiempo_cierre + " min."; timer1.Interval = tiempo_cierre * 60000; timer1.Tick += new EventHandler(timer_Tick); timer1.Start(); } }