private void btnCloseSession_Click(object sender, EventArgs e) { if (Alerts.ShowWarning("¿Seguro desea Cerra la Sesión?")) { Session.closeSesion(); FormPrincipal formPrincipal = FormPrincipal.formPrincipal; formPrincipal.Reset(); formPrincipal.ActivateButton(formPrincipal.btnInicio, FormPrincipal.RGBColors.color1); formPrincipal.OpenChildForm(new FormInicio()); this.Hide(); } }