From fbc9a06764d049ea6a604951793c48ea52af29bf Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Fri, 18 Dec 2020 14:29:14 +0100 Subject: [PATCH] Catch-All Profiles --- app/DD_Clipboard_Searcher/ClassClipboardWatcher.vb | 1 + app/DD_Clipboard_Searcher/frmMain.vb | 4 ++-- app/DD_Clipboard_Searcher/frmStart.vb | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/DD_Clipboard_Searcher/ClassClipboardWatcher.vb b/app/DD_Clipboard_Searcher/ClassClipboardWatcher.vb index 880ee54..a951592 100644 --- a/app/DD_Clipboard_Searcher/ClassClipboardWatcher.vb +++ b/app/DD_Clipboard_Searcher/ClassClipboardWatcher.vb @@ -42,6 +42,7 @@ Public Class ClassClipboardWatcher : Inherits NativeWindow : Implements IDisposa RaiseEvent Changed(Me, oText) End Select + MyBase.WndProc(m) End Sub diff --git a/app/DD_Clipboard_Searcher/frmMain.vb b/app/DD_Clipboard_Searcher/frmMain.vb index 3b22372..30850b0 100644 --- a/app/DD_Clipboard_Searcher/frmMain.vb +++ b/app/DD_Clipboard_Searcher/frmMain.vb @@ -241,7 +241,7 @@ Public Class frmMain End Sub Sub OpenMatchForm() Logger.Debug("...now CHECK_PROFILE_MATCH...") - Dim oProfiles = CURRENT_MATCHING_PROFILES + Dim oProfiles = CURRENT_PROFILES_WITH_RESULTS Dim oEnv = GetEnvironment() Dim oParams = New ClipboardWatcherParams() With { @@ -285,8 +285,8 @@ Public Class frmMain Sub Change_Monitoring_State() If MONITORING_ACTIVE = True Then - NotifyIconMain.ShowBalloonTip(30000, "Clipboard Watcher", "Clipboard-Watcher wurde deaktiviert!", ToolTipIcon.Info) MONITORING_ACTIVE = False + NotifyIconMain.ShowBalloonTip(30000, "Clipboard Watcher", "Clipboard-Watcher wurde deaktiviert!", ToolTipIcon.Info) Else MONITORING_ACTIVE = True NotifyIconMain.ShowBalloonTip(30000, "Clipboard Watcher", "Clipboard-Watcher wurde wieder aktiviert!", ToolTipIcon.Info) diff --git a/app/DD_Clipboard_Searcher/frmStart.vb b/app/DD_Clipboard_Searcher/frmStart.vb index db954a2..55443f4 100644 --- a/app/DD_Clipboard_Searcher/frmStart.vb +++ b/app/DD_Clipboard_Searcher/frmStart.vb @@ -105,13 +105,14 @@ Public Class frmStart Private Sub WatcherChanged_New(ByVal sender As Object, ByVal e As String) Handles _Watcher2.Changed If MONITORING_ACTIVE = False Then - Logger.Info("Clipboard Watcher is inactive!") - 'NotifyIconMain.ShowBalloonTip(20000, "Clipboard Watcher", "Clipboard-watcher is inactive.", ToolTipIcon.Info) + Logger.Info("Clipboard Watcher ist gerade deaktiviert!") + NotifyIconMain.ShowBalloonTip(20000, "Clipboard Watcher", "Clipboard-watcher is inactive.", ToolTipIcon.Info) Exit Sub End If If DT_USER_PROFILES Is Nothing OrElse DT_USER_PROFILES.Rows.Count = 0 Then Logger.Warn("DT_USER_PROFILES is empty!") + NotifyIconMain.ShowBalloonTip(20000, "Clipboard Watcher", "Es wurden noch keine Profile für Sie hinterlegt.", ToolTipIcon.Info) Exit Sub End If