예제 #1
0
        public IDocumentControl AddADocument <T>(string DocumentName) where T : IDocumentControl
        {
            var documentCtr = iocManager.Resolve <T>();

            mainForm.AddADocument(documentCtr, DocumentName);
            this.DocumentList.Add(documentCtr);
            SetDocumentControlActive(documentCtr);
            return(documentCtr);
        }