Exemple #1
0
 private void VerifyRadioButton(RadioButton<FindingPage> radioButton)
 {
     VerifyValue(radioButton, "OptionC");
     radioButton.Should.BeUnchecked();
     radioButton.Check();
     radioButton.Should.BeChecked();
 }
Exemple #2
0
 private void VerifyRadioButton(RadioButton <FindingPage> radioButton, string expectedValue = "OptionC")
 {
     VerifyValue(radioButton, expectedValue);
     radioButton.Should.BeUnchecked();
     radioButton.Check();
     radioButton.Should.BeChecked();
 }
Exemple #3
0
 public void ButtonClicked(RadioButton button)
 {
     CurrentChecked = button;
     for (int i = 0; i < RadioButtons.Count; i++)
     {
         if (RadioButtons[i] == null)
         {
             RadioButtons.RemoveAt(i);
             i--;
             continue;
         }
         if (RadioButtons[i] != button)
         {
             RadioButtons[i].UnCheck();
         }
     }
     button.Check();
 }