Пример #1
0
        private void addRequisiteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SkillSelector selector = new SkillSelector(this.AbilityProvider);

            if (selector.ShowDialog() == DialogResult.OK)
            {
                AddReqItem(selector.SelectedID, selector.SelectedLevel);
            }
        }
Пример #2
0
        private void addAbilityToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SkillSelector selector = new SkillSelector(this);

            if (selector.ShowDialog() == DialogResult.OK)
            {
                AddSkillTree(selector.SelectedID, selector.SelectedLevel);
                panel1.Refresh();
            }
        }