Exemple #1
0
        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);
        }
Exemple #2
0
 private Image HWImageCalibration(Bitmap image, int w, int h)
 {
     imageheighwightcalibration = new ImageHeightWightCalibration();
     return(imageheighwightcalibration.ScaleImage(image, w, h));
 }