void ShowTextNotification(object text) { ShowNotification(LanguageData.GetStringFromResource("aTranslation"), ((ClipboardText)text).TranslatedText, Notifications.Wpf.NotificationType.Information); }
void ShowTextNotification(object CursorRectangle) { var screenText = new ScreenText((MouseRectangle)CursorRectangle); ShowNotification(LanguageData.GetStringFromResource("aTranslation") + ":", screenText.TranslatedText, NotificationType.Information); }