private void LoadRecordingControls() { oRecordingPaymentEditorControl.LoadRecordingMainPayment(); txtRecordingNumber.Value = recording.NumberPrefix; chkUseBisRecordingNumber.Checked = recording.UseBisNumberTag; txtImageStartIndex.Value = recording.StartImageIndex.ToString(); txtImageEndIndex.Value = recording.EndImageIndex.ToString(); cboRecordingActTypeCategory.Value = "0"; if (recording.PresentationTime.Date != ExecutionServer.DateMaxValue) { txtPresentationDate.Value = recording.PresentationTime.ToString("dd/MMM/yyyy"); txtPresentationTime.Value = recording.PresentationTime.ToString("HH:mm"); } if (recording.AuthorizedTime.Date != ExecutionServer.DateMaxValue) { txtAuthorizationDate.Value = recording.AuthorizedTime.ToString("dd/MMM/yyyy"); } cboAuthorizedBy.Value = recording.AuthorizedBy.Id.ToString(); LoadStatusCombo(); cboStatus.Value = ((char) recording.Status).ToString(); txtObservations.Value = recording.Notes; cboAnnotationCategory.Value = "0"; gRecordingActs = LRSGridControls.GetBatchCaptureRecordingActsGrid(this.recording); gAnnotationActs = LRSGridControls.GetRecordingAnnotationsGrid(this.recording); LoadRecordingActsPropertiesCombo(); LoadAnotherPropertyRecorderOfficesCombo(); LoadAnnotationsPropertiesCombo(); }
private string GetRecordingsViewerPageCommandHandler() { int recordingBookId = int.Parse(GetCommandParameter("recordingBookId", true)); int page = int.Parse(GetCommandParameter("page", true)); int pageSize = int.Parse(GetCommandParameter("itemsPerPage", true)); RecordingBook recordingBook = RecordingBook.Parse(recordingBookId); return LRSGridControls.GetRecordingsSummaryTable(recordingBook, pageSize, page); }
protected string GetAntecedentRecordingActPartiesGrid() { if (baseRecordingAct.IsAnnotation) { this.Visible = false; return string.Empty; } RecordingAct antecedent = property.GetAntecedent(baseRecordingAct); return LRSGridControls.GetRecordingActPartiesGrid(antecedent, true); }
protected string GetRecordingsViewerGrid() { return LRSGridControls.GetRecordingsSummaryTable(this.recordingBook.Recordings, this.recordingsPerViewerPage, 0); }
protected string GetRecordingActPartiesGrid() { return LRSGridControls.GetRecordingActPartiesGrid(this.recordingAct, false); }