public void ModalFormDoesntShow() { ModalMultiForm f = new ModalMultiForm(); f.Show(); ModalFormHandler = handler; f.Close(); Verify(); }
private void button1_Click(object sender, EventArgs e) { int i = int.Parse(myLabel.Text) + 1; myLabel.Text = i.ToString(); ModalMultiForm newForm = new ModalMultiForm(); newForm.Name = Name + "-" + (i - 1); newForm.Text = newForm.Name; newForm.ShowDialog(); }
public void TestModalForm() { ExpectModal("Form-0", new ModalFormActivated(ClickHandler)); ModalMultiForm form = new ModalMultiForm(); form.Show(); ButtonTester buttonOne = new ButtonTester("myButton", "Form"); buttonOne.Click(); }
public void TestModalForm() { ModalMultiForm form = new ModalMultiForm(); form.Show(); ButtonTester buttonOne = new ButtonTester("myButton", "Form"); ModalFormHandler = handler; buttonOne.Click(); form.Close(); Verify(); }