コード例 #1
0
        public static void TableComputer(string tbName, string FiledName, ITableComputer computer)
        {
            GatherReport report = new GatherReport();
            GatherTable  tab    = report.GetReportTable(tbName);

            tab.加载计算列(FiledName, computer);
        }
コード例 #2
0
 public void 加载计算列(ITableComputer computer)
 {
     this.computer = computer;
     if (this.edit != null)
     {
         edit.Validating += new System.ComponentModel.CancelEventHandler(edit_Validating);
     }
 }
コード例 #3
0
ファイル: GatherTable.cs プロジェクト: ping1994/yinghe
        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);
                }
            }
        }
コード例 #4
0
ファイル: GatherLogic.cs プロジェクト: jyorin/yinghe
 public void TableComputer(string tbName, string FiledName, ITableComputer computer)
 {
     GatherFace.TableComputer(tbName, FiledName, computer);
 }
コード例 #5
0
ファイル: GatherItem.cs プロジェクト: jyorin/yinghe
 public void 加载计算列(ITableComputer computer)
 {
     this.computer = computer;
     if(this.edit != null)
     edit.Validating += new System.ComponentModel.CancelEventHandler(edit_Validating);
 }
コード例 #6
0
ファイル: GatherLogic.cs プロジェクト: ping1994/yinghe
 public void TableComputer(string tbName, string FiledName, ITableComputer computer)
 {
     GatherFace.TableComputer(tbName, FiledName, computer);
 }
コード例 #7
0
ファイル: GatherFace.cs プロジェクト: jyorin/yinghe
 public static void TableComputer(string tbName,string FiledName,ITableComputer computer)
 {
     GatherReport report = new GatherReport();
     GatherTable tab = report.GetReportTable(tbName);
     tab.加载计算列(FiledName, computer);
 }
コード例 #8
0
ファイル: GatherTable.cs プロジェクト: jyorin/yinghe
 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);
         }
     }
 }