Ejemplo n.º 1
0
        private string GetSiteUrlAndName(out string siteName)
        {
            using (Setup.SelectSiteAndUrlDialog dlg = new Setup.SelectSiteAndUrlDialog(this.Module, this.Connection))
            {
                if (ShowDialog(dlg) == DialogResult.OK)
                {
                    siteName = dlg.SiteName;
                    return dlg.SelectedUrl;
                }
            }

            siteName = string.Empty;
            return null;
        }
Ejemplo n.º 2
0
        private string GetSiteUrlAndName(out string siteName, out string relativePath)
        {
            using (var dlg = new Setup.SelectSiteAndUrlDialog(Module, Connection))
            {
                if (ShowDialog(dlg) == DialogResult.OK)
                {
                    siteName     = dlg.SiteName;
                    relativePath = dlg.RelativePath;
                    return(dlg.SelectedUrl);
                }
            }

            siteName     = string.Empty;
            relativePath = String.Empty;
            return(null);
        }
Ejemplo n.º 3
0
        private string GetSiteUrlAndName(out string siteName, out string relativePath)
        {
            using (var dlg = new Setup.SelectSiteAndUrlDialog(Module, Connection))
            {
                if (ShowDialog(dlg) == DialogResult.OK)
                {
                    siteName = dlg.SiteName;
                    relativePath = dlg.RelativePath;
                    return dlg.SelectedUrl;
                }
            }

            siteName = string.Empty;
            relativePath = String.Empty;
            return null;
        }