public void ShowSaveProgress( IWin32Window owner, Stream archive, ArchiveTableFile table, List <uint> saving, ProjectData.HashList <uint> fileNames, string basePath, SaveAllSettings settings) { SaveAllInformation info; info.BasePath = basePath; info.Archive = archive; info.Table = table; info.Saving = saving; info.FileNames = fileNames; info.Settings = settings; this.progressBar.Value = 0; this.progressBar.Maximum = 100; this._SaveThread = new Thread(this.SaveAll); this._SaveThread.Start(info); this.ShowDialog(owner); }
public void ShowSaveProgress( IWin32Window owner, Stream stream, BigFile archive, IEnumerable <BigFile.Entry> saving, Dictionary <uint, string> fileNames, string basePath, SaveAllSettings settings) { SaveAllInformation info; info.BasePath = basePath; info.Stream = stream; info.Archive = archive; info.Saving = saving; info.FileNames = fileNames; info.Settings = settings; this.progressBar.Value = 0; this.progressBar.Maximum = 100; this.SaveThread = new Thread(new ParameterizedThreadStart(SaveAll)); this.SaveThread.Start(info); this.ShowDialog(owner); }
public void ShowSaveProgress( IWin32Window owner, Stream stream, ERF archive, IEnumerable <ERF.Entry> saving, ProjectData.HashList <ulong> fileNames, ProjectData.HashList <uint> typeNames, string basePath, SaveAllSettings settings) { this.Info.BasePath = basePath; this.Info.Stream = stream; this.Info.Archive = archive; this.Info.Saving = saving; this.Info.FileNames = fileNames; this.Info.TypeNames = typeNames; this.Info.Settings = settings; this.progressBar.Value = 0; this.progressBar.Maximum = 100; this.SaveThread = new Thread(new ParameterizedThreadStart(SaveAll)); this.ShowDialog(owner); }
public void TestSetup() { systemUnderTest = new SaveAllSettings(); }
public void ShowSaveProgress( IWin32Window owner, Stream stream, BigFile archive, IEnumerable<BigFile.Entry> saving, Dictionary<uint, string> fileNames, string basePath, SaveAllSettings settings) { SaveAllInformation info; info.BasePath = basePath; info.Stream = stream; info.Archive = archive; info.Saving = saving; info.FileNames = fileNames; info.Settings = settings; this.progressBar.Value = 0; this.progressBar.Maximum = 100; this.SaveThread = new Thread(new ParameterizedThreadStart(SaveAll)); this.SaveThread.Start(info); this.ShowDialog(owner); }