public void call_Ended(object sender, CallEndedEventArgs e) { Call call = (Call)sender; // Called to report that call has ended. // Add code here to update the UI as appropriate. Console.WriteLine("Llamada Terminada"); mainForm.call_status_lbl.Text = "Llamada Finalizada"; }
private static void Modem_CallEnded(object sender, CallEndedEventArgs e) { Console.WriteLine($"Call ended. Duration: {e.Duration}"); }