Esempio n. 1
0
        private void btn_restart_Click(object sender, EventArgs e)
        {
            HubForm hForm = new HubForm(this.hubId);

            hForm.Show();
            this.Close();
        }
Esempio n. 2
0
        private void StartServers()
        {
            this.richText_primaryServer.Text = "Server Started\n";
            var hubs = gameBL.GetHubs();// GetActiveHubMachines();
            //iterate each group
            int i = 1;

            foreach (var hub in hubs)
            {
                HubForm hForm = new HubForm(hub.Id);
                hForm.Show();
                i++;
                richText_primaryServer.AppendText("Hub " + hub.Name + " started\n");
            }
        }