private void logOutToolStripMenuItem_Click(object sender, EventArgs e) { try { BCUtility.doLogout(bcApp); MessageBox.Show(this, BCApplication.getMessageString("LOGOUT_SUCCESS") , BCApplication.getMessageString("INFO") , MessageBoxButtons.OK , MessageBoxIcon.Information); } catch (Exception ex) { logger.Error(ex, "Exception:"); } }
/// <summary> /// Handles the Click event of the pic_Logout control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> private void pic_Logout_Click(object sender, EventArgs e) { BCUtility.doLogout(bcApp); }