示例#1
0
 /// <summary>
 /// Phuong thuc khoi tao day du tham so
 /// </summary>
 /// <param name="maVe"></param>
 /// <param name="tinhTrangVe"></param>
 /// <param name="soGhe"></param>
 /// <param name="ngayDat"></param>
 /// <param name="tienVe"></param>
 /// <param name="loaiVe"></param>
 public Ve(string maVe, string tinhTrangVe, string soGhe, DateTime ngayDat, double tienVe, LoaiVe loaiVe)
 {
     this._maVe        = maVe;
     this._tinhTrangVe = tinhTrangVe;
     this._soGhe       = soGhe;
     this._ngayDat     = ngayDat;
     this._tienVe      = tienVe;
     this._loaiVe      = loaiVe;
 }
示例#2
0
 //Methods
 /// <summary>
 /// Phuong thuc khoi tao khong tham so
 /// </summary>
 public Ve()
 {
     this._maVe        = "ma ve";
     this._tinhTrangVe = "tinh trang ve";
     this._soGhe       = "so ghe";
     this._ngayDat     = new DateTime(2000, 1, 1);
     this._tienVe      = 0.0;
     this._loaiVe      = new LoaiVe();
 }