Exemple #1
0
 private void OnFileConfirmed(object sender, ControlCommandOccuredEventArgs e)
 {
     addReceivedMessageToUI(new TextMessage()
     {
         text = "file confirmed event fired"
     });
 }
Exemple #2
0
        private void OnContactUpdateReceived(object sender, ControlCommandOccuredEventArgs e)
        {
            var contact = getContactFromReceivedData(e.data);

            contact.currentIp = e.id;
            ContactsStore.getInstance().addContact(contact.mac, contact);
        }
Exemple #3
0
        private void OnFileComming(object sender, ControlCommandOccuredEventArgs e)
        {
            FileMessageBubble bbl = addReceivedFileMessageToUI(new FileMessage()
            {
                time = DateTime.Now
            });

            ShowBubble(bbl);
//            middleController.fileShareController.transferManager.isAudioComming = false;
        }
Exemple #4
0
        private void OnAudioComming(object sender, ControlCommandOccuredEventArgs e)
        {
            AudioMessageBubble bbl = addReceivedAudioMessageToUI(new AudioMessage()
            {
                time = DateTime.Now
            });

            ShowAudioBubble(bbl);
            middleController.fileShareController.transferManager.isAudioComming = true;
        }
Exemple #5
0
 private void OnFileRejected(object sender, ControlCommandOccuredEventArgs e)
 {
     tempSelectedFile = null;
 }