MessageBox.Show("被监控的客户端IP地址不允许空", "确信正确", MessageBoxButtons.OK);
return;
}
Program.order_string = "CLOSEPC";
rev_thread.send_monitor_to_client(comboBox1.Text, textBox1.Text);
}
private void button6_Click(object sender, EventArgs e)
{
if (textBox1.Text.Length < 5)
{
MessageBox.Show("被监控的客户端IP地址不允许空", "确信正确", MessageBoxButtons.OK );
return;
}
Program.order_string = "RESTART";
rev_thread.send_monitor_to_client(comboBox1.Text, textBox1.Text);
}
private void button7_Click(object sender, EventArgs e)
{
if (textBox1.Text.Length < 5)
{
MessageBox.Show("被监控的客户端IP地址不允许空", "确信正确", MessageBoxButtons.OK);
return;
}
Program.order_string = "NO LINK";
rev_thread.send_monitor_to_client(comboBox1.Text, textBox1.Text);
}
private void button8_Click(object sender, EventArgs e)
{
if (textBox1.Text.Length < 5)
{
|