public void Login(string username, string password)
 {
     try
     {
         Credentials   = AimeWebService.Login(username, password);
         base.ExitCode = ApplicationComponentExitCode.Accepted;
         Host.Exit();
     }
     catch (Exception ex)
     {
         Host.DesktopWindow.ShowMessageBox(ex.Message, "Login Error", MessageBoxActions.Ok);
         Platform.Log(LogLevel.Error, ex, "AIM Data Service 2 Login Error", null);
     }
 }