المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : problem: webBrowser1.Navigate OR the loaded page? - for a jumping cursor.



C# Programming
09-22-2013, 10:06 PM
For each (char)character I wrote in textBox1, the webBrowser1.Navigate is fired.
The problem is that the mouse cursor JUMP from my textbox1 into webBrowser1, and I don't figure out WHY is doing that on this PARTICULAR PAGE(see code). On other pages i see is working fine, but here, is going nuts. I think is (part) because of the webBrowser1.Navigate method, and (part) because of the page. I need help on this matter. Its impossible for me to resolve it.

private void textBox1_TextChanged(object sender, EventArgs e)
{
webBrowser1.Navigate("http://translate.google.com/?hl=en&tab=wT#en|ro|" + textBox1.Text);
}
Thanks.