示例#1
0
文件: LMSchemaEx.cs 项目: PavelPZ/REW
 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;
 }
示例#2
0
文件: LMSchemaEx.cs 项目: PavelPZ/REW
 public selection_item(check_item item) {
   this.item = item;
 }