Ejemplo n.º 1
0
 public void update_item(string title, string detail, DateTime date, ImageSource im)
 {
     select_item.title  = title;
     select_item.detail = detail;
     select_item.date   = date;
     select_item.images = im;
     this.select_item   = null;
 }
Ejemplo n.º 2
0
        public view_module()
        {
            ImageSource coverSource = new BitmapImage(new Uri("ms-appx://wjq_hw2/Assets/leaf.jpg"));

            this.all_items.Add(new module.module("wjq", "people", DateTime.Today, coverSource));
            module.module m2 = new module.module("wjq1", "people1", DateTime.Today, coverSource);
            m2.ifcomplete = true;
            this.all_items.Add(m2);
        }
Ejemplo n.º 3
0
 public void remove_item(string id)
 {
     all_items.Remove(select_item);
     this.select_item = null;
 }