Esempio n. 1
0
        private void btnAddSkill_Click(object sender, EventArgs e)
        {
            frm_AddSkill AddSkill = new frm_AddSkill();

            AddSkill.SkillList = cSkills;
            AddSkill.ShowDialog();
            ArrayList result = AddSkill.SelectedSkills;

            for (int i = 0; i < result.Count; i++)
            {
                if (!lstSkills.Items.Contains(result[i]))
                {
                    lstSkills.Items.Add(result[i]);
                }
            }
        }
Esempio n. 2
0
 private void btnAddSkill_Click(object sender, EventArgs e)
 {
     frm_AddSkill AddSkill = new frm_AddSkill();
     AddSkill.SkillList = cSkills;
     AddSkill.ShowDialog();
     ArrayList result = AddSkill.SelectedSkills;
     for (int i = 0; i < result.Count; i++)
         if (!lstSkills.Items.Contains(result[i]))
             lstSkills.Items.Add(result[i]);
 }