Пример #1
0
 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());
     }
 }
Пример #2
0
 private void TsmUnGrasp_Click(object sender, EventArgs e)
 {
     WordDataHelper.AutoSubtractProgress(LbxWord.SelectedItem.ToString());
 }
Пример #3
0
 private void TsmUngrasp_Click(object sender, EventArgs e)
 {
     WordDataHelper.AutoSubtractProgress(currentlabel.Text);
     currentlabel.ForeColor = SetColor(currentlabel.Text);
     currentlabel.BackColor = SystemColors.Control;
 }