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()); }
internal SubFunctionKey CreateParser(FunctionItem parent) { Parser = Tk55Parser.Create(parent, this); if (Parser != null) { return(new SubFunctionKey(Parser.Style, Parser.Source)); } return(null); }