Пример #1
0
 /// <summary>
 ///  Rotación de 90
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ºToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         ImageForm Image1 = (ImageForm)ActiveMdiChild;
         ImageForm ImageRotation = new ImageForm();
         ImageRotation.MdiParent = this;
         ImageRotation.rotation90(Image1.getPicture());
         ImageRotation.Show();
     }
     catch (NullReferenceException)
     {
         MessageBox.Show("No hay ninguna foto seleccionada");
     }
 }