コード例 #1
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            Common_BusinessType businessType = (Common_BusinessType)value;

            if (businessType == Common_BusinessType.Outside)
            {
                return(true);
            }
            return(false);
        }
コード例 #2
0
 public Business_TaskListModel(long taskID, DateTime?finishDate, string projectName, string departmentName,
                               int?a0, int?a1, int?a2, int?a3, string costSheetNo, string stampSheetNo, string handoverSheetNo, Common_BusinessType businessType)
 {
     this.TaskID          = taskID;
     this.FinishDate      = finishDate;
     this.ProjectName     = projectName;
     this.DepartmentName  = departmentName;
     this.A0              = a0;
     this.A1              = a1;
     this.A2              = a2;
     this.A3              = a3;
     this.CostSheetNo     = costSheetNo;
     this.StampSheetNo    = stampSheetNo;
     this.HandoverSheetNo = handoverSheetNo;
     this.BusinessType    = businessType;
 }