Beispiel #1
0
 check_item createCheckItem(string s, int i) {
   check_item res = new check_item();
   res.correct = s.IndexOf('+') > 0;
   if (res.correct) s = s.Trim('+');
   //if (s.Length != 1) throw new Exception(string.Format("Only single letter in cell alowed {0}", ErrorId));
   res.title = string.Format(" {0} ", s);
   res.varNameLow = varName + i.ToString();
   return res;
 }
Beispiel #2
0
 public selection_item(check_item item) {
   this.item = item;
 }