private void Send() { if (cmd_txt.Text.Length > 0) { _connection.Send(cmd_txt.Text); } }
private void timer_Tick(object sender, EventArgs e) { _connection.Send("/capture"); }