Exemple #1
0
        private void FormClient_Load(object sender, EventArgs e)
        {
            ZeemoteListener zeemoteListener = new ZeemoteListener();

            //zeemoteListener.ErrorOccured += new ZeemoteListener.ErrorOccuredEventHandler(zeemoteListener_ErrorOccured);
            zeemoteListener.NewMessage += new ZeemoteListener.MessageEventHandler(zeemoteListener_NewMessage);
            zeemoteListener.Connect();
            Thread.CurrentThread.Priority = ThreadPriority.AboveNormal;
        }
Exemple #2
0
 private void FormClient_Load(object sender, EventArgs e)
 {
     ZeemoteListener zeemoteListener = new ZeemoteListener();
     //zeemoteListener.ErrorOccured += new ZeemoteListener.ErrorOccuredEventHandler(zeemoteListener_ErrorOccured);
     zeemoteListener.NewMessage += new ZeemoteListener.MessageEventHandler(zeemoteListener_NewMessage);
     zeemoteListener.Connect();
     Thread.CurrentThread.Priority = ThreadPriority.AboveNormal;
 }