private void ProcessCallInvite(PacketData data) { if (PacketInStack(data) == false) { if (data.ToHashAddress == main.tbHashAddress.Text) { CallData myCall = new JavaScriptSerializer().Deserialize <CallData>(data.Data); callForm = new CallForm(main, myCall); main.ShowCallForm(callForm); } else { main.network.SendPacketToAllNodes(data, data.FromNodeAddress); } } }
public void ShowCallForm(CallForm callForm) { Application.Run(callForm); }
public VoiceConnection(CallForm callForm) { this.callForm = callForm; }
private void btCall_Click(object sender, EventArgs e) { CallForm call = new CallForm(this); call.Show(); }
public CallManager(Main main, CallForm callForm, string toAddress) { this.main = main; this.callForm = callForm; this.toAddress = toAddress; }