Пример #1
0
 private void PreLoaderDoWork(object sender, DoWorkEventArgs e)
 {
     for (int i = 0; i < Gumps.GetCount(); ++i)
     {
         Gumps.GetGump(i);
         PreLoader.ReportProgress(1);
     }
 }
Пример #2
0
 private void PreLoaderDoWork(object sender, DoWorkEventArgs e)
 {
     foreach (int item in ItemList)
     {
         Art.GetStatic(item);
         PreLoader.ReportProgress(1);
     }
 }