Exemple #1
0
 private void m_OnNewSearched(InterfaceSearchedFile file, int searchID)
 {
     progressbar.Visible = true;
     stSearch.AppendValues(file.Name,file.Size.ToString(),file.Avaibility.ToString(),
                       file.Codec,file.Length.ToString(),file.BitRate.ToString(),
                       file.ResultState.ToString());
     /* Añadir cantidad de resultados */
 }
Exemple #2
0
 private void m_InvokeOnNewSearched(InterfaceSearchedFile file, int searchID)
 {
     AsyncCallback callback=new AsyncCallback(MyCallback);
     SearchFileDelegate d=new SearchFileDelegate(m_OnNewSearched);
     d.BeginInvoke(file,searchID,callback,1);
 }