Ejemplo n.º 1
0
 private void ImageProcessing_Load(object sender, EventArgs e)
 {
     imageHandler.CurrentBitmap = currentEditingPicture.PictureBitmap;
     imageHandler.BitmapPath = currentEditingPicture.Path;
     this.AutoScroll = true;
     this.AutoScrollMinSize = new Size(Convert.ToInt32(imageHandler.CurrentBitmap.Width * zoomFactor), Convert.ToInt32(imageHandler.CurrentBitmap.Height * zoomFactor));
     this.Invalidate();
     menuItemImageInfo.Enabled = true;
     ImageInfo imgInfo = new ImageInfo(imageHandler);
     imgInfo.Show();
 }
Ejemplo n.º 2
0
 private void menuItemOpen_Click(object sender, EventArgs e)
 {
     if (DialogResult.OK == oDlg.ShowDialog())
     {
         imageHandler.CurrentBitmap = (Bitmap)Bitmap.FromFile(oDlg.FileName);
         imageHandler.BitmapPath = oDlg.FileName;
         this.AutoScroll = true;
         this.AutoScrollMinSize = new Size(Convert.ToInt32(imageHandler.CurrentBitmap.Width * zoomFactor), Convert.ToInt32(imageHandler.CurrentBitmap.Height * zoomFactor));
         this.Invalidate();
         menuItemImageInfo.Enabled = true;
         ImageInfo imgInfo = new ImageInfo(imageHandler);
         imgInfo.Show();
     }
 }
Ejemplo n.º 3
0
 private void menuItemImageInfo_Click(object sender, EventArgs e)
 {
     ImageInfo imgInfo = new ImageInfo(imageHandler);
     imgInfo.Show();
 }
Ejemplo n.º 4
0
        private void menuItemImageInfo_Click(object sender, EventArgs e)
        {
            ImageInfo imgInfo = new ImageInfo(imageHandler);

            imgInfo.Show();
        }