Open() public méthode

Opens the an existing search panel.
public Open ( ) : void
Résultat void
 void ExecuteFind(object sender, ExecutedRoutedEventArgs e)
 {
     panel.Open(false);
     if (!(TextArea.Selection.IsEmpty || TextArea.Selection.IsMultiline))
     {
         panel.SearchPattern = TextArea.Selection.GetText();
     }
     Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Input, (Action) delegate { panel.Reactivate(); });
 }
Exemple #2
0
 public void Open()
 {
     panel.Open();
     panel.SearchPattern = TextArea.Selection.GetText();
     Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Input, (Action) delegate { panel.Reactivate(); });
 }
Exemple #3
0
 void ExecuteFind(object sender, ExecutedRoutedEventArgs e)
 {
     panel.Open();
     panel.SearchPattern = TextArea.Selection.GetText();
     Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Input, (Action) delegate { panel.Reactivate(); });
 }