/// <summary>
        /// 获取到服务器IP
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void amtium_GotServerIp(object sender, AmtiumGotServerIpEventArgs e)
        {
            labelStatus.Text = "";
            timer1.Stop();
            m_config.Server = e.Server;

            /* 如果还没获取接入服务 */
            if (this.Services.Length == 0)
            {
                GetServices();
                return;
            }

            /* 显示选项窗口 */
            if (m_isFirstLaunch)
            {
                EnableControls();
                new FormOptions(this).ShowDialog();
                return;
            }

            /* 自动登录 */
            if (checkBoxAutologin.Checked)
            {
                Login();
                return;
            }

            EnableControls();
        }
 protected virtual void OnGotServerIp(AmtiumGotServerIpEventArgs e)
 {
     if (GotServerIp != null)
     {
         mainThreadContext.Post(new SendOrPostCallback((object sender) =>
         {
             GotServerIp(sender, e);
         }), this);
     }
 }