Ejemplo n.º 1
0
        /// <summary>
        /// Context menu > Show In Skill Explorer
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void showInSkillExplorerMenu_Click(object sender, EventArgs e)
        {
            // Retrieve the owner window
            PlanWindow npw = WindowsFactory <PlanWindow> .GetByTag(m_plan);

            if (npw == null || npw.IsDisposed)
            {
                return;
            }

            // Open the skill explorer
            npw.ShowSkillInExplorer(SelectedSkill);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Context menu > Show "skill" in explorer.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void showInExplorerMenu_Click(object sender, EventArgs e)
        {
            // Retrieve the owner window
            PlanWindow npw = WindowsFactory <PlanWindow> .GetByTag(m_plan);

            if (npw == null || npw.IsDisposed)
            {
                return;
            }

            // Open the skill explorer
            SkillLevel prereq = (SkillLevel)this.treeView.SelectedNode.Tag;

            npw.ShowSkillInExplorer(prereq.Skill);
        }