private void btnReferenceLookup_Click(object sender, EventArgs e)
{
//TODO: Lookup Document
DocumentLibrarySelectionForm form =
new DocumentLibrarySelectionForm(_allReadySelectedDocument, DocumentType );
if (DialogResult.OK == form.ShowDialog())
{
Document document = form.SelectedDocument;
if (document != null)
{
atmlPreviewPanel.Open(document);
_documentReference = new DocumentReference();
_documentReference.uuid = document.uuid;
_documentReference.ID = document.name;
DataToControls();
}
}
}