예제 #1
0
        public static List <KeyAction> GetCombo()
        {
            ComboCreator cc = new ComboCreator();

            returnedValue = null;
            cc.ShowDialog();
            return(returnedValue);
        }
예제 #2
0
        private void chooseCombo_Click(object sender, EventArgs e)
        {
            List <KeyAction> combo = ComboCreator.GetCombo();

            if (combo != null)
            {
                Skill s = new Skill(
                    (int)skillFromFrame.Value,
                    (int)skillToFrame.Value,
                    combo);

                skillsList.Items.Add(s);
                ((BVHAction)actions.SelectedItem).Skills.Add(s);
            }
        }