예제 #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            if (PictureBox1.Image == null)
            {
                alert.Show();
            }
            else
            {
                if (boolrotate == true)

                {
                    RotateLeftButton.Show();
                    RotateRightButton.Show();


                    boolrotate = false;
                }
                else if (boolrotate == false)
                {
                    RotateRightButton.Hide();
                    RotateLeftButton.Hide();

                    boolrotate = true;
                }
            }
        }
 /// <summary>
 /// Click the 'Left' rotate button for PDFs
 /// </summary>
 public void ClickRotateLeft()
 {
     RotateLeftButton.WaitAndClick(_driver);
 }