static void Start() { lock (typeof(ClipboardWatcher)) { if (!started) { started = true; ThreadPool.QueueUserWorkItem(_ => { try { Debug.Assert(dialog == null); dialog = new ClipboardWatcher(); dialog.Activated += delegate { WindowHandle = dialog.Handle; }; dialog.ShowDialog(); } catch { } }); } } }