public void MainToolbar()
 {
     Form form = new ToolStripDropDownButtonTestForm();
     form.Show();
     TextBoxTester textbox = new TextBoxTester("textBox1", form);
     ToolStripDropDownButtonTester tester = new ToolStripDropDownButtonTester("toolStripDropDownButton1", form);
     tester.Click();
     Assert.True(textbox.Text == "toolStripDropDownButton1 clicked");
 }
 public void ClickDropDownItem()
 {
     Form form = new ToolStripDropDownButtonTestForm();
     form.Show();
     TextBoxTester textbox = new TextBoxTester("textBox1", form);
     ToolStripDropDownButtonTester tester = new ToolStripDropDownButtonTester("toolStripDropDownButton1", form);
     tester.ClickDropDownItem(1);
     Assert.True(textbox.Text == "twoToolStripMenuItem clicked");
 }
        public void MainToolbar()
        {
            Form form = new ToolStripDropDownButtonTestForm();

            form.Show();
            TextBoxTester textbox = new TextBoxTester("textBox1", form);
            ToolStripDropDownButtonTester tester = new ToolStripDropDownButtonTester("toolStripDropDownButton1", form);

            tester.Click();
            Assert.True(textbox.Text == "toolStripDropDownButton1 clicked");
        }
        public void ClickDropDownItem()
        {
            Form form = new ToolStripDropDownButtonTestForm();

            form.Show();
            TextBoxTester textbox = new TextBoxTester("textBox1", form);
            ToolStripDropDownButtonTester tester = new ToolStripDropDownButtonTester("toolStripDropDownButton1", form);

            tester.ClickDropDownItem(1);
            Assert.True(textbox.Text == "twoToolStripMenuItem clicked");
        }