private void button1_Click(object sender, RoutedEventArgs e) { // creates a new fern when the draw button is clicked Fern f = new Fern(sizeSlider.Value, thickSlider.Value, biasSlider.Value, canvas); }
private void Window_Loaded(object sender, RoutedEventArgs e) { // creates a new fern when the program is started Fern f = new Fern(sizeSlider.Value, thickSlider.Value, biasSlider.Value, canvas); }