Example #1
0
        //连接所有安装服务端的主机
        private void 所有主机AToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ScreenTimer.Enabled = false;
            frm_ConnectAll Connection = new frm_ConnectAll();
            DialogResult   result     = Connection.ShowDialog();

            if (result == DialogResult.OK)
            {
                if (!GeneralControler.ConnectAll(Connection.StartIP, Connection.EndIP))
                {
                    MessageBox.Show("不能建立连接!");
                }
            }
        }
Example #2
0
 //�������а�װ����˵�����
 private void ��������AToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ScreenTimer.Enabled = false;
     frm_ConnectAll Connection = new frm_ConnectAll();
     DialogResult result = Connection.ShowDialog();
     if (result == DialogResult.OK)
     {
         if (!GeneralControler.ConnectAll(Connection.StartIP, Connection.EndIP))
             MessageBox.Show("���ܽ�������!");
     }
 }