public Circle() { InitializeComponent(); _circleDemo = new CircleDemo(ImageSurface); ImageSurface.Source = _circleDemo.Bitmap; CompositionTarget.Rendering += _circleDemo.Update; }
public Circle() { this.InitializeComponent(); this.circleDemo = new CircleDemo(this.ImageSurface); this.ImageSurface.Source = this.circleDemo.Bitmap; CompositionTarget.Rendering += this.circleDemo.Update; }