void AddKey(string key) { var listItem = listView.Items.Add(key); var hashInfo = PokeHashHasher.GetInformation(key); listItem.SubItems.Add(hashInfo[0]); listItem.SubItems.Add(hashInfo[1]); }
void AddKey(string key) { var listItem = listView.Items.Add(key); //var hasher = new PokeHashHasher(key); var hashInfo = PokeHashHasher.GetInformation(key); listItem.SubItems.Add(hashInfo[0]); listItem.SubItems.Add(hashInfo[1]); //Task.Delay(300).Wait(); }
void refreshInfoToolStripMenuItem_Click(object sender, EventArgs e) { var i = 0; foreach (ListViewItem element in listView.SelectedItems) { var hashInfo = PokeHashHasher.GetInformation(element.Text); element.SubItems[1].Text = hashInfo[0]; element.SubItems[2].Text = hashInfo[1]; if (i > 0) { Task.Delay(300).Wait(); } i++; } }