예제 #1
0
 void Completion_BeforeShowingCompletionList(BeforeShowingCompletionListEventArgs e)
 {
     if (!Completion.CanShowForPrefix(this.Text))
     {
         e.Cancel = true;
     }
 }
예제 #2
0
 private bool FilterInvalidPrefixChars(char c)
 {
     if (MyTextBox.Text.Length > 0)
     {
         return(true);
     }
     return(Completion.CanShowForPrefix(c.ToString()));
 }