ATMLCommonLibrary.controls.document.DocumentReferenceControl.DataToControls C# (CSharp) 메소드

DataToControls() 보호된 메소드

protected DataToControls ( ) : void
리턴 void
        protected virtual void DataToControls()
        {
            if (_documentReference != null)
            {
                edtUUID.Text = _documentReference.uuid;
                edtDocumentID.Text = _documentReference.ID;
                _document = DocumentManager.GetDocument(_documentReference.uuid);
                if( _document == null )
                    LogManager.Error("There is no document in the document library for uuid \"{0}\"", _documentReference.uuid );
                else
                    atmlPreviewPanel.Open(_document);
            }
        }