BaseView.AddDocument Method

Name Parameters Description
AddDocument(String, String) caption, controlName Adds an empty Document with specified BaseDocument.Caption and BaseDocument.ControlName properties to the current View.
AddDocument(Control, String) control, caption Creates a Document that wraps the target control, and adds this new Document to the current BaseView.