Beispiel #1
0
        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);

        }
Beispiel #2
0
 private void btnRefreshGooglePlayAll_Click(object sender, EventArgs e)
 {
     var packageNames = SqliteConnector.GetPackageNamesFromHashes(_hashes);
     RefreshPackages(packageNames);
 }