// Actions performed by GUI public static void RemoteStartZLeaf(object sender, EventArgs e) { foreach (ConnectionTable.ClientInformation clientInformation in _connectionTable.GetChecked()) { TraceOps.Out(clientInformation.GetName()); var p = new string[, ] { { }, { } }; var m = new PaceCommon.Message(p, true, "start_zleaf", clientInformation.GetName()); _messageQueue.SetMessage(m); } }
public static void OpenBrowser(object sender, EventArgs e) { var clientInformations = _connectionTable.GetChecked(); foreach (ConnectionTable.ClientInformation clientInformation in clientInformations) { var p = new string[, ] { }; var m = new Message(p, true, "open_browser", clientInformation.GetName()); _messageQueue.SetMessage(m); } }
public static void RemoteStartProcess(object sender, EventArgs e) { foreach (ConnectionTable.ClientInformation clientInformation in _connectionTable.GetChecked()) { var p = new string[, ] { { "fileName", "" }, { "arguments", "" } }; var m = new Message(p, true, "start_process", clientInformation.GetName()); _messageQueue.SetMessage(m); } }