protected override void OnHandleCreated(EventArgs e) { base.OnHandleCreated(e); clipboardWatcher = new ClipboardWatcher(Handle); clipboardWatcher.RegisterClipboardViewer(); clipboardWatcher.ClipboardChanged += ClipboardWatcher_ClipboardChanged; }