using OpenCvSharp; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MaiMuAOI.SysUI.DefectPicShow { public partial class CamImageFrm : Form { public CamImageFrm(Mat img, Bitmap bp) { InitializeComponent(); UIStyle.SetUIStyle(this); this.uiTitel1.FatherForm = this; this.imageBox1.RefreshWindow(img); this.pictureBox1.Image = bp; this.Refresh(); } } }