Ejemplo n.º 1
0
 /// <summary>
 /// Executes OnIncammingCallAction
 /// </summary>
 /// <param name="sender">Port rised event</param>
 /// <param name="e">CallEventArgs object</param>
 public void OnIncommingCall(object sender, CallEventArgs e)
 {
     if (OnIncommingCallAction != null)
     {
         OnIncommingCallAction(this);
     }
 }
Ejemplo n.º 2
0
 //Event handler for subscriber is colling to someone
 public void OnOutgoingCall(object sender, CallEventArgs e)
 {
     PhoneNumberInfo = e.PhoneNumber;
     this.State      = PortState.OutgoingCall;
 }