Beispiel #1
0
 private void OpenDocument(string szDocTitle)
 {
     foreach (DockContent item in this.dockPanel1.Contents)
     {
         if (item is DocumentListNewForm)
         {
             DocumentListNewForm frm = item as DocumentListNewForm;
             frm.Activate();
             frm.OpenDocument(szDocTitle);
         }
     }
 }
Beispiel #2
0
 public void OpenDocument(MedDocInfo docInfo)
 {
     foreach (DockContent item in this.dockPanel1.Contents)
     {
         if (item is DocumentListNewForm)
         {
             DocumentListNewForm frm = item as DocumentListNewForm;
             frm.Activate();
             frm.OpenDocument(docInfo);
         }
     }
 }
Beispiel #3
0
        public DocumentListNewForm GetDocumentList()
        {
            DocumentListNewForm documentListForm = null;

            foreach (DockContentBase item in this.dockPanel1.Contents)
            {
                if (item is DocumentListNewForm)
                {
                    documentListForm = item as DocumentListNewForm;
                    return(documentListForm);
                }
            }
            return(null);
        }
Beispiel #4
0
        public DocumentListNewForm GetDocumentList()
        {
            DocumentListNewForm documentListForm = this.patientPageControl1.GetDocumentList();

            return(documentListForm);
        }