void Details(Documents item)
 {
     try
     {
         UnitOfWork     unitOfWork     = new UnitOfWork(new DTSDb());
         StaticSettings staticSettings = new StaticSettings();
         this.documentTypesBindingSource.DataSource = unitOfWork.DocumentTypesRepo.Get();
         this.officesBindingSource.DataSource       = new UnitOfWork().OfficesRepo.Get();
         this.employeesBindingSource.DataSource     = new UnitOfWork().EmployeesRepo.Get();
         item = unitOfWork.DocumentsRepo.Find(x => x.Id == item.Id);
         this.dtDate.EditValue          = item.Date;
         this.cboCommType.EditValue     = item.CommunicationType;
         this.cboType.EditValue         = item.DocumentType;
         this.cboSourceOffice.EditValue = item.SourceOfficeId;
         this.txtSubjects.EditValue     = item.Subject;
         this.lblControlNo.Text         = item.ControlNo;
         this.cboSignatories.EditValue  = item.Signatory;
         this.pctScannedDocs.Image      = ScannerHelper.ToImageByte(item.Id, "Documents");
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, ex.Message, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }