private void ResultText_DoubleClick(object sender, EventArgs e) { try { Clipboard.SetDataObject(resultText.Text); show1 = new ShowCopy(ShowText); IAsyncResult ar = show1.BeginInvoke(null, null); } catch { }; }
private void ResultTempList_MouseDoubleClick(object sender, MouseEventArgs e) { try { Clipboard.SetDataObject(Convert.ToString(resultTempList.SelectedItem)); show1 = new ShowCopy(ShowText); IAsyncResult ar = show1.BeginInvoke(null, null); } catch { }; }