private void logoffToolStripMenuItem_Click(object sender, EventArgs e)
 {
     bcApp.logoff();
     Close();
 }
 /// <summary>
 /// Does the logout.
 /// </summary>
 /// <param name="bcApp">The bc application.</param>
 /// <returns>Boolean.</returns>
 public static Boolean doLogout(BCApplication bcApp)
 {
     bcApp.logoff();
     return(true);
 }