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