Is it possible to transfer the searched value with the textbox change event to textboxes by clicking automatically on it ? If it is possible, how can we do it?
Clicking automatically the result serached by textbox cganged event
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit MohantyRank #112 · 20K reputationPosted Jan 31, 2024, 9:06 AM EST
Yes, it's possible to automatically transfer the searched value from a TextBox to other textboxes by triggering an event when the text in the TextBox changes.
public MainForm() { InitializeComponent(); // Attach the TextChanged event handler to the search TextBox searchTextBox.TextChanged += SearchTextBox_TextChanged; } private void SearchTextBox_TextChanged(object sender, EventArgs e) { string searchedValue = searchTextBox.Text; textbox1.Text = searchedValue; textbox2.Text = searchedValue; }Mehmet FatihRank #1,475 · 1.1K reputationPosted Jan 31, 2024, 9:21 AM EST
Thans Amit.