public void dataextract_SeperateFile(object sender, DoWorkEventArgs e) { ExtrectFileWorker kFileWorker = sender as ExtrectFileWorker; if (kFileWorker == null) { return; } BNSDat.ExtrectFile(kFileWorker.m_kFileStream, kFileWorker.m_kFile, kFileWorker.m_kFilePath); }
public void Compiler(string repackPath, bool is64) { if (repackPath == null) { return; } RunWithWorker(((o, args) => { BNSDat m_bnsDat = new BNSDat(); new BNSDat().Compress(repackPath, (number, of) => { richOut.Text = "Compressing Files: " + number + "/" + of; }, is64, 9); })); }