예제 #1
0
 private void FindImageBtn_Click(object sender, EventArgs e)
 {
     try
     {
         if (image == null)
         {
             SelectImageMessageBox();
             return;
         }
         if (FindImage())
         {
             uiNode.StartHighlight();
             timer1.Enabled = true;
         }
         else
         {
             MessageBox.Show("Image was not found");
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }