예제 #1
0
        public void Test_StrInput()
        {
            string strValue = "test";

            ModalFormHandler = InputBox_btnAccept_StrHandler;
            GKInputBox.QueryText("caption", "prompt", ref strValue);

            Assert.AreEqual("input", strValue);
        }
예제 #2
0
        public bool GetInput(string prompt, ref string value)
        {
            bool res = GKInputBox.QueryText(GKData.APP_TITLE, prompt, ref value);

            return(res && !string.IsNullOrEmpty(value));
        }