public GoogleMapsWidget() { InitializeComponent(); _googleFile = Path.Combine(Path.GetTempPath(), "google.html"); _configuration = new MapConfiguration(); }
public GoogleMapsWidget() { InitializeComponent(); _webBrowser = new WebBrowser { ScrollBarsEnabled = false }; _webBrowser.FileDownload += _webBrowser_FileDownload; _formHost.Child = _webBrowser; _configuration = new MapConfiguration(); _tempFile = Path.GetTempFileName()+".html"; BuildHTML(); }