protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_clipboardService != null)
         {
             _clipboardService.Dispose();
             _clipboardService = null;
         }
     }
 }
 public NotificationForm(ClipboardService parent)
 {
     _parent = parent;
 }
Esempio n. 3
0
 public NotificationForm(ClipboardService parent)
 {
     _parent = parent;
 }
 private void InitializeClipboardService()
 {
     _clipboardService = new ClipboardService(OnClipboardUpdate);
     _clipboardService.EnableNotifications();
     AddStringToHistoryCollection(_clipboardService.GetClipboardDataItem());
 }