public ArpForm() { InitializeComponent(); ArpForm.instance = this; this.timerStatCount = 0; this.driver = new Driver(); }
private void callbackOnNewPC(PC pc) { object[] objArray = new object[1] { (object)pc }; ArpForm arpForm = this; arpForm.Invoke((Delegate) new delegateOnNewPC(arpForm.AddPc), objArray); Dns.BeginResolve(pc.ip.ToString(), new AsyncCallback(this.EndResolvCallBack), pc); }