Exemplo n.º 1
0
 void note_NoteSendReceiveStatusChanged(object sender, NoteSendReceiveStatusChangedEventArgs e)
 {
     if (NoteSendReceiveStatusChanged != null)
     {
         NoteSendReceiveStatusChanged(sender, e);
     }
 }
Exemplo n.º 2
0
 private void FormMain_NoteSendReceiveStatusChanged(object sender, NoteSendReceiveStatusChangedEventArgs e)
 {
     try
     {
         var note = sender as PNote;
         if (note == null) return;
         var cpn = _Notes.FirstOrDefault(n => n.Id == note.ID);
         if (cpn == null) return;
         cpn.SentReceived = note.SentReceived;
     }
     catch (Exception ex)
     {
         PNStatic.LogException(ex);
     }
 }