Beispiel #1
0
    public void AddPlan(POJO.Plan plan)
    {
        DateTime dt    = Convert.ToDateTime(plan.date);
        var      dtStr = dt.ToString("yyyy-MM-dd");

        if (allPlan.ContainsKey(dtStr))
        {
            allPlan[dtStr].Add(plan);
        }
        else
        {
            allPlan.Add(dtStr, new List <POJO.Plan>());
            allPlan[dtStr].Add(plan);
        }
    }
Beispiel #2
0
 public void Init(POJO.Plan plan)
 {
     this.plan = plan;
     isInit    = true;
     UpdateView();
 }