Example #1
0
        public void DataSetBinding()
        {
            RichTextBoxDataSetBindingTestForm f = new RichTextBoxDataSetBindingTestForm();

            f.Show();
            ModalFormHandler = oldhandler;
            new ButtonTester("btnView").Click();
            new RichTextBoxTester("myRichTextBox").Enter("New");
            ModalFormHandler = newhandler;
            new ButtonTester("btnView").Click();
            f.Close();
        }
Example #2
0
        public void DataSetBindingWithGenericPropertySetter()
        {
            RichTextBoxDataSetBindingTestForm f = new RichTextBoxDataSetBindingTestForm();

            f.Show();

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

            new RichTextBoxTester("myRichTextBox")["Text"] = "New";

            ModalFormHandler = newhandler;
            new ButtonTester("btnView").Click();
            f.Close();
        }