Beispiel #1
0
        private void frmLapHoaDon_Load(object sender, EventArgs e)
        {
            //Phát sinh mã
            int    maHD       = hdBUS.DemTongHDBUS() + 1;
            string phatSinhMa = "HD" + maHD;

            txtMaHD.Text = phatSinhMa;
            //...
            txtMaNV.Text = maNV;
        }