private void timer_Clipboard_Tick(object sender, EventArgs e) { if (DictionaryClipboard.HasContent()) { DictionaryClipboard.SetClipboadText(); } else { } }
public void SearchStatus(Label label1, TextBox textbox1) { if (DictionaryClipboard.HasContent() == true && !TypingInTextBox) {//if the ClipBoard has text, clear text box display the words found from the clipBoard textbox1.Text = ""; label1.Text = "Searching... " + ActiveDictionary.ActiveSearchList.Count() + " Words found"; } else if (TypingInTextBox) { if (textbox1.Text == "") { label_Status.Text = ""; } else { label_Status.Text = "Searching... " + ActiveDictionary.ActiveSearchList.Count() + " Words found"; } } }