Ejemplo n.º 1
0
 //}}}
 public void   ClientServerGetOnLine() // {{{
 {
     log("COMM", "ServerForm.ClientServerGetOnLine");
     Server.Start();
     if (MainFormInstance != null)
     {
         MainFormInstance.set_connection_state("ServerForm.ClientServerGetOnLine");
     }
     update_COMM_DASH();
     control_start.TextBox.ForeColor = control_start.ForeColor;
 }
Ejemplo n.º 2
0
        //}}}
        public void   ClientServerGetOnLine() // {{{
        {
            log("COMM", "DesignerForm.ClientServerGetOnLine");

            connect();

            // try again if server has just been successfully launched
            if (!connected && server_checked)
            {
                log("COMM", "DesignerForm.ClientServerGetOnLine [server has been launched] .. trying one more time");
                connect();
            }
            if (MainFormInstance != null)
            {
                MainFormInstance.set_connection_state("DesignerForm.ClientServerGetOnLine");
            }
            update_COMM_DASH();
            control_start.TextBox.ForeColor = control_start.ForeColor;
        }