public void addActionGroup(ActionGroup group) { foreach (ActionGroup g in actionGroups) { if (g.pattern.isSubPatternOf(group.pattern)) { g.immediate = g.subPattern; } if (group.pattern.isSubPatternOf(g.pattern)) { group.immediate = group.subPattern; } } actionGroups.Add(group); }
public ClapNodeOptions(ActionGroup ag) { InitializeComponent(); this.actionGroup = ag; }