Esempio n. 1
0
        public ThemDichVu(DanhSach ds, string maphieuthue, string phong)
        {
            InitializeComponent();
            this.phong       = phong;
            this.maphieuthue = maphieuthue;
            this.ds          = ds;

            dv = new DichVuController();
            txtMaPhieuThue.Text = maphieuthue;
            txtPhong.Text       = phong;
            hienThiDanhSachDV();
            hienThiDichVuDaChon();
        }
Esempio n. 2
0
        public TraPhong(DanhSach ds, string maphieuthue, string manv)
        {
            InitializeComponent();
            this.ds          = ds;
            this.maphieuthue = maphieuthue;
            this.manv        = manv;
            txtNgayLap.Text  = DateTime.Now.ToString("dd/MM/yyyy");

            tp  = new ThuePhongController();
            trp = new TraPhongController();
            p   = new PhongController();
            dv  = new DichVuController();
        }
Esempio n. 3
0
        public ThuePhong(DanhSach ds, string manv)
        {
            InitializeComponent();
            this.ds   = ds;
            tinhTrang = new TinhTrang(txtPhong);
            this.Controls.Add(tinhTrang);

            p  = new PhongController();
            kh = new KhachHangController();
            tp = new ThuePhongController();

            txtMaNV.Text     = manv;
            dateNgayTra.Text = DateTime.Now.ToString("dd/MM/yyyy");
        }
Esempio n. 4
0
 public DoiMatKhau(DanhSach ds, string manv)
 {
     InitializeComponent();
     this.ds   = ds;
     this.manv = manv;
 }