Beispiel #1
0
 /// <summary>
 /// Phuong thuc khoi tao co day du tham so
 /// </summary>
 /// <param name="tKH"></param>
 /// <param name="sCMND"></param>
 /// <param name="e"></param>
 /// <param name="dC"></param>
 /// <param name="sV"></param>
 /// <param name="cB"></param>
 public KhachHang(string tenKhachHang, string soCMND, string email, string diaChi, Ve[] soVe, ChuyenBay chuyenBay)
 {
     this._tenKhachHang = tenKhachHang;
     this._soCMND       = soCMND;
     this._email        = email;
     this._diaChi       = diaChi;
     this._soVe         = soVe;
     this._chuyenBay    = chuyenBay;
 }
Beispiel #2
0
 //Methods
 /// <summary>
 /// Phuong thuc khoi tao khong tham so
 /// </summary>
 public KhachHang()
 {
     this._tenKhachHang = "ten khach hang";
     this._soCMND       = "so CMND";
     this._email        = "email";
     this._diaChi       = "dia chi";
     this._soVe         = new Ve[0];
     this._chuyenBay    = new ChuyenBay();
 }
Beispiel #3
0
 /// <summary>
 /// Phuong thuc khoi tao co day du tham so
 /// </summary>
 /// <param name="mHD"></param>
 /// <param name="nLHD"></param>
 public HoaDon(string maHoaDon, DateTime ngayLapHoaDon, string tenKhachHang, string soCMND, string email, string diaChi, Ve[] soVe, ChuyenBay chuyenBay) : base(tenKhachHang, soCMND, email, diaChi, soVe, chuyenBay)
 {
     this._maHoaDon      = maHoaDon;
     this._ngayLapHoaDon = ngayLapHoaDon;
 }