Exemplo n.º 1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        ///
        /// </summary>
        /// <param name="fNewCache"></param>
        /// <param name="wndCopyFrom"></param>
        /// <param name="fOpeningNewProject"></param>
        /// <returns></returns>
        /// ------------------------------------------------------------------------------------
        public override Form NewMainAppWnd(bool fNewCache, Form wndCopyFrom, bool fOpeningNewProject)
        {
            int nMainWnd = m_nMainWnd;

            m_nMainWnd++;
            m_mainWnd[nMainWnd] = new DummyMainWnd();
            return(m_mainWnd[nMainWnd]);
        }
Exemplo n.º 2
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		///
		/// </summary>
		/// <param name="cache"></param>
		/// <param name="fNewCache"></param>
		/// <param name="wndCopyFrom"></param>
		/// <param name="fOpeningNewProject"></param>
		/// <returns></returns>
		/// ------------------------------------------------------------------------------------
		protected override Form NewMainAppWnd(FdoCache cache, bool fNewCache, Form wndCopyFrom,
			bool fOpeningNewProject)
		{
			int nMainWnd = m_nMainWnd;
			m_nMainWnd++;
			m_mainWnd[nMainWnd] = new DummyMainWnd();
			return m_mainWnd[nMainWnd];
		}