private void btnRefreshGooglePlaySelection_Click(object sender, EventArgs e) { var selectedItems = lvMain.SelectedItems; var apkFiles = (from ListViewItem i in selectedItems select (ApkFile)i.Tag).ToList(); var hashes = new HashSet<string>(); foreach (var apkFile in apkFiles) { hashes.Add(apkFile.Md5Hash); } var packageNames = SqliteConnector.GetPackageNamesFromHashes(hashes); RefreshPackages(packageNames); }
private void btnRefreshGooglePlayAll_Click(object sender, EventArgs e) { var packageNames = SqliteConnector.GetPackageNamesFromHashes(_hashes); RefreshPackages(packageNames); }