SetAsLCDForegroundApp() public method

public SetAsLCDForegroundApp ( bool yesNo ) : void
yesNo bool
return void
Ejemplo n.º 1
0
        public Hooks(Device device)
        {
            _device = device;

            _hookListenerWindow.SetForegroundApplet += delegate {
                _device.SetAsLCDForegroundApp(true);
            };
        }
Ejemplo n.º 2
0
        public PioneerHooks(Device device)
        {
            _device = device;

            // register the event of the inner native window.
            _hookListenerWindow.KeyPressed += delegate(object sender, KeyPressedEventArgs args) {
                if (KeyPressed != null) KeyPressed(this, args);
            };
            _hookListenerWindow.SetForegroundApplet += delegate(object sender, EventArgs args) {
                _device.SetAsLCDForegroundApp(true);
            };
        }