Example #1
0
 private void 加入服务器ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SelectServerHost ssh = new SelectServerHost();
     ssh.ShowDialog();
     if (ssh.selectServiceId != 0)
     {
         h.ServerID = ssh.selectServiceId;
         h.发出_能进否();
         h.clientState = ClientStates.已发_能进否;
     }
 }
Example #2
0
        private void 加入服务器ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SelectServerHost ssh = new SelectServerHost();

            ssh.ShowDialog();
            if (ssh.selectServiceId != 0)
            {
                h.ServerID = ssh.selectServiceId;
                h.发出_能进否();
                h.clientState = ClientStates.已发_能进否;
            }
        }