コード例 #1
0
 public evento(utente u, DataRow r) : base(u, fld.get_int(r["id_evento"]))
 {
     this.title = fld.get_str(r["title_evento"]); this.note = fld.get_str(r["note_evento"]);
     this.da    = fld.get_date(r["dt_da"]); this.a = fld.get_date(r["dt_a"]);
     this.tipo  = new tipo_evento(u, r);
 }
コード例 #2
0
 public evento(utente u, int id, string title, DateTime da, DateTime a, string note, tipo_evento tipo = null)
     : base(u, id)
 {
     this.title = title; this.da = da; this.a = a; this.note = note; this.tipo = tipo;
 }