public KmlDialog RenderServerImage() { KmlDialog dialog = new KmlDialog(); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { RenderServerImage(dialog.ServerName, dialog.VisibleLayers); return(dialog); } return(null); }
sealed override public object[] Load() { KmlDialog dialog = new KmlDialog(); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { return(Load(dialog.ServerName)); } return(null); }
public void AddServerImage() { KmlDialog retval = provider.RenderServerImage(); if (retval != null) { lblServerName.Content = retval.ServerName; serverName = retval.ServerName; visibleLayers = retval.VisibleLayers; if (MapGenerated != null) { MapGenerated(this, new EventArgs()); } } }
public object[] LoadKml() { KmlDialog dialog = new KmlDialog(); object[] kmlfile = null; if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { kmlfile = LoadKml(dialog.ServerName); return(kmlfile); } else { return(null); } }
public KmlDialog RenderServerImage() { KmlDialog dialog = new KmlDialog(); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { RenderServerImage(dialog.ServerName, dialog.VisibleLayers); return dialog; } return null; }
public void LoadKml() { KmlDialog dialog = new KmlDialog(); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { LoadKml(dialog.ServerName); } }