private void AddDynamicWorkItemNine(BaseDynamicWorkObjViewModel viewModel, DynamicWorkItemNineStyle style)
 {
     if (viewModel.RepalceStrs.Count == 5 && viewModel.UnReplaceStrs.Count == 3)
     {
         DynamicWorkItemNine row = new DynamicWorkItemNine(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1], viewModel.UnReplaceStrs[1], viewModel.RepalceStrs[2], viewModel.UnReplaceStrs[2], viewModel.RepalceStrs[3], viewModel.RepalceStrs[4], viewModel.Url);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
     else
     {
         viewModel.UnReplaceStrs.Clear();
         viewModel.UnReplaceStrs.Add("在以下目录中下载了");
         viewModel.UnReplaceStrs.Add("文件");
         viewModel.UnReplaceStrs.Add("、");
         viewModel.RepalceStrs.Clear();
         viewModel.RepalceStrs.Add("操作者");
         viewModel.RepalceStrs.Add("文件数量");
         viewModel.RepalceStrs.Add("目录名");
         viewModel.RepalceStrs.Add("文件名");
         viewModel.RepalceStrs.Add("目录名称");
         DynamicWorkItemNine row = new DynamicWorkItemNine(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1], viewModel.UnReplaceStrs[1], viewModel.RepalceStrs[2], viewModel.UnReplaceStrs[2], viewModel.RepalceStrs[3], viewModel.UnReplaceStrs[3], viewModel.Url);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
 }
Beispiel #2
0
 public void UseStyle(DynamicWorkItemNineStyle style)
 {
 }
 private void AddDynamicWorkItemNine(BaseDynamicWorkObjViewModel viewModel, DynamicWorkItemNineStyle style)
 {
     if (viewModel.RepalceStrs.Count == 5 && viewModel.UnReplaceStrs.Count == 3)
     {
         DynamicWorkItemNine row = new DynamicWorkItemNine(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1], viewModel.UnReplaceStrs[1], viewModel.RepalceStrs[2], viewModel.UnReplaceStrs[2], viewModel.RepalceStrs[3], viewModel.RepalceStrs[4], viewModel.Url);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
     else
     {
         viewModel.UnReplaceStrs.Clear();
         viewModel.UnReplaceStrs.Add("在以下目录中下载了");
         viewModel.UnReplaceStrs.Add("文件");
         viewModel.UnReplaceStrs.Add("、");
         viewModel.RepalceStrs.Clear();
         viewModel.RepalceStrs.Add("操作者");
         viewModel.RepalceStrs.Add("文件数量");
         viewModel.RepalceStrs.Add("目录名");
         viewModel.RepalceStrs.Add("文件名");
         viewModel.RepalceStrs.Add("目录名称");
         DynamicWorkItemNine row = new DynamicWorkItemNine(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1], viewModel.UnReplaceStrs[1], viewModel.RepalceStrs[2], viewModel.UnReplaceStrs[2], viewModel.RepalceStrs[3], viewModel.UnReplaceStrs[3], viewModel.Url);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
 }
 public void UseStyle(DynamicWorkItemNineStyle style)
 {
 }