Exemple #1
0
 public DataEventCollection EndFindField1(IAsyncResult data)
 {
     if (data is FindCallbackData)
     {
         FindCallbackData find = data as FindCallbackData;
         find.AsyncWaitHandle.WaitOne();
         return(find.AsyncState as DataEventCollection);
     }
     return(new DataEventCollection());
 }
Exemple #2
0
        private void FindCallback(object eventdata)
        {
            FindCallbackData find = eventdata as FindCallbackData;

            find.Find();
        }