private CancellationTokenSource _cancelTokenSource;
private async void Refresh()
{
_cancelTokenSource = new CancellationTokenSource();
var token = _cancelTokenSource.Token;
Control.EnableRefresh(false);
Control.Cursor = Cursors.WaitCursor;
try
{
await Task.Run(() => RefreshAsync(token), token);
if (_results != null)
{
Control.SetContent(_results.Select(item => new CodeInspectionResultGridViewItem(item))