예제 #1
0
 private void buttonAddIgnoredDublicateWords_Click(object sender, EventArgs e)
 {
     CommonControls.CommonForms.GetString xx = new CommonControls.CommonForms.GetString(CommonControls.CommonForms.GetString.ViewType.TypeTextBox,
                                                                                        "»гнорируемое слово", null);
     if (xx.ShowDialog() == DialogResult.OK)
     {
         if (!listBoxIgnoredDuplicateWords.Items.Contains(xx.ReturnValue))
         {
             listBoxIgnoredDuplicateWords.Items.Add(xx.ReturnValue);
         }
     }
 }
예제 #2
0
 private void buttonAddIgnoredSystemDir_Click(object sender, EventArgs e)
 {
     CommonControls.CommonForms.GetString xx = new CommonControls.CommonForms.GetString(CommonControls.CommonForms.GetString.ViewType.TypeTextBox,
                                                                                        "»м¤ директории", null);
     if (xx.ShowDialog() == DialogResult.OK)
     {
         if (!listBoxIgnoredSystemDirs.Items.Contains(xx.ReturnValue))
         {
             listBoxIgnoredSystemDirs.Items.Add(xx.ReturnValue);
         }
     }
 }