Exemplo 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]);
                }
            }
        }
Exemplo 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]);
 }