Esempio n. 1
0
 private static async void GlobalHookOnMouseUp(object sender, MouseEventArgs e)
 {
     await Task.Factory.StartNew(() => { MouseUpCallback?.Invoke(e); });
 }
Esempio n. 2
0
 protected async Task OnMouseUp() => await MouseUpCallback.InvokeAsync(new ButtonControllerEvent(ID, ButtonEvent.MouseUp));