private void SearchButton_Click(object sender, RoutedEventArgs e) { var br = CBrowser.GetBrowser(); foreach (var f in RootFrame.IterateSelfAndChildren()) { var fr = br.GetFrame(f.Identifier); f.SyncObject.ClearHighlight(fr); if (!string.IsNullOrEmpty(MagicTextBox.Text)) { f.SyncObject.Highlight(MagicTextBox.Text, fr); } } }
private void DeveloperToolsButton_Click(object sender, RoutedEventArgs e) { CBrowser.ShowDevTools(); }