示例#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);
                }
            }
        }
示例#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);
         }
     }
 }