예제 #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;
        }
예제 #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);
        }
예제 #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;
        }