// 取得结果串 public string getResultString(OpRes res) { int id = (int)res; if (m_ops.ContainsKey(id)) { OpResInfo info = m_ops[id]; return(info.m_fmt); } return(""); }
// 取得结果串 public string getResultString(OpRes res, object p1, object p2) { int id = (int)res; if (m_ops.ContainsKey(id)) { OpResInfo info = m_ops[id]; return(string.Format(info.m_fmt, p1, p2)); } return(""); }