Exemplo n.º 1
0
        public EditForm(Bitmap image)
        {
            InitializeComponent();

            this.Icon = Icon.FromHandle(PhotoEditor.Properties.Resources.PhotoEditorIcon.GetHicon());

            pictureBox.Image = originalImage = CurrentImage = image;

            progressDialog = new TransformDialog(image.Height * image.Width);
            progressDialog.TransformationCancelled += TransformCancelled;
        }
Exemplo n.º 2
0
        public EditForm(Bitmap image)
        {
            InitializeComponent();

            this.Icon = Icon.FromHandle(PhotoEditor.Properties.Resources.PhotoEditorIcon.GetHicon());

            pictureBox.Image = originalImage = CurrentImage = image;


            progressDialog = new TransformDialog(image.Height * image.Width);
            progressDialog.TransformationCancelled += TransformCancelled;
        }