public Quanlyphong(string id)
 {
     InitializeComponent();
     account = id;
     grid_phong.ItemsSource   = PhongDAO.LoadAll().DefaultView;
     cb_tinhtrang.ItemsSource = TinhTrangDAO.LoadAll().DefaultView;
     cb_trangthai.ItemsSource = TrangThaiDAO.LoadAll().DefaultView;
     cb_loaiphong.ItemsSource = LoaiPhongDAO.LoadAll().DefaultView;
 }
Example #2
0
 public TinhTrangBUS()
 {
     tinhTrangDAO = new TinhTrangDAO();
 }