Ejemplo n.º 1
0
 public Lich()
 {
     InitializeComponent();
     ListJob = XMLToObject("data.xml") as DanhSachCongViec;
     //if (ListJob == null)
     //{
     //    ListJob = new DanhSachCongViec();
     //    ListJob.ListJob = new List<MotCongViec>();
     //}
 }
Ejemplo n.º 2
0
 public CongViecTrongNgay(DateTime date)
 {
     InitializeComponent();
     planJob = XMLToObject("data.xml") as DanhSachCongViec;
     if (planJob == null)
     {
         planJob         = new DanhSachCongViec();
         planJob.ListJob = new List <MotCongViec>();
     }
     this.date          = date;
     dtpDateOfJob.Value = Date;
 }