Esempio n. 1
0
        protected override void Initialize()
        {
            App.Register();
            BoardExtensions.Initialize();

            _mouseComponent = DependencyInjection.Resolve<IMouseComponent>();
            _mouseDrawer = DependencyInjection.Resolve<IMouseDrawer>();
            _keyboardComponent = DependencyInjection.Resolve<IKeyboardComponent>();
            _keyboardControl = DependencyInjection.Resolve<IKeyboardControl>();

            base.Initialize();
        }
Esempio n. 2
0
        protected override void Initialize()
        {
            App.Register();
            BoardExtensions.Initialize();

            _mouseComponent    = DependencyInjection.Resolve <IMouseComponent>();
            _mouseDrawer       = DependencyInjection.Resolve <IMouseDrawer>();
            _keyboardComponent = DependencyInjection.Resolve <IKeyboardComponent>();
            _keyboardControl   = DependencyInjection.Resolve <IKeyboardControl>();

            base.Initialize();
        }
Esempio n. 3
0
 public abstract void Create(IKeyboardControl parent);
Esempio n. 4
0
 public override void Create(IKeyboardControl parent) => parent.Create(this, Key);