Esempio n. 1
0
        private void computerInfoGet_bt_Click(object sender, EventArgs e)
        {
            TreeNode tn = trv_HostView.SelectedNode;

            if (tn != null && tn.Tag != null)
            {
                GeneralControler.GetComputerInfo(tn.Tag);
            }
            else
            {
                MessageBox.Show("当前主机已经断开了连接,请移除它,然后再连接");
            }
        }