Exemplo n.º 1
0
        public void Attach(CanvasVirtualControl control)
        {
            _control = control;

            _events          = EngineEvents.Attach(this, control);
            _status.IsPaused = true;
        }
Exemplo n.º 2
0
        internal static EngineEvents Attach(Engine engine, CanvasVirtualControl control)
        {
            var events = new EngineEvents
            {
                _engine = engine
            };

            events.AttachCore(engine, control);

            return(events);
        }