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); }
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); }