From: jpbruyere Date: Mon, 19 Oct 2015 14:58:44 +0000 (+0200) Subject: improved test for spinner and focus X-Git-Tag: 0.3~105 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=04e3244be1bda2377ca26edc00ebd4866add7d39;p=jp%2Fcrow.git improved test for spinner and focus --- diff --git a/Tests/GOLIBTests.cs b/Tests/GOLIBTests.cs index e84c18fc..2c1563ed 100644 --- a/Tests/GOLIBTests.cs +++ b/Tests/GOLIBTests.cs @@ -93,6 +93,22 @@ namespace test public string update = ""; #endregion + public int intValue = 25; + + public int IntValue { + get { + return intValue; + } + set { + intValue = value; + NotifyValueChanged ("IntValue", intValue); + } + } + void onSpinnerValueChange(object sender, ValueChangeEventArgs e){ + if (e.MemberName != "Value") + return; + intValue = Convert.ToInt32(e.NewValue); + } public List TestList = new List( new string[] { "string 1", diff --git a/Tests/Interfaces/testSpinner.goml b/Tests/Interfaces/testSpinner.goml index 48791ba5..d80f5c29 100755 --- a/Tests/Interfaces/testSpinner.goml +++ b/Tests/Interfaces/testSpinner.goml @@ -2,6 +2,10 @@ + + + + \ No newline at end of file