示例#1
0
        public void DataSetBindingWithGenericPropertySetter()
        {
            var f = new TextBoxDataSetBindingTestForm();

            f.Show();
            ModalFormHandler = oldhandler;
            new ButtonTester("btnView").Click();

            new TextBoxTester("myTextBox")["Text"] = "New";

            ModalFormHandler = newhandler;
            new ButtonTester("btnView").Click();
            f.Close();
        }
示例#2
0
        public void TextBoxDataSetBinding()
        {
            var f = new TextBoxDataSetBindingTestForm();

            f.Show();
            ModalFormHandler = oldhandler;

            new ButtonTester("btnView").Click();

            new TextBoxTester("myTextBox").Enter("New");
            ModalFormHandler = newhandler;
            new ButtonTester("btnView").Click();
            f.Close();
        }