Пример #1
0
        private void danhSáchSáchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmDanhSachSach frm = new frmDanhSachSach();

            frm.MdiParent = this;
            frm.Show();
        }
Пример #2
0
        private void button7_Click(object sender, EventArgs e)
        {
            frmDanhSachSach f = new frmDanhSachSach();

            f.ShowDialog();
            txtMaSach.Text  = maSach;
            txtTenSach.Text = tensach;
            txtTheLoai.Text = theloai;
        }
Пример #3
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;
        }