private void button1_Click(object sender, EventArgs e) { evtchr = new EVTCHR(File.ReadAllBytes(@"Resources\EVENT\EVTCHR.BIN")); Bitmap b = new Bitmap(evtchr[0].Width, evtchr[0].Height); pictureBox1.Image = b; numericUpDown1.Enabled = true; numericUpDown2.Enabled = true; BackgroundWorker bw = new BackgroundWorker(); bw.WorkerReportsProgress = true; bw.WorkerSupportsCancellation = true; set = FullSpriteSet.FromPsxISO(@"N:\dev\fft\images\fft-usa.bin", bw); numericUpDown2_ValueChanged(numericUpDown1, EventArgs.Empty); }
private void button1_Click( object sender, EventArgs e ) { evtchr = new EVTCHR(File.ReadAllBytes(@"Resources\EVENT\EVTCHR.BIN")); Bitmap b = new Bitmap(evtchr[0].Width, evtchr[0].Height); pictureBox1.Image = b; numericUpDown1.Enabled = true; numericUpDown2.Enabled = true; BackgroundWorker bw = new BackgroundWorker(); bw.WorkerReportsProgress = true; bw.WorkerSupportsCancellation = true; set = FullSpriteSet.FromPsxISO(@"N:\dev\fft\images\fft-usa.bin", bw); numericUpDown2_ValueChanged(numericUpDown1, EventArgs.Empty); }