예제 #1
0
        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);
        }
예제 #2
0
 public Loader(ERF erf)
 {
     this.Archive = erf;
 }