Example #1
0
 /// <summary>
 /// Click the right-most button
 /// </summary>
 public void BtnCancelClick()
 {
     ClickButton(DialogResultButtons.Last());
 }
Example #2
0
 /// <summary>
 /// Click the middle button
 /// </summary>
 public void Btn1Click()
 {
     var buttons = DialogResultButtons.ToArray();
     ClickButton(buttons[buttons.Length - 2]);
 }
Example #3
0
 /// <summary>
 /// Click the left-most visible button
 /// </summary>
 public void BtnYesClick()
 {
     ClickButton(DialogResultButtons.First());
 }