private void holdButton_Click(object sender, EventArgs e) { if (call != null) { call.ToggleHold(); } }
void btn_Hold_Click(object sender, EventArgs e) { if (_call != null) { _call.ToggleHold(); } }
/// <summary> /// Puts the call on hold when both parties are communicating. The call cannot be put on hold while it is not answered. /// Takes the call off hold when the call is locally on hold. /// </summary> public void HoldCall() { if (_call != null) { _call.ToggleHold(); } }
private void btnEnviarTransf_Click(object sender, EventArgs e) { _call.ToggleHold(); _call.AttendedTransfer(_call2); InvokeGUIThread(() => { btnEnviarTransf.Visible = false; btnTransfer.Visible = true; }); }