public void ScrPassageDropDownBehaviorTests()
        {
            if (m_scp.DropDownWindow != null)
            {
                m_scp.DropDownWindow.Close();
            }

            Assert.IsNull(m_scp.DropDownWindow);
            m_scp.SimulateDropDownButtonClick();
            Assert.IsTrue(m_scp.DropDownWindow.Visible);
            m_scp.DropDownWindow.PerformKeyDown(new KeyEventArgs(Keys.Escape));
            Assert.IsNull(m_scp.DropDownWindow);

            // Verify that Alt-Down shows the list.
            m_scp.PerformKeyDown(new KeyEventArgs(Keys.Down | Keys.Alt));
            Assert.IsNotNull(m_scp.DropDownWindow);
            Assert.IsTrue(m_scp.DropDownWindow.Visible);
        }
 public void VerifyBookCountWhenHookedToDB()
 {
     m_dbScp.SimulateDropDownButtonClick();
     Assert.AreEqual(m_scr.ScriptureBooksOS.Count,
                     m_dbScp.DropDownWindow.ButtonsShowing, "Incorrect number of books showing");
 }