///<summary> ///</summary> ///<returns></returns> public void SaveData() { if (FileControlChartFile.GetChangeStatus()) { FileControlChartFile.ApplyChanges(); _currentDocument.DamageDocFile = FileControlChartFile.AttachedFile; } }
///<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; } }