private List <ColumnFormatInfo> ReportFileIdFormat(SmallEntEvaluationBase_View entity, object val)
 {
     return(new List <ColumnFormatInfo>
     {
         ColumnFormatInfo.MakeDownloadButton(ButtonTypesEnum.Button, entity.ReportFileId)
     });
 }
Ejemplo n.º 2
0
 private List <ColumnFormatInfo> ReportFileIdFormat(MyTask_View entity, object val)
 {
     return(new List <ColumnFormatInfo>
     {
         ColumnFormatInfo.MakeDownloadButton(ButtonTypesEnum.Button, entity.ReportFileId)
     });
 }
Ejemplo n.º 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),
     });
 }
Ejemplo n.º 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),
     });
 }
Ejemplo n.º 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),
     });
 }
Ejemplo n.º 6
0
 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),
     });
 }
Ejemplo n.º 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);
     }
 }