Exemplo n.º 1
0
 public void LoadForm()
 {
     EmployeeNameBindingSource.DataSource = EmployeeService.GetFirstNameLastNameForDropBox();
     DocumentsStoredDepartmentBindingSource.DataSource = DocumentsStoredDepartmentService.GetAll();
     DocumentsStoredTypeBindingSource.DataSource       = DocumentsStoredTypeService.GetByDeparmentId(Conversions.ToInteger(ddlArea.SelectedValue));
     txtExpireDate.CustomFormat = " ";
     txtIssueDate.CustomFormat  = " ";
     ConfigLayoutForUserPerfil();
 }
Exemplo n.º 2
0
 public void LoadForm(int DepId)
 {
     DocumentsStoredDepartmentBindingSource.DataSource = DocumentsStoredDepartmentService.GetAll();
     ddlDepartment.SelectedValue = DepId;
     txtDocumentType.Text        = "";
 }
Exemplo n.º 3
0
 public void LoadDepartment(int DepartmentId)
 {
     DocumentsStoredDepartmentBindingSource.DataSource = DocumentsStoredDepartmentService.GetAll();
     ddlArea.SelectedValue = DepartmentId;
 }