예제 #1
0
		public void addFormula(csRptFormulaType formulaType, string name, string nameUser, string descrip, int helpContextId)
		{
            var item = tv_formulas.Nodes[C_KEY_SYSFUNCTIONS].Nodes.Add(nameUser);
            item.ImageIndex = C_FORMULA_INDEX;
            item.SelectedImageIndex = item.ImageIndex;

            string info = "";
            info = cUtil.setInfoString(info, C_FUNID, formulaType.ToString());
            info = cUtil.setInfoString(info, C_FUNDESCRIP, descrip);
            info = cUtil.setInfoString(info, C_FUNNAME, name);
            info = cUtil.setInfoString(info, C_HELPCONTEXTID, helpContextId.ToString());

            item.Tag = info;
		}
예제 #2
0
        public void addFormula(csRptFormulaType formulaType, string name, string nameUser, string descrip, int helpContextId)
        {
            var item = tv_formulas.Nodes[C_KEY_SYSFUNCTIONS].Nodes.Add(nameUser);

            item.ImageIndex         = C_FORMULA_INDEX;
            item.SelectedImageIndex = item.ImageIndex;

            string info = "";

            info = cUtil.setInfoString(info, C_FUNID, formulaType.ToString());
            info = cUtil.setInfoString(info, C_FUNDESCRIP, descrip);
            info = cUtil.setInfoString(info, C_FUNNAME, name);
            info = cUtil.setInfoString(info, C_HELPCONTEXTID, helpContextId.ToString());

            item.Tag = info;
        }
예제 #3
0
 internal cReportFormulaType add(cReportFormulaType c, csRptFormulaType key)
 {
     return(add(c, key.ToString()));
 }
 internal cReportFormulaType add(cReportFormulaType c, csRptFormulaType key)
 {
     return add(c, key.ToString());
 }