private async Task ExecuteLogin(string connectionId, string accessToken) { try { await userSession.Login(connectionId, accessToken); } catch (Exception ex) { ShowBalloonError("Login attempt failed."); return; } MhwAccount account = userSession.LoggedInAccount; ShowBalloonInfo(string.Format("Logged in as {0}", account.Name)); labelDisplayName.Text = account.Name; SetPictureBox(account.PictureFileId, pictureBoxUser); await RefreshOnBehalfOfAccounts(); accountsComboBox.Enabled = true; controlPrintToDrive.Enabled = true; controlFolderToDrive.Enabled = true; controlPrintToFax.Enabled = true; UpdateLoginButtonText(); }