How to open google search box in app window in Avalonia UI? #15743
Unanswered
Zakarayaev
asked this question in
Q&A
Replies: 2 comments 7 replies
-
Can you give an example of such search box? Do you mean just opening a google page with search query? |
Beta Was this translation helpful? Give feedback.
2 replies
-
this will open it on the default browser, im not aware of a built in way to doing it tho var query = TextBox.Text.Replace(" ","+")
ProcessStartInfo psi = new ProcessStartInfo("cmd", $"/c start https://www.google.com/search?q={query}")
{
CreateNoWindow = true
};
Process.Start(psi);
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a TextBox and when I click a button, I want to make it so that a window opens with search results for the query that I entered into the textbox. how to do it?
Beta Was this translation helpful? Give feedback.
All reactions