Exemple #1
0
 void HandleNbFound(object sender, EventArgs e)
 {
     NBFinder nb = sender as NBFinder;
     if (nb == null) return;
     NbInfo nb_info = new NbInfo { Addresses = nb.FoundDevices, ConfigRecords = nb.FoundConfigRecords };
     _bgWorker.ReportProgress(0, nb_info);
 }
Exemple #2
0
 void HandleProgressChanged(object sender, ProgressChangedEventArgs e)
 {
     FoundNbInfo = (NbInfo)e.UserState;
     RaiseNbInfoFoundEvent();       
 }