Ejemplo n.º 1
0
        public Fireworks()
        {
            this.InitializeComponent();
            this.fireworksDemo = new FireworksDemo(this.ImageSurface);

            this.ImageSurface.Source     = this.fireworksDemo.Bitmap;
            CompositionTarget.Rendering += this.fireworksDemo.Update;
        }
Ejemplo n.º 2
0
        public Fireworks()
        {
            InitializeComponent();
            _fireworksDemo = new FireworksDemo(ImageSurface);

            ImageSurface.Source          = _fireworksDemo.Bitmap;
            CompositionTarget.Rendering += _fireworksDemo.Update;
        }