Exemplo n.º 1
0
        public void LoadNhaCungCapGiay()
        {
            cboNhaCC.DisplayMember = "Ten";
            cboNhaCC.ValueMember   = "Ten";
            cboNhaCC.DataSource    = NhaCungCap.DanhSachNCC();

            //MessageBox.Show(NhaCungCap.DanhSachNCC().Count().ToString());
        }
        public List <string> NhaCungCapS()
        {
            List <string> dict = new  List <string>();

            foreach (NhaCungCap pc in NhaCungCap.DanhSachNCC())
            {
                dict.Add(pc.Ten);
            }
            return(dict);
        }