Exemplo n.º 1
0
 public FunctionItem(DataRow row)
 {
     Id     = row["FN_ID"].Value <int>();
     Key    = row["FN_SHORT_NAME"].ToString();
     IsLeaf = row["FN_IS_LEAF"].ToString() == "1";
     Parser = Tk55Parser.Parse(row["FN_URL"].ToString());
 }
Exemplo n.º 2
0
 internal SubFunctionKey CreateParser(FunctionItem parent)
 {
     Parser = Tk55Parser.Create(parent, this);
     if (Parser != null)
     {
         return(new SubFunctionKey(Parser.Style, Parser.Source));
     }
     return(null);
 }