Exemplo n.º 1
0
        private void button7_Click(object sender, EventArgs e)
        {
            frmDanhSachSach f = new frmDanhSachSach();

            f.ShowDialog();
            txtMaSach.Text  = maSach;
            txtTenSach.Text = tensach;
            txtTheLoai.Text = theloai;
        }
Exemplo n.º 2
0
        private void btnMaSach_Click(object sender, EventArgs e)
        {
            frmDanhSachSach f = new frmDanhSachSach();

            f.ShowDialog();//Lấy maSach và donGiaBan từ form DanhSachSach
            txtMaSach.Text  = maSach;
            txtTenSach.Text = tenSach;
            txtDonGia.Text  = donGiaBan;
        }