/// <summary>
 /// Executes the logoff command
 /// </summary>
 private void LogoffExecute()
 {
     try
     {
         Login login = new Login();
         empWindow.Close();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }