示例#1
0
        public QLSanPham(QuanLyHoaDon qlhd)
        {
            InitializeComponent();
            this.qlhoadon = qlhd;

            // lấy loại sản phẩm
            List <LoaiSanPham> list = lspDao.getAllLoaiSP();

            cbLoaiSP.DataSource     = list;
            cbLoaiSP.DisplayMember  = "TenLoaiSP";
            cbLoaiSP.ValueMember    = "MaLoaiSP";
            cbBaohanh.SelectedIndex = 0;
        }
示例#2
0
        private void btnHoaDon_Click(object sender, EventArgs e)
        {
            QuanLyHoaDon qliHoadon = new QuanLyHoaDon();

            qliHoadon.Show();
        }