Beispiel #1
0
        public Fluid()
        {
            this.InitializeComponent();
            this.fluidDemo = new FluidDemo(this.ImageSurface);

            this.ImageSurface.Source     = this.fluidDemo.Bitmap;
            CompositionTarget.Rendering += this.fluidDemo.Update;
        }
Beispiel #2
0
        public Fluid()
        {
            InitializeComponent();
            _fluidDemo = new FluidDemo(ImageSurface);

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