Esempio n. 1
0
 private static void StartUpService()
 {
     try
     {
         pipeMessageData <object> message = new pipeMessageData <object>();
         message.Type = pipeMessageType.StartRemote;
         pipeMessage pipe = new pipeMessage();
         pipe.SendRequest(message);
     }
     catch (Exception)
     {
     }
 }
Esempio n. 2
0
        private void Pipes_onMessage(object sender, pipeMessageData <object> e)
        {
            try
            {
                switch (e.Type)
                {
                case pipeMessageType.StartRemote:
                    this.StartupRemoteWindow();
                    break;

                default:
                    break;
                }
            }
            catch (Exception)
            {
            }
        }