C # also has this bug?

xiaoxiao2021-03-06  104

Let's see this code:

C # 1.0

Private void button1_click (object sender, system.eventargs e) {string strw = textbox1.text; this.axwebbrowser1.navigate (strw); // incorrect}

C # 2.0

Private void button1_click (object sender, system.eventargs e) {string strw = textbox1.text; this.axwebbrowser1.navigate (strw);}

If you have introduced the Web Browser COM control, compile errors in C # !. 0, but in C # 2005 is correct. I don't know if this is bug, but I have tried many times in various ways.

This problem still exists!!

Welcome everyone to correct!!!

转载请注明原文地址:https://www.9cbs.com/read-124308.html

New Post(0)