Ejemplo n.º 1
0
 public TimeModel(TimeModel tm, string id)
 {
     _id = id;
     if (tm != null)
     {
         InitTimeList(tm.ToString());
     }
     else
     {
         Init0();
     }
 }
Ejemplo n.º 2
0
 public CalendarModel(int day, int month, int year, int hour, int min, int sec, int index = 1)
     : base(day, month, year, index)
 {
     _tm = new TimeModel(_calendarID, hour, min, sec);
 }
Ejemplo n.º 3
0
 public CalendarModel(int index = 1)
     : base(index)
 {
     _tm = new TimeModel(_calendarID, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
 }