public bool GetDataProc(String sFolder, ref DataProc DataP) { DataP=null; foreach (Object obj in _arrDataProc) { DataProc d = (DataProc)obj; if (d != null && d.getFolder() == sFolder) DataP = d; } if (DataP!=null) return false; return true; }
public void AppendNewProcess(String sFolder, String sFileBmp, String sFileJpg, String sLang) { AddLog("New Process in queue"); DataProc data = new DataProc(sFolder, sFileBmp, sFileJpg, sLang); _arrDataProc.Add(data); }