public void SetQuestionValue(BooleanType value) { if (value.GetValue()) { ComboBox.SelectedValue = "Yes"; } else { ComboBox.SelectedValue = "No"; } }
public static void Test(BooleanType value, object expected) { Assert.AreEqual(expected.GetType(), typeof(bool)); Assert.AreEqual((bool)expected, value.GetValue()); }
public void SetQuestionValue(BooleanType value) { Buttons.SetValue(value.GetValue()); }
public void SetQuestionValue(BooleanType value) { CheckBox.IsChecked = value.GetValue(); }