Hi,
can anyone tell me why must I declare the variables
when usingCode:(string earthVersion, string pluginVersion, string apiVersion)
or there will be a runtime error, whereas I do not need to declare it when I'm using a plugin, like,Code:webBrowserGe.Url = new Uri("http://earthapi.googlepages.com/geToCs.html");
Is it because that the plugin has a declared variables in it? Thanks in advanceCode:private const string PLUGIN_URL = @"http://earth-api-samples.googlecode.com/svn/trunk/demos/desktop-embedded/pluginhost.html"; private void Form1_Load(object sender, EventArgs e) { webBrowser1.Navigate(PLUGIN_URL); webBrowser1.ObjectForScripting = this; }




Reply With Quote