private void _btnPickup_Click(object sender, EventArgs e) { ITapiCall tc = CurrentAddress.Pickup(_tbNumber.Text, null); ActiveCallForm acf = new ActiveCallForm(tc); acf.Show(); }
private void _btnUnpark_Click(object sender, EventArgs e) { ITapiCall tc = CurrentAddress.Unpark(_tbNumber.Text); ActiveCallForm acf = new ActiveCallForm(tc); acf.Show(); }
private void btnSetupTransfer_Click(object sender, EventArgs e) { TapiCall newCall = _call.SetupTransfer(null); if (newCall != null) { ActiveCallForm acf = new ActiveCallForm(newCall); acf.Show(); } }
private void OnNewCall(object sender, NewCallEventArgs e) { if (InvokeRequired == true) { this.BeginInvoke(new EventHandler <NewCallEventArgs>(this.OnNewCall), new object[] { sender, e }); return; } ActiveCallForm acf = new ActiveCallForm(e.Call); acf.Show(); }