private void loadCombobox(int stt)
 {
     LoaidonviBIZ ld = new LoaidonviBIZ();
     cmbLoaidonvi.ItemsSource = ld.getLoaidonvi();
     foreach(Loaidonvi l in cmbLoaidonvi.Items)
     {
         if (l.Stt.Equals(stt))
         {
             cmbLoaidonvi.SelectedItem = l;
             break;
         }
     }
 }
 private void LoadCmbLoai()
 {
     LoaidonviBIZ l = new LoaidonviBIZ();
     List<Loaidonvi> list = new List<Loaidonvi>();
     list = l.getLoaidonvi();
     
     cmbLoai.DisplayMemberPath = "Tenloai";
     cmbLoai.SelectedValuePath = "Stt";
     cmbLoai.ItemsSource = list;
 }
 private void loadCombobox()
 {
     LoaidonviBIZ l = new LoaidonviBIZ();
     cmbLoaidonvi.ItemsSource = l.getLoaidonvi();
 }