示例#1
0
 public void OnRecordIndexChanged(DataRowPosition row)
 {
     if (row.TotalRecords > 0)
     {
         decimal percent = (Convert.ToDecimal(row.CurrentIndex) / row.TotalRecords) * 100;
         ssStatus1.Text = string.Format("[{0}%],[{1} of {2}]  Updating Fingers Templates...", percent.ToString("###"), row.CurrentIndex, row.TotalRecords);
     }
 }
示例#2
0
 public void OnRecordIndexChanged(DataRowPosition row )
 {
     if (row.TotalRecords > 0)
     {
         decimal percent = (Convert.ToDecimal(row.CurrentIndex) / row.TotalRecords) * 100;
         ssStatus1.Text = string.Format("[{0}%],[{1} of {2}]  Updating Fingers Templates...", percent.ToString("###"), row.CurrentIndex, row.TotalRecords);
     }
 }