private void OnFileConfirmed(object sender, ControlCommandOccuredEventArgs e) { addReceivedMessageToUI(new TextMessage() { text = "file confirmed event fired" }); }
private void OnContactUpdateReceived(object sender, ControlCommandOccuredEventArgs e) { var contact = getContactFromReceivedData(e.data); contact.currentIp = e.id; ContactsStore.getInstance().addContact(contact.mac, contact); }
private void OnFileComming(object sender, ControlCommandOccuredEventArgs e) { FileMessageBubble bbl = addReceivedFileMessageToUI(new FileMessage() { time = DateTime.Now }); ShowBubble(bbl); // middleController.fileShareController.transferManager.isAudioComming = false; }
private void OnAudioComming(object sender, ControlCommandOccuredEventArgs e) { AudioMessageBubble bbl = addReceivedAudioMessageToUI(new AudioMessage() { time = DateTime.Now }); ShowAudioBubble(bbl); middleController.fileShareController.transferManager.isAudioComming = true; }
private void OnFileRejected(object sender, ControlCommandOccuredEventArgs e) { tempSelectedFile = null; }