Exemplo n.º 1
0
        /// -----------------------------------------------------------------------------------
        /// <summary>
        /// Create a new draft view
        /// </summary>
        /// -----------------------------------------------------------------------------------
        public override void TestSetup()
        {
            base.TestSetup();
            m_draftForm = new DummyDraftViewForm(Cache);
            m_draftForm.DeleteRegistryKey();
            m_draftForm.CreateDraftView();

            //Application.DoEvents();
            m_draftForm.Show();
            m_draftView = m_draftForm.DraftView;
            Application.DoEvents();
        }
Exemplo n.º 2
0
        public void Init()
        {
            CheckDisposed();
            m_draftForm = new DummyDraftViewForm();
            m_draftForm.DeleteRegistryKey();
            m_draftForm.CreateDraftView();

            //Application.DoEvents();
            m_draftForm.Show();
            m_draftView = m_draftForm.DraftView;
            m_cache     = m_draftForm.Cache;
            Application.DoEvents();
        }
Exemplo n.º 3
0
        public override void Initialize()
        {
            CheckDisposed();
            base.Initialize();

            m_draftForm = new DummyDraftViewForm();
            m_draftForm.DeleteRegistryKey();
            m_draftForm.CreateDraftView(Cache);
            m_draftView        = m_draftForm.DraftView;
            m_draftView.Width  = 300;
            m_draftView.Height = 290;
            m_draftView.CallOnLayout();
        }
Exemplo n.º 4
0
        public override void Initialize()
        {
            CheckDisposed();
            base.Initialize();

            m_draftForm = new DummyDraftViewForm();
            m_draftForm.DeleteRegistryKey();
            m_group             = m_draftForm.CreateSyncDraftView(Cache);
            m_IgnorePropChanged = new IgnorePropChanged(Cache,
                                                        PropChangedHandling.SuppressChangeWatcher);

            m_draftView = m_draftForm.DraftView;
            m_draftView.RootBox.MakeSimpleSel(true, true, false, true);

            Application.DoEvents();
        }
        public override void Initialize()
        {
            CheckDisposed();
            base.Initialize();

            Assert.IsNotNull(m_draftForm == null, "m_draftForm is not null.");

            m_draftForm = new DummyDraftViewForm();
            m_draftForm.DeleteRegistryKey();
            m_draftForm.CreateDraftView(Cache);
            m_draftView        = m_draftForm.DraftView;
            m_draftView.Width  = 300;
            m_draftView.Height = 290;
            m_draftView.CallOnLayout();

            Application.DoEvents();

            m_exodus = base.CreateExodusData();
        }
		public override void Initialize()
		{
			CheckDisposed();
			base.Initialize();

			Assert.IsNotNull(m_draftForm == null, "m_draftForm is not null.");

			m_draftForm = new DummyDraftViewForm();
			m_draftForm.DeleteRegistryKey();
			m_draftForm.CreateDraftView(Cache);
			m_draftView = m_draftForm.DraftView;
			m_draftView.Width = 300;
			m_draftView.Height = 290;
			m_draftView.CallOnLayout();

			Application.DoEvents();

			m_exodus = base.CreateExodusData();
		}