Esempio n. 1
0
 public void ToString(StringBuilder builder)
 {
     builder.Append(ItemRecordTypes.FileControlRecord);
     builder.Append(TotalCashLetterCount.ToString("D6"));
     builder.Append(TotalRecordsCount.ToString("D8"));
     builder.Append(TotalItemsCount.ToString("D8"));
     builder.Append(TotalAmount.ToString("D16"));
     builder.Append(TotalRejectedAdjustmentsCount.ToString("D8"));
     builder.Append(TotalRejectedAdjustmentsAmount.ToString("D14"));
     builder.Append(Reserved.PadRight(18));
     builder.AppendLine();
 }
        private void AdjustLayout()
        {
            btnFirst.Enabled = btnPrev.Enabled = (Pages > 1 && CurrentPage != 0);
            btnLast.Enabled  = btnNext.Enabled = (Pages > 1 && CurrentPage != Pages - 1);
            LinkButton pageLink = (LinkButton)FindControl("page_" + (CurrentPage + 1));

            if (pageLink != null)
            {
                pageLink.Enabled = false;
            }

            ltlTotalOrders.Text = String.Format(GetLocalResourceObject("PagerTextFormat").ToString(), TotalRecordsCount.ToString());
        }