예제 #1
0
 public TaskItem(CalendarItem calendarItem)
 {
     Id           = SequenceGenerator.GenerateNextValue();
     CalendarItem = calendarItem;
     A            = 255;
     R            = 135;
     G            = 189;
     B            = 201;
 }
예제 #2
0
 public TaskItem(Calendar calendar)
 {
     Id           = SequenceGenerator.GenerateNextValue();
     CalendarItem = new CalendarItem(calendar, DateTime.Now, DateTime.Now.AddMinutes(30), "");
     A            = 255;
     R            = 135;
     G            = 189;
     B            = 201;
 }