private void OnClipboardTextArrived(ClipboardChangedEventArgs e) { var handler = ClipboardTextArrived; if (handler != null) { handler(this, e); } }
private void OnClipboardTextArrived(object sender, ClipboardChangedEventArgs args) { var clipboardText = args.GameItemText; if (TryLoadGameText(clipboardText)) { OnItemTextArrived(new GameItemChangedEventArgs(clipboardText)); } }