Beispiel #1
0
 private void DomainNameCTRL_HostConnected(object sender, SelectHostCtrlEventArgs e)
 {
     try
     {
         m_domain = e.Hostname;
         HostsCTRL.Initialize(m_domain);
         m_hostname    = null;
         OkBTN.Enabled = false;
     }
     catch (Exception exception)
     {
         GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
     }
 }
Beispiel #2
0
 private void HostNameCTRL_HostConnected(object sender, SelectHostCtrlEventArgs e)
 {
     try
     {
         m_hostname = e.Hostname;
         ServersCTRL.Initialize(m_hostname, m_configuration);
         m_server      = null;
         OkBTN.Enabled = false;
     }
     catch (Exception exception)
     {
         GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
     }
 }