예제 #1
0
        // Send message to Testharness server
        private void Send_Click(object sender, RoutedEventArgs e)
        {
            msg.add("to", to_string);
            msg.add("from", from_string);
            msg.add("name", tq_name.Text.ToString());
            msg.add("author", tq_author.Text.ToString());
            msg.add("command", "testReq");

            update_status("Sending test request to Test Harness server @" + to_string);

            if (translater.postMessage(msg))
            {
                update_status("Sending Request done!");
            }

            msg.clear();
        }