private void ptb_back_Click(object sender, EventArgs e)
 {
     overlayForm.Dispose();
     frm.Hide();
     c_logeo = new C_logeo();
     c_logeo.InitializeEvents();
 }
 public C_modificar(Vo_gmail vo_gmail)
 {
     frm         = new Capa_Vista.frm_modify();
     c_message   = C_message.getInstancia();
     message_box = c_message.formulario();
     c_logeo     = new C_logeo();
     e_gmail     = vo_gmail;
 }
Example #3
0
        private void ptbOff_Click(object sender, EventArgs e)
        {
            C_logeo c_logeo = new C_logeo();

            desenfoque_abrir_formulario();
            c_message.message("¿Desea cerrar sessión?", C_message.message_type.warning, true);
            resultado = message_box.ShowDialog();

            if (resultado == DialogResult.OK)
            {
                overlayForm.Dispose();
                frm.Hide();
                c_logeo.InitializeEvents();
            }
            else
            {
                overlayForm.Dispose();
            }
        }