add new clipboard watcher class
This commit is contained in:
@@ -8,7 +8,8 @@ Imports DigitalData.Modules.ClipboardWatcher
|
||||
|
||||
Public Class frmStart
|
||||
Private WithEvents Hotkey As New ClassHotkey(Me)
|
||||
Private WithEvents _Watcher As ClipboardWatcher = ClipboardWatcher.Singleton
|
||||
'Private WithEvents _Watcher As ClipboardWatcher = ClipboardWatcher.Singleton
|
||||
Private WithEvents _Watcher2 As ClassClipboardWatcher = ClassClipboardWatcher.Singleton
|
||||
Private _MatchForm As frmMatch = Nothing
|
||||
|
||||
Public Sub New()
|
||||
@@ -97,10 +98,10 @@ Public Class frmStart
|
||||
End Sub
|
||||
|
||||
Private Sub frmClipboardWatch_Disposed(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Disposed
|
||||
_Watcher.Dispose()
|
||||
_Watcher2.Dispose()
|
||||
End Sub
|
||||
|
||||
Private Sub WatcherChanged_New(ByVal sender As Object, ByVal e As EventArgs) Handles _Watcher.Changed
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user