public void TestGetComboBox()
        {
            FormsToolStripComboBox item = new FormsToolStripComboBox(new FormsToolStrip(testDlg["toolStrip1"]()).GetItem(4));

            Assert.AreEqual(typeof(ComboBox), (Type)item.ComboBox["GetType"]()["BaseType"]().Core);
        }
Exemple #2
0
 static void Assert(string accessPath, FormsToolStripComboBox toolStripComboBox)
 => CaptureAdaptor.AddCode($"{accessPath}.ComboBox.SelectedItemIndex.Is({toolStripComboBox.ComboBox.SelectedItemIndex});");