public Saving(FileStream newRPF, RPFLib.RPF6.File file) { InitializeComponent(); newRPFStream = newRPF; rpfFile = file; backgroundWorker1.WorkerSupportsCancellation = true; backgroundWorker1.WorkerReportsProgress = true; backgroundWorker1.DoWork += new DoWorkEventHandler(bgWorker_DoWork); backgroundWorker1.ProgressChanged += new ProgressChangedEventHandler(bgWorker_ProgressChanged); backgroundWorker1.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bgWorker_RunWorkerCompleted); }
public Saving(FileStream newRPF, RPFLib.RPF6.File file) { InitializeComponent(); newRPFStream = newRPF; rpfFile = file; backgroundWorker1.WorkerSupportsCancellation = true; backgroundWorker1.WorkerReportsProgress = true; backgroundWorker1.DoWork += new DoWorkEventHandler(bgWorker_DoWork); backgroundWorker1.ProgressChanged += new ProgressChangedEventHandler(bgWorker_ProgressChanged); backgroundWorker1.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bgWorker_RunWorkerCompleted); }