コード例 #1
0
 private List <ColumnFormatInfo> ReportFileIdFormat(SmallEntEvaluationBase_View entity, object val)
 {
     return(new List <ColumnFormatInfo>
     {
         ColumnFormatInfo.MakeDownloadButton(ButtonTypesEnum.Button, entity.ReportFileId)
     });
 }
コード例 #2
0
 private List <ColumnFormatInfo> ReportFileIdFormat(MyTask_View entity, object val)
 {
     return(new List <ColumnFormatInfo>
     {
         ColumnFormatInfo.MakeDownloadButton(ButtonTypesEnum.Button, entity.ReportFileId)
     });
 }
コード例 #3
0
 private List <ColumnFormatInfo> PhotoIdFormat(FrameworkUser_View entity, object val)
 {
     return(new List <ColumnFormatInfo>
     {
         ColumnFormatInfo.MakeDownloadButton(ButtonTypesEnum.Button, entity.PhotoId),
         ColumnFormatInfo.MakeViewButton(ButtonTypesEnum.Button, entity.PhotoId, 640, 480),
     });
 }
コード例 #4
0
 private List <ColumnFormatInfo> FileIdFormat(School_View entity, object val)
 {
     return(new List <ColumnFormatInfo>
     {
         ColumnFormatInfo.MakeDownloadButton(ButtonTypesEnum.Button, entity.FileId),
         ColumnFormatInfo.MakeViewButton(ButtonTypesEnum.Button, entity.FileId, 640, 480),
     });
 }
コード例 #5
0
 private List <ColumnFormatInfo> PictureIdFormat(WxVenue_View entity, object val)
 {
     return(new List <ColumnFormatInfo>
     {
         ColumnFormatInfo.MakeDownloadButton(ButtonTypesEnum.Button, entity.PictureId),
         ColumnFormatInfo.MakeViewButton(ButtonTypesEnum.Button, entity.PictureId, 640, 480),
     });
 }
コード例 #6
0
ファイル: VOS_PEmployeeListVM.cs プロジェクト: war-man/VOS
 private List <ColumnFormatInfo> WeChatRealNamePicIdFormat(VOS_PEmployee_View entity, object val)
 {
     return(new List <ColumnFormatInfo>
     {
         ColumnFormatInfo.MakeDownloadButton(ButtonTypesEnum.Button, entity.WeChatRealNamePicId),
         ColumnFormatInfo.MakeViewButton(ButtonTypesEnum.Button, entity.WeChatRealNamePicId, 640, 480),
     });
 }
コード例 #7
0
 public List <ColumnFormatInfo> GetPhoto(FrameworkUser_ListView item, object val)
 {
     if (item.PhotoID != null)
     {
         List <ColumnFormatInfo> rv = new List <ColumnFormatInfo>();
         rv.Add(ColumnFormatInfo.MakeViewButton(ButtonTypesEnum.Link, item.PhotoID.Value, 600, 600));
         rv.Add(ColumnFormatInfo.MakeDownloadButton(ButtonTypesEnum.Link, item.PhotoID.Value));
         return(rv);
     }
     else
     {
         return(null);
     }
 }