private void btnIterate_Click(object sender, RoutedEventArgs e) { ResultImage.Image = Rc.Iterate(); theResult.Source = ResultImage.Bitmap; }