/// <summary> /// Generate the fractal once user clicks the button. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button1_Click(object sender, RoutedEventArgs e) { Fractal f = new Fractal(depthSlider.Value, sizeSlider.Value, turnBiasSlider.Value, canvas); }
/// <summary> /// I'm not sure what this actually does. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Window_Loaded(object sender, RoutedEventArgs e) { Fractal f = new Fractal(depthSlider.Value, sizeSlider.Value, turnBiasSlider.Value, canvas); }