示例#1
0
        public Contact()
        {
            InitializeComponent();

            _contactDemo                 = new ContactDemo(ImageSurface);
            ImageSurface.Source          = _contactDemo.Bitmap;
            CompositionTarget.Rendering += _contactDemo.Update;
        }
示例#2
0
        public Contact()
        {
            this.InitializeComponent();

            this.contactDemo             = new ContactDemo(this.ImageSurface);
            this.ImageSurface.Source     = this.contactDemo.Bitmap;
            CompositionTarget.Rendering += this.contactDemo.Update;
        }