Inheritance: System.Windows.Forms.Form
Beispiel #1
0
 private void rotateToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Rotate rotateForm = new Rotate();
     if (rotateForm.ShowDialog() == DialogResult.OK)
     {
         UCAdd(ImageBoxInApp.Image);
         System.Drawing.Bitmap image = (Bitmap)ImageBoxInApp.Image;
         ImageBoxInApp.Image = image.rotate(rotateForm.Degrees);
         adjustWindow(image.Width, image.Height);
         RChanges.Clear();
     }
 }