Ejemplo n.º 1
0
        // 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);
            }
        }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
 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);
     }
 }