コード例 #1
0
        private void RefreshPictureBox(bool forceReload = false)
        {
            AbstractImage im = GetImageFromComboBoxItem();

            AssignNewPictureBoxImage(im.GetImageFromIso(iso, forceReload));
            imageSizeLabel.Text = string.Format("Image dimensions: {0}x{1}", im.Width, im.Height);
        }
コード例 #2
0
 public void RefreshPictureBox(bool forceReload = false)
 {
     if (comboBox1.SelectedItem != null)
     {
         AbstractImage im          = GetImageFromComboBoxItem();
         Bitmap        image       = im.GetImageFromIso(iso, forceReload);
         Bitmap        zoomedImage = zoom.GetZoomedBitmap(image);
         AssignNewPictureBoxImage(zoomedImage);
         imageSizeLabel.Text = string.Format("Image dimensions: {0}x{1}", im.Width, im.Height);
     }
 }