Beispiel #1
0
 ///<summary>
 ///</summary>
 ///<returns></returns>
 public void SaveData()
 {
     if (FileControlChartFile.GetChangeStatus())
     {
         FileControlChartFile.ApplyChanges();
         _currentDocument.DamageDocFile = FileControlChartFile.AttachedFile;
     }
 }
Beispiel #2
0
        ///<summary>
        ///</summary>
        ///<returns></returns>
        public void SaveData()
        {
            _currentDocument.Name         = textBoxDocumentName.Text;
            _currentDocument.DocumentType = textBoxDocType.Text;
            _currentDocument.SupplierId   = _currentSupplier.ItemId;

            if (FileControlChartFile.GetChangeStatus())
            {
                FileControlChartFile.ApplyChanges();
                _currentDocument.AttachedFile = FileControlChartFile.AttachedFile;
            }
        }