public static void TableComputer(string tbName, string FiledName, ITableComputer computer) { GatherReport report = new GatherReport(); GatherTable tab = report.GetReportTable(tbName); tab.加载计算列(FiledName, computer); }
public void 加载计算列(ITableComputer computer) { this.computer = computer; if (this.edit != null) { edit.Validating += new System.ComponentModel.CancelEventHandler(edit_Validating); } }
public void 加载计算列(string filedName, ITableComputer computer) { int len = this.row.List.Count; for (int i = 0; i < len; i++) { if (this.row.List[i].field.FieldName == filedName) { this.row.List[i].加载计算列(computer); } } }
public void TableComputer(string tbName, string FiledName, ITableComputer computer) { GatherFace.TableComputer(tbName, FiledName, computer); }
public void 加载计算列(ITableComputer computer) { this.computer = computer; if(this.edit != null) edit.Validating += new System.ComponentModel.CancelEventHandler(edit_Validating); }
public static void TableComputer(string tbName,string FiledName,ITableComputer computer) { GatherReport report = new GatherReport(); GatherTable tab = report.GetReportTable(tbName); tab.加载计算列(FiledName, computer); }