public void HienThiComboBoxPhong(string id, ComboBox cmb)
 {
     DangKyPhongData dataP = new DangKyPhongData();
     cmb.DataSource = dataP.LayThongTinMaDangKyPhong(id);
     cmb.DisplayMember = "MaPhong";
     cmb.ValueMember = "MaPhong";
 }
 public void HienThiDateNgayDangKy(string id, DateTimePicker time)
 {
     DangKyPhongData dataP = new DangKyPhongData();
     ComboBox cmb = new ComboBox();
     cmb.DataSource = dataP.LayThongTinMaDangKyPhong(id);
     cmb.DisplayMember = "NgayDangKy";
     cmb.ValueMember = "NgayDangKy";
     time.Text = cmb.Text;
 }