private void clipboardMonitor1_ClipboardChanged(object sender, ClipboardChangedEventArgs e) { if (e.DataObject.GetDataPresent(DataFormats.UnicodeText)) { text = (string)e.DataObject.GetData(DataFormats.UnicodeText); setLabelText(); } else { text = ""; clipboardLabel.Text = noTextMessage; } }