Exemplo n.º 1
0
 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;
 }