Exemplo n.º 1
0
        private void FineRotationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FineRotationForm frmFineRotation = new FineRotationForm();

            if (frmFineRotation.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                int value = frmFineRotation.GetAngle();
                if (IsValueInRange(value, -180, 180))
                {
                    Rotate(value);
                }
            }
        }
Exemplo n.º 2
0
 private void FineRotationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FineRotationForm frmFineRotation = new FineRotationForm();
     if (frmFineRotation.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         int value = frmFineRotation.GetAngle();
         if (IsValueInRange(value, -180, 180))
         {
             Rotate(value);
         }
     }
 }