public static List <KeyAction> GetCombo() { ComboCreator cc = new ComboCreator(); returnedValue = null; cc.ShowDialog(); return(returnedValue); }
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); } }