Ejemplo n.º 1
0
 private string GetPeriodCredit(string orig)
 {
     JHSchool.Evaluation.PeriodCredit pc = new JHSchool.Evaluation.PeriodCredit();
     pc.Parse(orig);
     if (PrintPeriod && PrintCredit)
     {
         return(pc.ToString());
     }
     else if (PrintPeriod)
     {
         return("" + pc.Period);
     }
     else if (PrintCredit)
     {
         return("" + pc.Credit);
     }
     else
     {
         return(string.Empty);
     }
 }
Ejemplo n.º 2
0
 private string GetPeriodCredit(decimal?p, decimal?c)
 {
     JHSchool.Evaluation.PeriodCredit pc = new JHSchool.Evaluation.PeriodCredit();
     pc.Parse(p + "/" + c);
     if (_printPeriod && _printCredit)
     {
         return(pc.ToString());
     }
     else if (_printPeriod)
     {
         return("" + pc.Period);
     }
     else if (_printCredit)
     {
         return("" + pc.Credit);
     }
     else
     {
         return(string.Empty);
     }
 }
 private string GetPeriodCredit(string orig)
 {
     JHSchool.Evaluation.PeriodCredit pc = new JHSchool.Evaluation.PeriodCredit();
     pc.Parse(orig);
     if (PrintPeriod && PrintCredit)
         return pc.ToString();
     else if (PrintPeriod)
         return "" + pc.Period;
     else if (PrintCredit)
         return "" + pc.Credit;
     else
         return string.Empty;
 }