public SetAsLCDForegroundApp ( bool yesNo ) : void | ||
yesNo | bool | |
Результат | void |
public Hooks(Device device) { _device = device; _hookListenerWindow.SetForegroundApplet += delegate { _device.SetAsLCDForegroundApp(true); }; }
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); }; }