Exemple #1
0
 private void Run()
 {
     if (this.m_ServerEngine.IsRunning())
     {
         toolStripStatusLabel2.Text = Convert.ToString(m_ServerEngine.GetNumClients() + "/" + max_pl);
         toolStripStatusLabel4.Text = RUNNING;
     }
     else
     {
         this.m_ServerEngine.ShutdownHost();
         this.button_Start.Enabled  = true;
         toolStripStatusLabel4.Text = NOT_RUNNING;
     }
 }