protected void CerrarSplashScreen(object sender, ElapsedEventArgs e) { VntLogin Login = new VntLogin(); Login.Show(); TmpTemporizador.Enabled = false; this.Destroy(); }
public static void Main(string[] args) { Application.Init(); VntLogin win = new VntLogin(); win.Show(); Application.Run(); }
protected void OnBtnCerrarSesionClicked(object sender, EventArgs e) { if (cod.Mensaje("¿Está seguro de cerrar sesión?", ButtonsType.YesNo, MessageType.Question) == ResponseType.Yes) { VntLogin Login = new VntLogin(); Login.Show(); this.Destroy(); } }