Esempio n. 1
0
        private void NewPageExecute(object _o)
        {
            var alphaDocument = new AlphaPage();

            if (_o == null)
            {
                alphaDocument.Open(AlphaPage.BlankDescriptor, Guid.Empty);
            }

            Documents.Add(alphaDocument);
            m_manager.ActiveContent = alphaDocument;
            alphaDocument.Show(m_manager);
        }
Esempio n. 2
0
        private void NewPageExecute(object _o)
        {
            var alphaDocument = new AlphaPage();

            if(_o==null)
            {
                alphaDocument.Open(AlphaPage.BlankDescriptor, Guid.Empty);
            }

            Documents.Add(alphaDocument);
            m_manager.ActiveContent = alphaDocument;
            alphaDocument.Show(m_manager);
        }