private void BtnUngrasp_Click(object sender, EventArgs e) { for (int i = 0; i < LbxWord.SelectedItems.Count; i++) { WordDataHelper.AddWordData(LbxWord.SelectedItems[i].ToString(), 1); WordDataHelper.AutoSubtractProgress(LbxWord.SelectedItems[i].ToString()); } }
private void TsmUnGrasp_Click(object sender, EventArgs e) { WordDataHelper.AutoSubtractProgress(LbxWord.SelectedItem.ToString()); }
private void TsmUngrasp_Click(object sender, EventArgs e) { WordDataHelper.AutoSubtractProgress(currentlabel.Text); currentlabel.ForeColor = SetColor(currentlabel.Text); currentlabel.BackColor = SystemColors.Control; }