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

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