示例#1
0
        public void SelectFromSuggestionList()
        {
            textBox.Enter("h");
            SuggestionList suggestionList = textBox.SuggestionList;

            suggestionList.Select("hello");
            Assert.AreEqual("hello", textBox.Text);
        }
示例#2
0
        void SelectFromSuggestionList()
        {
            var textBox = MainWindow.Get <WinFormTextBox>("TextBox");

            textBox.Enter("h");
            SuggestionList suggestionList = textBox.SuggestionList;

            suggestionList.Select("hello");
            Assert.Equal("hello", textBox.Text);
        }