Check if clipboard has data, paste into textbox

trying to paste the data gathered from the clipboard in a textbox (C#)


if (Clipboard.ContainsText(TextDataFormat.Html)) { returnHtmlText = Clipboard.GetText(TextDataFormat.Html); Clipboard.SetText(replacementHtmlText, TextDataFormat.Html); }

0 comments:

Post a Comment