示例#1
0
        /// -----------------------------------------------------------------------------------
        /// <summary>
        /// Create a new footnote view
        /// </summary>
        /// -----------------------------------------------------------------------------------
        public override void TestSetup()
        {
            base.TestSetup();
            m_footnoteForm = new DummyFootnoteViewForm();
            m_footnoteForm.DeleteRegistryKey();
            m_footnoteForm.CreateFootnoteView(Cache);

            //Application.DoEvents();
            m_footnoteForm.Show();
            m_footnoteView = m_footnoteForm.FootnoteView;
            Application.DoEvents();
        }
示例#2
0
        public void Init()
        {
            m_footnoteForm = new DummyFootnoteViewForm();
            m_footnoteForm.DeleteRegistryKey();
            m_footnoteForm.CreateFootnoteView();

            //Application.DoEvents();
            m_footnoteForm.Show();
            m_footnoteView = m_footnoteForm.FootnoteView;
            m_cache        = m_footnoteForm.Cache;
            IScripture scr = m_cache.LangProject.TranslatedScriptureOA;

            Application.DoEvents();
        }