Example #1
0
 private void Init()
 {
     this.SubTasks   = new ObservableCollection <MyTask>();
     this.Id         = KeyGenerator.CreateIntegerKey(this);
     this.CreateTime = DateTime.Now;
     this.Status     = TaskStatus.ToDo;
     //this.SubTasks = new List<MyTask>();
 }
Example #2
0
 private MyProject()
 {
     this.CreateTime = DateTime.Now;
     this.Id         = KeyGenerator.CreateIntegerKey(this).ToString();
 }