示例#1
0
 public ArpForm()
 {
     InitializeComponent();
     ArpForm.instance    = this;
     this.timerStatCount = 0;
     this.driver         = new Driver();
 }
示例#2
0
        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);
        }