public ApplicationDescription ShowDialog(string hostname, ApplicationConfiguration configuration)
{
m_configuration = configuration;
if (String.IsNullOrEmpty(hostname))
{
hostname = System.Net.Dns.GetHostName();
}
m_hostname = hostname;
List<string> hostnames = new List<string>();
HostNameCTRL.Initialize(hostname, hostnames);
ServersCTRL.Initialize(hostname, configuration);
OkBTN.Enabled = false;
if (ShowDialog() != DialogResult.OK)
{
return null;
}
return m_server;
}
#endregion