コード例 #1
0
ファイル: MainForm.cs プロジェクト: jPalazon/AppImagenes
 /// <summary>
 /// Rotación de 180
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 /// 
 private void ºToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     try
     {
         ImageForm Image1 = (ImageForm)ActiveMdiChild;
         ImageForm ImageRotation = new ImageForm();
         ImageRotation.MdiParent = this;
         ImageRotation.rotation180(Image1.getPicture());
         ImageRotation.Show();
     }
     catch (NullReferenceException)
     {
         MessageBox.Show("No hay ninguna foto seleccionada");
     }
 }