private void button1_Click(object sender, EventArgs e) { if (_latestFrame == null) return; parser = new BMPParser((Bitmap)_latestFrame.Clone()); Bitmap compareResult = parser.ComparseBMP((Bitmap)_latestFrame.Clone()); compareResultForm = new CompareSetting(); compareResultForm.SetShowBMP(compareResult); compareResultForm.SetBaseBMP(parser.BasicBMP); timer1.Start(); compareResultForm.ShowDialog(); }
private void btn_SetBase_Click(object sender, EventArgs e) { parser = new BMPParser((Bitmap)_latestFrame.Clone()); }