private async void btnImportKeyMap_Click(object sender, EventArgs e) { try { var result = await _migrator.ImportKeyMapTableAsync(_doc.Document); MessageBox.Show($"Imported table {result.@object} with {result.rowCount:n0} rows."); } catch (Exception exc) { MessageBox.Show(exc.Message); } }