private void cerrarSesionToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            //Autor: Diego Gomez
            conexion    nueva = new conexion();
            OdbcCommand cmd;
            string      host = Dns.GetHostName();

            IPAddress[] IP = Dns.GetHostAddresses(host);
            cmd = new OdbcCommand("INSERT INTO tbl_bitacora (PK_idBitacora," +
                                  "PK_idUsuario, " +
                                  "accion, " +
                                  "fecha, " +
                                  "hora, " +
                                  "tabla," +
                                  "host) " +
                                  "VALUES('' ,(SELECT PK_idUsuario FROM tbl_usuarios WHERE Pk_idUsuario = '" + nombreUsuario + "')" +
                                  ",'Salida Del Sistema Administrativo' " +
                                  ",'" + DateTime.Now.ToString("yyy/MM/dd") + "'" +
                                  ",'" + DateTime.Now.ToString("hh:mm:ss") + "'" +
                                  ",' '" +
                                  ",'" + host + "'" +
                                  ")"
                                  , nueva.conectar());
            cmd.ExecuteNonQuery();
            this.Close();
            frm_login f = new frm_login();

            f.Show();
        }
        private void MDIPolideportivo_admin_FormClosing(object sender, FormClosingEventArgs e)
        {
            frm_login f = new frm_login();

            f.Show();
        }