Beispiel #1
0
        public Rob()
        {
            this.InitializeComponent();

            this.robDemo                 = new RobDemo(this.ImageSurface);
            this.ImageSurface.Source     = this.robDemo.Bitmap;
            CompositionTarget.Rendering += this.robDemo.Update;
        }
Beispiel #2
0
        public Rob()
        {
            InitializeComponent();

            _robDemo                     = new RobDemo(ImageSurface);
            ImageSurface.Source          = _robDemo.Bitmap;
            CompositionTarget.Rendering += _robDemo.Update;
        }