Пример #1
0
 ///<summary>
 ///</summary>
 public void UpdateInformation()
 {
     extendableRichContainer1.Caption = _currentDocument.AttachedFile != null
                                            ? _currentDocument.AttachedFile.FileName
                                            : "Please, add file";
     textBoxDocumentName.Text = _currentDocument.Name;
     FileControlChartFile.UpdateInfo(_currentDocument.AttachedFile, "Adobe PDF Files|*.pdf",
                                     "This record does not contain a file proving the Supplier doc File. Enclose PDF file to prove the compliance.",
                                     "Attached file proves the Supplier doc file.");
     textBoxDocType.Text = _currentDocument.DocumentType;
 }
Пример #2
0
        ///<summary>
        ///</summary>
        private void UpdateInformation()
        {
            if (_currentDocument == null)
            {
                return;
            }

            extendableRichContainer1.Caption = _currentDocument.DamageDocFile != null
                                       ? _currentDocument.DamageDocFile.FileName
                                       : "Please, add file";

            FileControlChartFile.UpdateInfo(_currentDocument.DamageDocFile, "Image Files|*.jpg; *.png",
                                            "This record does not contain a file proving the Image file. Enclose PDF file to prove the compliance.",
                                            "Attached file proves the Chart file.");
        }