Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
if (CropImage == true)
           {
               rect = null;
               picmain.Refresh();
                   rect = new UserRect(new Rectangle( -1,-1,0,0));
               rect.SetPictureBox(picmain);
               CropImage = false;
               cmnucropimg.Hide();
           }
 
           else
           { rect = null;
                    if (UserRect.Width <= 5)
               {
                   picmain.Refresh();
                   rect = new UserRect(new Rectangle(150, 150, 100, 100));
                   rect.SetPictureBox(picmain);
               }
 
               CropImage = true;
               //  picmain.Cursor = Cursors.Cross;
           }
         EditImage = false;
       
Posted 1-Dec-12 0:57am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Follow this link
 
Cropping Images[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Shai Vashdi 576
1 Sergey Alexandrovich Kryukov 230
2 Tadit Dash 215
3 OriginalGriff 183
4 Peter Leow 130
0 Sergey Alexandrovich Kryukov 9,325
1 OriginalGriff 5,473
2 Peter Leow 4,150
3 Maciej Los 3,540
4 Abhinav S 3,333


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 1 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid