Beispiel #1
0
        public Circle()
        {
            InitializeComponent();
            _circleDemo = new CircleDemo(ImageSurface);

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

            this.ImageSurface.Source     = this.circleDemo.Bitmap;
            CompositionTarget.Rendering += this.circleDemo.Update;
        }