示例#1
0
 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);
 }
示例#2
0
 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);
 }