public void Navigate(string Url)
{
if (loaded)
{
// prepend with "http://" if url not well formed
if (!Uri.IsWellFormedUriString(Url, UriKind.Absolute))
Url = "http://" + Url;
activationContext.Activate();
WebMutableURLRequest request = new WebMutableURLRequestClass();
request.initWithURL(Url, _WebURLRequestCachePolicy.WebURLRequestUseProtocolCachePolicy, 60);
request.setHTTPMethod("GET");
webView.mainFrame().loadRequest(request);
activationContext.Deactivate();
}
else
{
initialUrl = Url == "" ? null : new Uri(Url);
}
}