/// <summary> /// Constructs the pattern list on the right panel /// </summary> public void BuildPatternMenus () { Patterns p = new Patterns(); //Regional Patterns p.CreateRegionalPatterns(); listBoxRegionalPatternMenu.ItemsSource = p; //Recursive ones p = new Patterns(); p.CreateRecursivePatterns(); listBoxRecursivePatternMenu.ItemsSource = p; //Structured p = new Patterns(); p.CreateStructuredPatterns(); listBoxStructuredPatternMenu.ItemsSource = p; //Special patterns p = new Patterns(); p.CreateSpecialPatterns(); listBoxSpecialPatternMenu.ItemsSource = p; }