private void CreateClick(object sender, RoutedEventArgs e) { size = int.Parse(textBoxSize.Text); seed = int.Parse(textBoxSeed.Text); generator = new ArrayGenerator(size, seed); array = generator.GenerateArray(); updateListbox(listBox, array); }
private void generateTestArray() { size = int.Parse(textBoxSizeTest.Text); seed = int.Parse(textBoxSeedTest.Text); generator = new ArrayGenerator(size, seed); testArray = generator.GenerateArray(); updateListbox(listBox1, testArray); }