Example #1
0
 public void SetQuestionValue(IntegerType value)
 {
     Slider.Value = (int)value.GetValue();
 }
Example #2
0
 public static void Test(IntegerType value, object expected)
 {
     Assert.AreEqual(expected.GetType(), typeof(int));
     Assert.AreEqual((int)expected, value.GetValue());
 }
 public void SetQuestionValue(IntegerType value)
 {
     Spinbox.Text = value.GetValue().ToString();
 }