private void AddPicktureBox(string fileurl) { findfileanddownload = new FindFileAndDownload(); imageheightwightcalibration = new ImageHeightWightCalibration(); pickturebox = new PictureBox(); pickturebox.Size = new Size(108, 108); pickturebox.Location = new Point(1, 1); pickturebox.Image = imageheightwightcalibration.ScaleImage(findfileanddownload.fileFind(fileurl), 108, 108); this.Controls.Add(pickturebox); }
private Image HWImageCalibration(Bitmap image, int w, int h) { imageheighwightcalibration = new ImageHeightWightCalibration(); return(imageheighwightcalibration.ScaleImage(image, w, h)); }