Beispiel #1
0
        public void NewDocument()
        {
            Document doc = CreateNewMap();

            DocumentForm form = new DocumentForm(doc);

            ShowForm(form);
        }
Beispiel #2
0
        public BaseDocumentForm OpenDocument(Document doc, bool readOnly)
        {
            if (doc != null)
            {
                BaseDocumentForm form = new DocumentForm(doc);
                form.ReadOnly = readOnly;
                ShowForm(form);
                return(form);
            }

            return(null);
        }