Beispiel #1
0
        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 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);
            }
        }