/// <summary> /// This will start when clipboard changes. It checks if its text, if it is it will add it to a list. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ClipboardChanged(object sender, EventArgs e) { // Handle your clipboard update here if (Clipboard.ContainsText()) { handler.AddJson(Clipboard.GetText()); } DisplayToListBox(); }