/// <summary> /// Get Messages /// </summary> private void getMessages() { messageControl.ClearForm(); Cursor = Cursors.WaitCursor; try { // Call Get Service Method _response = MessagesHelper.Get(tbRequest.Text, getCertificate()); //Update UI with Results _messageRows = _response.Messages.Select(m => new MessageRow { Id = m.Id, Received = bool.FalseString }).ToList(); gvMessages.DataSource = _messageRows; } catch (Exception exception) { displayError(exception); } finally { Cursor = Cursors.Default; } }