示例#1
0
        private void BtnUpdate_Click(object sender, EventArgs e)
        {
            b = new Bll.ClsBooks(Convert.ToInt32(dgvBooks.SelectedRows[0].Cells["BookCode"].Value));
            FrmBook fb = new FrmBook(b, "update");

            fb.Show();
        }
示例#2
0
        private void BtnAdd_Click(object sender, EventArgs e)
        {
            FrmBook fb = new FrmBook();

            fb.Show();
        }