public static string clipboardText_Get(this object _object) { var sync = new AutoResetEvent(false); string clipboardText = null; O2Thread.staThread( () => { clipboardText = O2Forms.getClipboardText(); sync.Set(); }); sync.WaitOne(2000); return(clipboardText); }