Beispiel #1
0
            public void TestOnButtonPressed()
            {
                MyUserInterface controller = new MyUserInterface();

                controller.Show();

                TextBoxTester textBox = new TextBoxTester("txtName");

                textBox["Text"] = "Hello Wizard";

                ButtonTester button = new ButtonTester("sendButton_Click");

                button.Click();
            }
Beispiel #2
0
 public MyUserInterface()
 {
     InitializeComponent();
     Instance = this;
 }