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