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; }
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); }
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; }