Пример #1
0
 private void timer_Clipboard_Tick(object sender, EventArgs e)
 {
     if (DictionaryClipboard.HasContent())
     {
         DictionaryClipboard.SetClipboadText();
     }
     else
     {
     }
 }
Пример #2
0
 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";
         }
     }
 }