public void Resultboxaddcreate(Object Sender, PacketRecievedEventArgs e) { if (!InvokeRequired) { ResultBox.Items.Insert(0, e.PD.ToString()); return; } BeginInvoke(new Resultboxadd(Resultboxaddcreate), new object[] { Sender, e }); }
public void Resultboxaddcreate(Object Sender, PacketRecievedEventArgs e) { if (!InvokeRequired) { ResultBox.Items.Insert(0, e.PD.ToString()); return;} BeginInvoke(new Resultboxadd(Resultboxaddcreate), new object[] {Sender, e}); }
public void fire(IPData PD) { PacketRecievedEventArgs PRE = new PacketRecievedEventArgs(PD); PREvent(this, PRE); }