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